Fix sigstack namespace (bug 21511).
[glibc.git] / ChangeLog
blob865c7e99609844099e37aced7a5e84e89e5cd97f
1 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #21511]
4         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
5         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
6         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
7         !__USE_XOPEN2K) || __USE_MISC].
8         * conform/data/signal.h-data (struct sigstack): Expect type only
9         if [!XOPEN2K8 && !POSIX2008].
10         (sigstack): Expect function only if [XPG42 || UNIX98].
12         [BZ #21457]
13         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
14         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
15         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
16         <bits/types/__sigset_t.h>.
17         (ucontext_t): Use sigset_t instead of __sigset_t.
18         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
19         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
20         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
21         <bits/types/__sigset_t.h>.
22         (ucontext_t): Use sigset_t instead of __sigset_t.
23         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
24         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
25         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
26         <bits/types/__sigset_t.h>.
27         (ucontext_t): Use sigset_t instead of __sigset_t.
28         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
29         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
30         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
31         <bits/types/__sigset_t.h>.
32         (ucontext_t): Use sigset_t instead of __sigset_t.
33         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
34         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
35         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
36         <bits/types/__sigset_t.h>.
37         (ucontext_t): Use sigset_t instead of __sigset_t.
38         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
39         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
40         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
41         <bits/types/__sigset_t.h>.
42         (ucontext_t): Use sigset_t instead of __sigset_t.
43         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
44         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
45         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
46         <bits/types/__sigset_t.h>.
47         (ucontext_t): Use sigset_t instead of __sigset_t.
48         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
49         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
50         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
51         <bits/types/__sigset_t.h>.
52         (ucontext_t): Use sigset_t instead of __sigset_t.
53         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
54         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
55         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
56         <bits/types/__sigset_t.h>.
57         (ucontext_t): Use sigset_t instead of __sigset_t.
58         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
59         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
60         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
61         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
62         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
63         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
64         <bits/types/__sigset_t.h>.
65         (ucontext_t): Use sigset_t instead of __sigset_t.
66         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
67         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
68         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
69         <bits/types/__sigset_t.h>.
70         (ucontext_t): Use sigset_t instead of __sigset_t.
71         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
72         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
73         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
74         <bits/types/__sigset_t.h>.
75         (ucontext_t): Use sigset_t instead of __sigset_t.
76         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
77         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
78         <bits/ss_flags.h>.
79         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
80         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
81         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
82         <bits/types/__sigset_t.h>.
83         (ucontext_t): Use sigset_t instead of __sigset_t.
84         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
85         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
86         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
87         <bits/types/__sigset_t.h>.
88         (ucontext_t): Use sigset_t instead of __sigset_t.
89         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
90         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
91         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
92         <bits/types/__sigset_t.h>.
93         (ucontext_t): Use sigset_t instead of __sigset_t.
94         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
95         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
96         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
97         <bits/types/__sigset_t.h>.
98         (ucontext_t): Use sigset_t instead of __sigset_t.
99         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
100         <bits/types.h>.
101         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
102         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
103         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
104         <bits/types/__sigset_t.h>.
105         (ucontext_t): Use sigset_t instead of __sigset_t.
107 2017-05-22  Zack Weinberg  <zackw@panix.com>
109         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
110         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
111         bits/siginfo-arch.h, only if not already defined.
112         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
113         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
114         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
115         Likewise.
117         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
118         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
119         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
120         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
121         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
122         Unconditionally define __SI_* macros.
124 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
126         [BZ #21393]
127         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
128         and add a check for dup3 failure.
129         * libio/freopen64.c (freopen64): Likewise.
130         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
131         libsupport.
132         (do_test_bz21398): New test.
133         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
135 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
137         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
138         Remove invalid comment.
140 2017-05-21  Zack Weinberg  <zackw@panix.com>
142         * signal/Makefile (headers): Add bits/types/sigval_t.h.
144 2017-05-20  Zack Weinberg  <zackw@panix.com>
146         * bits/sigevent-consts.h
147         * bits/siginfo-consts.h
148         * bits/types/__sigset_t.h
149         * bits/types/sigevent_t.h
150         * bits/types/siginfo_t.h
151         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
152         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
153         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
154         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
155         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
156         New system-dependent bits headers.
158         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
159         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
160         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
161         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
162         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
163         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
164         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
165         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
166         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
167         New Linux-only system-dependent bits headers.
169         * signal/bits/types/sig_atomic_t.h
170         * signal/bits/types/sigset_t.h
171         * signal/bits/types/sigval_t.h:
172         New non-system-dependent bits headers.
174         * sysdeps/generic/sigsetops.h
175         * sysdeps/unix/sysv/linux/sigsetops.h:
176         New internal headers.
178         * include/bits/types/sig_atomic_t.h
179         * include/bits/types/sigset_t.h
180         * include/bits/types/sigval_t.h:
181         New wrappers.
183         * signal/sigsetops.h
184         * bits/siginfo.h
185         * bits/sigset.h
186         * sysdeps/unix/sysv/linux/bits/siginfo.h
187         * sysdeps/unix/sysv/linux/bits/sigset.h
188         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
189         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
190         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
191         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
192         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
193         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
194         Deleted.
196         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
197         Update lists of installed headers.
199         * posix/bits/types.h: Define __sig_atomic_t here.
200         * signal/signal.h: Use the new bits headers; no need to handle
201         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
202         to define sigmask.
203         * include/signal.h: No need to handle __need_sig_atomic_t
204         nor __need_sigset_t.  Don't define __sigemptyset.
206         * io/sys/poll.h, setjmp/setjmp.h
207         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
208         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
209         * sysdeps/mach/hurd/i386/bits/sigcontext.h
210         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
211         * sysdeps/pthread/bits/sigthread.h
212         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
213         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
214         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
215         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
216         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
217         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
218         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
219         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
220         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
221         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
222         Use bits/types/__sigset_t.h.
224         * misc/sys/select.h, posix/spawn.h
225         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
226         * sysdeps/unix/sysv/linux/sys/epoll.h
227         * sysdeps/unix/sysv/linux/sys/signalfd.h:
228         Use bits/types/sigset_t.h.
230         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
231         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
232         * socket/sys/socket.h: Don't include bits/sigset.h.
234         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
235         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
236         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
237         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
238         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
239         * sysdeps/unix/sysv/linux/nptl-signals.h:
240         Include sigsetops.h.
242         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
243         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
244         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
245         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
246         now return no value.
248         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
249         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
250         "sigsetops.h".
252         * signal/sigsetops.c: Explicitly define __sigismember,
253         __sigaddset, and __sigdelset as compatibility symbols.
255         * signal/Versions: Correct commentary on __sigpause,
256         __sigaddset, __sigdelset, __sigismember.
258         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
259         __sigblock/__sigsetmask to use __sigprocmask and friends.
261         * resolv/resolv.h: Remove __need_res_state logic.
262         Move definition of res_state and related constants to ...
263         * resolv/bits/types/res_state.h: ...this new file.
264         * resolv/Makefile: Install bits/types/res_state.h.
265         * include/bits/types/res_state.h: New wrapper.
266         * include/list.h: Remove __need_list_t logic.
267         Move definition of list_t to ...
268         * include/list_t.h: ...this new file.
270         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
271         instead of list.h and resolv.h.
273         * resolv/resolv.h: Remove __need_res_state logic.
274         Move definition of res_state and related constants to ...
275         * resolv/bits/types/res_state.h: ...this new file.
276         * resolv/Makefile: Install bits/types/res_state.h.
277         * include/bits/types/res_state.h: New wrapper.
278         * include/list.h: Remove __need_list_t logic.
279         Move definition of list_t to ...
280         * include/list_t.h: ...this new file.
282         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
283         instead of list.h and resolv.h.
285 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
287         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
289 2017-05-20  Zack Weinberg  <zackw@panix.com>
291         * sysdeps/arm/sysdep.h
292         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
294         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
295         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
296         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
297         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
298         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
299         * sysdeps/arm/armv6t2/strlen.S
300         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
301         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
302         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
303         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
304         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
305         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
307 2017-05-20  Zack Weinberg  <zackw@panix.com>
309         Remove the NaCl port.
310         * sysdeps/arm/nacl: Remove directory and contents.
311         * sysdeps/nacl: Remove directory and contents.
312         * abi-tags: Remove .*-.*-nacl.* entry.
314 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
316         * manual/errno.texi: Convert @comment-based errno documentation to
317         @errno.
318         * manual/macros.texi (@errno): New macro.  Consolidate errors,
319         their values, and messages, adding the error string to the Concept
320         Index.  Provide a warning in the comment about external (to the
321         manual) dependencies.
322         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
323         * sysdeps/mach/hurd/errnos.awk: Likewise.
325 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
327         * bits/ss_flags.h: New file.
328         * bits/types/stack_t.h: Likewise.
329         * include/bits/types/struct_sigstack.h: Likewise.
330         * signal/bits/types/struct_sigstack.h: Likewise.
331         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
332         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
333         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
334         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
335         bits/types/stack_t.h and bits/ss_flags.h.
336         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
337         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
338         <bits/ss_flags.h>.
339         * bits/sigstack.h (struct sigstack): Remove.
340         (stack_t): Likewise.
341         (SS_ONSTACK): Likewise.
342         (SS_DISABLE): Likewise.
343         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
344         (struct sigstack): Likewise.
345         (stack_t): Likewise.
346         (SS_ONSTACK): Likewise.
347         (SS_DISABLE): Likewise.
348         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
349         Likewise.
350         (stack_t): Likewise.
351         (SS_ONSTACK): Likewise.
352         (SS_DISABLE): Likewise.
353         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
354         Likewise.
355         (stack_t): Likewise.
356         (SS_ONSTACK): Likewise.
357         (SS_DISABLE): Likewise.
358         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
359         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
360         Likewise.
361         (stack_t): Likewise.
362         (SS_ONSTACK): Likewise.
363         (SS_DISABLE): Likewise.
364         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
365         (struct sigstack): Likewise.
366         (stack_t): Likewise.
367         (SS_ONSTACK): Likewise.
368         (SS_DISABLE): Likewise.
369         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
370         Likewise.
371         (stack_t): Likewise.
372         (SS_ONSTACK): Likewise.
373         (SS_DISABLE): Likewise.
374         * sysdeps/arm/sys/ucontext.h: Include
375         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
376         <bits/ss_flags.h>.
377         * sysdeps/generic/sys/ucontext.h: Likewise.
378         * sysdeps/i386/sys/ucontext.h: Likewise.
379         * sysdeps/m68k/sys/ucontext.h: Likewise.
380         * sysdeps/mips/sys/ucontext.h: Likewise.
381         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
382         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
383         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
384         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
385         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
386         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
387         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
388         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
389         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
390         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
391         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
392         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
393         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
394         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
395         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
397 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
399         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
400         "edx + ecx - 16" to avoid possible addition overflow.
401         * sysdeps/x86_64/memchr.S (memchr): Likewise.
403 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
405         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
406         (CFLAGS-splice.c): Likewise.
407         (CFLAGS-open_by_handle_at.c): Likewise.
408         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
409         (CFLAGS-splice.c): Likewise.
410         (CFLAGS-open_by_handle_at.c): Likewise.
412 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
414         * scripts/versions.awk: Generate ldbl-compat-choose.h.
415         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
416         <ldbl-compat-choose.h>.
417         (maybe_long_double_symbol): New macro.
418         [!declare_mgen_alias] (declare_mgen_alias): Use
419         maybe_long_double_symbol.
420         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
421         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
422         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
423         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
424         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
425         * Makerules [$(build-shared) = yes && !avoid-generated]
426         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
427         [$(build-shared) = yes && !avoid-generated]
428         ($(common-objpfx)ldbl-compat-choose.h): New target.
430         * scripts/versions.awk: Generate first-versions.h.
431         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
432         <first-versions.h>.
433         (LDOUBLE_cabsl_libm_version): Remove macro.
434         (LDOUBLE_cargl_libm_version): Likewise.
435         (LDOUBLE_cimagl_libm_version): Likewise.
436         (LDOUBLE_conjl_libm_version): Likewise.
437         (LDOUBLE_creall_libm_version): Likewise.
438         (LDOUBLE_cacosl_libm_version): Likewise.
439         (LDOUBLE_cacoshl_libm_version): Likewise.
440         (LDOUBLE_ccosl_libm_version): Likewise.
441         (LDOUBLE_ccoshl_libm_version): Likewise.
442         (LDOUBLE_casinl_libm_version): Likewise.
443         (LDOUBLE_csinl_libm_version): Likewise.
444         (LDOUBLE_casinhl_libm_version): Likewise.
445         (LDOUBLE_csinhl_libm_version): Likewise.
446         (LDOUBLE_catanl_libm_version): Likewise.
447         (LDOUBLE_catanhl_libm_version): Likewise.
448         (LDOUBLE_ctanl_libm_version): Likewise.
449         (LDOUBLE_ctanhl_libm_version): Likewise.
450         (LDOUBLE_cexpl_libm_version): Likewise.
451         (LDOUBLE_clogl_libm_version): Likewise.
452         (LDOUBLE_cprojl_libm_version): Likewise.
453         (LDOUBLE_csqrtl_libm_version): Likewise.
454         (LDOUBLE_cpowl_libm_version): Likewise.
455         (LDOUBLE_clog10l_libm_version): Likewise.
456         (LDOUBLE___clog10l_libm_version): Likewise.
457         (LDOUBLE_fdiml_libm_version): Likewise.
458         (LDOUBLE_fmaxl_libm_version): Likewise.
459         (LDOUBLE_fminl_libm_version): Likewise.
460         (LDOUBLE_ilogbl_libm_version): Likewise.
461         (LDOUBLE_nanl_libm_version): Likewise.
462         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
463         FIRST_VERSION_libm_* macros.
464         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
465         * Makerules [$(build-shared) = yes && !avoid-generated]
466         (before-compile): Add $(common-objpfx)first-versions.h.
467         [$(build-shared) = yes && !avoid-generated]
468         ($(common-objpfx)first-versions.h): New target.
469         ($(common-objpfx)sysd-versions): Depend on and change to rule for
470         building $(common-objpfx)versions.stmp.
472 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
474         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
475         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
476         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
477         auto-generation list.
479         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
480         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
481         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
482         from auto-generation list.
484         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
485         open_by_handle_at.
486         (CFLAGS-open_by_handle_at.c): New flag.
487         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
488         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
489         file.
490         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
492         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
493         (CFLAGS-splice.c): New flag.
494         * sysdeps/unix/sysv/linux/splice.c: New file.
495         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
496         auto-generation syscall list.
497         * misc/Makefile (CFLAGS-splice.c): New rule.
499         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
500         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
501         auto-generation syscall list.
502         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
503         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
505         * misc/Makefile (CFLAGS-fsync.c): New flag.
506         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
507         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
508         syscall list.
509         * sysdeps/unix/sysv/linux/fsync.c: New file.
510         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
511         (__errno_location): Remove.
513         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
514         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
515         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
516         list.
517         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
519         * misc/Makefile (CFLAGS-msync.c): New rule.
520         * nptl/Makefile (CFLAGS-msync.c): Likewise.
521         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
522         * sysdeps/unix/sysv/linux/msync.c: New file.
524         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
525         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
526         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
527         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
528         (CFLAGS-sigsuspend.c): Remove rule.
530         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
531         (CFLAGS-tee.c): New rule.
532         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
533         auto-generated list.
534         * sysdeps/unix/sysv/linux/tee.c: New file.
536         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
537         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
538         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
539         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
540         auto-generated list.
542         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
543         auto-generated list.
544         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
545         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
546         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
547         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
548         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
550         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
551         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
552         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
553         (__NR_pause): Undefine.
554         * sysdeps/unix/sysv/linux/pause.c: New file.
555         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
556         auto-generation list.
557         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
558         Remove rule.
559         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
561 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
563         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
564         comments.
566 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
568         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
569         LD_HWCAP_MASK.
571 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
573         * manual/conf.texi: Convert @tables of annotated @items to
574         @vtables.
575         * manual/lang.texi: Likewise.
576         * manual/pattern.texi: Likewise.
577         * manual/resource.texi: Likewise.
578         * manual/socket.texi: Likewise.
580 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
582         * manual/crypt.texi: Move a comment out of an @*x list.
583         * manual/filesys.texi: Refactor some comments, one of which looks
584         like a standard.  Fix incorrectly separated standards.
585         * manual/locale.texi: Invert an annotation.
586         * manual/resource.texi: Fix incorrectly separated standards.
587         * manual/time.texi: Refactor a @vtable that obscures an
588         annotation.
589         * manual/users.texi: Refactor multiple headers to occupy a single
590         @comment.
592 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
594         * sysdeps/powerpc/powerpc64/multiarch/Makefile
595         (sysdep_routines): Add memcmp-power8.
596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
597         (memcmp): Add __memcmp_power8 to list of memcmp functions.
598         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
599         (memcmp): Add __memcmp_power8 to ifunc list.
600         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
601         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
603 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
604             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
606         * math/math.h (__MATH_TG): Extend the conditions to add
607         _Float128 support.
608         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
610 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
612         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
613         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
614         s_cosf-ppc64.
615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
618         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
620 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
622         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
623         (gen-libm-calls): Add e_exp2F to use the template.
624         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
625         * math/e_exp2_template.c: New file, renamed from
626         math/e_exp2l.c, and made into a template.
627         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
629 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
631         * elf/dl-tunable-types.h (tunable_type_code_t): New type
632         TUNABLE_TYPE_UINT_64.
633         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
634         Simplify computation of overflow.
635         (tunable_set_val_if_valid_range_signed,
636         tunable_set_val_if_valid_range_unsigned): Remove and replace
637         with this...
638         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
639         (tunable_initialize): Adjust.  Add uint64_t support.
640         (__tunable_set_val): Add uint64_t support.
641         * README.tunables: Document it.
643         * scripts/gen-tunables.awk: Recognize 'default' keyword in
644         dl-tunables.list.
645         * README.tunables: Document it.
647 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
649         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
650         * sysdeps/posix/preadv64.c: Likewise.
651         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
652         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
653         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
654         * sysdeps/posix/pwritev64.c: Likewise.
655         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
656         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
657         * sysdeps/posix/preadv_common.c: New file.
658         * sysdeps/posix/pwritev_common.c: Likewise.
660 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
662         * sysdeps/generic/math-type-macros-float128.h
663         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
664         wrapper templates.
666 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
667             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
669         * include/complex.h (__kernel_casinhf128): New declaration.
670         * include/float.h: New file.
671         * include/math.h (__finitef128): Add a hidden def.
672         (__isinff128): Likewise.
673         (__isnanf128): Likewise.
674         (__fpclassify): Likewise.
675         (__issignalling): Likewise.
676         (__expf128): Likewise.
677         (__expm1f128): Likewise.
679         * sysdeps/generic/fix-fp-int-convert-overflow.h:
680         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
681         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
683         * sysdeps/generic/math-type-macros-float128.h: New file.
685         * sysdeps/generic/math_private.h: Include bits/floatn.h and
686         math_private_calls.h for _Float128.
687         (__isinff128): New inline implementation used when GCC < 7.0,
688         since in this case __builtin_isinf_sign is broken.
689         (fabsf128): New inline implementation that calls the builtin.
690         (__EXPR_FLT128): New macro.
691         (min_of_type): Optionally include _Float128 types too.
693         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
694         Declare for _Float128.
695         (__kernel_rem_pio2): Likewise.
697         * sysdeps/ieee754/ldbl-opt/s_sin.c:
698         (__DECL_SIMD_sincos_disablef128): New macro.
700 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
702         * math/math.h: Include bits/math-finite.h for float128.
703         (__MATH_DECLARING_FLOATN): Define to control declaration of
704         float128 functions.
705         * math/bits/math-finite.h (pow10): Do not declare for float128.
706         (gamma): Likewise.
707         (scalb): Likewise.
709 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
710             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
712         * bits/floatn.h: New file.
713         * bits/huge_val_flt128.h: Likewise.
715         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
716         (__DECL_SIMD_sinf128): Likewise.
717         (__DECL_SIMD_sincosf128): Likewise.
718         (__DECL_SIMD_logf128): Likewise.
719         (__DECL_SIMD_expf128): Likewise.
720         (__DECL_SIMD_powf128): Likewise.
722         * math/Makefile (headers): Install bits/floatn.h and
723         bits/huge_val_flt128.h.
725         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
726         defined.
728         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
729         (isnan, gamma, nexttoward, scalb): Only define if not
730         __MATH_DECLARING_FLOATN.
731         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
732         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
733         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
734         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
736         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
737         Include bits/cmathcalls.h to get the declarations of _Float128
738         versions of complex functions.
739         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
740         Define macro.
742         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
743         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
744         get the declarations of _Float128 versions of math functions.
745         (__MATH_DECLARING_FLOATN): New macro to control declaration of
746         _FloatN types.
747         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
748         is type-generic, so use it without __MATH_TG.
749         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
750         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
751         _Float128 type and GCC < 7.0, otherwise use the builtin.
752         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
753         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
754         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
755         New _GNU_SOURCE enabled macros.
757 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
759         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
760         (signbitf): Likewise.
761         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
762         Likewise.
763         (signbitl): Likewise.
764         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
765         Likewise.
766         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
767         (signbitl): Likewise.
768         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
770 2017-05-12  Florian Weimer  <fweimer@redhat.com>
772         [BZ #21386]
773         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
774         parent PID.  The assertion in the child is incorrect with PID
775         namespaces.
777 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
779         * sysdeps/unix/sysv/linux/kernel-features.h
780         (__ASSUME_STATFS_F_FLAGS): Remove macro.
781         * sysdeps/unix/sysv/linux/internal_statvfs.c
782         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
784 2017-05-11  Zack Weinberg  <zackw@panix.com>
786         * Makerules: New subdir configuration variables 'tests-internal'
787         and 'test-internal-extras'.  Test files in these categories will
788         still be compiled with MODULE_NAME=nonlib.  Test files in the
789         existing categories (tests, xtests, test-srcs, test-extras) are
790         now compiled with MODULE_NAME=testsuite.
791         New subdir configuration variable 'modules-names-tests'.  Files
792         which are in both 'modules-names' and 'modules-names-tests' will
793         be compiled with MODULE_NAME=testsuite instead of
794         MODULE_NAME=extramodules.
795         (gen-as-const-headers): Move to tests-internal.
796         (do-tests-clean, common-mostlyclean): Support tests-internal.
797         * Makeconfig (built-modules): Add testsuite.
798         * Makefile: Change libof-check-installed-headers-c and
799         libof-check-installed-headers-cxx to 'testsuite'.
800         * Rules: Likewise.  Support tests-internal.
801         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
802         Remove extra-modules.mk.
804         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
805         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
806         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
807         very top of the file and rationalize their order.
808         If MODULE_NAME is not defined at all, define IS_IN to always be
809         false, and don't define _ISOMAC.
810         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
811         true, define _ISOMAC and suppress everything else in this file,
812         starting with the inclusion of config.h.
813         Do check for inappropriate definitions of __OPTIMIZE__ and
814         __FAST_MATH__ here, but only if _ISOMAC is not defined.
815         Correct some out-of-date commentary.
817         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
818         and _Mlong_double_ before including math.h.
819         * include/string.h: If _ISOMAC is defined, don't expose
820         _STRING_ARCH_unaligned. Move a comment to a more appropriate
821         location.
823         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
824         * include/time.h, include/unistd.h, include/wchar.h: No need to
825         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
827         * misc/sys/cdefs.h (__NTHNL): New macro.
828         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
829         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
831         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
832         defined, for HAVE_TUNABLES.
833         * inet/tst-checks-posix.c: No need to define _ISOMAC.
834         * intl/tst-gettext2.c: Provide own definition of N_.
835         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
836         * math/test-signgam-main.c: No need to define _ISOMAC.
837         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
838         * stdlib/tst-strtod1i.c: ...this new file.
839         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
840         Split tests of __strtod_internal to...
841         * stdlib/tst-strtod5i.c: ...this new file.
842         * string/test-string.h: Include stdint.h. Duplicate definition of
843         inhibit_loop_to_libcall here (from libc-symbols.h).
844         * string/test-strstr.c: Provide dummy definition of
845         libc_hidden_builtin_def when including strstr.c.
846         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
847         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
848         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
849         Don't include init-arch.h.
850         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
851         Don't include init-arch.h.
853         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
854         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
855         unload, unload2, circleload1, neededtest, neededtest2,
856         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
857         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
858         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
859         ifunc tests to tests-internal.
860         Don't add $(modules-names) to test-extras.
861         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
862         Add tst-deadline to tests-static-internal.
863         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
864         tests-internal.
865         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
866         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
867         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
868         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
869         tst-sem12-static, and tst-stackguard1-static to tests-internal.
870         Link tests-internal with libpthread also.
871         Don't add $(modules-names) to test-extras.
872         * nss/Makefile: Move tst-field to tests-internal.
873         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
874         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
875         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
876         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
877         tests-internal.
878         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
879         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
880         test-get_hwcap-static to tests-internal.
881         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
882         tests-internal.
883         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
884         modules-names-tests.
886 2017-05-11  Zack Weinberg  <zackw@panix.com>
888         * libio/libio.h: Condition dummy definition of _IO_lock_t on
889         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
890         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
891         _IO_funlockfile, and _IO_ftrylockfile.  Only define
892         _IO_cleanup_region_start and _IO_cleanup_region_end if not
893         already defined.
894         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
895         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
896         appropriately.
897         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
898         Define _IO_lock_t_defined after defining _IO_lock_t.
900 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
902         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
903         void* for argument type and use VDSO_SYMBOL macro.
904         (is_sigtramp_address_rt): Likewise.
905         (__backtrace): Setup expected frame pointer address for signal
906         handling.
907         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
908         void* for argumetn type and use VSDO_SYMBOL macro.
909         (__backtrace): Setup expected frame pointer address for signal
910         handling.
912         * sysdeps/unix/sysv/linux/writev.c: New file.
914         * sysdeps/unix/sysv/linux/readv.c: New file.
916         * include/unistd.h (write): Add hidden proto.
917         * io/Makefile (CFLAGS-write.c): New define.
918         * nptl/Makefile (CFLAGS-write.c): Likewise.
919         * sysdeps/unix/sysv/linux/write.c: New file.
921         [BZ #21428]
922         * include/unistd.h (read): Add hidden proto.
923         * io/Makefile (CFLAGS-read.c): New define.
924         * nptl/Makefile (CFLAGS-read.c): Likewise.
925         * sysdeps/unix/sysv/linux/read.c: New file.
927         * io/Makefile (CFLAGS-creat.c): New rule.
928         (CFLAGS-creat64.c): Likewise.
929         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
930         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
931         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
932         * sysdeps/unix/sysv/linux/creat.c: New file.
933         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
934         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
935         auto-generated list.
936         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
938         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
939         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
940         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
941         * sysdeps/unix/sysv/linux/open.c: New file.
942         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
943         iff __WORDSIZE != 64 and use __NR_openat when available.
944         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
945         from auto-generated list.
947         * nptl/Makefile (CFLAGS-close.c): New flag.
948         * sysdeps/unix/sysv/linux/close.c: New file.
950 2017-05-11  DJ Delorie  <dj@redhat.com>
952         * MAINTAINERS: New.  Points to wiki.
954 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
956         * scripts/gen-tunables.awk: Add attribute_relro to
957         tunable_list.
959 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
961         [BZ #21457]
962         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
963         (R1): Likewise.
964         (R2): Likewise.
965         (R3): Likewise.
966         (R4): Likewise.
967         (R5): Likewise.
968         (R6): Likewise.
969         (R7): Likewise.
970         (R8): Likewise.
971         (R9): Likewise.
972         (R10): Likewise.
973         (R11): Likewise.
974         (R12): Likewise.
975         (R13): Likewise.
976         (R14): Likewise.
977         (R15): Likewise.
978         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
979         (REG_FS): Likewise.
980         (REG_ES): Likewise.
981         (REG_DS): Likewise.
982         (REG_EDI): Likewise.
983         (REG_ESI): Likewise.
984         (REG_EBP): Likewise.
985         (REG_ESP): Likewise.
986         (REG_EBX): Likewise.
987         (REG_EDX): Likewise.
988         (REG_ECX): Likewise.
989         (REG_EAX): Likewise.
990         (REG_TRAPNO): Likewise.
991         (REG_ERR): Likewise.
992         (REG_EIP): Likewise.
993         (REG_CS): Likewise.
994         (REG_EFL): Likewise.
995         (REG_UESP): Likewise.
996         (REG_SS): Likewise.
997         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
998         (R_D1): Likewise.
999         (R_D2): Likewise.
1000         (R_D3): Likewise.
1001         (R_D4): Likewise.
1002         (R_D5): Likewise.
1003         (R_D6): Likewise.
1004         (R_D7): Likewise.
1005         (R_A0): Likewise.
1006         (R_A1): Likewise.
1007         (R_A2): Likewise.
1008         (R_A3): Likewise.
1009         (R_A4): Likewise.
1010         (R_A5): Likewise.
1011         (R_A6): Likewise.
1012         (R_A7): Likewise.
1013         (R_SP): Likewise.
1014         (R_PC): Likewise.
1015         (R_PS): Likewise.
1016         (fpregset_t): Likewise.
1017         (MCONTEXT_VERSION): Likewise.
1018         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1019         (CTX_AT): Likewise.
1020         (CTX_V0): Likewise.
1021         (CTX_V1): Likewise.
1022         (CTX_A0): Likewise.
1023         (CTX_A1): Likewise.
1024         (CTX_A2): Likewise.
1025         (CTX_A3): Likewise.
1026         (CTX_T0): Likewise.
1027         (CTX_T1): Likewise.
1028         (CTX_T2): Likewise.
1029         (CTX_T3): Likewise.
1030         (CTX_T4): Likewise.
1031         (CTX_T5): Likewise.
1032         (CTX_T6): Likewise.
1033         (CTX_T7): Likewise.
1034         (CTX_S0): Likewise.
1035         (CTX_S1): Likewise.
1036         (CTX_S2): Likewise.
1037         (CTX_S3): Likewise.
1038         (CTX_S4): Likewise.
1039         (CTX_S5): Likewise.
1040         (CTX_S6): Likewise.
1041         (CTX_S7): Likewise.
1042         (CTX_T8): Likewise.
1043         (CTX_T9): Likewise.
1044         (CTX_K0): Likewise.
1045         (CTX_K1): Likewise.
1046         (CTX_GP): Likewise.
1047         (CTX_SP): Likewise.
1048         (CTX_S8): Likewise.
1049         (CTX_RA): Likewise.
1050         (CTX_MDLO): Likewise.
1051         (CTX_MDHI): Likewise.
1052         (CTX_CAUSE): Likewise.
1053         (CTX_EPC): Likewise.
1054         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
1055         inclusion of <sys/procfs.h> on [__USE_MISC].
1056         (greg_t): Condition on [__USE_MISC].
1057         (gregset_t): Likewise.
1058         (fpregset_t): Likewise.
1059         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
1060         (NGREG): Likewise.
1061         (gregset_t): Likewise.
1062         (REG_R0): Likewise.
1063         (REG_R1): Likewise.
1064         (REG_R2): Likewise.
1065         (REG_R3): Likewise.
1066         (REG_R4): Likewise.
1067         (REG_R5): Likewise.
1068         (REG_R6): Likewise.
1069         (REG_R7): Likewise.
1070         (REG_R8): Likewise.
1071         (REG_R9): Likewise.
1072         (REG_R10): Likewise.
1073         (REG_R11): Likewise.
1074         (REG_R12): Likewise.
1075         (REG_R13): Likewise.
1076         (REG_R14): Likewise.
1077         (REG_R15): Likewise.
1078         (struct _libc_fpstate): Likewise.
1079         (fpregset_t): Likewise.
1080         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
1081         (NFPREG): Likewise.
1082         (gregset_t): Likewise.
1083         (fpregset_t): Likewise.
1084         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
1085         (R_D1): Likewise.
1086         (R_D2): Likewise.
1087         (R_D3): Likewise.
1088         (R_D4): Likewise.
1089         (R_D5): Likewise.
1090         (R_D6): Likewise.
1091         (R_D7): Likewise.
1092         (R_A0): Likewise.
1093         (R_A1): Likewise.
1094         (R_A2): Likewise.
1095         (R_A3): Likewise.
1096         (R_A4): Likewise.
1097         (R_A5): Likewise.
1098         (R_A6): Likewise.
1099         (R_A7): Likewise.
1100         (R_SP): Likewise.
1101         (R_PC): Likewise.
1102         (R_PS): Likewise.
1103         (fpregset_t): Likewise.
1104         (MCONTEXT_VERSION): Likewise.
1105         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
1106         Likewise.
1107         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
1108         (REG_R1): Likewise.
1109         (REG_R2): Likewise.
1110         (REG_R3): Likewise.
1111         (REG_R4): Likewise.
1112         (REG_R5): Likewise.
1113         (REG_R6): Likewise.
1114         (REG_R7): Likewise.
1115         (REG_R8): Likewise.
1116         (REG_R9): Likewise.
1117         (REG_R10): Likewise.
1118         (REG_R11): Likewise.
1119         (REG_R12): Likewise.
1120         (REG_R13): Likewise.
1121         (REG_R14): Likewise.
1122         (REG_R15): Likewise.
1123         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
1124         of <arch/abi.h> on [__USE_MISC].
1125         (greg_t): Condition on [__USE_MISC].
1126         (NGREG): Likewise.
1127         (gregset_t): Likewise.
1129 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1131         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1132         (__pthread_rwlock_arch_t): Remove __data definition.
1133         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1134         (__pthread_rwlock_arch_t): Likewise.
1136 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1138         * resolv/inet_pton.c: Reformat in GNU style.  Remove
1139         internal_function on static functions.
1141 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1143         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
1144         from format_ai_flags.
1145         (format_ai_flags): New function.  Incorporate flag formatting code
1146         from format_ai_one.
1147         (format_ai_canonname): New function.
1148         (format_ai_one): Remove flags parameter.
1149         (format_ai_family): Likewise.
1150         (support_format_addrinfo): Call format_ai_flags,
1151         format_ai_canonname.
1152         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
1153         check_ai.
1154         (check_ai): Call check_ai_hints.
1155         (do_test): Add AI_CANONNAME tests.
1157 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1159         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
1160         (gaih_inet): Likewise.
1162 2017-05-10  Andreas Schwab  <schwab@suse.de>
1164         * nptl/tst-fork1.c: Include <support/test-driver.c>.
1165         (main): Rename to do_test and make static.
1167 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
1169         * string/rawmemchr.c: Include <libc-diag.h>.
1170         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
1171         with size (size_t)-1.
1173 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1175         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
1176         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1177         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1179         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
1180         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
1181         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
1182         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
1183         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
1184         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
1185         * sysdeps/unix/sysv/linux/kernel-features.h
1186         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
1187         socket syscalls.
1188         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1189         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1190         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1191         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1192         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1193         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1194         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1195         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1196         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1197         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1198         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1199         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1200         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1201         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1202         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1204 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1206         * posix/Makefile (headers): Add pthreadtypes-arch.h and
1207         thread-shared-types.h.
1208         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
1209         specific thread definition.
1210         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
1211         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
1212         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
1213         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
1214         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
1215         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
1216         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
1217         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
1218         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
1219         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1220         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
1221         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
1222         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
1223         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
1224         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
1225         thread definition between POSIX and C11.
1226         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
1227         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
1228         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
1229         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
1230         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
1231         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
1232         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
1233         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
1234         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
1235         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
1236         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
1237         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
1238         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
1239         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
1240         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
1241         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
1242         definitions shared across all architectures.
1244 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1246         * sysdeps/unix/sysv/linux/kernel-features.h
1247         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
1248         (__ASSUME_SENDMMSG): Likewise.
1249         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
1250         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
1251         sendmmsg syscall if that can be assumed to be present, socketcall
1252         otherwise, with no fallback for runtime failure.
1254         * sysdeps/unix/sysv/linux/kernel-features.h
1255         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
1256         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
1257         (__ASSUME_RECVMMSG): Likewise.
1258         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
1259         recvmmsg syscall if it can be assumed to be present, socketcall
1260         otherwise, with no fallback for runtime failure.
1262 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1263             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1265         * bits/libc-header-start.h:
1266         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
1267         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
1268         * manual/creature.texi: Likewise.
1270 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1271             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1273         * math/Makefile:
1274         (type-float128-suffix): New variable
1275         (type-float128-routines): Likewise
1276         (type-float128-yes): Likewise
1277         (types): Append float128 if supported
1278         (types-basic): New variable to control the use of templates for
1279         float, double, and long double, but not for float128 or newer types.
1280         (type-basic-foreach): Likewise.
1282         * sysdeps/ieee754/float128/Makeconfig: New file.
1283         * sysdeps/ieee754/float128/Versions: New file.
1285 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
1288         Remove macro.
1289         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
1290         prlimit64 is always available and does not give an ENOSYS error.
1291         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
1292         unconditional.
1293         [!__NR_prlimit64]: Remove conditional code.
1294         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
1295         prlimit64 is always available and does not give an ENOSYS error.
1296         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
1298 2017-05-09  Zack Weinberg  <zackw@panix.com>
1300         * sunrpc/tst-xdrmem2.c: Include stdint.h.
1302 2017-05-09  Florian Weimer  <fweimer@redhat.com>
1304         [BZ #21474]
1305         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
1306         (__res_maybe_init): Likewise.
1308 2017-05-09  Zack Weinberg  <zackw@panix.com>
1310         * extra-modules.mk: Delete file.
1311         * cppflags-iterator.mk: Rename to ...
1312         * libof-iterator.mk: ...this.  Adjust comments.
1314         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
1315         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
1316         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
1317         Use libof-iterator.mk instead of cppflags-iterator.mk or
1318         extra-modules.mk.
1320         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
1321         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
1323 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1325         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1327 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
1329         * stdio-common/vfprintf.c (EXTSIZ): Define.
1330         (vfprintf): Use EXTSIZ.
1331         (printf_positional): Likewise.
1333 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1335         * sysdeps/unix/sysv/linux/kernel-features.h
1336         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
1337         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
1338         <kernel-features.h>.
1339         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
1341         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1342         (__ASSUME_GETCPU_SYSCALL): Remove macro.
1344 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1346         Prevent multiple deletion of temporary files.
1347         * support/temp_file.c (struct temp_name_list): Add owner member.
1348         (add_temp_file): Record owner.
1349         (support_delete_temp_files): Delete file only if owner matches.
1350         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
1351         (do_prepare): Use create_temp_file instead of add_temp_file.
1352         Initialize temp_fd1, temp_fd2.
1353         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
1354         framework remove the temporary files.
1355         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
1356         (do_prepare): Use create_temp_file instead of add_temp_file.
1357         Initialize temp_fd1, temp_fd2, temp_fd3.
1358         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
1359         the test framework remove the temporary files.
1360         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
1361         deletion.
1362         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
1363         temporary directory.  It is removed by the test framework.
1364         * dirent/tst-scandir.c (do_test): Likewise.
1366 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1368         Delete temporary files in LIFO order.
1369         * support/temp_file.c (struct temp_name_list): Replace q member
1370         with next.
1371         (add_temp_file): Add new file to front of linked list.
1372         (support_delete_temp_files): Use next member.
1373         (support_print_temp_files): Likewise.
1375 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1378         sys/ultrasound.h.
1379         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
1381 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1383         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1384         Remove.
1385         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1386         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1387         (arch_minimum_kernel): Remove.
1388         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1389         * README: Update statement about Linux kernel requirements.
1391 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1393         * manual/llio.texi: Add preadv and pwritev documentation.
1395 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1397         [BZ #21455]
1398         * bits/stdint-intn.h: New file.
1399         * bits/stdint-uintn.h: Likewise.
1400         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
1401         bits/stdint-uintn.h.
1402         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
1403         <stdint.h>.
1404         * posix/sys/types.h: Include <bits/stdint-intn.h>.
1405         (__int8_t_defined): Do not define here.
1406         (int8_t): Likewise.
1407         (int16_t): Likewise.
1408         (int32_t): Likewise.
1409         (int64_t): Likewise.
1410         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
1411         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
1412         <stdint.h>.
1413         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
1414         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
1415         <bits/stdint-uintn.h>.
1416         (int8_t): Do not define here.
1417         (int16_t): Likewise.
1418         (int32_t): Likewise.
1419         (int64_t): Likewise.
1420         (uint8_t): Likewise.
1421         (uint16_t): Likewise.
1422         (uint32_t): Likewise.
1423         (uint64_t): Likewise.
1424         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
1425         variable.
1426         (test-xfail-XPG42/netdb.h/conform): Likewise.
1427         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
1428         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1429         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1430         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1432 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1434         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
1435         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
1436         the above.
1437         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1438         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1440 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1442         [BZ #21445]
1443         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
1445         [BZ #21457]
1446         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1447         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
1448         __glibc_reserved1.
1449         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1450         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
1451         (struct _fpxreg): Likewise.
1452         [!__x86_64__] (struct _fpstate): Rename field reserved to
1453         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
1454         [__x86_64__] (struct _fpstate): Rename field padding to
1455         __glibc_reserved1.
1456         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
1457         Rename field reserved2 to __glibc_reserved2.
1458         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
1459         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
1460         __glibc_reserved1.
1461         [__x86_64__] (struct _libc_fpstate): Rename field padding to
1462         __glibc_reserved1.
1464 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1466         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
1467         variable name.
1469 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
1471         [BZ #21391]
1472         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
1473         Only call init_cpu_features.
1474         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
1475         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1476         * sysdeps/i386/dl-procinfo.h: Removed.
1477         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
1478         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
1479         <sysdeps/x86/dl-procinfo.h>.
1480         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
1481         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
1482         Include <sysdeps/x86/dl-procinfo.h> instead of
1483          <sysdeps/generic/dl-procinfo.h>.
1484         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
1485         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
1486         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
1487         (bit_cpu_MOVBE): Likewise.
1488         (bit_cpu_BMI1): Likewise.
1489         (bit_cpu_BMI2): Likewise.
1490         (index_cpu_BMI1): Likewise.
1491         (index_cpu_BMI2): Likewise.
1492         (index_cpu_LZCNT): Likewise.
1493         (index_cpu_MOVBE): Likewise.
1494         (index_cpu_POPCNT): Likewise.
1495         (reg_BMI1): Likewise.
1496         (reg_BMI2): Likewise.
1497         (reg_LZCNT): Likewise.
1498         (reg_MOVBE): Likewise.
1499         (reg_POPCNT): Likewise.
1500         * sysdeps/x86/dl-hwcap.h: New file.
1501         * sysdeps/x86/dl-procinfo.h: Likewise.
1502         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
1503         (_dl_x86_platforms): Likewise.
1505 2017-05-03  DJ Delorie  <dj@redhat.com>
1507         [BZ #21411]
1508         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
1510 2017-05-03  Phil Blundell  <pb@pbcl.net>
1512         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
1513         comments.
1515 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
1517         [BZ #20116]
1518         * nptl/pthread_create.c: Expand comments to describe
1519         semaphore-like and mutex-like uses of PD->lock.
1521 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1523         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
1524         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
1525         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
1526         auto-generation list.
1527         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1528         epoll_wait.
1529         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
1530         Remove epoll_wait.
1532         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1533         osf_select.
1534         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
1535         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
1536         osf_select from auto-generation list.
1537         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1538         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1539         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
1540         * sysdeps/unix/sysv/linux/select.c: New file.
1542         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
1543         * sysdeps/unix/sysv/linux/poll.c: New file.
1544         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
1545         auto-generation list.
1547 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
1549         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
1550         New macro.
1552 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
1554         [BZ #21179]
1555         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
1556         R_SPARC_REGISTER relocations.
1558 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1560         * include/unistd.h (__pread): Add libc_hidden_proto.
1561         (__pread64): Likewise.
1562         (__pwrite): Likewise.
1563         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
1564         (__pread64): Remove.
1565         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
1566         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
1567         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
1569 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1573 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1575         * nptl/tst-cancel4-common.c: Use libsupport.
1576         * nptl/tst-cancel4-common.h: Likewise.
1577         * nptl/tst-cancel4.c (tf_read): Likewise.
1578         (tf_readv): Likewise.
1579         (tf_write): Likewise.
1580         (tf_writev): Likewise.
1581         (tf_sleep): Likewise.
1582         (tf_usleep): Likewise.
1583         (tf_nanosleep): Likewise.
1584         (tf_select): Likewise.
1585         (tf_pselect): Likewise.
1586         (tf_poll): Likewise.
1587         (tf_ppoll): Likewise.
1588         (tf_wait): Likewise.
1589         (tf_waitpid): Likewise.
1590         (tf_waitid): Likewise.
1591         (tf_sigpause): Likewise.
1592         (tf_sigsuspend): Likewise.
1593         (tf_sigwait): Likewise.
1594         (tf_sigwaitinfo): Likewise.
1595         (tf_sigtimedwait): Likewise.
1596         (tf_pause): Likewise.
1597         (tf_accept): Likewise.
1598         (tf_send): Likewise.
1599         (tf_recv): Likewise.
1600         (tf_recvfrom): Likewise.
1601         (tf_recvmsg): Likewise.
1602         (tf_open): Likewise.
1603         (tf_close): Likewise.
1604         (tf_pread): Likewise.
1605         (tf_pwrite): Likewise.
1606         (tf_preadv): Likewise.
1607         (tf_pwritev): Likewise.
1608         (tf_fsync): Likewise.
1609         (tf_fdatasync): Likewise.
1610         (tf_msync): Likewise.
1611         (tf_sendto): Likewise.
1612         (tf_sendmsg): Likewise.
1613         (tf_creat): Likewise.
1614         (tf_connect): Likewise.
1615         (tf_tcdrain): Likewise.
1616         (tf_msgrcv): Likewise.
1617         (tf_msgsnd): Likewise.
1618         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
1619         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
1621         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
1622         expected arguments.
1623         (do_test): Adapt to use libsupport.
1625 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
1627         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
1629         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
1630         (PF_MAX): Set to 44.
1631         (AF_SMC): New macro.
1633         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1634         kernel version to 4.11.
1636 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1638         [BZ #21280]
1639         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
1640         signal of subnormals and adjust the exponent of power of 2 down
1641         when low part has opposite sign.
1643 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1645         * sysdeps/powerpc/powerpc64le/Implies: New file.
1646         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
1647         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
1648         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
1649         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
1650         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
1651         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
1652         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
1653         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
1654         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
1655         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
1656         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
1657         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
1658         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
1659         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
1660         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
1661         * sysdeps/powerpc/preconfigure: New file.
1662         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
1663         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
1665 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
1667         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
1668         inclusion.
1669         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
1670         Remove.
1672 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
1674         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
1675         (XPG3): Rename standard to XPG4.
1676         * conform/Makefile: Likewise.
1677         * conform/list-header-symbols.pl: Likewise.
1678         * conform/data/aio.h-data: Likewise.
1679         * conform/data/arpa/inet.h-data: Likewise.
1680         * conform/data/complex.h-data: Likewise.
1681         * conform/data/ctype.h-data: Likewise.
1682         * conform/data/dlfcn.h-data: Likewise.
1683         * conform/data/fcntl.h-data: Likewise.
1684         * conform/data/fenv.h-data: Likewise.
1685         * conform/data/float.h-data: Likewise.
1686         * conform/data/fmtmsg.h-data: Likewise.
1687         * conform/data/ftw.h-data: Likewise.
1688         * conform/data/grp.h-data: Likewise.
1689         * conform/data/inttypes.h-data: Likewise.
1690         * conform/data/iso646.h-data: Likewise.
1691         * conform/data/langinfo.h-data: Likewise.
1692         * conform/data/libgen.h-data: Likewise.
1693         * conform/data/limits.h-data: Likewise.
1694         * conform/data/locale.h-data: Likewise.
1695         * conform/data/math.h-data: Likewise.
1696         * conform/data/mqueue.h-data: Likewise.
1697         * conform/data/ndbm.h-data: Likewise.
1698         * conform/data/net/if.h-data: Likewise.
1699         * conform/data/netdb.h-data: Likewise.
1700         * conform/data/netinet/in.h-data: Likewise.
1701         * conform/data/poll.h-data: Likewise.
1702         * conform/data/pthread.h-data: Likewise.
1703         * conform/data/pwd.h-data: Likewise.
1704         * conform/data/sched.h-data: Likewise.
1705         * conform/data/search.h-data: Likewise.
1706         * conform/data/semaphore.h-data: Likewise.
1707         * conform/data/signal.h-data: Likewise.
1708         * conform/data/spawn.h-data: Likewise.
1709         * conform/data/stdbool.h-data: Likewise.
1710         * conform/data/stdint.h-data: Likewise.
1711         * conform/data/stdio.h-data: Likewise.
1712         * conform/data/stdlib.h-data: Likewise.
1713         * conform/data/string.h-data: Likewise.
1714         * conform/data/strings.h-data: Likewise.
1715         * conform/data/stropts.h-data: Likewise.
1716         * conform/data/sys/mman.h-data: Likewise.
1717         * conform/data/sys/resource.h-data: Likewise.
1718         * conform/data/sys/select.h-data: Likewise.
1719         * conform/data/sys/socket.h-data: Likewise.
1720         * conform/data/sys/stat.h-data: Likewise.
1721         * conform/data/sys/statvfs.h-data: Likewise.
1722         * conform/data/sys/time.h-data: Likewise.
1723         * conform/data/sys/timeb.h-data: Likewise.
1724         * conform/data/sys/types.h-data: Likewise.
1725         * conform/data/sys/uio.h-data: Likewise.
1726         * conform/data/sys/un.h-data: Likewise.
1727         * conform/data/sys/wait.h-data: Likewise.
1728         * conform/data/syslog.h-data: Likewise.
1729         * conform/data/termios.h-data: Likewise.
1730         * conform/data/tgmath.h-data: Likewise.
1731         * conform/data/time.h-data: Likewise.
1732         * conform/data/ucontext.h-data: Likewise.
1733         * conform/data/unistd.h-data: Likewise.
1734         * conform/data/utmpx.h-data: Likewise.
1735         * conform/data/varargs.h-data: Likewise.
1736         * conform/data/wchar.h-data: Likewise.
1737         * conform/data/wctype.h-data: Likewise.
1739 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
1741         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
1742         version to 7 branch.
1744 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
1746         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
1747         earlyclobber to output operand of sqrt insn.
1748         (__ieee754_sqrtf): Ditto.
1750 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
1752         [BZ #21426]
1753         * misc/bits/types/struct_iovec.h: New file.
1754         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
1755         * include/bits/types/struct_iovec.h: New file.
1756         * bits/uio.h (struct iovec): Replace by inclusion of
1757         <bits/types/struct_iovec.h>.
1758         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
1759         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
1760         of <sys/uio.h>.
1761         * nptl/tst-cancel4.c: Include <sys/uio.h>
1762         * posix/test-errno.c: Likewise.
1763         * support/resolv_test.c: Likewise.
1764         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
1765         Remove.
1766         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1767         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1768         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1770         * conform/data/sys/socket.h-data (*_t): Allow.
1772 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1774         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
1775         assignment.
1777 2017-04-24  Daurnimator  <quae@daurnimator.com>
1778             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1780         [BZ #21340]
1781         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
1782         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
1783         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
1784         valid flags.
1785         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
1786         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
1787         POSIX_SPAWN_SETSID.
1788         * sysdeps/posix/spawni.c (__spawni): Likewise.
1789         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1790         * NEWS: Add note about POSIX_SPAWN_SETSID support.
1792 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1794         * sysdeps/generic/math_private.h: Move the declaration of many
1795         functions to sysdeps/generic/math_private_calls.h.
1796         * sysdeps/generic/math_private_calls.h: New file with the
1797         declarations of the functions removed from math_private.h
1798         macroized by floating-point type.
1800 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1802         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
1803         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
1804         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1805         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1806         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1807         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1809 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1811         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
1812         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
1813         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
1814         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
1815         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
1816         New Define.
1818 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1820         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
1821         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
1822         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1823         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1824         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1825         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1827 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1829         * sysdeps/s390/multiarch/ifunc-resolve.h
1830         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
1831         * sysdeps/s390/multiarch/8bit-generic.c
1832         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
1833         define ifunc resolvers.
1835 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1837         [BZ #20424]
1838         * manual/memory.texi (Replacing malloc): New section.
1839         (Allocating Storage For Program Data): Reference it.
1840         (The GNU Allocator): Likewise.
1842 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
1844         * stdlib/Versions (__strtod_internal): List explicitly, not as
1845         wildcard.
1846         (__strtof_internal): Likewise.
1847         (__strtold_internal): Likewise.
1848         (__strtol_internal): Likewise.
1849         (__strtoll_internal): Likewise.
1850         (__strtoul_internal): Likewise.
1851         (__strtoull_internal): Likewise.
1852         (__strtoq_internal): Likewise.
1853         (__strtouq_internal): Likewise.
1854         * wcsmbs/Versions (__wcstod_internal): Likewise.
1855         (__wcstof_internal): Likewise.
1856         (__wcstold_internal): Likewise.
1857         (__wcstol_internal): Likewise.
1858         (__wcstoll_internal): Likewise.
1859         (__wcstoul_internal): Likewise.
1860         (__wcstoull_internal): Likewise.
1862 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1864         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
1865         struct timespec definition.
1867 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1869         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
1871 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1873         * inet/rcmd.c (rresvport_af): Fix typo in comment.
1874         * inet/rexec.c (rexec_af): Likewise.
1876 2017-04-19  Zack Weinberg  <zackw@panix.com>
1878         * posix/tst-mmap-offset.c: Include stdint.h.
1879         * resolv/tst-ns_name_compress.c: Include string.h.
1880         * resolv/tst-resolv-edns.c: Include resolv.h.
1882 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1884         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
1885         with __glibc_likely.
1886         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
1887         Replace __builtin_expect with __glibc_unlikely.
1888         * resolv/res_init.c (__res_vinit): Likewise.
1889         * resolv/res_query.c (__libc_res_nquery): Likewise.
1890         * resolv/res_send.c (__libc_res_nsend): Likewise.
1892 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1894         [BZ #15722]
1895         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
1896         with SOCK_CLOEXEC.
1897         * resolv/res_send.c (send_vc, reopen): Likewise.
1898         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
1899         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
1900         Likewise.
1901         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
1902         * inet/rexec.c (rexec_af): Add comment.
1903         * inet/rcmd.c (rresvport_af): Likewise.
1905 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1907         * nscd/connections.c (have_accept4): Removed definition.
1908         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
1909         accept4 works.
1910         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
1911         ia64 because that was the first version with accept4 support.
1912         * support/Makefile (libsupport-routines): Add xaccept4.
1913         * support/xsocket.h (xaccept4): Declare.
1914         * support/xaccept4.c: New file.
1915         * socket/tst-accept4.c: New file.
1916         * socket/Makefile (tests): Add tst-accept4.
1917         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
1918         definition.
1919         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
1920         comment.
1921         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
1922         implementation is available.
1923         (accept4): Use the system call if available, otherwise use the
1924         socket call.
1925         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
1926         Set to 3.2.18.
1927         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1928         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
1929         accept4 is unconditionally available in later 3.2 stable kernels.
1930         (__ASSUME_ACCEPT4_SYSCALL): Define.
1931         * sysdeps/unix/sysv/linux/kernel-features.h
1932         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
1933         definitions.
1934         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1935         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
1937 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
1939         * conform/Makefile (tests-special): Do not make addition of
1940         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
1941         (generated): Do not make addition of $(conformtest-header-base)
1942         conditional on [$(cross-compiling) = no].
1944         [BZ #21267]
1945         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
1946         if defined by <asm/socket.h> and not previously defined.
1947         (IOCSIZE_SHIFT): Likewise.
1948         (IOC_IN): Likewise.
1949         (IOC_INOUT): Likewise.
1950         (IOC_OUT): Likewise.
1952 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1954         [BZ #21396]
1955         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1956         Prefer_No_AVX512 if AVX512ER isn't available.
1957         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
1958         (index_arch_Prefer_No_AVX512): Likewise.
1959         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
1960         AVX512 version if Prefer_No_AVX512 is set.
1961         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
1962         Likewise.
1963         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
1964         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
1965         Likewise.
1966         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1967         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
1968         Likewise.
1969         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
1970         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
1971         Likewise.
1973 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1975         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1976         Prefer_No_VZEROUPPER if AVX512ER is available.
1977         * sysdeps/x86/cpu-features.h
1978         (bit_cpu_AVX512PF): New.
1979         (bit_cpu_AVX512ER): Likewise.
1980         (bit_cpu_AVX512CD): Likewise.
1981         (bit_cpu_AVX512BW): Likewise.
1982         (bit_cpu_AVX512VL): Likewise.
1983         (index_cpu_AVX512PF): Likewise.
1984         (index_cpu_AVX512ER): Likewise.
1985         (index_cpu_AVX512CD): Likewise.
1986         (index_cpu_AVX512BW): Likewise.
1987         (index_cpu_AVX512VL): Likewise.
1988         (reg_AVX512PF): Likewise.
1989         (reg_AVX512ER): Likewise.
1990         (reg_AVX512CD): Likewise.
1991         (reg_AVX512BW): Likewise.
1992         (reg_AVX512VL): Likewise.
1994 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1996         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
1997         O_CLOEXEC is defined.
1998         * include/fcntl.h (__have_o_cloexec): Remove declaration.
1999         * io/Makefile (aux): Remove.
2000         * io/have_o_cloexec.c: Remove file.
2001         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
2002         defined and works.
2003         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
2004         defined.
2005         * login/utmp_file.c (O_flags): Remove definition.
2006         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
2007         O_CLOEXEC works.
2008         (pututline_file): Likewise.
2009         * malloc/mtrace.c: Assume that O_CLOEXEC works.
2010         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2011         definition.
2012         (internal_setgrent): Assume that O_CLOEXEC works.
2013         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2014         Remove definition.
2015         (internal_setgrent): Assume that O_CLOEXEC works.
2016         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2017         definition.
2018         (internal_setpwent): Assume that O_CLOEXEC works.
2019         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2020         definition.
2021         (internal_setspent): Assume that O_CLOEXEC works.
2022         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2023         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
2024         O_CLOEXEC is defined and works.
2025         * nss/Makefile (libnss_files-routines): Remove
2026         files-have_o_cloexec.
2027         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2028         defined.
2029         * nss/nss_files/files-XXX.c (internal_setent): Assume that
2030         O_CLOEXEC is defined and works.
2031         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2032         * nss/nss_files/files-have_o_cloexec.c: Remove.
2033         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2034         defined.
2035         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2036         and works.
2037         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2038         definition.
2039         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2040         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2041         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2042         (__opendirat, __opendir): Adjust opendir_oflags call.
2043         (check_have_o_cloexec): Remove.
2044         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2045         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2046         defined.
2047         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2048         Remove definition.
2050 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2052         * include/unistd.h (__have_dup3): Remove declaration.
2053         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
2054         dup3 is available.
2055         * libio/freopen64.c (freopen64): Likewise.
2056         * socket/Makefile (aux): Remove have_sock_cloexec.
2057         * socket/have_sock_cloexec.c: Remove file.
2058         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
2059         definition.
2060         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
2061         Likewise.
2062         * sysdeps/nacl/kernel-features.h: Update comment.
2064 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2066         * include/unistd.h (__have_pipe2): Remove declaration.
2067         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
2068         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
2069         available.
2070         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
2071         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
2072         Remove definition.
2074 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2076         * malloc/malloc.c (cfree): Turn into compat symbol.
2077         (__cfree): Remove alias.
2078         * stdlib/stdlib.h (cfree): Remove declaration.
2079         * malloc/malloc.h (cfree): Likewise.
2080         * manual/memory.texi (Freeing after Malloc): Remove cfree.
2081         * malloc/Versions (GLIBC_2.26): Add.
2083 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2085         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2086         (sysdep_routines): Add strrchr-power8.
2087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2088         (strrchr): Add __strrchr_power8 to list of strrchr functions.
2089         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
2090         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
2091         (strrchr): Add __strrchr_power8 to ifunc list.
2092         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
2094 2017-04-17  Rabin Vincent  <rabinv@axis.com>
2096         [BZ #21357]
2097         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
2098         Call free() outside of mutex.
2100 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2102         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
2103         is defined.
2104         * elf/rtld.c (process_envvars): Likewise.
2105         * sysdeps/posix/shm_open.c (shm_open): Likewise.
2106         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
2107         O_NOFOLLOW directly.
2108         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
2110 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2112         [BZ #21369]
2113         Remove EDNS fallback.
2114         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
2115         handling.
2116         * resolv/res_send.c (send_dg): Likewise.
2117         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
2118         "tcp." prefixes.
2119         (do_test): Send a "formerr."-prefixed query in an attempt to
2120         trigger EDNS fallback.
2122 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2124         [BZ #21361]
2125         Limit EDNS buffer size to 1200 bytes.
2126         * include/resolv.h (__res_nopt): Remove declaration.
2127         * resolv/Makefile (tests): tst-resolv-edns.
2128         (tst-resolv-edns): Link with -lresolv, -lpthread.
2129         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
2130         interval [512, 1200].
2131         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
2132         we can resize the buffer.
2133         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
2134         (__res_nopt): Declare.
2135         * resolv/tst-resolv-edns.c: New file.
2136         * resolv/resolv_test.h (struct resolv_edns_info): Define.
2137         (struct resolv_response_context): Add edns member.
2138         * resolv/resolv_test.c (struct query_info): Add edns member.
2139         (parse_query): Extract EDNS information from the query.
2140         (server_thread_udp_process_one): Propagate EDNS data.
2141         (server_thread_tcp_client): Likewise.
2143 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2145         [BZ #21359]
2146         * resolv/ns_name.c (ns_name_pack): Do not require an additional
2147         byte in the destination buffer.  Avoid out-of-bounds pointer
2148         arithmetic.
2149         * resolv/Makefile (tests): Add tst-ns_name_compress.
2150         (tst-ns_name_compress): Link with -lresolv.
2151         * resolv/tst-ns_name_compress.c: New file.
2152         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
2153         (response): Recognize LONG_NAME.
2154         (do_test): Add LONG_NAME tests.
2155         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
2156         for ns_name_unpack.  Add tests for ns_name_pton and
2157         ns_name_compress.
2159 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2161         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
2162         (res_nisourserver): Remove definition.
2163         (p_section, res_npquery, res_nisourserver): Remove declaration.
2164         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
2165         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
2166         ... here.
2167         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
2168         <resolv.h>.
2169         * resolv/res_query.c: Likewise.
2170         * resolv/res_debug.c (p_section): Define as static.
2172 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2174         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
2175         strncat-power8.
2176         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
2177         __strncat_power8 to ifunc list.
2178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2179         (strncat): Add __strncat_power8 to list of strncat functions.
2180         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
2182 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2184         [BZ #21270]
2185         * posix/tst-mmap-offset.c (do_prepare): New function.
2186         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
2187         (do_test_bz21270): New function.
2188         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
2189         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
2190         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
2191         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
2192         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
2193         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2194         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
2195         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
2196         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
2197         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
2198         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
2199         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2200         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2201         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2202         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
2203         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
2204         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2205         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
2206         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
2207         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
2208         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
2209         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
2210         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
2211         from auto-generation list.
2212         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
2213         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2214         * sysdeps/unix/sysv/linux/mmap.c: New file.
2215         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
2216         offsets and support for mmap2 syscall.
2218         * posix/globtest.sh: Add cleanup routine on trap 0.
2220 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2222         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
2223         implementation-specific function name and remove unneeded
2224         macros definition.
2225         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
2226         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
2227         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
2228         name if not defined and pass as parameter to macros accordingly.
2229         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2230         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2232         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
2233         implementation-specific function name and remove unneeded
2234         macros definition.
2235         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
2236         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
2237         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
2238         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
2239         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2240         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
2241         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
2242         name if not defined and pass as parameter to macros accordingly.
2243         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2244         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2245         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2246         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2247         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2248         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2250         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
2251         implementation-specific function name and remove unneeded macros
2252         definition.
2253         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
2254         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
2255         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
2256         function name if not defined and pass as parameter to macros
2257         accordingly.
2258         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2259         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2261         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
2262         implementation-specific function name and remove unneeded macros
2263         definition.
2264         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2265         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2266         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
2267         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2268         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
2269         not defined and pass as parameter to macros accordingly.
2270         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2271         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2272         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2273         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2275         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
2276         strcasestr implementation name and remove unneeded macros definition.
2277         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2278         strstr implementation name and remove unneeded macros definition.
2279         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
2280         name if not defined and pass as parameter to macros accordingly.
2281         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2283         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
2284         implementation-specific function name and remove unneeded macros
2285         definition.
2286         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
2287         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
2288         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
2289         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
2290         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
2291         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
2292         function name if not defined and pass as parameter to macros
2293         accordingly.
2294         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2295         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2296         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2297         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2299         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
2300         the strlen implementation name and remove unneeded macros definition.
2301         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
2302         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2303         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
2304         the strnlen implementation name and remove unneeded macros definition.
2305         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
2306         name if not defined and pass as parameter to macros accordingly.
2307         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2308         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2309         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2311         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
2312         the implementation-specific function name and remove unneeded
2313         macros definition.
2314         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
2315         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
2316         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
2317         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2318         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
2319         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
2320         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
2321         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2322         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2323         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
2324         name if not defined and pass as parameter to macros accordingly.
2325         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2326         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2327         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2328         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2329         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2330         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2331         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2332         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2334         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
2335         implementation-specific function name and remove unneeded macros
2336         definition.
2337         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2338         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2339         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
2340         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
2341         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2342         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
2343         function name if not defined.
2344         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2345         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2347 2017-04-11  Paul Clarke  <pc@us.ibm.com>
2349         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
2350         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
2351         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
2352         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
2354 2017-04-11  Florian Weimer  <fweimer@redhat.com>
2355             Zack Weinberg  <zackw@panix.com>
2357         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
2358         readdir64 as thread-safe.  Update warning about readdir_r.
2360 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2362         * sysdeps/unix/sysv/linux/x86/Implies: New file.
2363         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
2364         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
2365         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
2366         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
2367         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
2368         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2370 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2372         * sysdeps/i386/dl-procinfo.c: Include
2373         <sysdeps/x86/dl-procinfo.c>.
2374         * sysdeps/x86_64/dl-procinfo.c: Likewise.
2375         * sysdeps/x86/dl-procinfo.c: New file.
2377 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2379         * sysdeps/generic/math_private.h: Remove declarations of
2380         many functions that are already declared in math.h.
2381         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
2382         declaration for __frexpl.
2383         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
2384         the declarations for __scalbnl and fabsl.
2386 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
2388         [BZ #20831]
2389         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
2390         of __mprotect to change protection on the excess portion
2391         to disallow all access.
2393 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
2395         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
2396         HAS_CPU_FEATURE to check for SSE.
2397         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2398         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2399         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
2400         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
2401         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
2402         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
2403         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
2404         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
2405         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2406         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
2407         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2408         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2409         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
2410         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
2411         (index_cpu_SSE): Likewise.
2412         (reg_SSE): Likewise.
2414 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
2416         * posix/getopt1.c: Include <config.h>, not "config.h".
2418 2017-04-07  Zack Weinberg  <zackw@panix.com>
2420         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
2421         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
2422         Mention in top-of-file boilerplate that these files are shared
2423         with gnulib.
2424         * posix/getopt.h, posix/bits/getopt_posix.h:
2425         Mention in top-of-file boilerplate that these files are NOT shared
2426         with gnulib, unlike the rest of the getopt implementation.
2428         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
2429         New files, intended to be shared with gnulib.
2430         * posix/bits/getopt_posix.h:
2431         New file, not intended to be shared with gnulib.
2432         * posix/getopt.h: Now just includes features.h,
2433         bits/getopt_core.h, and bits/getopt_ext.h.  Will
2434         no longer be shared with gnulib.
2435         * include/bits/getopt_core.h, include/bits/getopt_ext.h
2436         * include/bits/getopt_posix.h: New wrappers.
2437         * posix/Makefile: Install new headers.
2438         * posix/unistd.h, libio/stdio.h:
2439         Include bits/getopt_posix.h instead of getopt.h.
2441         * include/libc-symbols.h: For gnulib compatibility, define
2442         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
2443         _GL_ATTRIBUTE_CONST.
2444         * posix/getopt.c (_getopt_initialize): Mark argc and argv
2445         parameters with _GL_UNUSED.
2447         * posix/getopt.c: When used standalone, define __libc_use_alloca
2448         as always false and alloca to abort if called.
2449         (process_long_option): Rewrite handling of ambiguous long options
2450         to use a single boolean vector, not a linked list; use
2451         __libc_use_alloca to decide whether to allocate this using alloca.
2452         * posix/tst-getopt_long1.c: Adjust text of expected error message.
2454         * posix/getopt.c (process_long_option): New function split out
2455         from _getopt_internal_r.
2456         (_getopt_internal_r): Replace both copies of the long-option
2457         processing code with calls to process_long_option.
2458         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
2459         (do_test): Differentiate argv[0] in the two subtests.
2461         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
2462         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
2463         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
2465         * posix/getopt.h: Add backup definition of __nonnull for
2466         consistency with gnulib.  Define __getopt_argv_const to const
2467         if not already defined.
2468         (getopt): Update doc comment from gnulib.  Prototype
2469         unconditionally.  Add __nonnull annotation.
2470         (__posix_getopt): Add __nonnull annotation.
2471         (getopt_long, getopt_long_only): Use __getopt_argv_const in
2472         prototypes for consistency with gnulib.  Add __nonnull
2473         annotations.
2474         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
2475         (getopt_internal): Change 'argv' argument to type 'char **'.
2476         Remove now-unnecessary casts.
2477         (getopt, __posix_getopt): Eliminate repetition with a macro.
2478         Cast 'argv' to 'char **' when calling _getopt_internal.
2479         * posix/getopt1.c (getopt_long, getopt_long_only):
2480         Use __getopt_argv_const for consistency with gnulib.
2481         Cast 'argv' to 'char **' when calling _getopt_internal.
2482         (_getopt_long_r, _getopt_long_only_r):
2483         Change 'argv' argument to type 'char **'.
2484         (main): Constify 'long_options'.
2485         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
2486         (_getopt_long_r, _getopt_long_only_r):
2487         Change 'argv' argument to type 'char **'.
2489         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
2490         (locked_vfxprintf): New helper function. Handle arbitrary
2491         multibyte strings, not just ASCII.
2492         * include/stdio.h: Declare __fxprintf_nocancel.
2493         * posix/getopt.c: When _LIBC is defined, define fprintf to
2494         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
2495         to _IO_funlockfile.  When neither _LIBC nor
2496         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
2497         funlockfile as no-ops.
2498         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
2499         the standalone error-printing code can now be used for libc as
2500         well.  Add an flockfile/funlockfile pair around one case where
2501         the error message is printed in several chunks.  Don't use fputc.
2502         * posix/tst-getopt-cancel.c: New test.
2503         * posix/Makefile: Run it.
2505         * posix/getopt.c (_getopt_internal_r): Don't increment
2506         d->optind a second time when reporting ambiguous -W options.
2508         * posix/getopt_int.h: Include getopt.h.
2509         Use impl-namespace names for all arguments to _getopt_internal and
2510         _getopt_internal_r.
2511         Declare __ordering enum outside the struct.
2512         Harmonize comments with gnulib.
2513         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
2514         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
2515         #ifdef TEST block and make unconditional.  Do not define NULL.
2516         * posix/getopt.c: Partial merge from gnulib, covering the
2517         initial includes and global declarations, commentary, and
2518         a couple of semantically-neutral code changes.
2520         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
2521         Use '...' instead of `...' for quotation marks inside
2522         comments and strings.
2524         * config.h.in (USE_NONOPTION_FLAGS): Remove.
2525         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
2526         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2527         * posix/getopt_int.h: Likewise.
2528         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
2529         __libc_argc and __libc_argv externs, which were only used by
2530         #ifdef USE_NONOPTION_FLAGS blocks.
2531         * posix/getopt_init.c: Remove file.
2532         * posix/Makefile (routines): Remove getopt_init.
2533         * include/getopt.h: Don't declare __getopt_initialize_environment.
2534         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
2535         a comment.
2537 2017-04-07  Florian Weimer  <fweimer@redhat.com>
2539         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
2541 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2543         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
2544         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
2545         to __wrap_.udiv.
2546         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
2547         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
2549         * sysdeps/i386/symbol-hacks.h: New file.
2550         * sysdeps/m68k/symbol-hacks.h: New file.
2551         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
2552         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
2553         * sysdeps/unix/sysv/linux/i386/Makefile
2554         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
2555         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2556         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2557         * sysdeps/unix/sysv/linux/m68k/Makefile
2558         [$(subdir) = csu] (sysdep_routines): Likewise.
2559         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2560         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2562         [$(subdir) = csu] (sysdep_routines): Likewise.
2563         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2564         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2565         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2566         [$(subdir) = csu] (sysdep_routines): Likewise.
2567         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2568         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2569         * sysdeps/wordsize-32/Makefile: Remove file.
2570         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
2571         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
2573 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
2575         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
2576         (TEST_FUNCTION_ARGV): New.
2578 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2580         * elf/next.c: Import support/test-driver.c instead of
2581         test-skeleton.c and delete TEST_FUNCTION macro definition.
2582         * elf/nodelete.c: Likewise.
2583         * elf/order2.c: Likewise.
2584         * elf/tst-_dl_addr_inside_object.c: Likewise.
2585         * elf/tst-addr1.c: Likewise.
2586         * elf/tst-align.c: Likewise.
2587         * elf/tst-align2.c: Likewise.
2588         * elf/tst-audit11.c: Likewise.
2589         * elf/tst-audit12.c: Likewise.
2590         * elf/tst-audit2.c: Likewise.
2591         * elf/tst-audit9.c: Likewise.
2592         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
2593         * elf/tst-deep1.c: Likewise.
2594         * elf/tst-dl-iter-static.c: Likewise.
2595         * elf/tst-dlmodcount.c: Likewise.
2596         * elf/tst-dlmopen1.c: Likewise.
2597         * elf/tst-dlmopen2.c: Likewise.
2598         * elf/tst-dlmopen3.c: Likewise.
2599         * elf/tst-dlopen-aout.c: Likewise.
2600         * elf/tst-dlopenrpath.c: Likewise.
2601         * elf/tst-dlsym-error.c: Likewise.
2602         * elf/tst-execstack-needed.c: Likewise.
2603         * elf/tst-execstack-prog.c: Likewise.
2604         * elf/tst-execstack.c: Likewise.
2605         * elf/tst-global1.c: Likewise.
2606         * elf/tst-gnu2-tls1.c: Likewise.
2607         * elf/tst-latepthread.c: Likewise.
2608         * elf/tst-leaks1.c: Likewise.
2609         * elf/tst-linkall-static.c: Likewise.
2610         (do_test): New function.
2611         * elf/tst-nodelete-opened.c: Likewise.
2612         * elf/tst-nodelete.cc: Likewise.
2613         * elf/tst-nodelete2.c: Likewise.
2614         * elf/tst-noload.c: Likewise.
2615         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
2616         * elf/tst-order-main.c: Likewise.
2617         * elf/tst-pathopt.c: Likewise.
2618         * elf/tst-pie2.c: Likewise.
2619         * elf/tst-piemod1.c: Likewise.
2620         * elf/tst-prelink.c: Likewise.
2621         * elf/tst-protected1a.c: Likewise.
2622         * elf/tst-protected1b.c: Likewise.
2623         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
2624         and define _GNU_SOURCE macro.
2625         (cmdline_process_function): New function.
2626         * elf/tst-relsort1.c: Likewise.
2627         * elf/tst-stackguard1.c: Likewise, import getopt.h,
2628         and define _GNU_SOURCE macro.
2629         (cmdline_process_function): New function.
2630         * elf/tst-thrlock.c: Likewise.
2631         * elf/tst-tls-dlinfo.c: Likewise.
2632         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
2633         * elf/tst-tls1.c: Likewise.
2634         * elf/tst-tls10.c: Likewise.
2635         * elf/tst-tls11.c: Likewise.
2636         * elf/tst-tls12.c: Likewise.
2637         * elf/tst-tls13.c: Likewise.
2638         * elf/tst-tls14.c: Likewise.
2639         * elf/tst-tls15.c: Likewise.
2640         * elf/tst-tls16.c: Likewise.
2641         * elf/tst-tls17.c: Likewise.
2642         * elf/tst-tls18.c: Likewise.
2643         * elf/tst-tls19.c: Likewise.
2644         * elf/tst-tls2.c: Likewise.
2645         * elf/tst-tls3.c: Likewise.
2646         * elf/tst-tls4.c: Likewise.
2647         * elf/tst-tls5.c: Likewise.
2648         * elf/tst-tls6.c: Likewise.
2649         * elf/tst-tls7.c: Likewise.
2650         * elf/tst-tls8.c: Likewise.
2651         * elf/tst-tls9.c: Likewise.
2652         * elf/tst-tlsalign-extern.c: Likewise.
2653         * elf/tst-tlsalign.c: Likewise.
2654         * elf/tst-unique1.c: Likewise.
2655         * elf/tst-unique2.c: Likewise.
2656         * elf/vismain.c: Likewise.
2658 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2660         * string/test-strnlen.c (do_page_tests): New function
2661         to check length of strings ending at the page boundary.
2662         (test_main): Added call to the do_page_tests function.
2664 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2665             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2667         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2668         (sysdep_routines): Add strnlen-power8.
2669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2670         (strnlen): Add __strnlen_power8 to list of strnlen functions.
2671         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
2672         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
2673         (__strnlen): Add __strnlen_power8 to ifunc list.
2674         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
2676 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2678         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
2679         the TEST_FUNCTION macro definition.
2680         * wcsmbs/tst-mbrtowc2.c: Likewise.
2681         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2682         * wcsmbs/tst-wchar-h.c: Likewise.
2683         * wcsmbs/tst-wcpncpy.c: Likewise.
2684         * wcsmbs/tst-wcrtomb.c: Likewise.
2685         * wcsmbs/tst-wcsnlen.c: Likewise.
2686         * wcsmbs/tst-wcstof.c: Likewise.
2688 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2690         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
2691         CALL_THREAD_FCT macro usage.
2692         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
2693         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
2694         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
2696         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
2697         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2698         (__ASSUME_REQUEUE_PI): Likewise.
2699         * sysdeps/unix/sysv/linux/kernel-features.h
2700         (__ASSUME_REQUEUE_PI): Likewise.
2701         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2702         (__ASSUME_REQUEUE_PI): Likewise.
2703         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2704         (__ASSUME_REQUEUE_PI): Likewise.
2705         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2706         (__ASSUME_REQUEUE_PI): Likewise.
2708 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2710         * resolv/tst-resolv-canonname.c: New file.
2711         * resolv/Makefile (tests): Add tst-resolv-canonname.
2712         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
2714 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2716         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
2717         Declare.
2718         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
2719         (NS_MAXCDNAME): Remove definition.
2720         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2721         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
2722         (NS_MAXCDNAME): Remove definition.
2723         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2725 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2727         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
2728         call whose result is not used.
2730 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2732         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
2733         * resolv/Makefile (tests): Add tst-ns_name.
2734         (tst-ns_name): Link with -lresolv.
2735         (tst-ns_name.out): Depend on the input data file.
2737 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2739         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
2740         Clobber also r14.
2742 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
2744         [BZ #21253]
2745         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
2746         slack space by 32KiB.
2748 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
2750         [BZ #21338]
2751         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
2752         instead of incorrect do_set_arena_test
2754 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2756         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
2757         * math/bits/math-finite.h: Likewise.
2759 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
2761         [BZ #21289]
2762         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
2764 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2766         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
2767         non expected inotify_add_watch and quotactl return.
2769 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2771         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
2772         to int32_t.
2773         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
2774         as returning int32_t.
2776 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2778         * math/math.h: Include bits/math-finite.h once per
2779         floating-point type.
2780         * math/bits/math-finite.h: Macroize all declarations by
2781         floating-point type.
2783 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2785         [BZ #21182]
2786         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
2787         near end of a page.
2788         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
2789         overflow calculation.
2791 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2793         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
2794         (IMPL) Call with 1 instead of 0 as argument.
2796 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2798         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2799         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2800         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2801         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2802         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2803         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2804         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2805         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2806         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2807         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2808         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2809         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2810         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2811         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2812         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2813         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2814         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2815         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2816         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2817         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2818         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2819         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2820         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2821         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2822         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2823         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2824         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2825         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2826         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2827         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2828         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2829         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2830         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2831         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2832         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2833         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2834         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2835         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2836         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2837         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2838         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2839         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2840         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2841         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2842         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2843         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2844         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2845         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2846         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2847         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2848         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2849         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2850         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2851         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2852         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2853         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2854         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2855         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2856         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2857         defined.
2858         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2859         __NR_setgroups32 if defined.
2860         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2861         if defined.
2862         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2863         __NR_setresgid32 is defined.
2864         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2865         __NR_setresuid32 if defined.
2866         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2867         __NR_setreuid32 if defined.
2868         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2869         defined.
2870         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2871         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2872         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2873         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2874         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2875         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2876         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2877         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2878         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2879         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2880         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2881         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2882         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2883         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2884         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2885         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2886         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2887         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2888         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2889         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2890         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2891         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2892         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2893         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2894         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2895         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2896         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2897         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2898         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2899         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2900         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2901         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2902         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2903         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2904         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2905         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2906         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2907         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2908         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2909         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2910         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2911         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2912         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2913         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2914         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2915         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2916         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2917         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2918         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2919         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2920         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2921         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2922         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2923         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2924         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2925         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2926         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2927         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2928         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2929         defined.
2930         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2931         __NR_setgroups32 if defined.
2932         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2933         if defined.
2934         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2935         __NR_setresgid32 is defined.
2936         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2937         __NR_setresuid32 if defined.
2938         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2939         __NR_setreuid32 if defined.
2940         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2941         defined.
2943 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
2945         [BZ #21277]
2946         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
2947         unconditionally.
2948         (IMAXBEL): Likewise.
2949         (IUTF8): Likewise.
2951 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2953         * sysdeps/aarch64/libm-test-ulps: Update.
2955 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
2957         * README.tunables: Updated descriptions.
2958         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
2959         * scripts/gen-tunables.awk: Updated the code related to the
2960         commit.
2962 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
2964         * benchtests/Makefile (string-benchset): Add memcpy-random.
2965         * benchtests/bench-memcpy-random.c: New file.
2967 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2969         * stdio-common/printf.h (register_printf_modifier): Change the
2970         order of __wur and __THROW.
2971         (register_printf_type): Likewise.
2973 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2975         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
2976         test_main ().
2977         (CMDLINE_PROCESS): Use function instead of defined macro.
2978         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
2979         <suppport/support.h> to use set_fortify_handler().
2980         * string/bug-envz1.c: Import support/test-driver.c instead of
2981         test-skeleton.c.
2982         * string/bug-strcoll2.c: Likewise.
2983         * string/bug-strtok1.c: Likewise.
2984         * string/stratcliff.c: Likewise.
2985         * string/test-ffs.c: Likewise.
2986         * string/test-memccpy.c: Likewise.
2987         * string/test-memchr.c: Likewise.
2988         * string/test-memcmp.c: Likewise.
2989         * string/test-memcpy.c: Likewise.
2990         * string/test-memmem.c: Likewise.
2991         * string/test-memmove.c: Likewise.
2992         * string/test-memrchr.c: Likewise.
2993         * string/test-memset.c: Likewise.
2994         * string/test-rawmemchr.c: Likewise.
2995         * string/test-strcasecmp.c: Likewise.
2996         * string/test-strcasestr.c: Likewise.
2997         * string/test-strcat.c: Likewise.
2998         * string/test-strchr.c: Likewise.
2999         * string/test-strcmp.c: Likewise.
3000         * string/test-strcpy.c: Likewise.
3001         * string/test-string.h: Likewise.
3002         * string/test-strlen.c: Likewise.
3003         * string/test-strncasecmp.c: Likewise.
3004         * string/test-strncat.c: Likewise.
3005         * string/test-strncmp.c: Likewise.
3006         * string/test-strncpy.c: Likewise.
3007         * string/test-strnlen.c: Likewise.
3008         * string/test-strpbrk.c: Likewise.
3009         * string/test-strrchr.c: Likewise.
3010         * string/test-strspn.c: Likewise.
3011         * string/test-strstr.c: Likewise.
3012         * string/tst-bswap.c: Likewise.
3013         * string/tst-cmp.c: Likewise.
3014         * string/tst-endian.c: Likewise.
3015         * string/tst-inlcall.c: Likewise.
3016         * string/tst-strcoll-overflow.c: Likewise.
3017         * string/tst-strfry.c: Likewise.
3018         * string/tst-strlen.c: Likewise.
3019         * string/tst-strtok.c: Likewise.
3020         * string/tst-strtok_r.c: Likewise.
3021         * string/tst-strxfrm.c: Likewise.
3022         * string/tst-strxfrm2.c: Likewise.
3023         * string/tst-svc.c: Likewise.
3024         * string/tst-svc2.c: Likewise.
3026 2017-03-22  Zack Weinberg  <zackw@panix.com>
3028         * stdio-common/bug25.c: Include stdlib.h.
3029         * support/tst-support_format_dns_packet.c: Include stdio.h,
3030         stdlib.h, and string.h.
3031         * support/tst-support_record_failure.c: Include string.h.
3032         * support/tst-support_record_failure-2.sh: Adjust line number
3033         expectations and correct a typo in an error message.
3035 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3037         [BZ #21258]
3038         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3039         Define only if _dl_runtime_resolve is defined to
3040         _dl_runtime_resolve_sse_vex.
3041         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3042         Fallthrough to _dl_runtime_resolve_sse_vex.
3044 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
3046         * INSTALL: Regenerated.
3048 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
3050         * config.h.in: Add LINK_OBSOLETE_NSL.
3051         * config.make.in: Add build-obsolete-nsl.
3052         * configure.ac: Add obsolete-nsl option.
3053         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
3054         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
3055         * include/rpcsvc/nislib.h: Likewise.
3056         * include/rpcsvc/ypclnt.h: Likewise.
3057         * manual/install.texi: Document --enable-obsolete-nsl.
3058         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
3059         * nis/nis_add.c: Replace libnsl_hidden_def with
3060         libnsl_hidden_nolink_def.
3061         * nis/nis_addmember.c: Likewise.
3062         * nis/nis_call.c: Likewise.
3063         * nis/nis_clone_obj.c: Likewise.
3064         * nis/nis_defaults.c: Likeise.
3065         * nis/nis_domain_of_r.c: Likewise.
3066         * nis/nis_error.c: Likewise.
3067         * nis/nis_file.c: Likewise.
3068         * nis/nis_free.c: Likewise.
3069         * nis_local_names.c: Likewise.
3070         * nis/nis_lookup.c: Likewise.
3071         * nis/nis_modify.c: Likewise.
3072         * nis/nis_print.c: Likewise.
3073         * nis/nis_remove.c: Likewise.
3074         * nis/nis_table.c: Likewise.
3075         * nis/nis_util.c: Likewise.
3076         * nis/nis_xdr.c: Likewise.
3077         * nis/yp_xdr.c: Likewise.
3078         * nis/ypclnt.c: Likewise.
3079         * nis/ypupdate_xdr.c: Likewise.
3080         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
3081         * nis/nis_clone_dir.c: Likewise.
3082         * nis/nis_clone_res.c: Likewise.
3083         * nis/nis_creategroup.c: Likewise.
3084         * nis/nis_destroygroup.c: Likewise.
3085         * nis/nis_domain_of.c: Likewise.
3086         * nis/nis_getservlist.c: Likewise.
3087         * nis/nis_ismember.c: Likewise.
3088         * nis/nis_mkdir.c: Likewise.
3089         * nis/nis_ping.c: Likewise.
3090         * nis/nis_print_group_entry.c: Likewise.
3091         * nis/nis_removemember.c: Likewise.
3092         * nis/nis_rmdir.c: Likewise.
3093         * nis/nis_server.c: Likewise.
3094         * nis/nis_subr.c: Likewise.
3095         * nis/nis_verifygroup.c: Likewise.
3097 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3099         * malloc/tst-interpose-aux.c (check_for_allocations):
3100         Move compiler barrier before free.
3102 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
3104         [BZ #21279]
3105         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3106         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3107         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
3108         x86_64-x32-linux.
3109         (mq_attr.mq_maxmsg): Likewise.
3110         (mq_attr.mq_msgsize): Likewise.
3111         (mq_attr.mq_curmsgs): Likewise.
3113         [BZ #21278]
3114         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
3115         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3116         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
3117         mips-o32-linux.
3119         [BZ #21268]
3120         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
3121         if [__USE_MISC]
3122         (NL3): Likewise.
3124 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
3126         [BZ #21275]
3127         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
3128         __stack to __stackbase.
3129         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
3130         checks so we can include defined(__ia64__) first.
3132 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
3134         * sysdeps/unix/sysv/linux/ttyname.h: New file.
3135         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
3136         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
3137         Call is_pty when the link does not exist or does not match, fail
3138         with ENODEV when it returns true.
3139         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
3140         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
3141         Call is_pty when the link does not exist or does not match, fail
3142         with ENODEV when it returns true.
3144 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
3146         [BZ #16437]
3147         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3148         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3149         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
3150         x86_64-x32-linux.
3151         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
3152         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
3153         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
3155         [BZ #21261]
3156         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
3157         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
3158         names for all fields.
3159         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
3160         for jmp_buf field renaming.
3161         (_JMPBUF_UNWINDS_ADJ): Likewise.
3163         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
3164         with allow-header.
3166 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
3168         * malloc/malloc.c (unlink): Add consistency check between size and
3169         next->prev->size, to further harden against 1-byte overflows.
3171 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
3173         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
3174         CPU_FEATURES_CPU_P.
3176 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
3178         [BZ #21259]
3179         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
3180         unconditionally, not just for [__USE_MISC].
3182         [BZ #17786]
3183         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
3184         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
3185         mips-o32-linux.
3187         [BZ #21260]
3188         * sysdeps/unix/sysv/linux/alpha/Makefile
3189         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3190         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
3192         * conform/conformtest.pl ($cross): New variable.
3193         (--cross): New command-line option.
3194         (runtest): Skip test execution when cross-compiling.
3195         * conform/Makefile (conformtest-cross): New variable.
3196         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
3197         conformtest.pl.
3199         * conform/conformtest.pl ($xfail_str): New variable.
3200         (--xfail=): New command-line option.
3201         (top level): Handle expectations starting xfail[cond]-.
3202         * conform/Makefile (conformtest-xfail): New variable.
3203         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
3204         conformtest.pl.
3206 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3208         * conform/conformtest.pl: Use compilation instead of execution
3209         tests for testing values of constants and usability in #if.
3211 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3213         * math/auto-libm-test-in: Mark some catan and catanh as
3214         xfail-rounding:ibm128-libgcc.
3215         * math/auto-libm-test-out-catan: Regenerate.
3216         * math/auto-libm-test-out-catanh: Likewise.
3218 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3220         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
3221         (__END_NAMESPACE_STD): Likewise.
3222         (__USING_NAMESPACE_STD): Likewise.
3223         (__BEGIN_NAMESPACE_C99): Likewise.
3224         (__END_NAMESPACE_C99): Likewise.
3225         (__USING_NAMESPACE_C99): Likewise.
3226         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
3227         undefine macro.
3228         (_Mdouble_END_NAMESPACE): Likewise.
3229         * ctype/ctype.h: Do not handle C++ namespaces.
3230         * libio/bits/stdio-ldbl.h: Likewise.
3231         * libio/stdio.h: Likewise.
3232         * locale/locale.h: Likewise.
3233         * math/bits/mathcalls.h: Likewise.
3234         * setjmp/setjmp.h: Likewise.
3235         * signal/signal.h: Likewise.
3236         * stdlib/bits/stdlib-float.h: Likewise.
3237         * stdlib/bits/stdlib-ldbl.h: Likewise.
3238         * stdlib/stdlib.h: Likewise.
3239         * string/string.h: Likewise.
3240         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
3241         * time/bits/types/clock_t.h: Likewise.
3242         * time/bits/types/struct_tm.h: Likewise.
3243         * time/bits/types/time_t.h: Likewise.
3244         * time/time.h: Likewise.
3245         * wcsmbs/bits/wchar-ldbl.h: Likewise.
3246         * wcsmbs/uchar.h: Likewise.
3247         * wcsmbs/wchar.h: Likewise.
3248         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
3249         * wctype/wctype.h: Do not handle C++ namespaces.
3250         * scripts/begin-end-check.pl: Remove.
3251         * Makefile (installed-headers): Likewise.
3252         (tests-special): Do not add $(objpfx)begin-end-check.out.
3253         ($(objpfx)begin-end-check.out): Remove.
3255 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
3256             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3258         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
3259         (DL_PLATFORM_INIT): New define.
3260         (dl_platform_init): New function.
3261         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
3262         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
3263         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
3264         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
3265         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
3267 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
3269         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
3270         instead of PIC.
3272 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3274         [BZ #21094]
3275         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3276         24+24+24-bit pi for wider range of values around pi/2.
3277         * math/auto-libm-test-in: Add more tests of cos and tan.
3278         * math/auto-libm-test-out-cos: Regenerated.
3279         * math/auto-libm-test-out-tan: Likewise.
3281 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
3283         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
3284         (RTLD_START): Don't record stack end address in _dl_start_user.
3286 2017-03-15  Alexey Neyman  <stilor@att.net>
3288         [BZ #21088]
3289         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
3290         around definitions match those around use.
3292 2017-03-15  Alexey Neyman  <stilor@att.net>
3294         * configure.ac: Avoid empty subexpression in grep.
3295         * configure: Regenerate.
3297 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3299         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
3300         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
3301         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
3302         (test_wrp_rv): Fix format.
3303         (test_wrp_rv2): New macro.
3304         (do_test): Handle mlock return on 64 bits kernels with 32 bits
3305         binaries.
3307 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3309         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
3310         Use a union when storing pointers.
3311         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
3312         cast result when passing to INIT_VEC_PTRS_LOOP.
3313         (VECTOR_WRAPPER_fFF_3): Likewise.
3314         (VECTOR_WRAPPER_fFF_4): Likewise.
3316 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3318         * include/bits/mathcalls-helper-functions.h: New file.
3319         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
3320         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
3321         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
3322         math/bits/mathcalls-helper-functions.h.
3323         * math/bits/mathcalls-helper-functions.h: New file.
3324         * math/math.h: Include bits/mathcalls-helper-functions.h for
3325         float, double, and long double.
3327 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3329         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
3330         instead of feraiseexcept.
3332 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3334         [BZ #21243]
3335         * support/temp_file.c (support_delete_temp_files): Add comment
3336         about ignored errors.
3338 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3340         [BZ #21244]
3341         * support/xclose.c: New file.
3342         * support/Makefile (libsupport-routines): Add xclose.
3343         * support/xunistd.h (xclose): Declare.
3344         * support/resolv_test.c (server_thread_tcp_client)
3345         (server_thread_tcp, make_server_sockets, resolv_test_start)
3346         (resolv_test_end): Call xclose instead of close.
3347         * support/support_enter_network_namespace.c
3348         (support_enter_network_namespace): Likewise.
3349         * support/support_run_diff.c (write_to_temp_file): Likewise.
3351 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3353         * support/support_format_dns_packet.c (support_format_dns_packet):
3354         Handle CNAME records in the response.  Extract RDATA names from
3355         rdata, not the whole packet.  Check AAAA record length.
3356         * support/tst-support_format_dns_packet.c: New file.
3357         * support/Makefile (tests): Add tst-support_format_dns_packet.
3358         (tst-support_format_dns_packet): Link against libresolv.
3360 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3362         [BZ #21232]
3363         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
3364         posix_fadvise64 weak_alias for static build.
3366 2017-03-14  Andreas Schwab  <schwab@suse.de>
3368         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
3369         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
3370         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
3371         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
3372         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
3373         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
3374         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
3375         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
3377 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3379         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
3380         posix error code.
3381         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3383 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3385         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
3386         no_isolate usage for SH.
3388 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
3390         [BZ #15105]
3391         [BZ #19463]
3392         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
3393         * inet/rcmd.c (rcmd_af): Likewise.
3394         * inet/rexec.c   (rexec_af): Likewise.
3395         * intl/dcigettext.c (_LIBC): Likewise.
3396         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
3397         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
3398         * locale/setlocale.c (setlocale): Likewise.
3399         * posix/spawn_faction_addopen.c
3400         (posix_spawn_file_actions_addopen): Likewise.
3401         * stdlib/putenv.c (putenv): Use __strndup.
3402         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
3403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
3404         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
3405         (__Need_M_And_C) Remove define/undef.
3406         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
3407         (__malloc_and_calloc_defined): Remove define.
3408         * string/bits/string2.h (__strdup): Remove define.
3409         (strdup): Likewise.
3410         (__strndup): Likewise.
3411         (strndup): Likewise.
3413 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
3415         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
3416         macro.
3417         (IPV6_ADDR_PREFERENCES): Likewise.
3418         (IPV6_MINHOPCOUNT): Likewise.
3419         (IPV6_ORIGDSTADDR): Likewise.
3420         (IPV6_RECVORIGDSTADDR): Likewise.
3421         (IPV6_TRANSPARENT): Likewise.
3422         (IPV6_UNICAST_IF): Likewise.
3423         (IPV6_RECVFRAGSIZE): Likewise.
3425 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
3427         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
3429 2017-03-12  Alexey Neyman <stilor@att.net>
3431         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
3432         in R_SH_DIR32 case is always false when inlined from
3433         dl-conflict.c. Ifdef out to prevent GCC from insertin an
3435 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
3437         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3438         (__ASSUME_RECV_SYSCALL): Replace duplicate by
3439         __ASSUME_SEND_SYSCALL.
3441 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
3443         * sunrpc/Makefile: don't build and install rpcsvc header
3444         files, rpcgen and librpcsvc.a by default.
3446 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
3448         * math/auto-libm-test-out-catan: Regenerated.
3449         * math/auto-libm-test-out-catanh: Likewise.
3450         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3452 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
3454         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
3455         for long double with corrected test expectations.
3457 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3459         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
3460         Define.
3461         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3462         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
3463         * sysdeps/unix/sysv/linux/nios2/sysdep.h
3464         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3465         * sysdeps/unix/sysv/linux/tile/sysdep.h
3466         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3467         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3468         (__ASSUME_RECV_SYSCALL): Define.
3469         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3470         (__ASSUME_RECV_SYSCALL): Likewise.
3471         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3472         (__ASSUME_RECV_SYSCALL): Likewise.
3473         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3474         (__ASSUME_RECV_SYSCALL): Likewise.
3475         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3476         (__ASSUME_RECV_SYSCALL): Likewise.
3477         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3478         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
3479         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3480         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3481         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3482         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3483         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
3484         auto-generation list.
3485         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3486         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3487         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
3488         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3489         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3490         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
3491         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
3492         __ASSUME_SENDTO_SYSCALL.
3493         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
3494         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
3495         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
3497         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
3498         auto-generation list.
3499         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3500         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3501         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3502         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3503         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3504         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3505         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3506         * sysdeps/unix/sysv/linux/kernel-features.h
3507         (__ASSUME_SENDTO_SYSCALL): Define by default.
3508         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3509         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
3510         __NR_sendto.
3511         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3512         (__ASSUME_SENDTO_SYSCALL): Likewise.
3513         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3514         (__ASSUME_SENDTO_SYSCALL): Likewise.
3515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3516         (__ASSUME_SENDTO_SYSCALL): Remove definition.
3517         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3518         (__ASSUME_SENDTO_SYSCALL): Likewise.
3519         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
3520         (__ASSUME_SENDTO_SYSCALL): Likewise.
3521         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
3523         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
3524         auto-generation list.
3525         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3526         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3527         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3528         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3529         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3530         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3531         (__ASSUME_RECV_SYSCALL): New define.
3532         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3533         (__ASSUME_RECV_SYSCALL): Likewise.
3534         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3535         (__ASSUME_RECV_SYSCALL): Likewise.
3536         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3537         (__ASSUME_RECV_SYSCALL): Likewise.
3538         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3539         (__ASSUME_RECV_SYSCALL): Likewise.
3540         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3541         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3542         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3543         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3544         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3545         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3546         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
3547         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
3548         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
3549         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
3550         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
3551         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
3553         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
3554         auto-generation list.
3555         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3556         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3557         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3558         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3559         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3560         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3561         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3562         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3563         (__ASSUME_RECVFROM_SYSCALL): Define by default.
3564         * sysdeps/unix/sysv/linux/kernel-features.h
3565         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
3566         __NR_recvfrom.
3567         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3568         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3569         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3570         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3571         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3572         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
3573         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3574         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3575         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3576         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3577         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3578         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3579         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
3581         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
3582         auto-generation list.
3583         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3584         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3585         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3586         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3587         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3588         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3589         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3590         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
3591         * sysdeps/unix/sysv/linux/kernel-features.h
3592         (__ASSUME_CONNECT_SYSCALL): Define.
3593         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3594         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
3595         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3596         (__ASSUME_CONNECT_SYSCALL): Likewise.
3597         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3598         (__ASSUME_CONNECT_SYSCALL): Likewise.
3599         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3600         (__ASSUME_CONNECT_SYSCALL): Likewise.
3602         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
3603         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
3604         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
3605         auto-generation list.
3606         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3607         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3608         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3609         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3610         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3611         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3612         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3613         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3614         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3615         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3616         * sysdeps/unix/sysv/linux/kernel-features.h
3617         (__ASSUME_ACCEPT_SYSCALL): New define.
3618         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3619         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3620         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
3621         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3622         (__ASSUME_ACCEPT_SYSCALL): Define.
3623         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3624         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3625         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3626         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3627         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3628         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3629         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3630         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3631         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
3633 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
3634             Zack Weinberg  <zackw@panix.com>
3636         * posix/test-errno.c: New file.
3637         * posix/Makefile (tests): Add test-errno.
3638         * sysdeps/unix/sysv/linux/test-errno.c: New file.
3639         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
3641 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
3643         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3645 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3647         * time/tzset.c (compute_offset): Open-code min macro.
3648         (min, max, sign): Remove.
3650 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3652         [BZ #15576]
3653         Remove TZNAME_MAX limit from sysconf.
3654         * include/time.h (__tzname_cur_max, __tzname_max): Remove
3655         declaration.
3656         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
3657         compute_tzname_max.
3658         (compute_tzname_max): Remove.
3659         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
3660         (update_vars): Do not update __tzname_cur_max.
3661         (tzset_internal): Remove argument.
3662         (__tzset): Adjust call to tzset_internal.
3663         (__tz_convert): Likewise.
3665         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
3666         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3667         * manual/conf.texi (Sysconf Definition): Update comment.
3669 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3671         [BZ #21209]
3672         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
3673         AT_SECURE processes.
3674         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
3675         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
3676         (test_child): Likewise.
3677         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
3679 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3681         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
3683 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3685         * sysdeps/s390/atomic-machine.h
3686         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
3687         (__arch_compare_and_exchange_val_8_acq,
3688         __arch_compare_and_exchange_val_16_acq,
3689         __arch_compare_and_exchange_val_32_acq,
3690         __arch_compare_and_exchange_val_64_acq):
3691         Delete macro.
3692         (atomic_compare_and_exchange_val_acq,
3693         atomic_compare_and_exchange_val_rel,
3694         atomic_compare_and_exchange_bool_acq,
3695         catomic_compare_and_exchange_bool_acq,
3696         atomic_exchange_acq, atomic_exchange_rel,
3697         atomic_exchange_and_add_acq,
3698         atomic_exchange_and_add_rel,
3699         catomic_exchange_and_add, atomic_or_val,
3700         atomic_or, catomic_or, atomic_bit_test_set,
3701         atomic_and_val, atomic_and, catomic_and):
3702         Define macros with help of C11 atomic builtins.
3704 2017-03-03  Justus Winter <justus@gnupg.org>
3706         * sysdeps/mach/hurd/ftruncate64.c: New file.
3707         * sysdeps/mach/hurd/truncate64.c: Likewise.
3709 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3711         * time/tzfile.c (NOID): Do not define.
3712         * time/tzset.c (NOID): Likewise.
3714 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3716         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
3718 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3720         * elf/get-dynamic-info.h: Remove header file inclusion guard.
3722 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3724         [BZ #21015]
3725         * manual/install.texi (Configuring and compiling): Document
3726         --enable-bind-now.
3727         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
3728         (build-shlib-helper): Use $(LDFLAGS-lib.so).
3729         (format.lds): Likewise.
3730         [bind-now] (LDFLAGS-c.so): Remove.
3731         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
3732         be R_X86_64_GLOB_DAT.
3733         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
3734         relocation can be R_386_GLOB_DAT.
3735         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
3736         relocaiton can be R_ALPHA_GLOB_DAT.
3737         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
3739 2017-03-01  Zack Weinberg  <zackw@panix.com>
3741         * include/libc-pointer-arith.h: New file.  Define
3742         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
3743         PTR_ALIGN_DOWN here.
3744         * include/libc-internal.h: Definitions of above macros
3745         moved from here.  Don't include libc-diag.h anymore either.
3746         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
3747         Don't include libc-internal.h.
3749         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
3750         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
3751         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
3752         * string/strcoll_l.c, sysdeps/nacl/brk.c
3753         * sysdeps/unix/clock_settime.c
3754         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
3755         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
3756         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
3757         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
3758         Don't include libc-internal.h.
3760         * elf/get-dynamic-info.h, iconv/loop.c
3761         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
3762         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
3763         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
3764         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
3765         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3766         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
3767         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3768         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
3769         * sysdeps/ieee754/ldbl-128/k_tanl.c
3770         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3771         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3772         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
3773         Include libc-diag.h instead of libc-internal.h.
3775         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
3776         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
3777         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
3778         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
3779         * sysdeps/unix/sysv/linux/spawni.c
3780         * sysdeps/x86_64/nptl/tls.h:
3781         Include libc-pointer-arith.h instead of libc-internal.h.
3783         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
3784         * sysdeps/x86_64/atomic-machine.h:
3785         Add multiple include guard.
3787         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
3788         * string/strcasestr.c: No need to include config.h.
3789         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
3790         sys/auxv.h. Don't include sysdep.h.
3791         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
3793         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
3794         DL_LOOKUP_ADDRESS.
3795         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
3796         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
3797         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
3798         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
3799         of ARTIFICIAL_LIMIT.
3800         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
3801         declaration of __clone2.
3803 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3805         * scripts/backport-support.sh (latest_commit): New file.
3807 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3809         [BZ #20257]
3810         * inet/Makefile (routines): Add deadline.
3811         (tests-static): Add tst-deadline.
3812         * inet/net-internal.h (struct deadline_current_time)
3813         (__deadline_current_time, struct deadline, __deadline_is_infinite)
3814         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
3815         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
3816         * inet/deadline.c: New file.
3817         * inet/tst-deadline.c: Likewise.
3818         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
3819         tst-udp-timeout, tst-udp-garbage.
3820         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
3821         explicitly.
3822         (tst-udp-garbage): Likewise.  Also link against thread library.
3823         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
3824         struct layout is part of the ABI.
3825         (clntudp_call): Rework timeout handling.
3826         * sunrpc/tst-udp-garbage.c: New file.
3827         * sunrpc/tst-udp-nonblocking.c: Likewise.
3828         * sunrpc/tst-udp-timeout.c: Likewise.
3830 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3832         [BZ #5010]
3833         * sunrpc/svc.c (svc_is_mapped): Remove.
3834         (svc_unregister): Obtain mapped status while the service is still
3835         registered.
3836         * sunrpc/Makefile [have-thread-library] (tests): Add
3837         tst-svc_register.
3838         (tst-svc_register): Link against libc.so explicitly and the thread
3839         library.
3840         * sunrpc/tst-svc_register.c: New file.
3842 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3844         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
3845         * sysdeps/pthread/bits/sigthread.h: Likewise.
3847 2017-02-27  Florian Weimer  <fweimer@redhat.com>
3849         [BZ #21115]
3850         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
3851         * sunrpc/Makefile (tests): Add tst-udp-error.
3852         (tst-udp-error): Link against libc.so explicitly.
3853         * sunrpc/tst-udp-error: New file.
3855 2017-02-25  Zack Weinberg  <zackw@panix.com>
3857         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
3858         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
3860         * sysdeps/generic/math_ldbl.h
3861         * sysdeps/ia64/fpu/math_ldbl.h
3862         * sysdeps/ieee754/ldbl-128/math_ldbl.h
3863         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3864         * sysdeps/ieee754/ldbl-96/math_ldbl.h
3865         * sysdeps/powerpc/fpu/math_ldbl.h
3866         * sysdeps/x86_64/fpu/math_ldbl.h:
3867         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
3868         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
3869         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
3870         Add copyright notices.
3872         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3873         Don't use EXTRACT_WORDS64.
3875         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
3876         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
3877         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
3878         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
3879         Include math_ldbl.h, not math_private.h.
3881 2017-02-25  Zack Weinberg  <zackw@panix.com>
3883         * include/libc-diag.h: New file.  Define ignore_value,
3884         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
3885         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
3887         * include/libc-internal.h: Definitions of above macros moved from
3888         here.  Include libc-diag.h.  Add copyright notice.
3890         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
3891         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
3892         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
3893         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
3894         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
3895         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
3896         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
3897         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
3898         Include libc-diag.h instead of libc-internal.h.
3900         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
3901         call to unsetenv (NULL).
3902         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
3903         call to pthread_mutexattr_destroy (NULL).
3905 2017-02-25  Zack Weinberg  <zackw@panix.com>
3907         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
3908         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
3909         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
3910         gets was removed from C++ in C++14.
3911         * include/stdio.h: Remove redundant declaration of gets.
3912         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
3913         be declared, since we are testing it.
3914         * stdio-common/Makefile (tst-gets.c): Compile with
3915         -Wno-deprecated-declarations.
3916         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
3917         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
3918         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
3919         Compile with -Wno-deprecated-declarations.
3921 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3923         * math/libm-test-support.c (check_ulp): Use LIT() around literal
3924         numbers.
3926 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3928         * resolv/tst-resolv-qtypes.c (domain):
3929         Change type to const pointer to const char.
3931 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
3933         * math/Makefile (libm-tests-generated): Remove variable.
3934         (libm-tests-base-normal): New variable.
3935         (libm-tests-base-finite): Likewise.
3936         (libm-tests-base-inline): Likewise.
3937         (libm-tests-base): Likewise.
3938         (libm-tests-normal): Likewise.
3939         (libm-tests-finite): Likewise.
3940         (libm-tests-inline): Likewise.
3941         (libm-tests-vector): Likewise.
3942         (libm-tests): Define in terms of these new variables.
3943         (libm-tests-for-type): New variable.
3944         (libm-tests.o): Move definition.
3945         (tests): Move addition of $(libm-tests).
3946         (generated): Update for new and removed libm test files.
3947         ($(objpfx)libm-test.c): Remove target.
3948         ($(objpfx)libm-have-vector-test.h): Likewise.
3949         (CFLAGS-test-double-vlen2.c): Remove variable.
3950         (CFLAGS-test-double-vlen4.c): Likewise.
3951         (CFLAGS-test-double-vlen8.c): Likewise.
3952         (CFLAGS-test-float-vlen4.c): Likewise.
3953         (CFLAGS-test-float-vlen8.c): Likewise.
3954         (CFLAGS-test-float-vlen16.c): Likewise.
3955         (CFLAGS-test-float.c): Likewise.
3956         (CFLAGS-test-float-finite.c): Likewise.
3957         (CFLAGS-libm-test-support-float.c): Likewise.
3958         (CFLAGS-test-double.c): Likewise.
3959         (CFLAGS-test-double-finite.c): Likewise.
3960         (CFLAGS-libm-test-support-double.c): Likewise.
3961         (CFLAGS-test-ldouble.c): Likewise.
3962         (CFLAGS-test-ldouble-finite.c): Likewise.
3963         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3964         (libm-test-inline-cflags): New variable.
3965         (CFLAGS-test-ifloat.c): Remove variable.
3966         (CFLAGS-test-idouble.c): Likewise.
3967         (CFLAGS-test-ildouble.c): Likewise.
3968         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
3969         dependencies.
3970         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
3971         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
3972         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
3973         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
3974         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
3975         Likewise.
3976         (dependencies on libm-test-support-*.o): Remove.
3977         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
3978         rules using iterators.
3979         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
3980         Likewise.
3981         ($(objpfx)libm-test-support-$(o).o): Likewise.
3982         ($(addprefix $(objpfx),$(filter-out $(tests-static)
3983         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
3984         instead.
3985         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
3986         define rule instead.
3987         * math/README.libm-test: Update.
3988         * math/libm-test-acos.inc: Include libm-test-driver.c.
3989         (do_test): New function.
3990         * math/libm-test-acosh.inc: Include libm-test-driver.c.
3991         (do_test): New function.
3992         * math/libm-test-asin.inc: Include libm-test-driver.c.
3993         (do_test): New function.
3994         * math/libm-test-asinh.inc: Include libm-test-driver.c.
3995         (do_test): New function.
3996         * math/libm-test-atan.inc: Include libm-test-driver.c.
3997         (do_test): New function.
3998         * math/libm-test-atan2.inc: Include libm-test-driver.c.
3999         (do_test): New function.
4000         * math/libm-test-atanh.inc: Include libm-test-driver.c.
4001         (do_test): New function.
4002         * math/libm-test-cabs.inc: Include libm-test-driver.c.
4003         (do_test): New function.
4004         * math/libm-test-cacos.inc: Include libm-test-driver.c.
4005         (do_test): New function.
4006         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
4007         (do_test): New function.
4008         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4009         (do_test): New function.
4010         * math/libm-test-carg.inc: Include libm-test-driver.c.
4011         (do_test): New function.
4012         * math/libm-test-casin.inc: Include libm-test-driver.c.
4013         (do_test): New function.
4014         * math/libm-test-casinh.inc: Include libm-test-driver.c.
4015         (do_test): New function.
4016         * math/libm-test-catan.inc: Include libm-test-driver.c.
4017         (do_test): New function.
4018         * math/libm-test-catanh.inc: Include libm-test-driver.c.
4019         (do_test): New function.
4020         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4021         (do_test): New function.
4022         * math/libm-test-ccos.inc: Include libm-test-driver.c.
4023         (do_test): New function.
4024         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4025         (do_test): New function.
4026         * math/libm-test-ceil.inc: Include libm-test-driver.c.
4027         (do_test): New function.
4028         * math/libm-test-cexp.inc: Include libm-test-driver.c.
4029         (do_test): New function.
4030         * math/libm-test-cimag.inc: Include libm-test-driver.c.
4031         (do_test): New function.
4032         * math/libm-test-clog.inc: Include libm-test-driver.c.
4033         (do_test): New function.
4034         * math/libm-test-clog10.inc: Include libm-test-driver.c.
4035         (do_test): New function.
4036         * math/libm-test-conj.inc: Include libm-test-driver.c.
4037         (do_test): New function.
4038         * math/libm-test-copysign.inc: Include libm-test-driver.c.
4039         (do_test): New function.
4040         * math/libm-test-cos.inc: Include libm-test-driver.c.
4041         (do_test): New function.
4042         * math/libm-test-cosh.inc: Include libm-test-driver.c.
4043         (do_test): New function.
4044         * math/libm-test-cpow.inc: Include libm-test-driver.c.
4045         (do_test): New function.
4046         * math/libm-test-cproj.inc: Include libm-test-driver.c.
4047         (do_test): New function.
4048         * math/libm-test-creal.inc: Include libm-test-driver.c.
4049         (do_test): New function.
4050         * math/libm-test-csin.inc: Include libm-test-driver.c.
4051         (do_test): New function.
4052         * math/libm-test-csinh.inc: Include libm-test-driver.c.
4053         (do_test): New function.
4054         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
4055         (do_test): New function.
4056         * math/libm-test-ctan.inc: Include libm-test-driver.c.
4057         (do_test): New function.
4058         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
4059         (do_test): New function.
4060         * math/libm-test-erf.inc: Include libm-test-driver.c.
4061         (do_test): New function.
4062         * math/libm-test-erfc.inc: Include libm-test-driver.c.
4063         (do_test): New function.
4064         * math/libm-test-exp.inc: Include libm-test-driver.c.
4065         (do_test): New function.
4066         * math/libm-test-exp10.inc: Include libm-test-driver.c.
4067         (do_test): New function.
4068         * math/libm-test-exp2.inc: Include libm-test-driver.c.
4069         (do_test): New function.
4070         * math/libm-test-expm1.inc: Include libm-test-driver.c.
4071         (do_test): New function.
4072         * math/libm-test-fabs.inc: Include libm-test-driver.c.
4073         (do_test): New function.
4074         * math/libm-test-fdim.inc: Include libm-test-driver.c.
4075         (do_test): New function.
4076         * math/libm-test-floor.inc: Include libm-test-driver.c.
4077         (do_test): New function.
4078         * math/libm-test-fma.inc: Include libm-test-driver.c.
4079         (do_test): New function.
4080         * math/libm-test-fmax.inc: Include libm-test-driver.c.
4081         (do_test): New function.
4082         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
4083         (do_test): New function.
4084         * math/libm-test-fmin.inc: Include libm-test-driver.c.
4085         (do_test): New function.
4086         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
4087         (do_test): New function.
4088         * math/libm-test-fmod.inc: Include libm-test-driver.c.
4089         (do_test): New function.
4090         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
4091         (do_test): New function.
4092         * math/libm-test-frexp.inc: Include libm-test-driver.c.
4093         (do_test): New function.
4094         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
4095         (do_test): New function.
4096         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
4097         (do_test): New function.
4098         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
4099         (do_test): New function.
4100         * math/libm-test-hypot.inc: Include libm-test-driver.c.
4101         (do_test): New function.
4102         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
4103         (do_test): New function.
4104         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
4105         (do_test): New function.
4106         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
4107         (do_test): New function.
4108         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
4109         (do_test): New function.
4110         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
4111         (do_test): New function.
4112         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
4113         (do_test): New function.
4114         * math/libm-test-isinf.inc: Include libm-test-driver.c.
4115         (do_test): New function.
4116         * math/libm-test-isless.inc: Include libm-test-driver.c.
4117         (do_test): New function.
4118         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
4119         (do_test): New function.
4120         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
4121         (do_test): New function.
4122         * math/libm-test-isnan.inc: Include libm-test-driver.c.
4123         (do_test): New function.
4124         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
4125         (do_test): New function.
4126         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
4127         (do_test): New function.
4128         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
4129         (do_test): New function.
4130         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
4131         (do_test): New function.
4132         * math/libm-test-iszero.inc: Include libm-test-driver.c.
4133         (do_test): New function.
4134         * math/libm-test-j0.inc: Include libm-test-driver.c.
4135         (do_test): New function.
4136         * math/libm-test-j1.inc: Include libm-test-driver.c.
4137         (do_test): New function.
4138         * math/libm-test-jn.inc: Include libm-test-driver.c.
4139         (do_test): New function.
4140         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
4141         (do_test): New function.
4142         * math/libm-test-llogb.inc: Include libm-test-driver.c.
4143         (do_test): New function.
4144         * math/libm-test-llrint.inc: Include libm-test-driver.c.
4145         (do_test): New function.
4146         * math/libm-test-llround.inc: Include libm-test-driver.c.
4147         (do_test): New function.
4148         * math/libm-test-log.inc: Include libm-test-driver.c.
4149         (do_test): New function.
4150         * math/libm-test-log10.inc: Include libm-test-driver.c.
4151         (do_test): New function.
4152         * math/libm-test-log1p.inc: Include libm-test-driver.c.
4153         (do_test): New function.
4154         * math/libm-test-log2.inc: Include libm-test-driver.c.
4155         (do_test): New function.
4156         * math/libm-test-logb.inc: Include libm-test-driver.c.
4157         (do_test): New function.
4158         * math/libm-test-lrint.inc: Include libm-test-driver.c.
4159         (do_test): New function.
4160         * math/libm-test-lround.inc: Include libm-test-driver.c.
4161         (do_test): New function.
4162         * math/libm-test-modf.inc: Include libm-test-driver.c.
4163         (do_test): New function.
4164         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
4165         (do_test): New function.
4166         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
4167         (do_test): New function.
4168         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
4169         (do_test): New function.
4170         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
4171         (do_test): New function.
4172         * math/libm-test-nextup.inc: Include libm-test-driver.c.
4173         (do_test): New function.
4174         * math/libm-test-pow.inc: Include libm-test-driver.c.
4175         (do_test): New function.
4176         * math/libm-test-remainder.inc: Include libm-test-driver.c.
4177         (do_test): New function.
4178         * math/libm-test-remquo.inc: Include libm-test-driver.c.
4179         (do_test): New function.
4180         * math/libm-test-rint.inc: Include libm-test-driver.c.
4181         (do_test): New function.
4182         * math/libm-test-round.inc: Include libm-test-driver.c.
4183         (do_test): New function.
4184         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
4185         (do_test): New function.
4186         * math/libm-test-scalb.inc: Include libm-test-driver.c.
4187         (do_test): New function.
4188         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
4189         (do_test): New function.
4190         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
4191         (do_test): New function.
4192         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
4193         (do_test): New function.
4194         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
4195         (do_test): New function.
4196         * math/libm-test-signbit.inc: Include libm-test-driver.c.
4197         (do_test): New function.
4198         * math/libm-test-significand.inc: Include libm-test-driver.c.
4199         (do_test): New function.
4200         * math/libm-test-sin.inc: Include libm-test-driver.c.
4201         (do_test): New function.
4202         * math/libm-test-sincos.inc: Include libm-test-driver.c.
4203         (do_test): New function.
4204         * math/libm-test-sinh.inc: Include libm-test-driver.c.
4205         (do_test): New function.
4206         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
4207         (do_test): New function.
4208         * math/libm-test-tan.inc: Include libm-test-driver.c.
4209         (do_test): New function.
4210         * math/libm-test-tanh.inc: Include libm-test-driver.c.
4211         (do_test): New function.
4212         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
4213         (do_test): New function.
4214         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
4215         (do_test): New function.
4216         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
4217         (do_test): New function.
4218         * math/libm-test-trunc.inc: Include libm-test-driver.c.
4219         (do_test): New function.
4220         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
4221         (do_test): New function.
4222         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
4223         (do_test): New function.
4224         * math/libm-test-y0.inc: Include libm-test-driver.c.
4225         (do_test): New function.
4226         * math/libm-test-y1.inc: Include libm-test-driver.c.
4227         (do_test): New function.
4228         * math/libm-test-yn.inc: Include libm-test-driver.c.
4229         (do_test): New function.
4230         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
4231         (HAVE_VECTOR): Remove macro.
4232         (START): Do not call HAVE_VECTOR.
4233         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
4234         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
4235         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
4236         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
4237         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
4238         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
4239         * math/test-math-vector.h (FUNC_TEST): New macro.
4240         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
4241         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
4242         (double-vlen4-funcs): Likewise.
4243         (double-vlen4-avx2-funcs): Likewise.
4244         (double-vlen8-funcs): Likewise.
4245         (float-vlen4-funcs): Likewise.
4246         (float-vlen8-funcs): Likewise.
4247         (float-vlen8-avx2-funcs): Likewise.
4248         (float-vlen16-funcs): Likewise.
4249         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
4250         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
4251         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
4252         macro.
4253         (TEST_VECTOR_sin): Likewise.
4254         (TEST_VECTOR_sincos): Likewise.
4255         (TEST_VECTOR_log): Likewise.
4256         (TEST_VECTOR_exp): Likewise.
4257         (TEST_VECTOR_pow): Likewise.
4258         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
4259         Likewise.
4260         (TEST_VECTOR_sin): Likewise.
4261         (TEST_VECTOR_sincos): Likewise.
4262         (TEST_VECTOR_log): Likewise.
4263         (TEST_VECTOR_exp): Likewise.
4264         (TEST_VECTOR_pow): Likewise.
4265         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
4266         Likewise.
4267         (TEST_VECTOR_sinf): Likewise.
4268         (TEST_VECTOR_sincosf): Likewise.
4269         (TEST_VECTOR_logf): Likewise.
4270         (TEST_VECTOR_expf): Likewise.
4271         (TEST_VECTOR_powf): Likewise.
4272         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
4273         Likewise.
4274         (TEST_VECTOR_sinf): Likewise.
4275         (TEST_VECTOR_sincosf): Likewise.
4276         (TEST_VECTOR_logf): Likewise.
4277         (TEST_VECTOR_expf): Likewise.
4278         (TEST_VECTOR_powf): Likewise.
4279         * math/gen-libm-have-vector-test.sh: Remove file.
4280         * math/libm-test.inc: Likewise.
4281         * math/libm-test-support-double.c: Likewise.
4282         * math/libm-test-support-float.c: Likewise.
4283         * math/libm-test-support-ldouble.c: Likewise.
4284         * math/test-double-finite.c: Likewise.: Likewise.
4285         * math/test-double.c: Likewise.
4286         * math/test-float-finite.c: Likewise.
4287         * math/test-float.c: Likewise.
4288         * math/test-idouble.c: Likewise.
4289         * math/test-ifloat.c: Likewise.
4290         * math/test-ildouble.c: Likewise.
4291         * math/test-ldouble-finite.c: Likewise.
4292         * math/test-ldouble.c: Likewise.
4293         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4294         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
4295         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4296         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4297         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4298         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4299         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4300         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
4301         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4302         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4304 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4305            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4307         * math/Makefile: Add wrappers to gen-libm-calls.
4308         * math/w_acos_template.c: New file.
4309         * math/w_acosh_template.c: Likewise.
4310         * math/w_asin_template.c: Likewise.
4311         * math/w_atan2_template.c: Likewise.
4312         * math/w_atanh_template.c: Likewise.
4313         * math/w_cosh_template.c: Likewise.
4314         * math/w_exp10_template.c: Likewise.
4315         * math/w_exp2_template.c: Likewise.
4316         * math/w_exp_template.c: Likewise.
4317         * math/w_fmod_template.c: Likewise.
4318         * math/w_hypot_template.c: Likewise.
4319         * math/w_j0_template.c: Likewise.
4320         * math/w_j1_template.c: Likewise.
4321         * math/w_jn_template.c: Likewise.
4322         * math/w_lgamma_r_template.c: Likewise.
4323         * math/w_lgamma_template.c: Likewise.
4324         * math/w_log10_template.c: Likewise.
4325         * math/w_log2_template.c: Likewise.
4326         * math/w_log_template.c: Likewise.
4327         * math/w_pow_template.c: Likewise.
4328         * math/w_remainder_template.c: Likewise.
4329         * math/w_sinh_template.c: Likewise.
4330         * math/w_sqrt_template.c: Likewise.
4331         * math/w_tgamma_template.c: Likewise.: Likewise.
4332         * sysdeps/generic/math-type-macros-double.h
4333         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
4334         the new wrappers.
4335         * sysdeps/generic/math-type-macros-float.h: Likewise.
4336         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4338 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
4340         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
4341         New enum constant and macro.
4343         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4344         kernel version to 4.10.
4346 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
4348         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
4350 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4354 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4356         * sysdeps/powerpc/tst-set_ppr.c: New file.
4357         Implement test cases for __ppc_set_ppr_* functions.
4358         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
4359         in the list of tests.
4361 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4363         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
4364         instead of test-skeleton.c.
4365         (do_test): Replaced pthread_create and pthread_join with
4366         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
4367         Removed unneeded status variable.
4368         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
4369         instead of test-skeleton.c.
4370         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
4372 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
4374         [BZ #20313]
4375         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4376         201605L, for Unicode 9.
4378 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
4380         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
4381         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4382         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4383         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4384         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4385         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4387 2017-02-19  Zack Weinberg  <zackw@panix.com>
4389         * rt/tst-mqueue4.c: Include stdint.h.
4391 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4393         * sysdeps/arm/libm-test-ulps: Update.
4394         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4395         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4396         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4398 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4400         [BZ #21029]
4401         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
4402         * sysdeps/unix/sysv/linux/i386/Makefile
4403         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
4404         (uses-6-syscall-arguments): Remove.
4405         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
4406         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
4407         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
4408         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
4409         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
4410         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
4411         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
4412         [$(subdir) = misc] (cflags-pselect.o): Likewise.
4413         [$(subdir) = misc] (cflags-pselect.os): Likewise.
4414         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
4415         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
4416         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
4417         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
4418         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
4419         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
4420         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
4421         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
4422         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
4423         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
4424         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
4425         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
4426         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
4427         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
4428         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
4429         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
4430         Likewise.
4431         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
4432         Likewise.
4433         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
4434         Likewise.
4435         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
4436         Likewise.
4437         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
4438         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
4439         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
4440         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
4441         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
4442         ebp on inline assembly.
4443         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
4444         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4445         Set if CAN_USE_REGISTER_ASM_EBP is set.
4447 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
4449         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
4450         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
4452 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4454         * math/auto-libm-test-in: Add tests of catan and catanh.
4455         * math/auto-libm-test-out-catan: New generated file.
4456         * math/auto-libm-test-out-catanh: Likewise.
4457         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
4458         Move tests with finite inputs, except divide-by-zero cases, to
4459         auto-libm-test-in.
4460         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
4461         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
4462         (libm-test-funcs-noauto): Remove catan and catanh.
4463         * sysdeps/i386/fpu/libm-test-ulps: Update.
4464         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4467         * math/auto-libm-test-in: Add tests of casin and casinh.
4468         * math/auto-libm-test-out-casin: New generated file.
4469         * math/auto-libm-test-out-casinh: Likewise.
4470         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
4471         Move tests with finite inputs to auto-libm-test-in.
4472         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
4473         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
4474         (libm-test-funcs-noauto): Remove casin and casinh.
4475         * sysdeps/i386/fpu/libm-test-ulps: Update.
4476         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4479         * math/auto-libm-test-in: Add tests of cacos and cacosh.
4480         * math/auto-libm-test-out-cacos: New generated file.
4481         * math/auto-libm-test-out-cacosh: Likewise.
4482         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
4483         Move tests with finite inputs to auto-libm-test-in.
4484         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
4485         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
4486         (libm-test-funcs-noauto): Remove cacos and cacosh.
4487         * sysdeps/i386/fpu/libm-test-ulps: Update.
4488         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4491         Revert:
4492         2017-02-16  Zack Weinberg  <zackw@panix.com>
4494         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4495         Don't include init-arch.h.
4496         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4497         Don't include init-arch.h.
4499 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4501         [BZ #21171]
4502         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
4503         +Inf and raise divide-by-zero when x is negative.
4504         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
4505         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
4506         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
4507         -Inf and raise divide-by-zero when x = +-0.
4508         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4509         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4510         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4511         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4512         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4513         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4514         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4516 2017-02-16  Zack Weinberg  <zackw@panix.com>
4518         * scripts/build-many-glibcs.py (bot_build_mail): If the
4519         bot_config does not contain all of the necessary email-
4520         related settings, just print a warning and continue.
4522 2017-02-16  Zack Weinberg  <zackw@panix.com>
4524         * crypt/md5.h: Test _LIBC with #if defined, not #if.
4525         * dirent/opendir-tst1.c: Include sys/stat.h.
4526         * dirent/tst-fdopendir.c: Include sys/stat.h.
4527         * dirent/tst-fdopendir2.c: Include stdlib.h.
4528         * dirent/tst-scandir.c: Include stdbool.h.
4529         * elf/tst-auditmod1.c: Include link.h and stddef.h.
4530         * elf/tst-tls15.c: Include stdlib.h.
4531         * elf/tst-tls16.c: Include stdlib.h.
4532         * elf/tst-tls17.c: Include stdlib.h.
4533         * elf/tst-tls18.c: Include stdlib.h.
4534         * iconv/tst-iconv6.c: Include endian.h.
4535         * iconvdata/bug-iconv11.c: Include limits.h.
4536         * io/test-utime.c: Include stdint.h.
4537         * io/tst-faccessat.c: Include sys/stat.h.
4538         * io/tst-fchmodat.c: Include sys/stat.h.
4539         * io/tst-fchownat.c: Include sys/stat.h.
4540         * io/tst-fstatat.c: Include sys/stat.h.
4541         * io/tst-futimesat.c: Include sys/stat.h.
4542         * io/tst-linkat.c: Include sys/stat.h.
4543         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
4544         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
4545         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
4546         * io/tst-openat.c: Include stdbool.h.
4547         * io/tst-readlinkat.c: Include sys/stat.h.
4548         * io/tst-renameat.c: Include sys/stat.h.
4549         * io/tst-symlinkat.c: Include sys/stat.h.
4550         * io/tst-unlinkat.c: Include stdbool.h.
4551         * libio/bug-memstream1.c: Include stdlib.h.
4552         * libio/bug-wmemstream1.c: Include stdlib.h.
4553         * libio/tst-fwrite-error.c: Include stdlib.h.
4554         * libio/tst-memstream1.c: Include stdlib.h.
4555         * libio/tst-memstream2.c: Include stdlib.h.
4556         * libio/tst-memstream3.c: Include stdlib.h.
4557         * malloc/tst-interpose-aux.c: Include stdint.h.
4558         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
4559         * nptl/tst-basic7.c: Include limits.h.
4560         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
4561         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
4562         * nptl/tst-cancel4_1.c: Include stddef.h.
4563         * nptl/tst-cancel4_2.c: Include stddef.h.
4564         * nptl/tst-cond16.c: Include limits.h.
4565         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4566         * nptl/tst-cond18.c: Include limits.h.
4567         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4568         * nptl/tst-cond4.c: Include stdint.h.
4569         * nptl/tst-cond6.c: Include stdint.h.
4570         * nptl/tst-stack2.c: Include limits.h.
4571         * nptl/tst-stackguard1.c: Include stddef.h.
4572         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
4573         * nptl/tst-tls4moda.c: Include stddef.h.
4574         Don't include stdio.h, unistd.h, or tls.h.
4575         * nptl/tst-tls4modb.c: Include stddef.h.
4576         Don't include stdio.h, unistd.h, or tls.h.
4577         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
4578         * posix/tst-getaddrinfo2.c: Include stdio.h.
4579         * posix/tst-getaddrinfo5.c: Include stdio.h.
4580         * posix/tst-pathconf.c: Include sys/stat.h.
4581         * posix/tst-posix_fadvise-common.c: Include stdint.h.
4582         * posix/tst-preadwrite-common.c: Include sys/stat.h.
4583         * posix/tst-regex.c: Include stdint.h.
4584         Don't include spawn.h or spawn_int.h.
4585         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
4586         * posix/tst-vfork3.c: Include sys/stat.h.
4587         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
4588         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
4589         * resolv/tst-resolv-search.c: Include stdlib.h.
4590         * stdio-common/tst-fmemopen2.c: Include stdint.h.
4591         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
4592         * stdlib/test-canon.c: Include sys/stat.h.
4593         * stdlib/tst-tls-atexit.c: Include stdbool.h.
4594         * string/test-memchr.c: Include stdint.h.
4595         * string/tst-cmp.c: Include stdint.h.
4596         * sysdeps/pthread/tst-timer.c: Include stdint.h.
4597         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
4598         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
4599         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4600         Don't include init-arch.h.
4601         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4602         Don't include init-arch.h.
4603         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
4604         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
4605         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
4606         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
4607         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
4608         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
4609         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
4610         * time/clocktest.c: Include stdint.h.
4611         * time/tst-posixtz.c: Include stdint.h.
4612         * timezone/tst-timezone.c: Include stdint.h.
4614 2017-02-16  Zack Weinberg  <zackw@panix.com>
4616         * string/string.h [__USE_MISC]: Include strings.h.
4617         (__bzero, bcmp, bcopy, bzero, index, rindex)
4618         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
4619         (ffs, ffsl, ffsll): Don't declare.
4620         * string/strings.h: Do not suppress the file if string.h has
4621         already been included.
4622         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
4623         annotations.
4624         (index, rindex): Define inline forwarders even if
4625         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
4626         (ffs): Use __attribute_const__.
4627         (ffsl, ffsll): Declare here.
4628         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
4629         have now been standardized.
4630         * include/string.h (__bzero): Declare here.
4632         * bits/types.h: Move to posix/bits.
4633         * include/bits/types.h: New wrapper.
4635 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4637         * string/bits/string2.h (strcmp): Remove define.
4638         (__strcmp_cg): Likewise.
4639         (strncmp): Likewise.
4641 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4643         * include/string.h: Add __cplusplus check.
4645 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4647         [BZ #21134]
4648         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
4649         "divide by zero" exception when the input is zero.
4650         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
4651         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
4652         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
4653         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
4654         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4656 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
4658         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
4659         and include ...
4660         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
4661         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
4662         to, and include ...
4663         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
4664         file.
4665         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
4666         and include ...
4667         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
4668         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
4669         and include ...
4670         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
4671         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
4672         and include ...
4673         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
4674         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
4675         and include ...
4676         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
4677         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
4678         to, and include ...
4679         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
4680         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
4681         and include ...
4682         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
4684 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
4686         * math/libm-test-support.h: Do not include <math-tests-arch.h>
4687         here.
4688         * math/libm-test-support.c (libm_test_init): Do not call
4689         INIT_ARCH_EXT here.
4690         * math/libm-test-driver.c: Include <math-tests-arch.h>.
4691         (main): Call INIT_ARCH_EXT.
4693 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4695         [BZ #21130]
4696         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
4697         with the "invalid" exception raised when x is -Inf.
4698         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4700 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
4702         * string/bits/string2.h (strchr): Remove define.
4704 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
4706         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
4707         tst-avx512.
4708         (test-extras): Add tst-avx-aux and tst-avx512-aux.
4709         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
4710         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
4711         ($(objpfx)tst-sse): New rule.
4712         ($(objpfx)tst-avx): Likewise.
4713         ($(objpfx)tst-avx512): Likewise.
4714         (CFLAGS-tst-avx-aux.c): New.
4715         (CFLAGS-tst-avxmod.c): Likewise.
4716         (CFLAGS-tst-avx512-aux.c): Likewise.
4717         (CFLAGS-tst-avx512mod.c): Likewise.
4718         * sysdeps/x86_64/tst-avx-aux.c: New file.
4719         * sysdeps/x86_64/tst-avx.c: Likewise.
4720         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
4721         * sysdeps/x86_64/tst-avx512.c: Likewise.
4722         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
4723         * sysdeps/x86_64/tst-avxmod.c: Likewise.
4724         * sysdeps/x86_64/tst-sse.c: Likewise.
4725         * sysdeps/x86_64/tst-ssemod.c: Likewise.
4727 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4729         * math/auto-libm-test-in: Add more tests of csin and csinh.
4730         * math/auto-libm-test-out-csin: Regenerated.
4731         * math/auto-libm-test-out-csinh: Likewise.
4732         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
4733         auto-libm-test-in.
4734         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
4736 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4738         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
4739         libm-compat-calls-auto.
4740         (libm-compat-calls): Likewise.
4741         (libm-compat-calls-auto): Rename to libm-compat-calls and add
4742         w_lgamma_compatF and k_standardF (merged from the items above).
4743         (libm-routines): Use libm-compat-calls, instead of
4744         libm-compat-calls-auto, with type-foreach.
4746 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4748         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
4749         macro.
4750         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
4751         (CFLAGS-test-ifloat.c): ... this.  Remove
4752         -U__LIBC_INTERNAL_MATH_INLINES.
4753         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
4754         (CFLAGS-test-idouble.c): ... this.  Remove
4755         -U__LIBC_INTERNAL_MATH_INLINES.
4756         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
4757         (CFLAGS-test-ildouble.c): ... this.  Remove
4758         -U__LIBC_INTERNAL_MATH_INLINES.
4760 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
4762         * math/libm-test-support.c: New file.  Content from
4763         math/libm-test-driver.c.
4764         * math/libm-test-support.h: Likewise.
4765         * math/libm-test-support-double.c: New file.
4766         * math/libm-test-support-float.c: Likewise.
4767         * math/libm-test-support-ldouble.c: Likewise.
4768         * math/libm-test-driver.c: Remove main comment and header
4769         includes.  Include libm-test-support.h.
4770         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
4771         (flag_test_errno): Remove static.
4772         (flag_test_exceptions): Likewise.
4773         (flag_test_finite): Likewise.
4774         (flag_test_inline): Likewise.
4775         (flag_test_mathvec): Likewise.
4776         (test_msg): Likewise.
4777         (NO_EXCEPTION): Remove.
4778         (INVALID_EXCEPTION): Likewise.
4779         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4780         (OVERFLOW_EXCEPTION): Likewise.
4781         (UNDERFLOW_EXCEPTION): Likewise.
4782         (INEXACT_EXCEPTION): Likewise.
4783         (INVALID_EXCEPTION_OK): Likewise.
4784         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4785         (OVERFLOW_EXCEPTION_OK): Likewise.
4786         (UNDERFLOW_EXCEPTION_OK): Likewise.
4787         (NO_INEXACT_EXCEPTION): Likewise.
4788         (EXCEPTIONS_OK): Likewise.
4789         (IGNORE_ZERO_INF_SIGN): Likewise.
4790         (TEST_NAN_SIGN): Likewise.
4791         (TEST_NAN_PAYLOAD): Likewise.
4792         (NO_TEST_INLINE): Likewise.
4793         (XFAIL_TEST): Likewise.
4794         (ERRNO_UNCHANGED): Likewise.
4795         (ERRNO_EDOM): Likewise.
4796         (ERRNO_ERANGE): Likewise.
4797         (IGNORE_RESULT): Likewise.
4798         (NON_FINITE): Likewise.
4799         (TEST_SNAN): Likewise.
4800         (NO_TEST_MATHVEC): Likewise.
4801         (__CONCATX): Likewise.
4802         (TYPE_MIN): Likewise.
4803         (TYPE_TRUE_MIN): Likewise.
4804         (TYPE_MAX): Likewise.
4805         (MIN_EXP): Likewise.
4806         (MAX_EXP): Likewise.
4807         (MANT_DIG): Likewise.
4808         (FSTR_MAX): Likewise.
4809         (ulp_idx): Likewise.
4810         (qtype_str): Remove static.
4811         (TEST_COND_binary32): Remove.
4812         (TEST_COND_binary64): Likewise.
4813         (TEST_COND_binary128): Likewise.
4814         (TEST_COND_ibm128): Likewise.
4815         (TEST_COND_intel96): Likewise.
4816         (TEST_COND_m68k96): Likewise.
4817         (TEST_COND_ibm128_libgcc): Likewise.
4818         (XFAIL_IBM128_LIBGCC): Likewise.
4819         (PAYLOAD_DIG): Likewise.
4820         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4821         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4822         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4823         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4824         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4825         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4826         (TEST_COND_long32): Likewise.
4827         (TEST_COND_long64): Likewise.
4828         (TEST_COND_before_rounding): Likewise.
4829         (TEST_COND_after_rounding): Likewise.
4830         (ulps_file_name): Likewise.
4831         (ulps_file): Likewise.
4832         (output_ulps): Likewise.
4833         (output_dir): Likewise.
4834         (noErrors): Likewise.
4835         (noTests): Likewise.
4836         (noExcTests): Likewise.
4837         (noErrnoTests): Likewise.
4838         (verbose): Likewise.
4839         (output_max_error): Likewise.
4840         (output_points): Likewise.
4841         (ignore_max_ulp): Likewise.
4842         (max_error): Likewise.
4843         (real_max_error): Likewise.
4844         (imag_max_error): Likewise.
4845         (prev_max_error): Likewise.
4846         (prev_real_max_error): Likewise.
4847         (prev_imag_max_error): Likewise.
4848         (max_valid_error): Likewise.
4849         (TYPE_DECIMAL_DIG): Likewise.
4850         (TYPE_HEX_DIG): Likewise.
4851         (fmt_ftostr): Likewise.
4852         (compare_ulp_data): Likewise.
4853         (find_ulps): Likewise.
4854         (init_max_error): Likewise.
4855         (set_max_error): Likewise.
4856         (print_float): Likewise.
4857         (print_screen): Likewise.
4858         (print_screen_max_error): Likewise.
4859         (update_stats): Likewise.
4860         (print_function_ulps): Likewise.
4861         (print_complex_function_ulps): Likewise.
4862         (fpstack_test): Likewise.
4863         (print_max_error): Likewise.
4864         (print_complex_max_error): Likewise.
4865         (test_single_exception): Likewise.
4866         (test_exceptions): Likewise.
4867         (test_single_errno): Likewise.
4868         (test_errno): Likewise.
4869         (ULPDIFF): Likewise.
4870         (ulp): Likewise.
4871         (check_float_internal): Likewise.
4872         (check_float): Likewise.
4873         (check_complex): Likewise.
4874         (check_int): Likewise.
4875         (check_long): Likewise.
4876         (check_bool): Likewise.
4877         (check_longlong): Likewise.
4878         (check_intmax_t): Likewise.
4879         (check_uintmax_t): Likewise.
4880         (enable_test): Likewise.
4881         (matherr): Likewise.
4882         (initialize): Likewise.
4883         (options): Likewise.
4884         (doc): Remove static.
4885         (argp): Likewise.
4886         (parse_opt): Remove.
4887         (check_ulp): Likewise.
4888         (libm_test_init): Likewise.
4889         (libm_test_finish): Likewise.
4890         * math/Makefile (libm-test-support): New variable.
4891         (test-extras): Add libm-test-support files.
4892         (extra-test-objs): Likewise.
4893         (CFLAGS-libm-test-support-float.c): New variable.
4894         (CFLAGS-libm-test-support-double.c): Likewise.
4895         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4896         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
4897         libm-test-support objects.
4899 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4901         * math/Makefile (libm-calls): Move w_exp...
4902         (libm-compat-calls-auto): Here.
4904         * math/w_expl.c: Add suffix "_compat" to filename.
4905         * sysdeps/ia64/fpu/w_expl.c: Likewise.
4906         * sysdeps/ia64/fpu/w_expf.c: Likewise.
4907         * sysdeps/ia64/fpu/w_exp.c: Likewise.
4908         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4909         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4910         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4911         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4912         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4914         * math/w_expl_compat.c: New file, copied from above.
4915         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
4916         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
4917         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
4918         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
4919         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4920         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4921         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4922         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4924         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
4925         to filename.
4926         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
4928         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
4929         copied from above and adjusted for the new filenames.
4930         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
4932 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4934         * math/Makefile (libm-calls): Move w_lgammaF...
4935         (libm-compat-calls-auto): Here.
4937         * math/w_lgamma.c: Add suffix "_compat2" to filename.
4938         * math/w_lgammaf.c: Likewise.
4939         * math/w_lgammal.c: Likewise.
4941         * math/w_lgamma_compat2.c: New file, copied from above.
4942         * math/w_lgammaf_compat2.c: Likewise.
4943         * math/w_lgammal_compat2.c: Likewise.
4945 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4947         * math/Makefile (libm-calls): Move w_lgammaF_r...
4948         (libm-compat-calls-auto): Here.
4950         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
4951         * math/w_lgammaf_r.c: Likewise.
4952         * math/w_lgammal_r.c: Likewise.
4953         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4954         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4955         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4957         * math/w_lgamma_r_compat.c: New file, copied from above.
4958         * math/w_lgammaf_r_compat.c: Likewise.
4959         * math/w_lgammal_r_compat.c: Likewise.
4960         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
4961         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
4962         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
4964         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
4965         to filename.
4966         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
4968         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
4969         copied from above and adjusted for the new filenames.
4970         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4972 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
4974         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
4975         calculation in SYSCALL_ERROR_HANDLER().
4977 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
4979         * manual/contrib.texi: Fix typo.
4981 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4983         [BZ #21109]
4984         * elf/dl-tunable-types.h (tunable_callback_t): Accept
4985         tunable_val_t as argument.
4986         * elf/dl-tunables.c (__tunable_set_val): Add comment.
4987         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
4988         argument.
4989         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
4991 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
4993         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
4994         Add PTRACE_EVENT_STOP.
4995         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4996         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4997         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4998         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4999         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
5000         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5002 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
5004         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
5005         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
5006         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
5007         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
5008         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5009         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5010         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5011         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5012         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5013         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5015         [BZ #21112]
5016         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5017         12 bits zero.
5018         (cp_l): Update for new value of cp_h.
5019         * math/auto-libm-test-in: Add another test of pow.
5020         * math/auto-libm-test-out-pow: Regenerated.
5022 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5024         * manual/contrib.texi: Fix typo.
5026 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5028         [BZ #15998]
5029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5030         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5033 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5035         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5036         STRCHR as __strchr_power8.
5037         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5038         strlen as __strlen_power8.
5040 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5042         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5043         unaligned load for shorter strings.
5044         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5046 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5048         * math/libm-test-driver.c (flag_test_errno): New variable.
5049         (flag_test_exceptions): Likewise.
5050         (flag_test_finite): Likewise.
5051         (flag_test_inline): Likewise.
5052         (flag_test_mathvec): Likewise.
5053         (test_msg): Likewise.
5054         (ulp_idx): Likewise.
5055         (qtype_str): Likewise.
5056         (ULP_IDX): Remove macro.
5057         (QTYPE_STR): Likewise.
5058         (find_ulps): Use ulp_idx not ULP_IDX.
5059         (print_function_ulps): Use qtype_str, printed with %s, not
5060         QTYPE_STR, printed with concatentation to format string.
5061         (print_complex_function_ulps): Likewise.
5062         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
5063         (test_errno): Use flag_test_errno not TEST_ERRNO.
5064         (enable_test): Use flag_test_inline, flag_test_finite and
5065         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
5066         TEST_MATHVEC.
5067         (libm_test_init): New function.  Factored out of main.
5068         (libm_test_finish): Likewise.
5069         (main): Call libm_test_init and libm_test_finish and move most
5070         code to those functions.
5072         * math/libm-test-driver.c (STRX): New macro.
5073         (STR): Likewise.
5074         (STR_FLOAT): Likewise.
5075         (STR_VEC_LEN): Likewise.
5076         (TEST_MSG): Likewise.  Define here instead of expecting to be
5077         defined by including file.
5078         * math/test-double-finite.c (TEST_MSG): Remove macro.
5079         * math/test-double-vlen2.h (TEST_MSG): Likewise.
5080         * math/test-double-vlen4.h (TEST_MSG): Likewise.
5081         * math/test-double-vlen8.h (TEST_MSG): Likewise.
5082         * math/test-double.c (TEST_MSG): Likewise.
5083         * math/test-float-finite.c (TEST_MSG): Likewise.
5084         * math/test-float-vlen16.h (TEST_MSG): Likewise.
5085         * math/test-float-vlen4.h (TEST_MSG): Likewise.
5086         * math/test-float-vlen8.h (TEST_MSG): Likewise.
5087         * math/test-float.c (TEST_MSG): Likewise.
5088         * math/test-idouble.c (TEST_MSG): Likewise.
5089         * math/test-ifloat.c (TEST_MSG): Likewise.
5090         * math/test-ildouble.c (TEST_MSG): Likewise.
5091         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
5092         * math/test-ldouble.c (TEST_MSG): Likewise.
5094         * math/libm-test.inc: Move all tests of individual functions to
5095         libm-test-*.inc and #include libm-test-*.c files.
5096         (acos_test_data): Remove.
5097         (acos_test): Likewise.
5098         (acosh_test_data): Likewise.
5099         (acosh_test): Likewise.
5100         (asin_test_data): Likewise.
5101         (asin_test): Likewise.
5102         (asinh_test_data): Likewise.
5103         (asinh_test): Likewise.
5104         (atan_test_data): Likewise.
5105         (atan_test): Likewise.
5106         (atanh_test_data): Likewise.
5107         (atanh_test): Likewise.
5108         (atan2_test_data): Likewise.
5109         (atan2_test): Likewise.
5110         (cabs_test_data): Likewise.
5111         (cabs_test): Likewise.
5112         (cacos_test_data): Likewise.
5113         (cacos_test): Likewise.
5114         (cacosh_test_data): Likewise.
5115         (cacosh_test): Likewise.
5116         (canonicalize_test_data): Likewise.
5117         (canonicalize_test): Likewise.
5118         (carg_test_data): Likewise.
5119         (carg_test): Likewise.
5120         (casin_test_data): Likewise.
5121         (casin_test): Likewise.
5122         (casinh_test_data): Likewise.
5123         (casinh_test): Likewise.
5124         (catan_test_data): Likewise.
5125         (catan_test): Likewise.
5126         (catanh_test_data): Likewise.
5127         (catanh_test): Likewise.
5128         (cbrt_test_data): Likewise.
5129         (cbrt_test): Likewise.
5130         (ccos_test_data): Likewise.
5131         (ccos_test): Likewise.
5132         (ccosh_test_data): Likewise.
5133         (ccosh_test): Likewise.
5134         (ceil_test_data): Likewise.
5135         (ceil_test): Likewise.
5136         (cexp_test_data): Likewise.
5137         (cexp_test): Likewise.
5138         (cimag_test_data): Likewise.
5139         (cimag_test): Likewise.
5140         (clog_test_data): Likewise.
5141         (clog_test): Likewise.
5142         (clog10_test_data): Likewise.
5143         (clog10_test): Likewise.
5144         (conj_test_data): Likewise.
5145         (conj_test): Likewise.
5146         (copysign_test_data): Likewise.
5147         (copysign_test): Likewise.
5148         (cos_test_data): Likewise.
5149         (cos_test): Likewise.
5150         (cosh_test_data): Likewise.
5151         (cosh_test): Likewise.
5152         (cpow_test_data): Likewise.
5153         (cpow_test): Likewise.
5154         (cproj_test_data): Likewise.
5155         (cproj_test): Likewise.
5156         (creal_test_data): Likewise.
5157         (creal_test): Likewise.
5158         (csin_test_data): Likewise.
5159         (csin_test): Likewise.
5160         (csinh_test_data): Likewise.
5161         (csinh_test): Likewise.
5162         (csqrt_test_data): Likewise.
5163         (csqrt_test): Likewise.
5164         (ctan_test_data): Likewise.
5165         (ctan_test): Likewise.
5166         (ctanh_test_data): Likewise.
5167         (ctanh_test): Likewise.
5168         (erf_test_data): Likewise.
5169         (erf_test): Likewise.
5170         (erfc_test_data): Likewise.
5171         (erfc_test): Likewise.
5172         (exp_test_data): Likewise.
5173         (exp_test): Likewise.
5174         (exp10_test_data): Likewise.
5175         (exp10_test): Likewise.
5176         (pow10_test): Likewise.
5177         (exp2_test_data): Likewise.
5178         (exp2_test): Likewise.
5179         (expm1_test_data): Likewise.
5180         (expm1_test): Likewise.
5181         (fabs_test_data): Likewise.
5182         (fabs_test): Likewise.
5183         (fdim_test_data): Likewise.
5184         (fdim_test): Likewise.
5185         (floor_test_data): Likewise.
5186         (floor_test): Likewise.
5187         (fma_test_data): Likewise.
5188         (fma_test): Likewise.
5189         (fmax_test_data): Likewise.
5190         (fmax_test): Likewise.
5191         (fmaxmag_test_data): Likewise.
5192         (fmaxmag_test): Likewise.
5193         (fmin_test_data): Likewise.
5194         (fmin_test): Likewise.
5195         (fminmag_test_data): Likewise.
5196         (fminmag_test): Likewise.
5197         (fmod_test_data): Likewise.
5198         (fmod_test): Likewise.
5199         (fpclassify_test_data): Likewise.
5200         (fpclassify_test): Likewise.
5201         (frexp_test_data): Likewise.
5202         (frexp_test): Likewise.
5203         (fromfp_test_data): Likewise.
5204         (fromfp_test): Likewise.
5205         (fromfpx_test_data): Likewise.
5206         (fromfpx_test): Likewise.
5207         (getpayload_test_data): Likewise.
5208         (getpayload_test): Likewise.
5209         (hypot_test_data): Likewise.
5210         (hypot_test): Likewise.
5211         (ilogb_test_data): Likewise.
5212         (ilogb_test): Likewise.
5213         (iscanonical_test_data): Likewise.
5214         (iscanonical_test): Likewise.
5215         (iseqsig_test_data): Likewise.
5216         (iseqsig_test): Likewise.
5217         (isfinite_test_data): Likewise.
5218         (isfinite_test): Likewise.
5219         (finite_test): Likewise.
5220         (isgreater_test_data): Likewise.
5221         (isgreater_test): Likewise.
5222         (isgreaterequal_test_data): Likewise.
5223         (isgreaterequal_test): Likewise.
5224         (isinf_test_data): Likewise.
5225         (isinf_test): Likewise.
5226         (isless_test_data): Likewise.
5227         (isless_test): Likewise.
5228         (islessequal_test_data): Likewise.
5229         (islessequal_test): Likewise.
5230         (islessgreater_test_data): Likewise.
5231         (islessgreater_test): Likewise.
5232         (isnan_test_data): Likewise.
5233         (isnan_test): Likewise.
5234         (isnormal_test_data): Likewise.
5235         (isnormal_test): Likewise.
5236         (issignaling_test_data): Likewise.
5237         (issignaling_test): Likewise.
5238         (issubnormal_test_data): Likewise.
5239         (issubnormal_test): Likewise.
5240         (isunordered_test_data): Likewise.
5241         (isunordered_test): Likewise.
5242         (iszero_test_data): Likewise.
5243         (iszero_test): Likewise.
5244         (j0_test_data): Likewise.
5245         (j0_test): Likewise.
5246         (j1_test_data): Likewise.
5247         (j1_test): Likewise.
5248         (jn_test_data): Likewise.
5249         (jn_test): Likewise.
5250         (lgamma_test_data): Likewise.
5251         (lgamma_test): Likewise.
5252         (gamma_test): Likewise.
5253         (llogb_test_data): Likewise.
5254         (llogb_test): Likewise.
5255         (lrint_test_data): Likewise.
5256         (lrint_test): Likewise.
5257         (llrint_test_data): Likewise.
5258         (llrint_test): Likewise.
5259         (log_test_data): Likewise.
5260         (log_test): Likewise.
5261         (log10_test_data): Likewise.
5262         (log10_test): Likewise.
5263         (log1p_test_data): Likewise.
5264         (log1p_test): Likewise.
5265         (log2_test_data): Likewise.
5266         (log2_test): Likewise.
5267         (logb_test_data): Likewise.
5268         (logb_test): Likewise.
5269         (lround_test_data): Likewise.
5270         (lround_test): Likewise.
5271         (llround_test_data): Likewise.
5272         (llround_test): Likewise.
5273         (modf_test_data): Likewise.
5274         (modf_test): Likewise.
5275         (nearbyint_test_data): Likewise.
5276         (nearbyint_test): Likewise.
5277         (nextafter_test_data): Likewise.
5278         (nextafter_test): Likewise.
5279         (nextup_test_data): Likewise.
5280         (nextup_test): Likewise.
5281         (nextdown_test_data): Likewise.
5282         (nextdown_test): Likewise.
5283         (nexttoward_test_data): Likewise.
5284         (nexttoward_test): Likewise.
5285         (pow_test_data): Likewise.
5286         (pow_test): Likewise.
5287         (remainder_test_data): Likewise.
5288         (remainder_test): Likewise.
5289         (drem_test): Likewise.
5290         (remquo_test_data): Likewise.
5291         (remquo_test): Likewise.
5292         (rint_test_data): Likewise.
5293         (rint_test): Likewise.
5294         (round_test_data): Likewise.
5295         (round_test): Likewise.
5296         (roundeven_test_data): Likewise.
5297         (roundeven_test): Likewise.
5298         (scalb_test_data): Likewise.
5299         (scalb_test): Likewise.
5300         (scalbn_test_data): Likewise.
5301         (scalbn_test): Likewise.
5302         (ldexp_test): Likewise.
5303         (scalbln_test_data): Likewise.
5304         (scalbln_test): Likewise.
5305         (setpayload_test_data): Likewise.
5306         (setpayload_test): Likewise.
5307         (setpayloadsig_test_data): Likewise.
5308         (setpayloadsig_test): Likewise.
5309         (signbit_test_data): Likewise.
5310         (signbit_test): Likewise.
5311         (sin_test_data): Likewise.
5312         (sin_test): Likewise.
5313         (sincos_test_data): Likewise.
5314         (sincos_test): Likewise.
5315         (sinh_test_data): Likewise.
5316         (sinh_test): Likewise.
5317         (sqrt_test_data): Likewise.
5318         (sqrt_test): Likewise.
5319         (tan_test_data): Likewise.
5320         (tan_test): Likewise.
5321         (tanh_test_data): Likewise.
5322         (tanh_test): Likewise.
5323         (tgamma_test_data): Likewise.
5324         (tgamma_test): Likewise.
5325         (totalorder_test_data): Likewise.
5326         (totalorder_test): Likewise.
5327         (totalordermag_test_data): Likewise.
5328         (totalordermag_test): Likewise.
5329         (trunc_test_data): Likewise.
5330         (trunc_test): Likewise.
5331         (ufromfp_test_data): Likewise.
5332         (ufromfp_test): Likewise.
5333         (ufromfpx_test_data): Likewise.
5334         (ufromfpx_test): Likewise.
5335         (y0_test_data): Likewise.
5336         (y0_test): Likewise.
5337         (y1_test_data): Likewise.
5338         (y1_test): Likewise.
5339         (yn_test_data): Likewise.
5340         (yn_test): Likewise.
5341         (significand_test_data): Likewise.
5342         (significand_test): Likewise.
5343         * math/Makefile (auto-libm-test-out-files): Remove variable.
5344         (libm-test-funcs-noauto): New variable.
5345         (libm-test-funcs-all): Likewise.
5346         (libm-test-c-auto): Likewise.
5347         (libm-test-c-noauto): Likewise.
5348         (libm-tests-generated): Add $(libm-test-c-auto) and
5349         $(libm-test-c-noauto).
5350         (generated): Do not add auto-libm-test-out.
5351         (libm-test-c-auto-obj): New variable.
5352         (libm-test-c-noauto-obj): Likewise.
5353         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
5354         ($(libm-test-c-noauto-obj)): New static pattern rule.
5355         ($(libm-test-c-auto-obj)): Likewise.
5356         (libm-test-incs): New variable.
5357         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
5358         and pass it to gen-libm-have-vector-test.sh.
5359         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
5360         be passed on command line.
5361         * math/libm-test-acos.inc: New file.  Content from
5362         math/libm-test.inc.
5363         * math/libm-test-acosh.inc: Likewise.
5364         * math/libm-test-asin.inc: Likewise.
5365         * math/libm-test-asinh.inc: Likewise.
5366         * math/libm-test-atan.inc: Likewise.
5367         * math/libm-test-atan2.inc: Likewise.
5368         * math/libm-test-atanh.inc: Likewise.
5369         * math/libm-test-cabs.inc: Likewise.
5370         * math/libm-test-cacos.inc: Likewise.
5371         * math/libm-test-cacosh.inc: Likewise.
5372         * math/libm-test-canonicalize.inc: Likewise.
5373         * math/libm-test-carg.inc: Likewise.
5374         * math/libm-test-casin.inc: Likewise.
5375         * math/libm-test-casinh.inc: Likewise.
5376         * math/libm-test-catan.inc: Likewise.
5377         * math/libm-test-catanh.inc: Likewise.
5378         * math/libm-test-cbrt.inc: Likewise.
5379         * math/libm-test-ccos.inc: Likewise.
5380         * math/libm-test-ccosh.inc: Likewise.
5381         * math/libm-test-ceil.inc: Likewise.
5382         * math/libm-test-cexp.inc: Likewise.
5383         * math/libm-test-cimag.inc: Likewise.
5384         * math/libm-test-clog.inc: Likewise.
5385         * math/libm-test-clog10.inc: Likewise.
5386         * math/libm-test-conj.inc: Likewise.
5387         * math/libm-test-copysign.inc: Likewise.
5388         * math/libm-test-cos.inc: Likewise.
5389         * math/libm-test-cosh.inc: Likewise.
5390         * math/libm-test-cpow.inc: Likewise.
5391         * math/libm-test-cproj.inc: Likewise.
5392         * math/libm-test-creal.inc: Likewise.
5393         * math/libm-test-csin.inc: Likewise.
5394         * math/libm-test-csinh.inc: Likewise.
5395         * math/libm-test-csqrt.inc: Likewise.
5396         * math/libm-test-ctan.inc: Likewise.
5397         * math/libm-test-ctanh.inc: Likewise.
5398         * math/libm-test-erf.inc: Likewise.
5399         * math/libm-test-erfc.inc: Likewise.
5400         * math/libm-test-exp.inc: Likewise.
5401         * math/libm-test-exp10.inc: Likewise.
5402         * math/libm-test-exp2.inc: Likewise.
5403         * math/libm-test-expm1.inc: Likewise.
5404         * math/libm-test-fabs.inc: Likewise.
5405         * math/libm-test-fdim.inc: Likewise.
5406         * math/libm-test-floor.inc: Likewise.
5407         * math/libm-test-fma.inc: Likewise.
5408         * math/libm-test-fmax.inc: Likewise.
5409         * math/libm-test-fmaxmag.inc: Likewise.
5410         * math/libm-test-fmin.inc: Likewise.
5411         * math/libm-test-fminmag.inc: Likewise.
5412         * math/libm-test-fmod.inc: Likewise.
5413         * math/libm-test-fpclassify.inc: Likewise.
5414         * math/libm-test-frexp.inc: Likewise.
5415         * math/libm-test-fromfp.inc: Likewise.
5416         * math/libm-test-fromfpx.inc: Likewise.
5417         * math/libm-test-getpayload.inc: Likewise.
5418         * math/libm-test-hypot.inc: Likewise.
5419         * math/libm-test-ilogb.inc: Likewise.
5420         * math/libm-test-iscanonical.inc: Likewise.
5421         * math/libm-test-iseqsig.inc: Likewise.
5422         * math/libm-test-isfinite.inc: Likewise.
5423         * math/libm-test-isgreater.inc: Likewise.
5424         * math/libm-test-isgreaterequal.inc: Likewise.
5425         * math/libm-test-isinf.inc: Likewise.
5426         * math/libm-test-isless.inc: Likewise.
5427         * math/libm-test-islessequal.inc: Likewise.
5428         * math/libm-test-islessgreater.inc: Likewise.
5429         * math/libm-test-isnan.inc: Likewise.
5430         * math/libm-test-isnormal.inc: Likewise.
5431         * math/libm-test-issignaling.inc: Likewise.
5432         * math/libm-test-issubnormal.inc: Likewise.
5433         * math/libm-test-isunordered.inc: Likewise.
5434         * math/libm-test-iszero.inc: Likewise.
5435         * math/libm-test-j0.inc: Likewise.
5436         * math/libm-test-j1.inc: Likewise.
5437         * math/libm-test-jn.inc: Likewise.
5438         * math/libm-test-lgamma.inc: Likewise.
5439         * math/libm-test-llogb.inc: Likewise.
5440         * math/libm-test-llrint.inc: Likewise.
5441         * math/libm-test-llround.inc: Likewise.
5442         * math/libm-test-log.inc: Likewise.
5443         * math/libm-test-log10.inc: Likewise.
5444         * math/libm-test-log1p.inc: Likewise.
5445         * math/libm-test-log2.inc: Likewise.
5446         * math/libm-test-logb.inc: Likewise.
5447         * math/libm-test-lrint.inc: Likewise.
5448         * math/libm-test-lround.inc: Likewise.
5449         * math/libm-test-modf.inc: Likewise.
5450         * math/libm-test-nearbyint.inc: Likewise.
5451         * math/libm-test-nextafter.inc: Likewise.
5452         * math/libm-test-nextdown.inc: Likewise.
5453         * math/libm-test-nexttoward.inc: Likewise.
5454         * math/libm-test-nextup.inc: Likewise.
5455         * math/libm-test-pow.inc: Likewise.
5456         * math/libm-test-remainder.inc: Likewise.
5457         * math/libm-test-remquo.inc: Likewise.
5458         * math/libm-test-rint.inc: Likewise.
5459         * math/libm-test-round.inc: Likewise.
5460         * math/libm-test-roundeven.inc: Likewise.
5461         * math/libm-test-scalb.inc: Likewise.
5462         * math/libm-test-scalbln.inc: Likewise.
5463         * math/libm-test-scalbn.inc: Likewise.
5464         * math/libm-test-setpayload.inc: Likewise.
5465         * math/libm-test-setpayloadsig.inc: Likewise.
5466         * math/libm-test-signbit.inc: Likewise.
5467         * math/libm-test-significand.inc: Likewise.
5468         * math/libm-test-sin.inc: Likewise.
5469         * math/libm-test-sincos.inc: Likewise.
5470         * math/libm-test-sinh.inc: Likewise.
5471         * math/libm-test-sqrt.inc: Likewise.
5472         * math/libm-test-tan.inc: Likewise.
5473         * math/libm-test-tanh.inc: Likewise.
5474         * math/libm-test-tgamma.inc: Likewise.
5475         * math/libm-test-totalorder.inc: Likewise.
5476         * math/libm-test-totalordermag.inc: Likewise.
5477         * math/libm-test-trunc.inc: Likewise.
5478         * math/libm-test-ufromfp.inc: Likewise.
5479         * math/libm-test-ufromfpx.inc: Likewise.
5480         * math/libm-test-y0.inc: Likewise.
5481         * math/libm-test-y1.inc: Likewise.
5482         * math/libm-test-yn.inc: Likewise.
5483         * math/README.libm-test: Update.
5485         * math/gen-auto-libm-tests.c: Update comment about use of program.
5486         (generate_output): Add argument FUNCTION.
5487         (main): Require extra argument.  Pass function name to
5488         generate_output.
5489         * math/Makefile (generated): Add auto-libm-test-out.
5490         (libm-test-funcs-auto): New variable.
5491         (auto-libm-test-out-files): New variable.
5492         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
5493         Concatenate those files to form $(objpfx)auto-libm-test-out and
5494         use it as input to gen-libm-test.pl.
5495         * math/README.libm-test: Update.
5496         * math/auto-libm-test-out: Remove.
5497         * math/auto-libm-test-out-acos: New generated file.
5498         * math/auto-libm-test-out-acosh: Likewise.
5499         * math/auto-libm-test-out-asin: Likewise.
5500         * math/auto-libm-test-out-asinh: Likewise.
5501         * math/auto-libm-test-out-atan: Likewise.
5502         * math/auto-libm-test-out-atan2: Likewise.
5503         * math/auto-libm-test-out-atanh: Likewise.
5504         * math/auto-libm-test-out-cabs: Likewise.
5505         * math/auto-libm-test-out-carg: Likewise.
5506         * math/auto-libm-test-out-cbrt: Likewise.
5507         * math/auto-libm-test-out-ccos: Likewise.
5508         * math/auto-libm-test-out-ccosh: Likewise.
5509         * math/auto-libm-test-out-cexp: Likewise.
5510         * math/auto-libm-test-out-clog: Likewise.
5511         * math/auto-libm-test-out-clog10: Likewise.
5512         * math/auto-libm-test-out-cos: Likewise.
5513         * math/auto-libm-test-out-cosh: Likewise.
5514         * math/auto-libm-test-out-cpow: Likewise.
5515         * math/auto-libm-test-out-csin: Likewise.
5516         * math/auto-libm-test-out-csinh: Likewise.
5517         * math/auto-libm-test-out-csqrt: Likewise.
5518         * math/auto-libm-test-out-ctan: Likewise.
5519         * math/auto-libm-test-out-ctanh: Likewise.
5520         * math/auto-libm-test-out-erf: Likewise.
5521         * math/auto-libm-test-out-erfc: Likewise.
5522         * math/auto-libm-test-out-exp: Likewise.
5523         * math/auto-libm-test-out-exp10: Likewise.
5524         * math/auto-libm-test-out-exp2: Likewise.
5525         * math/auto-libm-test-out-expm1: Likewise.
5526         * math/auto-libm-test-out-fma: Likewise.
5527         * math/auto-libm-test-out-hypot: Likewise.
5528         * math/auto-libm-test-out-j0: Likewise.
5529         * math/auto-libm-test-out-j1: Likewise.
5530         * math/auto-libm-test-out-jn: Likewise.
5531         * math/auto-libm-test-out-lgamma: Likewise.
5532         * math/auto-libm-test-out-log: Likewise.
5533         * math/auto-libm-test-out-log10: Likewise.
5534         * math/auto-libm-test-out-log1p: Likewise.
5535         * math/auto-libm-test-out-log2: Likewise.
5536         * math/auto-libm-test-out-pow: Likewise.
5537         * math/auto-libm-test-out-sin: Likewise.
5538         * math/auto-libm-test-out-sincos: Likewise.
5539         * math/auto-libm-test-out-sinh: Likewise.
5540         * math/auto-libm-test-out-sqrt: Likewise.
5541         * math/auto-libm-test-out-tan: Likewise.
5542         * math/auto-libm-test-out-tanh: Likewise.
5543         * math/auto-libm-test-out-tgamma: Likewise.
5544         * math/auto-libm-test-out-y0: Likewise.
5545         * math/auto-libm-test-out-y1: Likewise.
5546         * math/auto-libm-test-out-yn: Likewise.
5548         * math/Makefile (generated): Do not include libm-test.stmp.
5549         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
5550         on $(objpfx)libm-test.stmp.
5551         ($(objpfx)libm-test.stmp): Remove rule.
5552         ($(objpfx)libm-test-ulps.h): New rule.
5553         ($(objpfx)libm-test.c): Likewise.
5554         ($(objpfx)libm-have-vector-test.h): Likewise.
5555         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
5556         individual generated files, not libm-test.stmp.
5558         * math/gen-libm-test.pl ($output_dir): Remove variable.
5559         ($srcdir): Likewise.
5560         ($opt_a): New variable.
5561         ($opt_c): Likewise.
5562         ($opt_C): Likewise.
5563         ($opt_H): Likewise.
5564         (-n): Make option take argument and use it as NewUlps output.
5565         (-a): New option.  Use its argument for auto-libm-test-out input.
5566         (-c): New option.  Use its argument for libm-test.inc input.
5567         (-C): New option.  Use its argument for libm-test.c output.
5568         (-H): New option.  Use its argument for libm-test-ulps.h output.
5569         (top level): Only process inputs needed to generate outputs
5570         specified by command-line options.  Only generate outputs
5571         specified by command-line options.
5572         * math/README.libm-test: Update example gen-libm-test.pl command.
5573         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
5574         commands.
5575         (regen-ulps): Likewise.
5577 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
5579         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
5580         * include/string.h (index): Remove define.
5581         (rindex): Likewise.
5582         * misc/getttyent.c (__getttyent): Rename index to strchr.
5583         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
5584         * sunrpc/rpc_main.c (mkfile_output): Likewise.
5586 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5588         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
5589         * math/libm-test.inc: Move all contents, other than tests of
5590         individual functions, to libm-test-driver.c.
5591         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
5592         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
5593         [!FE_UPWARD] (FE_UPWARD): Likewise.
5594         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
5595         (NO_EXCEPTION): Likewise.
5596         (INVALID_EXCEPTION): Likewise.
5597         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5598         (OVERFLOW_EXCEPTION): Likewise.
5599         (UNDERFLOW_EXCEPTION): Likewise.
5600         (INEXACT_EXCEPTION): Likewise.
5601         (INVALID_EXCEPTION_OK): Likewise.
5602         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5603         (OVERFLOW_EXCEPTION_OK): Likewise.
5604         (UNDERFLOW_EXCEPTION_OK): Likewise.
5605         (NO_INEXACT_EXCEPTION): Likewise.
5606         (EXCEPTIONS_OK): Likewise.
5607         (IGNORE_ZERO_INF_SIGN): Likewise.
5608         (TEST_NAN_SIGN): Likewise.
5609         (TEST_NAN_PAYLOAD): Likewise.
5610         (NO_TEST_INLINE): Likewise.
5611         (XFAIL_TEST): Likewise.
5612         (ERRNO_UNCHANGED): Likewise.
5613         (ERRNO_EDOM): Likewise.
5614         (ERRNO_ERANGE): Likewise.
5615         (IGNORE_RESULT): Likewise.
5616         (NON_FINITE): Likewise.
5617         (TEST_SNAN): Likewise.
5618         (NO_TEST_MATHVEC): Likewise.
5619         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
5620         (__CONCATX): Likewise.
5621         (TYPE_MIN): Likewise.
5622         (TYPE_TRUE_MIN): Likewise.
5623         (TYPE_MAX): Likewise.
5624         (MIN_EXP): Likewise.
5625         (MAX_EXP): Likewise.
5626         (MANT_DIG): Likewise.
5627         (FSTR_MAX): Likewise.
5628         (ULP_IDX): Likewise.
5629         (QTYPE_STR): Likewise.
5630         (TEST_COND_binary32): Likewise.
5631         (TEST_COND_binary64): Likewise.
5632         (TEST_COND_binary128): Likewise.
5633         (TEST_COND_ibm128): Likewise.
5634         (TEST_COND_intel96): Likewise.
5635         (TEST_COND_m68k96): Likewise.
5636         (TEST_COND_ibm128_libgcc): Likewise.
5637         (XFAIL_IBM128_LIBGCC): Likewise.
5638         (PAYLOAD_DIG): Likewise.
5639         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5640         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5641         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5642         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5643         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5644         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5645         (TEST_COND_long32): Likewise.
5646         (TEST_COND_long64): Likewise.
5647         (TEST_COND_before_rounding): Likewise.
5648         (TEST_COND_after_rounding): Likewise.
5649         (lit_pi_3_m_4_d): Likewise.
5650         (lit_pi_3_m_4_ln10_m_d): Likewise.
5651         (lit_pi_2_ln10_m_d): Likewise.
5652         (lit_pi_4_ln10_m_d): Likewise.
5653         (lit_pi_ln10_d): Likewise.
5654         (lit_pi_2_d): Likewise.
5655         (lit_pi_4_d): Likewise.
5656         (lit_pi): Likewise.
5657         (lit_e): Likewise.
5658         (ulps_file_name): Likewise.
5659         (ulps_file): Likewise.
5660         (output_ulps): Likewise.
5661         (output_dir): Likewise.
5662         (noErrors): Likewise.
5663         (noTests): Likewise.
5664         (noExcTests): Likewise.
5665         (noErrnoTests): Likewise.
5666         (verbose): Likewise.
5667         (output_max_error): Likewise.
5668         (output_points): Likewise.
5669         (ignore_max_ulp): Likewise.
5670         (plus_zero): Likewise.
5671         (minus_zero): Likewise.
5672         (plus_infty): Likewise.
5673         (minus_infty): Likewise.
5674         (qnan_value_pl): Likewise.
5675         (qnan_value): Likewise.
5676         (snan_value_pl): Likewise.
5677         (snan_value): Likewise.
5678         (max_value): Likewise.
5679         (min_value): Likewise.
5680         (min_subnorm_value): Likewise.
5681         (snan_value_ld): Likewise.
5682         (max_error): Likewise.
5683         (real_max_error): Likewise.
5684         (imag_max_error): Likewise.
5685         (prev_max_error): Likewise.
5686         (prev_real_max_error): Likewise.
5687         (prev_imag_max_error): Likewise.
5688         (max_valid_error): Likewise.
5689         (TYPE_DECIMAL_DIG): Likewise.
5690         (TYPE_HEX_DIG): Likewise.
5691         (fmt_ftostr): Likewise.
5692         (compare_ulp_data): Likewise.
5693         (find_ulps): Likewise.
5694         (init_max_error): Likewise.
5695         (set_max_error): Likewise.
5696         (print_float): Likewise.
5697         (print_screen): Likewise.
5698         (print_screen_max_error): Likewise.
5699         (update_stats): Likewise.
5700         (print_function_ulps): Likewise.
5701         (print_complex_function_ulps): Likewise.
5702         (fpstack_test): Likewise.
5703         (print_max_error): Likewise.
5704         (print_complex_max_error): Likewise.
5705         (test_single_exception): Likewise.
5706         (test_exceptions): Likewise.
5707         (test_single_errno): Likewise.
5708         (test_errno): Likewise.
5709         (ULPDIFF): Likewise.
5710         (ulp): Likewise.
5711         (check_float_internal): Likewise.
5712         (check_float): Likewise.
5713         (check_complex): Likewise.
5714         (check_int): Likewise.
5715         (check_long): Likewise.
5716         (check_bool): Likewise.
5717         (check_longlong): Likewise.
5718         (check_intmax_t): Likewise.
5719         (check_uintmax_t): Likewise.
5720         (enable_test): Likewise.
5721         (struct test_f_f_data): Likewise.
5722         (struct test_ff_f_data): Likewise.
5723         (struct test_fj_f_data): Likewise.
5724         (struct test_fi_f_data): Likewise.
5725         (struct test_fl_f_data): Likewise.
5726         (struct test_if_f_data): Likewise.
5727         (struct test_fff_f_data): Likewise.
5728         (struct test_fiu_M_data): Likewise.
5729         (struct test_fiu_U_data): Likewise.
5730         (struct test_c_f_data): Likewise.
5731         (struct test_f_f1_data): Likewise.
5732         (struct test_fF_f1_data): Likewise.
5733         (struct test_ffI_f1_data): Likewise.
5734         (struct test_c_c_data): Likewise.
5735         (struct test_cc_c_data): Likewise.
5736         (struct test_f_i_data): Likewise.
5737         (struct test_ff_i_data): Likewise.
5738         (struct test_f_l_data): Likewise.
5739         (struct test_f_L_data): Likewise.
5740         (struct test_fFF_11_data): Likewise.
5741         (struct test_Ff_b1_data): Likewise.
5742         (IF_ROUND_INIT_): Likewise.
5743         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5744         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5745         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5746         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5747         (ROUND_RESTORE_): Likewise.
5748         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5749         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5750         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5751         (ROUND_RESTORE_FE_UPWARD): Likewise.
5752         (RM_): Likewise.
5753         (RM_FE_DOWNWARD): Likewise.
5754         (RM_FE_TONEAREST): Likewise.
5755         (RM_FE_TOWARDZERO): Likewise.
5756         (RM_FE_UPWARD): Likewise.
5757         (COMMON_TEST_SETUP): Likewise.
5758         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5759         (COMMON_TEST_CLEANUP): Likewise.
5760         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5761         (RUN_TEST_f_f): Likewise.
5762         (RUN_TEST_LOOP_f_f): Likewise.
5763         (RUN_TEST_fp_f): Likewise.
5764         (RUN_TEST_LOOP_fp_f): Likewise.
5765         (RUN_TEST_2_f): Likewise.
5766         (RUN_TEST_LOOP_2_f): Likewise.
5767         (RUN_TEST_ff_f): Likewise.
5768         (RUN_TEST_LOOP_ff_f): Likewise.
5769         (RUN_TEST_LOOP_fj_f): Likewise.
5770         (RUN_TEST_fi_f): Likewise.
5771         (RUN_TEST_LOOP_fi_f): Likewise.
5772         (RUN_TEST_fl_f): Likewise.
5773         (RUN_TEST_LOOP_fl_f): Likewise.
5774         (RUN_TEST_if_f): Likewise.
5775         (RUN_TEST_LOOP_if_f): Likewise.
5776         (RUN_TEST_fff_f): Likewise.
5777         (RUN_TEST_LOOP_fff_f): Likewise.
5778         (RUN_TEST_fiu_M): Likewise.
5779         (RUN_TEST_LOOP_fiu_M): Likewise.
5780         (RUN_TEST_fiu_U): Likewise.
5781         (RUN_TEST_LOOP_fiu_U): Likewise.
5782         (RUN_TEST_c_f): Likewise.
5783         (RUN_TEST_LOOP_c_f): Likewise.
5784         (RUN_TEST_f_f1): Likewise.
5785         (RUN_TEST_LOOP_f_f1): Likewise.
5786         (RUN_TEST_fF_f1): Likewise.
5787         (RUN_TEST_LOOP_fF_f1): Likewise.
5788         (RUN_TEST_fI_f1): Likewise.
5789         (RUN_TEST_LOOP_fI_f1): Likewise.
5790         (RUN_TEST_ffI_f1_mod8): Likewise.
5791         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
5792         (RUN_TEST_Ff_b1): Likewise.
5793         (RUN_TEST_LOOP_Ff_b1): Likewise.
5794         (RUN_TEST_Ffp_b1): Likewise.
5795         (RUN_TEST_LOOP_Ffp_b1): Likewise.
5796         (RUN_TEST_c_c): Likewise.
5797         (RUN_TEST_LOOP_c_c): Likewise.
5798         (RUN_TEST_cc_c): Likewise.
5799         (RUN_TEST_LOOP_cc_c): Likewise.
5800         (RUN_TEST_f_i): Likewise.
5801         (RUN_TEST_LOOP_f_i): Likewise.
5802         (RUN_TEST_f_i_tg): Likewise.
5803         (RUN_TEST_LOOP_f_i_tg): Likewise.
5804         (RUN_TEST_ff_b): Likewise.
5805         (RUN_TEST_LOOP_ff_b): Likewise.
5806         (RUN_TEST_ff_i_tg): Likewise.
5807         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5808         (RUN_TEST_f_b): Likewise.
5809         (RUN_TEST_LOOP_f_b): Likewise.
5810         (RUN_TEST_f_b_tg): Likewise.
5811         (RUN_TEST_LOOP_f_b_tg): Likewise.
5812         (RUN_TEST_f_l): Likewise.
5813         (RUN_TEST_LOOP_f_l): Likewise.
5814         (RUN_TEST_f_L): Likewise.
5815         (RUN_TEST_LOOP_f_L): Likewise.
5816         (RUN_TEST_fFF_11): Likewise.
5817         (RUN_TEST_LOOP_fFF_11): Likewise.
5818         (VEC_SUFF): Likewise.
5819         (STR_CONCAT): Likewise.
5820         (STR_CON3): Likewise.
5821         (HAVE_VECTOR): Likewise.
5822         (START): Likewise.
5823         (END): Likewise.
5824         (END_COMPLEX): Likewise.
5825         (ALL_RM_TEST): Likewise.
5826         (matherr): Likewise.
5827         (initialize): Likewise.
5828         (options): Likewise.
5829         (doc): Likewise.
5830         (parse_opt): Likewise.
5831         (argp): Likewise.
5832         (check_ulp): Likewise.
5833         (main): Likewise.
5834         (do_test): New function.  Call tests of individual functions
5835         previously called from main.
5837         * math/libm-test.inc: Remove comment listing functions tested and
5838         not tested.
5840 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5842         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
5843         (allocate_stack): Remove COLORING_INCREMENT usage.
5844         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
5845         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
5847 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5849         * manual/libm-err-tab.pl (@all_functions): Change to
5850         %all_functions.  Initialize as empty.
5851         (parse_ulps): Add to %all_functions based on functions found in
5852         ulps files.  Ignore results for non-default rounding modes and
5853         vector functions.
5854         (print_platforms): Use %all_platforms.
5855         * manual/math.texi (Errors in Math Functions): Document omissions
5856         from the table.
5858         * math/Makefile (before-compile): Remove.
5860 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
5862         [BZ #21075]
5863         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
5864         unused assignment.
5865         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5867 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5869         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
5870         Add __glibc_unlikely hint.
5872 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5874         [BZ #16640]
5875         * sysdeps/i386/i686/strtok.S: Remove file.
5876         * sysdeps/i386/i686/strtok_r.S: Likewise.
5877         * sysdeps/i386/strtok.S: Likewise.
5878         * sysdeps/i386/strtok_r.S: Likewise.
5879         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
5880         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
5881         * sysdeps/x86_64/strtok.S: Likewise.
5882         * sysdeps/x86_64/strtok_r.S: Likewise.
5884         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
5885         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5886         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5887         (__ASSUME_FADVISE64_AS_64_64): Define.
5888         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
5889         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
5890         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
5891         __ALIGNMENT_ARG usage.
5892         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
5893         __NR_fadvise64_64 if it is not defined.
5895 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5897         * version.h (RELEASE): Set to "development"
5898         (VERSION): Set to 2.25.90.
5899         * NEWS: Add 2.26 section.
5901         * version.h (RELEASE): Set to "stable"
5902         (VERSION): Set to 2.25.
5903         * include/features.h (__GLIBC_MINOR__): Set to 25.
5905         * manual/contrib.texi: Add more contributors from this release
5906         and past releases.
5908         * NEWS (2.25): Add list of bugs fixed.
5910         * NEWS: Add missing news items.
5912 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5914         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
5915         parent if child exited in that manner.  Print WEXITSTATUS
5916         instead of the raw status.
5917         (do_test_prep): Rename to do_test.
5918         (do_test): Return the result of run_executable_sgid.
5919         (TEST_FUNCTION_ARGV): Adjust.
5921 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
5922             Florian Weimer  <fweimer@redhat.com>
5923             Carlos O'Donell  <carlos@redhat.com>
5925         [BZ #20915]
5926         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
5927         Do not initialize DTV.
5928         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5930 2017-02-03  David S. Miller  <davem@davemloft.net>
5932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
5933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
5935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
5937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
5939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5940         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5941         (libm-sysdep_routines): Update.
5942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
5943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
5944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
5946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5947         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
5948         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
5949         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
5950         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
5951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
5952         Likewise.
5953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
5955         Likewise.
5956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
5958         Likewise.
5959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
5961         Likewise.
5962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5964         (libm-sysdep_routines): Update.
5966 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
5968         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
5969         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
5970         against unrelocated shared library.
5971         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5973 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5975         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
5976         * elf/tst-env-setuid-tunables.c
5977         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
5978         GLIBC_TUNABLES is removed in a setgid process.
5980         [BZ #21073]
5981         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
5982         * elf/dl-tunables.c (tunables_strdup): Remove.
5983         (get_next_env): Also return the previous envp.
5984         (parse_tunables): Erase tunables of category
5985         TUNABLES_SECLEVEL_SXID_ERASE.
5986         (maybe_enable_malloc_check): Make MALLOC_CHECK_
5987         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
5988         (__tunables_init)[TUNABLES_FRONTEND ==
5989         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
5990         after parsing.
5991         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
5992         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
5993         * elf/dl-tunables.h (struct _tunable): Change member is_secure
5994         to security_level.
5995         * elf/dl-tunables.list: Add security_level annotations for all
5996         tunables.
5997         * scripts/gen-tunables.awk: Recognize and generate enum values
5998         for security_level.
5999         * elf/tst-env-setuid.c: New test case.
6000         * elf/tst-env-setuid-tunables: new test case.
6001         * elf/Makefile (tests-static): Add them.
6003 2017-02-01  Richard Henderson  <rth@twiddle.net>
6005         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
6006         adjusting the byte count.
6008 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
6010         * conform/Makefile (linknamespace-libs): Define.
6012         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6013         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6014         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6015         operands.
6017 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
6019         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6021 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6023         [BZ #21081]
6024         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6025         (L(stosb)): Add VZEROUPPER before ret.
6027 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
6028             Alexey Makhalov <amakhalov@vmware.com>
6029             Florian Weimer <fweimer@redhat.com>
6031         [BZ #20116]
6032         * nptl/pthread_create.c: Document concurrency notes.
6033         Enhance thread creation notes.
6034         (create_thread): Use bool *stopped_start.
6035         (START_THREAD_DEFN): Comment ownership of PD.
6036         (__pthread_create_2_1): Add local bool stopped_start and use
6037         that instead of pd->stopped_start where appropriate.
6038         * nptl/createthread.c (create_thread): Use bool *stopped_start.
6039         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6040         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6041         * nptl/tst-create-detached.c: New file.
6042         * nptl/Makefile (tests): Add tst-create-detached.
6043         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6044         Reference the enhanced thread creation notes.
6045         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6046         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6047         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6048         (__pthread_current_priority): Likewise.
6049         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
6050         xpthread_attr_init, xpthread_attr_setdetachstate, and
6051         xpthread_attr_setstacksize.
6052         * support/xpthread_attr_destroy.c: New file.
6053         * support/xpthread_attr_init.c: New file.
6054         * support/xpthread_attr_setdetachstate.c: New file.
6055         * support/xpthread_attr_setstacksize.c: New file.
6056         * support/xthread.h: Define prototypes for xpthread_attr_destroy
6057         xpthread_attr_init, xpthread_attr_setdetachstate, and
6058         xpthread_attr_setstacksize.
6060 2017-01-27  Florian Weimer  <fweimer@redhat.com>
6062         * nptl/Makefile (tests): Add tst-robust-fork.
6063         * nptl/tst-robust-fork.c: New file.
6064         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
6065         xpthread_mutex_consistent, xpthread_mutex_destroy,
6066         xpthread_mutex_init, xpthread_mutexattr_destroy,
6067         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
6068         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
6069         xpthread_mutexattr_settype.
6070         * support/xmmap.c: New file.
6071         * support/xmunmap.c: Likewise.
6072         * support/xpthread_mutex_consistent.c: Likewise.
6073         * support/xpthread_mutex_destroy.c: Likewise.
6074         * support/xpthread_mutex_init.c: Likewise.
6075         * support/xpthread_mutexattr_destroy.c: Likewise.
6076         * support/xpthread_mutexattr_init.c: Likewise.
6077         * support/xpthread_mutexattr_setprotocol.c: Likewise.
6078         * support/xpthread_mutexattr_setpshared.c: Likewise.
6079         * support/xpthread_mutexattr_setrobust.c: Likewise.
6080         * support/xpthread_mutexattr_settype.c: Likewise.
6081         * support/xthread.h (xpthread_mutexattr_destroy)
6082         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
6083         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
6084         (xpthread_mutexattr_settype, xpthread_mutex_init)
6085         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
6086         * support/xunistd.h (xmmap, xmunmap): Likewise.
6088 2017-01-25  Florian Weimer  <fweimer@redhat.com>
6090         * string/Makefile (xtests): Add comment.
6091         (LOCALES): Add en_GB.UTF-8.
6092         (tst-strcoll-overflow.out): Depend on generated locales.
6093         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
6094         (SIZE, TIMEOUT): Update comments.
6095         (do_test): Define as static.  Fail test if setlocale fails.
6096         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
6097         messages.
6098         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
6099         TIMEOUT at 300 seconds should be enough to run this test
6100         successfully.
6102 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
6104         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6105         /* FALLTHRU */ comments.
6107 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
6109         [BZ #21053]
6110         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
6111         constants instead of the old R* ones.
6112         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
6113         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
6114         (NGREG): ... to this, to fit in with other architectures.
6115         (gpregset_t): Use new NGREG macro.
6116         [__USE_GNU]: Remove condition; all architectures other than tile
6117         are unconditional.
6118         (R*): Rename to REG_R*.
6120 2017-01-20  DJ Delorie  <dj@redhat.com>
6122         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
6123         (tunable_set_val_if_valid_range_signed) ... this, and ...
6124         (tunable_set_val_if_valid_range_unsigned) ... this.
6125         (tunable_initialize): Call the correct one of the above based on type.
6127 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
6129         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
6130         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6131         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6132         * sysdeps/microblaze/libm-test-ulps: Likewise.
6133         * sysdeps/sh/libm-test-ulps: Likewise.
6135         * math/README.libm-test: Update list of characters for input and
6136         output types.
6138 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6140         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6141         (__lll_unlock_elision): Fix adapt_count decrement.
6143 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
6145         * README.pretty-printers (Known issues): Warn about printers not
6146         always covering everything.
6147         * nptl/nptl-printers.py (MutexPrinter): Change output.
6148         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
6150 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6152         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
6153         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6154         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
6155         (__lll_lock_elision): Do not test futex before starting a
6156         transaction.  Use __glibc_likely instead of __builtin_expect.
6157         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
6158         (__lll_trylock_elision): Do not test futex before starting a
6159         transaction.  Use __glibc_likely instead of __builtin_expect.
6161 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6163         * po/Makefile (update-translations): New target.
6165 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6167         [BZ #21061]
6168         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
6170 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6172         * elf/dl-tunables (get_next_env): Always advance envp.
6173         * stdlib/tst-empty-env.c: New test case.
6174         * stdlib/Makefile (tests): Use it.
6176 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6178         [BZ #21047]
6179         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
6180         name for instruction.
6181         [!__SOFTFP__] (_FPU_SETCW): Likewise.
6183 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6185         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
6186         for make install.
6188 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6190         * po/bg.po: Merge from Translation Project.
6191         * po/fr.po: Likewise.
6192         * po/ko.po: Likewise.
6193         * po/nl.po: Likewise.
6194         * po/sv.po: Likewise.
6196 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6198         * manual/install.texi (Tools for Compilation): Update GCC version
6199         known to work to build glibc.
6200         * INSTALL: Regenerated.
6202 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6204         [BZ #21006]
6205         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
6207 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
6209         [BZ #21045]
6210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6211         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
6212         to __sigprocmask.
6214 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
6216         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
6217         wrap-around.
6218         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
6220         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
6222 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6224         * NEWS: Fix typo.
6226 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6228         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
6229         barriers and comments.
6230         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
6231         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6232         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6234 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6236         [BZ #19402]
6237         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
6238         mutexes.
6240 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6242         [BZ #20985]
6243         * nptl/Makefile: Adapt.
6244         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6245         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6246         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6247         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6248         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
6249         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
6250         lll_robust* functions and adapt.
6251         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6252         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
6253         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6254         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6255         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
6256         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6257         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
6258         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6259         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
6260         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6261         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6262         * nptl/lowlevelrobustlock.c: Remove file.
6263         * nptl/lowlevelrobustlock.sym: Likewise.
6264         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
6265         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
6267 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6269         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6271 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6273         * po/cs.po: Merge translations from the Translation Project.
6274         * po/de.po: Likewise.
6275         * po/pl.po: Likewise.
6276         * po/ru.po: Likewise.
6277         * po/tr.po: Likewise.
6278         * po/uk.po: Likewise.
6279         * po/vi.po: Likewise.
6280         * po/zh_CN.po: Likewise.
6282 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
6284         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
6286         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
6287         object.
6289 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6291         [BZ #16458]
6292         * bits/uintn-identity.h: New file.
6293         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
6294         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
6295         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
6296         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
6297         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
6298         * string/endian.h: Include <bits/uintn-identity.h>.
6299         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
6300         __uint16_identity.
6301         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
6302         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
6303         __uint32_identity.
6304         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
6305         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
6306         __uint64_identity.
6307         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
6308         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
6309         __uint16_identity.
6310         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
6311         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
6312         __uint32_identity.
6313         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
6314         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
6315         __uint64_identity.
6316         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
6317         * string/Makefile (headers): Add bits/uintn-identity.h.
6318         (tests): Add test-endian-types.
6319         * string/test-endian-types.c: New file.
6320         * inet/Makefile (tests): Add test-hnto-types.
6321         * inet/test-hnto-types.c: New file.
6323 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6325         * po/be.po: Update from Translation Project.
6326         * po/bg.po: Likewise.
6327         * po/ca.po: Likewise.
6328         * po/cs.po: Likewise.
6329         * po/da.po: Likewise.
6330         * po/de.po: Likewise.
6331         * po/el.po: Likewise.
6332         * po/eo.po: Likewise.
6333         * po/es.po: Likewise.
6334         * po/fi.po: Likewise.
6335         * po/fr.po: Likewise.
6336         * po/gl.po: Likewise.
6337         * po/hr.po: Likewise.
6338         * po/hu.po: Likewise.
6339         * po/ia.po: Likewise.
6340         * po/id.po: Likewise.
6341         * po/it.po: Likewise.
6342         * po/ja.po: Likewise.
6343         * po/ko.po: Likewise.
6344         * po/lt.po: Likewise.
6345         * po/nb.po: Likewise.
6346         * po/nl.po: Likewise.
6347         * po/pl.po: Likewise.
6348         * po/pt_BR.po: Likewise.
6349         * po/ru.po: Likewise.
6350         * po/rw.po: Likewise.
6351         * po/sk.po: Likewise.
6352         * po/sl.po: Likewise.
6353         * po/sv.po: Likewise.
6354         * po/tr.po: Likewise.
6355         * po/uk.po: Likewise.
6356         * po/vi.po: Likewise.
6357         * po/zh_CN.po: Likewise.
6358         * po/zh_TW.po: Likewise.
6360 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6362         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
6363         -Wformat-truncation instead of -Wformat-length.
6364         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
6365         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
6366         GCC 7.
6367         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
6368         (do_test): Ignore -Wformat-truncation for GCC 7.
6370         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
6371         buffer used to print long int value.
6373         * elf/sotruss-lib.c (init): Increase space allocated for pid by
6374         one byte.  Print it with %ld, cast to long int.
6376 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6378         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
6379         (re.fullmatch, subprocess.run): Likewise.
6381 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6383         * po/libc.pot: Regenerate.
6385 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6387         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
6388         (min_strlen): Likewise.
6389         (disable_tunable): Likewise.
6390         (maybe_disable_malloc_check): Rename to
6391         maybe_enable_malloc_check.
6392         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
6393         if /etc/suid-debug file exists.
6394         (__tunables_init): Update caller.
6395         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
6396         secure.
6398 2016-01-10  Torvald Riegel  <triegel@redhat.com>
6400         * nptl/DESIGN-rwlock.txt: Remove.
6401         * nptl/lowlevelrwlock.sym: Remove.
6402         * nptl/Makefile: Add new tests.
6403         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
6404         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
6405         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
6406         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
6407         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
6408         PTHREAD_RWLOCK_FUTEX_USED): New.
6409         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
6410         implementation.
6411         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
6412         (__pthread_rwlock_rdlock): Adapt.
6413         * nptl/pthread_rwlock_timedrdlock.c
6414         (pthread_rwlock_timedrdlock): Adapt.
6415         * nptl/pthread_rwlock_timedwrlock.c
6416         (pthread_rwlock_timedwrlock): Adapt.
6417         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
6418         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
6419         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
6420         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
6421         (__pthread_rwlock_wrlock): Adapt.
6422         * nptl/tst-rwlock10.c: Adapt.
6423         * nptl/tst-rwlock11.c: Adapt.
6424         * nptl/tst-rwlock17.c: New file.
6425         * nptl/tst-rwlock18.c: New file.
6426         * nptl/tst-rwlock19.c: New file.
6427         * nptl/tst-rwlock2b.c: New file.
6428         * nptl/tst-rwlock8.c: Adapt.
6429         * nptl/tst-rwlock9.c: Adapt.
6430         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6431         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6432         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6433         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6434         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6435         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6436         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6437         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6438         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6439         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6440         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6441         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6442         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6443         (pthread_rwlock_t): Adapt.
6444         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6445         (pthread_rwlock_t): Adapt.
6446         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6447         * nptl/nptl-printers.py (): Adapt.
6448         * nptl/nptl_lock_constants.pysym: Adapt.
6449         * nptl/test-rwlock-printers.py: Adapt.
6450         * nptl/test-rwlockattr-printers.c: Adapt.
6451         * nptl/test-rwlockattr-printers.py: Adapt.
6453 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
6455         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
6456         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
6457         (fma_test_data): Likewise.
6458         (hypot_test_data): Likewise.
6459         (log1p_test_data): Likewise.
6460         (modf_test_data): Likewise.
6461         (pow_test_data): Likewise.
6462         (remainder_test_data): Likewise.
6463         (remquo_test_data): Likewise.
6464         (scalb_test_data): Likewise.
6465         (scalbn_test_data): Likewise.
6466         (scalbln_test_data): Likewise.
6467         * math/gen-libm-test.pl (parse_args): Transform
6468         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
6469         on the rounding mode.
6471 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
6473         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
6474         xfail-rounding:ibm128-libgcc automatically to tests overflowing
6475         and those that can underflow to zero.
6476         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
6477         add others.
6478         * math/auto-libm-test-out: Regenerated.
6480         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
6481         supported.
6482         (feholdexcept_tests): Skip tests requiring exceptions or rounding
6483         modes support if not supported.
6485         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
6486         Add libc.so PLT entry.
6487         (__tls_get_addr): Make ld.so PLT entry optional.
6489 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6491         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
6492         * string/bits/string3.h: ... here.
6494 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6496         [BZ #21028]
6497         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
6498         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
6499         if EXCEPTION_TESTS returns false.
6501 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6503         [BZ #20558]
6504         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
6505         strings_fortified.h.
6506         [__USE_MISC] (bzero): Likewise.
6507         [__USE_MISC] (explicit_bzero): Likewise.
6508         * string/strings.h: Include strings_fortified.h.
6509         * string/Makefile (headers): Add strings_fortified.h.
6510         * string/bits/strings_fortified.h: New file.
6511         * include/bits/strings_fortified.h: Likewise.
6513 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6515         * elf/tst-tls13.c (TIMEOUT): Remove.
6516         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
6517         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
6518         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
6519         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
6520         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
6522         [BZ #21026]
6523         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
6524         (readahead): New syscall entry.
6526 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6528         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
6529         around tests of strncat with large sizes.
6531         * malloc/tst-malloc.c: Include <libc-internal.h>.
6532         (do_test): Disable -Walloc-size-larger-than= around tests of
6533         malloc with negative sizes.
6534         * malloc/tst-mcheck.c: Include <libc-internal.h>.
6535         (do_test): Disable -Walloc-size-larger-than= around tests of
6536         malloc and realloc with negative sizes.
6537         * malloc/tst-realloc.c: Include <libc-internal.h>.
6538         (do_test): Disable -Walloc-size-larger-than= around tests of
6539         realloc with negative sizes.
6541         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
6542         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
6543         allowed to 16 ulps.
6544         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
6545         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
6546         * math/auto-libm-test-out: Regenerated.
6548 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6550         * math/Makefile (libm-calls): Move wrappers...
6551         (libm-compat-call-auto): Here.
6552         (libm-routines): Add items in libm-compat-calls-auto.
6553         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
6554         the filenames of the wrappers that have been renamed.
6555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
6556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6558         * math/w_acos.c: Add _compat suffix to filename.
6559         * math/w_acosf.c: Likewise.
6560         * math/w_acosh.c: Likewise.
6561         * math/w_acoshf.c: Likewise.
6562         * math/w_acoshl.c: Likewise.
6563         * math/w_acosl.c: Likewise.
6564         * math/w_asin.c: Likewise.
6565         * math/w_asinf.c: Likewise.
6566         * math/w_asinl.c: Likewise.
6567         * math/w_atan2.c: Likewise.
6568         * math/w_atan2f.c: Likewise.
6569         * math/w_atan2l.c: Likewise.
6570         * math/w_atanh.c: Likewise.
6571         * math/w_atanhf.c: Likewise.
6572         * math/w_atanhl.c: Likewise.
6573         * math/w_cosh.c: Likewise.
6574         * math/w_coshf.c: Likewise.
6575         * math/w_coshl.c: Likewise.
6576         * math/w_exp10.c: Likewise.
6577         * math/w_exp10f.c: Likewise.
6578         * math/w_exp10l.c: Likewise.
6579         * math/w_exp2.c: Likewise.
6580         * math/w_exp2f.c: Likewise.
6581         * math/w_exp2l.c: Likewise.
6582         * math/w_fmod.c: Likewise.
6583         * math/w_fmodf.c: Likewise.
6584         * math/w_fmodl.c: Likewise.
6585         * math/w_hypot.c: Likewise.
6586         * math/w_hypotf.c: Likewise.
6587         * math/w_hypotl.c: Likewise.
6588         * math/w_j0.c: Likewise.
6589         * math/w_j0f.c: Likewise.
6590         * math/w_j0l.c: Likewise.
6591         * math/w_j1.c: Likewise.
6592         * math/w_j1f.c: Likewise.
6593         * math/w_j1l.c: Likewise.
6594         * math/w_jn.c: Likewise.
6595         * math/w_jnf.c: Likewise.
6596         * math/w_jnl.c: Likewise.
6597         * math/w_log10.c: Likewise.
6598         * math/w_log10f.c: Likewise.
6599         * math/w_log10l.c: Likewise.
6600         * math/w_log2.c: Likewise.
6601         * math/w_log2f.c: Likewise.
6602         * math/w_log2l.c: Likewise.
6603         * math/w_log.c: Likewise.
6604         * math/w_logf.c: Likewise.
6605         * math/w_logl.c: Likewise.
6606         * math/w_pow.c: Likewise.
6607         * math/w_powf.c: Likewise.
6608         * math/w_powl.c: Likewise.
6609         * math/w_remainder.c: Likewise.
6610         * math/w_remainderf.c: Likewise.
6611         * math/w_remainderl.c: Likewise.
6612         * math/w_scalb.c: Likewise.
6613         * math/w_scalbf.c: Likewise.
6614         * math/w_scalbl.c: Likewise.
6615         * math/w_sinh.c: Likewise.
6616         * math/w_sinhf.c: Likewise.
6617         * math/w_sinhl.c: Likewise.
6618         * math/w_sqrt.c: Likewise.
6619         * math/w_sqrtf.c: Likewise.
6620         * math/w_sqrtl.c: Likewise.
6621         * math/w_tgamma.c: Likewise.
6622         * math/w_tgammaf.c: Likewise.
6623         * math/w_tgammal.c: Likewise.
6625         * math/w_acos_compat.c: New file copied from above and
6626         adjusted for new #includes path
6627         * math/w_acosf_compat.c: Likewise.
6628         * math/w_acosh_compat.c: Likewise.
6629         * math/w_acoshf_compat.c: Likewise.
6630         * math/w_acoshl_compat.c: Likewise.
6631         * math/w_acosl_compat.c: Likewise.
6632         * math/w_asin_compat.c: Likewise.
6633         * math/w_asinf_compat.c: Likewise.
6634         * math/w_asinl_compat.c: Likewise.
6635         * math/w_atan2_compat.c: Likewise.
6636         * math/w_atan2f_compat.c: Likewise.
6637         * math/w_atan2l_compat.c: Likewise.
6638         * math/w_atanh_compat.c: Likewise.
6639         * math/w_atanhf_compat.c: Likewise.
6640         * math/w_atanhl_compat.c: Likewise.
6641         * math/w_cosh_compat.c: Likewise.
6642         * math/w_coshf_compat.c: Likewise.
6643         * math/w_coshl_compat.c: Likewise.
6644         * math/w_exp10_compat.c: Likewise.
6645         * math/w_exp10f_compat.c: Likewise.
6646         * math/w_exp10l_compat.c: Likewise.
6647         * math/w_exp2_compat.c: Likewise.
6648         * math/w_exp2f_compat.c: Likewise.
6649         * math/w_exp2l_compat.c: Likewise.
6650         * math/w_fmod_compat.c: Likewise.
6651         * math/w_fmodf_compat.c: Likewise.
6652         * math/w_fmodl_compat.c: Likewise.
6653         * math/w_hypot_compat.c: Likewise.
6654         * math/w_hypotf_compat.c: Likewise.
6655         * math/w_hypotl_compat.c: Likewise.
6656         * math/w_j0_compat.c: Likewise.
6657         * math/w_j0f_compat.c: Likewise.
6658         * math/w_j0l_compat.c: Likewise.
6659         * math/w_j1_compat.c: Likewise.
6660         * math/w_j1f_compat.c: Likewise.
6661         * math/w_j1l_compat.c: Likewise.
6662         * math/w_jn_compat.c: Likewise.
6663         * math/w_jnf_compat.c: Likewise.
6664         * math/w_jnl_compat.c: Likewise.
6665         * math/w_log10_compat.c: Likewise.
6666         * math/w_log10f_compat.c: Likewise.
6667         * math/w_log10l_compat.c: Likewise.
6668         * math/w_log2_compat.c: Likewise.
6669         * math/w_log2f_compat.c: Likewise.
6670         * math/w_log2l_compat.c: Likewise.
6671         * math/w_log_compat.c: Likewise.
6672         * math/w_logf_compat.c: Likewise.
6673         * math/w_logl_compat.c: Likewise.
6674         * math/w_pow_compat.c: Likewise.
6675         * math/w_powf_compat.c: Likewise.
6676         * math/w_powl_compat.c: Likewise.
6677         * math/w_remainder_compat.c: Likewise.
6678         * math/w_remainderf_compat.c: Likewise.
6679         * math/w_remainderl_compat.c: Likewise.
6680         * math/w_scalb_compat.c: Likewise.
6681         * math/w_scalbf_compat.c: Likewise.
6682         * math/w_scalbl_compat.c: Likewise.
6683         * math/w_sinh_compat.c: Likewise.
6684         * math/w_sinhf_compat.c: Likewise.
6685         * math/w_sinhl_compat.c: Likewise.
6686         * math/w_sqrt_compat.c: Likewise.
6687         * math/w_sqrtf_compat.c: Likewise.
6688         * math/w_sqrtl_compat.c: Likewise.
6689         * math/w_tgamma_compat.c: Likewise.
6690         * math/w_tgammaf_compat.c: Likewise.
6691         * math/w_tgammal_compat.c: Likewise.
6693         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
6694         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6695         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6696         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6697         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6698         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6699         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6700         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6701         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6702         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
6703         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
6704         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
6705         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6706         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6707         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6708         * sysdeps/ia64/fpu/w_powl.c: Likewise.
6709         * sysdeps/ia64/fpu/w_powf.c: Likewise.
6710         * sysdeps/ia64/fpu/w_pow.c: Likewise.
6711         * sysdeps/ia64/fpu/w_logl.c: Likewise.
6712         * sysdeps/ia64/fpu/w_logf.c: Likewise.
6713         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6714         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6715         * sysdeps/ia64/fpu/w_log2.c: Likewise.
6716         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6717         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6718         * sysdeps/ia64/fpu/w_log10.c: Likewise.
6719         * sysdeps/ia64/fpu/w_log.c: Likewise.
6720         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6721         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6722         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6723         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6724         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6725         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6726         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6727         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6728         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6729         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6730         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6731         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6732         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6733         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6734         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6735         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6736         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6737         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6738         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6739         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6740         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6741         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6742         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6743         * sysdeps/ia64/fpu/w_asin.c: Likewise.
6744         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6745         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6746         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6747         * sysdeps/ia64/fpu/w_acos.c: Likewise.
6748         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
6749         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
6750         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
6751         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
6752         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
6753         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
6754         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
6755         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
6756         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
6757         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
6758         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
6759         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
6760         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
6761         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
6762         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
6763         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
6764         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
6765         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
6766         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
6767         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
6768         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
6769         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
6770         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
6771         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
6772         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
6773         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
6774         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
6775         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
6776         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
6777         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
6778         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
6779         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
6780         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
6781         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
6782         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
6783         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
6784         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
6785         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
6786         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
6787         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
6788         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
6789         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
6790         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
6791         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
6792         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
6793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
6794         Likewise.
6795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
6796         Likewise.
6797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
6798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
6799         Likewise.
6800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
6801         Likewise.
6802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
6803         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6804         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6805         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6806         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6807         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6808         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
6810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
6812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6813         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6814         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6815         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6816         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6818         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
6819         and adjusted for new #includes path
6820         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
6821         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
6822         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
6823         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
6824         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
6825         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
6826         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
6827         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
6828         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
6829         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
6830         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
6831         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
6832         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
6833         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
6834         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
6835         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
6836         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
6837         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
6838         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
6839         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
6840         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
6841         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
6842         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
6843         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
6844         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
6845         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
6846         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
6847         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
6848         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
6849         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
6850         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
6851         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
6852         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
6853         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
6854         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
6855         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
6856         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
6857         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
6858         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
6859         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
6860         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
6861         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
6862         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
6863         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
6864         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
6865         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
6866         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
6867         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
6868         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
6869         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
6870         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
6871         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
6872         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
6873         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
6874         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
6875         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
6876         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
6877         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
6878         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
6879         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6880         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6881         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
6882         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6883         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
6884         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6885         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
6886         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6887         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
6888         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6889         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
6890         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
6891         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
6892         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6893         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
6894         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6895         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
6896         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6897         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
6898         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6899         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
6900         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6901         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
6902         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6903         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
6904         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6905         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
6906         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6907         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
6908         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6909         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
6910         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6911         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
6912         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
6913         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
6914         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6915         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
6916         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6917         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
6918         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
6920         Likewise.
6921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
6922         Likewise.
6923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
6924         Likewise.
6925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
6926         Likewise.
6927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
6928         Likewise.
6929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
6930         Likewise.
6931         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6932         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6933         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6934         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6935         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6936         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6938         Likewise.
6939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6940         Likewise.
6941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6942         Likewise.
6943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6944         Likewise.
6945         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6946         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6947         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6948         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6950 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6952         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
6953         __jmp_buf_internal_tag.
6955         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
6956         preserve NaN payload if [__mips_nan2008].
6957         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6959         [BZ #21022]
6960         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
6962 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6964         * sysdeps/i386/fpu/libm-test-ulps: Update.
6966 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6968         * sysdeps/ia64/strcat.c: Remove file.
6969         * sysdeps/powerpc/strcat.c: Likewise.
6970         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
6971         C implementation.
6972         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
6973         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
6975 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6976             Steven Munroe  <sjmunroe@us.ibm.com>
6977             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6979         [BZ #20822]
6980         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6981         (__lll_lock_elision): Access adapt_count via C11 atomics.
6982         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6983         (__lll_trylock_elision): Likewise.
6984         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6985         (__lll_unlock_elision):  Update adapt_count variable inside the
6986         critical section using C11 atomics.
6988 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6990         * math/test-fenvinline.c (do_test): Disable tests of raised
6991         exceptions if !EXCEPTION_TESTS (FLOAT).
6993 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6995         [BZ #19390]
6996         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
6997         maximum string size.
6998         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
6999         in pointer addition.
7000         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
7001         Likewise.
7003 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7005         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
7006         passed to tst-ldconfig-X.sh.
7008 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
7010         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7012 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7014         [BZ #21019]
7015         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7016         New syscall entry.
7017         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7018         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7019         lseek.
7021         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7022         power4 glibc for powerpc-linux-gnu.
7024 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7026         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7027         semctl.
7029 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7031         * math/test-nearbyint-except.c: Include <stdbool.h>.
7032         (any_supported): New variable.
7033         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
7034         set any_supported.
7035         (do_test): Return 77 if no floating-point type supported
7036         exceptions.
7038         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7039         condition on [__mips_hard_float].
7041 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7043         [BZ #21014]
7044         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7045         in pointer addition.
7046         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7048 2017-01-02  Torvald Riegel  <triegel@redhat.com>
7050         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
7051         new condvar.
7053 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7055         * scripts/build-many-glibcs.py (Context.checkout): Default
7056         binutils version to 2.28 branch.
7058 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7060         * support/support_format_netent.c (support_format_netent): Work
7061         around alpha struct netent definition difference.
7063 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7065         * support/xwrite.c (xwrite): Use %td for pointer difference.
7067 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7069         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
7070         have-tunables only.
7071         (tests-static): Add tst-malloc-usable-static-tunables for
7072         have-tunables only.
7074 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
7076         * scripts/config.guess: Update to version 2017-01-01.
7077         * scripts/config.sub: Update to version 2017-01-01.
7079         * NEWS: Update copyright dates.
7080         * catgets/gencat.c (print_version): Likewise.
7081         * csu/version.c (banner): Likewise.
7082         * debug/catchsegv.sh: Likewise.
7083         * debug/pcprofiledump.c (print_version): Likewise.
7084         * debug/xtrace.sh (do_version): Likewise.
7085         * elf/ldconfig.c (print_version): Likewise.
7086         * elf/ldd.bash.in: Likewise.
7087         * elf/pldd.c (print_version): Likewise.
7088         * elf/sotruss.sh: Likewise.
7089         * elf/sprof.c (print_version): Likewise.
7090         * iconv/iconv_prog.c (print_version): Likewise.
7091         * iconv/iconvconfig.c (print_version): Likewise.
7092         * locale/programs/locale.c (print_version): Likewise.
7093         * locale/programs/localedef.c (print_version): Likewise.
7094         * login/programs/pt_chown.c (print_version): Likewise.
7095         * malloc/memusage.sh (do_version): Likewise.
7096         * malloc/memusagestat.c (print_version): Likewise.
7097         * malloc/mtrace.pl: Likewise.
7098         * manual/libc.texinfo: Likewise.
7099         * nptl/version.c (banner): Likewise.
7100         * nscd/nscd.c (print_version): Likewise.
7101         * nss/getent.c (print_version): Likewise.
7102         * nss/makedb.c (print_version): Likewise.
7103         * posix/getconf.c (main): Likewise.
7104         * scripts/test-installation.pl: Likewise.
7105         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7107         * All files with FSF copyright notices: Update copyright dates
7108         using scripts/update-copyrights.
7109         * intl/plural.c: Regenerated.
7110         * locale/programs/charmap-kw.h: Likewise.
7111         * locale/programs/locfile-kw.h: Likewise.
7113 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7115         [BZ #20593]
7116         Update DNS RR type definitions.
7117         * scripts/gen-rrtypes.py: New file.
7118         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
7119         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
7120         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
7121         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
7122         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
7123         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
7124         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
7125         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
7126         ns_t_ta, ns_t_dlv.
7127         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
7128         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
7129         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
7130         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
7131         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
7132         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
7133         Define.
7134         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
7135         entry for ns_t_zxfr.
7137 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7139         [BZ #18784]
7140         CVE-2015-5180
7141         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
7142         T_UNSPEC.  Adjust value.
7143         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
7144         * resolv/res_query.c (__libc_res_nquery): Likewise.
7145         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
7146         QTYPEs.
7147         * resolv/tst-resolv-qtypes.c: New file.
7148         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
7149         (tst-resolv-qtypes): Link against libresolv and libpthread.
7151 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7153         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
7155 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7157         * manual/tunables.texi: New chapter.
7158         * manual/Makefile (chapters): Add it.
7159         * manual/probes.texi (@node): Point to the Tunables chapter.
7161         * Makeconfig (have-tunables): Check for non-negative instead
7162         of positive.
7163         * configure.ac: Add 'valstring' as a valid value for
7164         --enable-tunables.
7165         * configure: Regenerate.
7166         * elf/Makefile (have-tunables): Check for non-negative instead
7167         of positive.
7168         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
7169         dl-tunables.c.
7170         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
7171         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7172         (tunables_strdup): Likewise.
7173         (disable_tunables): Likewise.
7174         (parse_tunables): Likewise.
7175         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
7176         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7177         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
7178         (TUNABLES_FRONTEND_yes): New macro, define as
7179         TUNABLES_FRONTEND_valstring by default.
7180         * manual/install.texi: Document new acceptable values for
7181         --enable-tunables.
7182         * INSTALL: Regenerate.
7184         * config.make.in (have-loop-to-function): Define.
7185         * elf/Makefile (CFLAGS-dl-tunables.c): Add
7186         -fno-tree-loop-distribute-patterns.
7187         * elf/dl-tunables.c: Include libc-internals.h.
7188         (GLIBC_TUNABLES): New macro.
7189         (tunables_strdup): New function.
7190         (parse_tunables): New function.
7191         (min_strlen): New function.
7192         (__tunables_init): Use the new functions and macro.
7193         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
7194         * malloc/tst-malloc-usable-tunables.c: New test case.
7195         * malloc/tst-malloc-usable-static-tunables.c: New test case.
7196         * malloc/Makefile (tests, tests-static): Add tests.
7198         * manual/install.texi: Add --enable-tunables option.
7199         * INSTALL: Regenerate.
7200         * README.tunables: New file.
7201         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
7202         (before-compile): Generate dl-tunable-list.h early.
7203         * config.h.in: Add HAVE_TUNABLES.
7204         * config.make.in: Add have-tunables.
7205         * configure.ac: Add --enable-tunables option.
7206         * configure: Regenerate.
7207         * csu/init-first.c (__libc_init_first): Move
7208         __libc_init_secure earlier...
7209         * csu/init-first.c (LIBC_START_MAIN):... to here.
7210         Include dl-tunables.h, libc-internal.h.
7211         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
7212         binaries.
7213         * elf/Makefile (dl-routines): Add dl-tunables.
7214         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
7215         namespace.
7216         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
7217         only when !HAVE_TUNABLES.
7218         * elf/rtld.c (process_envvars): Likewise.
7219         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
7220         (_dl_sysdep_start): Call __tunables_init.
7221         * elf/dl-tunable-types.h: New file.
7222         * elf/dl-tunables.c: New file.
7223         * elf/dl-tunables.h: New file.
7224         * elf/dl-tunables.list: New file.
7225         * malloc/tst-malloc-usable-static.c: New test case.
7226         * malloc/Makefile (tests-static): Add it.
7227         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
7228         Define TUNABLE_NAMESPACE.
7229         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
7230         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
7231         callback functions.
7232         (ptmalloc_init): Set tunable values.
7233         * scripts/gen-tunables.awk: New file.
7234         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
7235         (_dl_sysdep_start): Call __tunables_init.
7237 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7239         * resolv/resolv.h (RES_BLAST): Deprecate.
7240         * resolv/res_debug.c (p_option): Remove RES_BLAST.
7241         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
7242         to RES_BLAST.
7244 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7246         [BZ #19582]
7247         Deprecate RES_USE_INET6.
7248         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
7249         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
7250         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
7251         RES_USE_INET6.
7252         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
7253         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
7254         (_nss_nisplus_gethostbyaddr_r): Likewise.
7255         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
7256         of res_use_inet6.
7257         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
7258         instead of RES_USE_INET6.
7259         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
7260         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
7261         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
7262         Likewise.
7263         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
7264         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
7265         Likewise.
7266         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
7267         (_nss_dns_gethostbyname_r): Likewise.
7268         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
7269         alternate RES_USE_INET6 handling.
7270         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
7271         instead of RES_USE_INET6.
7272         * resolv/res_init.c (res_setoptions): Likewise.
7273         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
7274         * resolv/resolv-internal.h: New file.
7275         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
7276         make the deprecation warning non-fatal.
7277         * resolv/README (Using the resolver in multi-threaded code): Drop
7278         reference to RES_USE_INET6.
7279         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
7280         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
7282 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7284         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
7285         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
7286         tst-resolv-search.
7287         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
7288         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
7289         with libresolv and libpthread.
7290         * resolv/tst-bug18665.c: New file.
7291         * resolv/tst-bug18665-tcp: Likewise.
7292         * resolv/tst-res_use_inet6: Likewise.
7293         * resolv/tst-resolv-basic: Likewise.
7294         * resolv/tst-resolv-network: Likewise.
7295         * resolv/tst-resolv-search: Likewise.
7296         * support/Makefile (libsupport-routines): Add check_addrinfo,
7297         check_dns_packet, check_hostent, check_netent, resolv_test,
7298         support_format_address_family, support_format_addrinfo,
7299         support_format_dns_packet, support_format_herrno,
7300         support_format_hostent, support_format_netent, support_run_diff,
7301         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
7302         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
7303         xstrdup, xwrite.
7304         * support/check_addrinfo.c: New file.
7305         * support/check_dns_packet.c: Likewise.
7306         * support/check_hostent.c: Likewise.
7307         * support/check_netent.c: Likewise.
7308         * support/check_nss.h: Likewise.
7309         * support/format_nss.h: Likewise.
7310         * support/resolv_test.c: Likewise.
7311         * support/resolv_test.h: Likewise.
7312         * support/run_diff.h: Likewise.
7313         * support/support_format_address_family.c: Likewise.
7314         * support/support_format_addrinfo.c: Likewise.
7315         * support/support_format_dns_packet.c: Likewise.
7316         * support/support_format_herrno.c: Likewise.
7317         * support/support_format_hostent.c: Likewise.
7318         * support/support_format_netent.c: Likewise.
7319         * support/support_run_diff.c: Likewise.
7320         * support/xaccept.c: Likewise.
7321         * support/xbind.c: Likewise.
7322         * support/xconnect.c: Likewise.
7323         * support/xfclose.c: Likewise.
7324         * support/xfopen.c: Likewise.
7325         * support/xgetsockname.c: Likewise.
7326         * support/xlisten.c: Likewise.
7327         * support/xmemstream.c: Likewise.
7328         * support/xmemstream.h: Likewise.
7329         * support/xpoll.c: Likewise.
7330         * support/xpthread_once.c: Likewise.
7331         * support/xrecvfrom.c: Likewise.
7332         * support/xsendto.c: Likewise.
7333         * support/xsetsockopt.c: Likewise.
7334         * support/xstdio.h: Likewise.
7335         * support/xstrdup.c: Likewise.
7336         * support/support.h (xstrdup): Declare.
7337         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
7338         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
7339         * support/xthread.h (xpthread_once): Likwise.
7340         * support/xunistd.h (xwrite): Declare.
7342 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7344         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
7345         (test_verbose): Declare.
7346         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
7347         * support/support_test_main.c (default_options): Likewise.
7348         (usage, support_test_main): Handle 'v'.
7349         (test_verbose): Define.
7350         * support/tst-support_record_failure.c (do_test): Use
7351         test_verbose.
7352         * support/tst-support_record_failure-2.sh (different_status): Add
7353         --verbose test.
7355 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7357         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
7358         test failures are recorded.
7359         * support/check.c (support_print_failure_impl): Call
7360         support_record_failure.
7361         (support_exit_failure_impl): Call support_record_failure if status
7362         indicates failure.
7363         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
7364         * support/xasprintf.c (xasprintf): Likewise.
7365         * support/xfork.c (xfork): Likewise.
7366         * support/xpthread_check_return.c (xpthread_check_return):
7367         Likewise.
7368         * support/xsocket.c (xsocket): Likeweise.
7369         * support/xwaitpid.c (xwaitpid): Likewise.
7370         * support/support_record_failure.c (struct test_failures): Adjust
7371         to coding style.
7372         * support/support_test_verify_impl.c (support_test_verify_impl):
7373         Adjust error messages.
7374         * support/tst-support_record_failure-2.sh (different_status):
7375         Adjust error messages.
7377 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7379         * support/namespace.h: New file.
7380         * support/support_become_root.c: Likewise.
7381         * support/support_enter_network_namespace.c: Likewise.
7382         * support/tst-support-namespace.c: Likewise.
7383         * support/xsocket.c: Likewise.
7384         * support/xsocket.h: Likewise.
7385         * support/Makefile (libsupport-routines): Add support_become_root,
7386         support_enter_network_namespace, xsocket.
7387         (tests): Add tst-support-namespace.
7389 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7391         [BZ #17252]
7392         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
7393         __USE_GNU.
7395 2016-12-31  Torvald Riegel  <triegel@redhat.com>
7397         [BZ #13165]
7398         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
7399         use new algorithm.
7400         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7401         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7402         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7403         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7404         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
7405         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
7406         __condvar_cleanup_waiting, __condvar_dec_grefs,
7407         __pthread_cond_wait_common): New.
7408         (__condvar_cleanup): Remove.
7409         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
7410         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
7411         Likewise.
7412         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
7413         Likewise.
7414         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
7415         * nptl/tst-cond1.c: Add comment.
7416         * nptl/tst-cond20.c (do_test): Adapt.
7417         * nptl/tst-cond22.c (do_test): Likewise.
7418         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
7419         structure.
7420         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7421         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7422         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7423         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
7424         Likewise.
7425         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7426         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7427         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7428         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7429         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7430         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
7431         Likewise.
7432         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
7433         Likewise.
7434         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7435         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
7436         (COND_CLOCK_BITS): Adapt.
7437         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
7438         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
7439         __PTHREAD_COND_SHARED_MASK): New.
7440         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
7441         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
7442         * nptl/nptl_lock_constants.pysym: Adapt.
7443         * nptl/test-cond-printers.py: Adapt.
7444         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
7445         cond_compat_check_and_clear): Adapt.
7446         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
7447         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7448         (__pthread_cond_timedwait): ... and move here.
7449         * nptl/DESIGN-condvar.txt: Remove file.
7450         * nptl/lowlevelcond.sym: Likewise.
7451         * nptl/pthread_cond_timedwait.c: Likewise.
7452         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
7453         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
7454         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
7455         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
7456         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
7457         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
7458         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
7459         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
7460         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
7461         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
7462         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
7463         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
7464         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
7465         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
7466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
7467         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
7469 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
7471         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7472         (fromfp): New declaration.
7473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7476         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
7477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
7478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7479         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7481         * math/math.h: Include <bits/types.h>.
7482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
7483         constant and macro.
7484         (FP_INT_DOWNWARD): Likewise.
7485         (FP_INT_TOWARDZERO): Likewise.
7486         (FP_INT_TONEARESTFROMZERO): Likewise.
7487         (FP_INT_TONEAREST): Likewise.
7488         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
7489         (fromfpf): Likewise.
7490         (fromfpl): Likewise.
7491         (ufromfp): Likewise.
7492         (ufromfpf): Likewise.
7493         (ufromfpl): Likewise.
7494         (fromfpx): Likewise.
7495         (fromfpxf): Likewise.
7496         (fromfpxl): Likewise.
7497         (ufromfpx): Likewise.
7498         (ufromfpxf): Likewise.
7499         (ufromfpxl): Likewise.
7500         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
7501         s_fromfpxF and s_ufromfpxF.
7502         * math/gen-fromfp-tests.py: New file.
7503         * math/gen-fromfp-tests-inputs: Likewise.
7504         * math/libm-test.inc: Include <stdint.h>
7505         (check_intmax_t): New function.
7506         (check_uintmax_t): Likewise.
7507         (struct test_fiu_M_data): New type.
7508         (struct test_fiu_U_data): Likewise.
7509         (RUN_TEST_fiu_M): New macro.
7510         (RUN_TEST_LOOP_fiu_M): Likewise.
7511         (RUN_TEST_fiu_U): Likewise.
7512         (RUN_TEST_LOOP_fiu_U): Likewise.
7513         (fromfp_test_data): New array.
7514         (fromfp_test): New function.
7515         (fromfpx_test_data): New array.
7516         (fromfpx_test): New function.
7517         (ufromfp_test_data): New array.
7518         (ufromfp_test): New function.
7519         (ufromfpx_test_data): New array.
7520         (ufromfpx_test): New function.
7521         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
7522         ufromfpx_test.
7523         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
7524         characters.
7525         * math/test-tgmath-ret.c: Include <stdint.h>.
7526         (rm): New variable.
7527         (width): Likewise.
7528         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
7529         called function.
7530         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
7531         CHECK_RET_CONST_TYPE.
7532         (CHECK_RET_CONST_DOUBLE): Likewise.
7533         (CHECK_RET_CONST_LDOUBLE): Likewise.
7534         (CHECK_RET_CONST): Take extra arguments and pass them to calls
7535         macros.
7536         (fromfp): New CHECK_RET_CONST call.
7537         (ufromfp): Likewise.
7538         (fromfpx): Likewise.
7539         (ufromfpx): Likewise.
7540         (do_test): Call check_return_fromfp, check_return_ufromfp,
7541         check_return_fromfpx and check_return_ufromfpx.
7542         * math/test-tgmath.c: Include <stdint.h>
7543         (NCALLS): Increase to 138.
7544         (F(compile_test)): Initialize i.  Call fromfp functions.
7545         (F(fromfp)): New function.
7546         (F(fromfpx)): Likewise.
7547         (F(ufromfp)): Likewise.
7548         (F(ufromfpx)): Likewise.
7549         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
7550         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
7551         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
7552         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
7553         ufromfpxl.
7554         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
7555         ufromfp and ufromfpx.
7556         * math/fromfp.h: New file.
7557         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
7558         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
7559         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
7560         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
7561         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
7562         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
7563         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
7564         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
7565         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
7566         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
7567         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
7568         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
7569         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
7570         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
7571         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
7572         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
7573         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
7574         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
7575         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
7576         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
7577         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
7578         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
7579         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
7580         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
7581         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
7582         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
7583         ufromfp, fromfpx and ufromfpx.
7584         (CFLAGS-nldbl-fromfp.c): New variable.
7585         (CFLAGS-nldbl-fromfpx.c): Likewise.
7586         (CFLAGS-nldbl-ufromfp.c): Likewise.
7587         (CFLAGS-nldbl-ufromfpx.c): Likewise.
7588         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
7589         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
7590         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
7591         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
7592         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
7593         * sysdeps/nacl/libm.abilist: Update.
7594         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7595         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7596         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7597         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7598         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7599         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7600         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7601         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7602         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7603         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7604         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7605         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7607         Likewise.
7608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7609         Likewise.
7610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7611         Likewise.
7612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7613         Likewise.
7614         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7615         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7616         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7617         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7618         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7620         Likewise.
7621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7622         Likewise.
7623         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7624         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7625         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7627 2016-12-30  Florian Weimer  <fweimer@redhat.com>
7629         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
7630         compat-gethnamaddr.
7631         (CPPFLAGS): Remove.
7632         * resolv/gethnamaddr.c: Rename ...
7633         * resolv/compat-gethnamaddr.c: ... to this file.
7634         (_endhtent): Make static.
7635         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
7636         symbol.
7637         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
7638         compat symbol.
7639         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
7640         symbol.
7641         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
7642         Turn into compat symbol.
7643         * include/resolv.h (_endhtent): Remove declaration.
7645 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
7647         * bits/types.h (__intmax_t): New typedef.
7648         (__uintmax_t): Likewise.
7649         * sysdeps/generic/stdint.h: Include <bits/types.h>.
7650         (intmax_t): Define using __intmax_t.
7651         (uintmax_t): Define using __uintmax_t.
7653         * support/Makefile (tests-special): Make definition conditional on
7654         [$(run-built-tests) = yes].
7655         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
7656         on [$(run-built-tests) = yes].
7658 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7660         * Rules (tests): Add tests-printers-programs to tests to be
7661         built.
7663 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7665         * sysvipc/Makefile (tests): Add test-sysvshm.
7666         * sysvipc/test-sysvshm.c: New file.
7668         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
7669         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
7670         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
7671         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
7672         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
7673         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
7674         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
7675         Likewise.
7676         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
7677         Likewise.
7678         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
7679         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
7680         is defined.
7682         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
7683         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
7684         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
7685         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
7686         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
7687         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
7688         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
7689         Likewise.
7690         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
7691         Likewise.
7692         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
7693         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
7694         defined.
7696         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7697         oldshmctl.
7698         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
7699         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
7700         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
7701         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
7702         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
7703         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
7704         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
7705         Likewise.
7706         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
7707         Likewise.
7708         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
7709         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
7710         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
7711         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
7712         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
7713         implementation.
7714         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
7715         if it is defined.
7717         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
7718         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
7719         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
7720         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
7721         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
7722         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
7723         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
7724         Likewise.
7725         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
7726         Likewise.
7727         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
7728         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
7729         Define to __NR_osf_shmat.
7730         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
7731         defined.
7733         * sysvipc/Makefile (tests): Add test-sysvsem.
7734         * sysvipc/test-sysvsem.c: New file.
7736         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
7737         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
7738         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
7739         Likewise.
7740         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
7741         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
7742         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
7743         Likewise.
7744         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
7745         Likewise.
7746         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
7747         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
7748         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
7749         add a comment about s390 syscall difference from default one.
7750         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
7751         syscall if it is defined.
7753         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
7754         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
7755         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
7756         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
7757         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
7758         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
7759         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
7760         Likewise.
7761         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
7762         Likewise.
7763         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
7764         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
7765         defined.
7767         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
7768         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
7769         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
7770         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
7771         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
7772         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
7773         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
7774         Likewise.
7775         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
7776         Likewise.
7777         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
7778         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
7779         if it is defined.
7781         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7782         oldsemctl.
7783         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
7784         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
7785         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
7786         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
7787         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
7788         implementation.
7789         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
7790         syscall if it is defined.
7791         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
7792         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
7793         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
7794         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
7795         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
7796         Likewise.
7797         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
7799         * sysvipc/Makefile (tests): Add test-sysvmsg.
7800         * sysvipc/test-sysvmsg.c: New file.
7801         * support/check.h (FAIL_UNSUPPORTED): New define.
7803         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
7804         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
7805         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
7806         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
7807         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
7808         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
7809         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
7810         Likewise.
7811         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
7812         Likewise.
7813         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
7814         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
7815         define.
7817         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
7818         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
7819         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
7820         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
7821         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
7822         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
7823         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
7824         Likewise.
7825         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
7826         Likewise.
7827         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
7828         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
7829         if defined.
7831         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
7832         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
7833         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7834         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7835         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7836         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
7837         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7838         Likewise.
7839         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
7840         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
7841         Likewise.
7842         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
7843         if defined.
7844         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
7846         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7847         oldmsgctl.
7848         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
7849         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
7850         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
7851         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
7852         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7853         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7854         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7855         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7856         Likewise.
7857         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
7858         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
7859         implementation.
7860         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
7861         if defined.
7863         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
7864         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
7865         definition and define its own.
7866         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
7867         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
7868         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
7869         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
7870         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
7871         definitions to common header.
7872         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
7873         operation from ipc_ops.h.
7875         * sysdeps/unix/sysv/linux/kernel-features.h
7876         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
7877         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7878         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
7879         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7880         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7881         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7882         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7883         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7884         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7885         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7886         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7887         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7888         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7889         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7890         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7892 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7894         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
7895         overflow in pointer addition.
7897 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7899         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7900         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
7901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7902         (strchr): Add __strchr_power8 to list of strchr functions.
7903         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
7904         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
7905         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
7906         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
7907         (strchr): Add __strchr_power8 to ifunc list.
7908         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
7909         (__strchrnul): Add __strchrnul_power8 to ifunc list.
7910         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
7911         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
7913 2016-12-28  Florian Weimer  <fweimer@redhat.com>
7915         * support/Makefile (libsupport-routines): Add
7916         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
7917         (tests): Add tst-support_record_failure.
7918         (tests-special): tst-support_record_failure-2.
7919         (tst-support_record_failure-2.out): Depend on
7920         tst-support_record_failure-2.sh and tst-support_record_failure.
7921         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
7922         (support_test_verify_impl, support_record_failure)
7923         (support_report_failure, support_report_failure_reset): Declare.
7924         * support/support_test_main.c (adjust_exit_status): New function.
7925         (support_test_main): Call it to incorporate record test failures.
7926         * support/support_test_verify_impl.c: New file.
7927         * support/support_record_failure.c: Likewise.
7928         * support/tst-support_record_failure.c: Likewise.
7929         * support/tst-support_record_failure-2.sh: Likewise.
7930         * support/xunistd.h: Likewise.
7931         * support/xfork.c: Likewise.
7932         * support/xwaitpid.c: Likewise.
7934 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
7936         * scripts/check-c++-types.sh: Add comments.
7938 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
7940         [BZ #19514]
7941         * resolv/res_send.c: Fix typo in comment.
7942         * sysdeps/i386/i386-mcount.S: Likewise.
7943         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7944         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7945         * sysdeps/sparc/sparc-mcount.S: Likewise.
7947 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7949         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
7950         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
7951         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
7952         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
7953         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
7954         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
7955         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
7956         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
7958 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7960         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
7962 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7964         [BZ #17252]
7965         * posix/unistd.h (getentropy): Declare.
7967 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7969         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
7970         Remove.
7971         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
7972         (cmd): Remove spoof, nospoof, spoofalert.
7973         (parse_line): Ignore spoof-related lines.
7974         (do_init): Do not process RESOLV_SPOOF_CHECK.
7976 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7978         [BZ #20964]
7979         sunrpc: Always obtain AF_INET addresses from NSS.
7980         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
7981         * sunrpc/rpc_gethostbyname.c: New file.
7982         * sunrpc/Makefile (routines): Add it.
7983         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
7984         * sunrpc/clnt_simp.c (callrpc): Likewise.
7985         * sunrpc/getrpcport.c (getrpcport): Likewise.
7987 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7989         * sunrpc/rpcinfo.c: Remove.
7990         * sunrpc/Makefile: Remove comments referring to rpcinfo.
7992 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7994         [BZ #19387]
7995         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
7996         addition.
7997         * string/test-memchr.c (do_test): Remove alignment limitation.
7998         (test_main): Add test that trigger BZ #19387.
8000 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8002         [BZ #7065]
8003         Enable stack protectore if requested by ./configure.
8004         * Makeconfig (+stack-protector): New variable.
8005         (+cflags): Use it.
8007 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8009         [BZ #7065]
8010         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8011         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8012         (__rt_sigreturn_stub): Use inhibit_stack_protector.
8013         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8014         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8016 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8018         [BZ #7065]
8019         * login/Makefile (pt_chown-cflags): Remove.
8020         * nscd/Makefile (CFLAGS-nscd): Likewise.
8021         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8023 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8025         [BZ #7065]
8026         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8027         non-libc-linking testcase.
8029 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8030             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8031             Florian Weimer  <fweimer@redhat.com>
8033         [BZ #7065]
8034         PLT avoidance for __stack_chk_fail*.
8035         * debug/Makefile (CFLAGS-stack_chk_fail.c)
8036         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8037         * debug/stack_chk_fail.c (__stack_chk_fail): Add
8038         __stack_chk_fail_local alias.
8039         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8040         (__stack_chk_fail): Turn into hidden reference to
8041         __stack_chk_fail_local.
8043 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8045         [BZ #7065]
8046         * configure.ac: Add check for unsupported stack-protection level.
8047         (libc_cv_predef_stack_protector): Remove.
8048         (no_ssp): New variable.
8049         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
8050         (stack_protector): Set to -fno-stack-protector similarly.
8051         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
8052         (libc_cv_asm_set_directive): Likewise.
8053         (libc_cv_protected_data): Likewise.
8054         (libc_cv_z_combreloc): Likewise.
8055         (libc_cv_hashstyle): Likewise.
8056         (libc_cv_has_glob_dat): Likewise.
8057         (libc_cv_output_format): Likewise.
8058         (libc_cv_output_format): Likewise.
8059         (libc_cv_ehdr_start): Likewise.
8060         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
8061         (LIBC_LINKER_FEATURE): Likewise.
8062         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
8064 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8066         [BZ #7065]
8067         * elf/Makefile (dummy-stack-chk-fail): New.
8068         (librtld.map): Use it.
8070 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8072         [BZ #7065]
8073         Compile the dynamic linker without stack protection.
8074         * elf/Makefile (elide-stack-protector): New.
8075         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
8076         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
8077         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
8078         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
8080 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8082         [BZ #7065]
8083         * config.make.in (have-ssp, no-stack-protector): New.
8084         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
8085         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
8086         (CFLAGS-sbrk.op): Likewise.
8087         (CFLAGS-brk.o): Likewise.
8088         (CFLAGS-brk.op): Likewise.
8089         * string/Makefile (CFLAGS-memcpy.c): Likewise.
8090         (CFLAGS-wordcopy.c): Likewise.
8092 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8094         [BZ #7065]
8095         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
8096         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
8097         * include/libc-symbols.h (inhibit_stack_protector): New macro.
8098         (__ifunc_resolver): Use it.
8099         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
8100         inhibit_stack_protector.
8101         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
8102         * elf/ifuncmain7.c (foo_ifunc): Likewise.
8103         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
8104         (foo_protected_ifunc): Likewise.
8105         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
8106         (foo_protected_ifunc): Likewise.
8107         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8108         * sysdeps/nacl/nacl_interface_query.c
8109         (nacl_interface_query_ifunc): Likewise.
8110         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8111         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
8112         Likewise.
8113         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
8114         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
8115         the generated vDSO syscall resolver.
8117 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8118             Florian Weimer  <fweimer@redhat.com>
8120         [BZ #7065]
8121         Initialize the stack guard earlier when linking statically.
8122         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
8123         (__pthread_initialize_minimal): Declare.
8124         * csu/libc-start.c (__pthread_initialize_minimal): Remove
8125         declaration.
8126         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
8127         stack canary and apply_irel initialization up.  Call
8128         __pthread_initialize_minimal only if linked in.
8129         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
8130         constant values.
8131         (__pthread_initialize_minimal): Remove.
8132         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
8133         (__pthread_initialize_minimal_internal): Do not call
8134         __libc_setup_tls.
8136 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8138         [BZ #7065]
8139         * configure.ac (libc_cv_ssp): Move up.
8140         (libc_cv_ssp_strong): Likewise.
8141         (libc_cv_ssp_all): New.
8142         (stack_protector): Augment, adding -fstack-protector-all.
8143         (no_stack_protector): New.
8144         (STACK_PROTECTOR_LEVEL): New.
8145         (AC_ARG_ENABLE(stack-protector)): New configure flag.
8146         * manual/install.texi (--enable-stack-protector): Document it.
8147         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
8149 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
8151         * README.pretty-printers: Must specify CPPFLAGS-* also.
8152         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
8153         (CPPFLAGS-test-mutex-printers.c): Define.
8154         (CPPFLAGS-test-condattr-printers.c): Define.
8155         (CPPFLAGS-test-cond-printers.c): Define.
8156         (CPPFLAGS-test-rwlockattr-printers.c): Define.
8157         (CPPFLAGS-test-rwlock-printers.c): Define.
8159         * nss/Makefile [ifeq (yes,$(have-thread-library))]
8160         (tests): Add tst-cancel-getpwuid_r.
8161         * nss/tst-cancel-getpwuid_r.c: New file.
8163         [BZ #11941]
8164         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
8165         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
8166         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
8167         tst-nodelete-dlclose.
8168         (modules-names): Add tst-nodelete-dlclose-dso and
8169         tst-nodelete-dlclose-plugin.
8170         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
8171         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
8172         ($(objpfx)tst-nodelete-dlclose): Define.
8173         ($(objpfx)tst-nodelete-dlclose.out): Define.
8175 2016-12-23  Florian Weimer  <fweimer@redhat.com>
8177         * scripts/test_printers_common.py: Log GDB output in case of
8178         Python detection failure.
8180 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8182         * configure.ac: Check for python3 or python.
8183         * configure: Regenerated.
8184         * config.make.in (PYTHON): New variable.
8185         * benchtests/Makefile: Don't define PYTHON.
8186         (bench): Define target only if PYTHON was defined.
8187         * Rules: Don't define PYTHON.
8188         Define pretty printer targets only if PYTHON was defined.
8189         (tests-printers): Add to tests-unsupported if PYTHON is not
8190         found.
8191         (python-flags, python-invoke): Remove.
8192         (tests-printers-out): Use PYTHON instead of python-invoke.
8194 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8196         [BZ #20978]
8197         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8198         Compare name == NULL, not name != NULL.
8200         * manual/texinfo.tex: Update to version 2016-09-18.18 with
8201         trailing whitespace removed.
8202         * scripts/config.guess: Update to version 2016-10-02.
8203         * scripts/config.sub: Update to version 2016-11-19.
8204         * scripts/install-sh: Update to version 2016-01-11.22.
8205         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
8206         * scripts/move-if-change: Update to version 2016-01-11 22:04.
8208 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
8210         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
8211         (do_one_test) Restore original string so iteration works.
8212         * string/string-inlines.c (do_test): Create better input strings.
8213         (test_main) Reduce number of testruns.
8214         * string/string-inlines.c (__old_strsep_1c): New function.
8215         (__old_strsep_2c): Likewise.
8216         (__old_strsep_3c): Likewise.
8217         * string/strsep.c (__strsep): Remove case of small delim string.
8218         Call strcspn directly rather than strpbrk.
8219         * string/bits/string2.h (__strsep): Remove define.
8220         (__strsep_1c): Remove.
8221         (__strsep_2c): Remove.
8222         (__strsep_3c): Remove.
8223         (strsep): Remove.
8224         * sysdeps/unix/sysv/linux/internal_statvfs.c
8225         (__statvfs_getflags): Rename to __strsep.
8227 2016-12-21  Florian Weimer  <fweimer@redhat.com>
8229         * csu/libc-tls.c (_dl_tls_setup): Remove.
8230         * elf/dl-tls.c (_dl_tls_setup): Likewise.
8231         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
8232         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
8234 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8236         [BZ #7065]
8237         * sysdeps/x86_64/Makefile [$(subdir) = elf]
8238         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
8240 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8241             Florian Weimer  <fweimer@redhat.com>
8243         [BZ #7065]
8244         * csu/Makefile (tests): Empty assignment and document it.
8245         (tests-static): Remove.
8246         * csu/tst-empty.c: Move to...
8247         * misc/tst-empty.c: ... here.  Switch to new test driver.
8248         * csu/tst-atomic.c: Move to...
8249         * misc/tst-atomic.c: ... here.  Switch to new test driver.
8250         * csu/tst-atomic-long.c: Move to...
8251         * misc/tst-atomic-long.c: ... here.
8252         * misc/Makefile (tests): Add tst-empty, tst-atomic,
8253         tst-atomic-long.
8254         (tests-static): Add tst-empty.
8256 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
8258         * manual/nss.texi: Change incorrect @vtable to @table.
8259         * manual/arith.texi: Convert @tables of variables to @vtables
8260         and remove unnecessary indexing.
8261         * manual/filesys.texi: Likewise.
8262         * manual/llio.texi: Likewise.
8263         * manual/memory.texi: Likewise.
8264         * manual/process.texi: Likewise.
8265         * manual/resource.texi: Likewise.
8266         * manual/search.texi: Likewise.
8267         * manual/signal.texi: Likewise.
8268         * manual/socket.texi: Likewise.
8269         * manual/stdio.texi: Likewise.
8270         * manual/sysinfo.texi: Likewise.
8271         * manual/syslog.texi: Likewise.
8272         * manual/terminal.texi: Likewise.
8273         * manual/time.texi: Likewise.
8274         * manual/users.texi: Likewise.
8276 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8278         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8279         (roundeven): New declaration.
8280         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
8281         macro.
8282         * math/Versions (roundeven): New libm symbol at version
8283         GLIBC_2.25.
8284         (roundevenf): Likewise.
8285         (roundevenl): Likewise.
8286         * math/Makefile (libm-calls): Add s_roundevenF.
8287         * math/libm-test.inc (roundeven_test_data): New array.
8288         (roundeven_test): New function.
8289         (main): Call roundeven_test.
8290         * math/test-tgmath.c (NCALLS): Increase to 134.
8291         (F(compile_test)): Call roundeven.
8292         (F(roundeven)): New function.
8293         * manual/arith.texi (Rounding Functions): Document roundeven,
8294         roundevenf and roundevenl.
8295         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
8296         * include/math.h (roundeven): Use libm_hidden_proto.
8297         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
8298         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
8299         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
8300         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
8301         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
8302         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
8303         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8304         roundeven.
8305         (CFLAGS-nldbl-roundeven.c): New variable.
8306         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
8307         * sysdeps/nacl/libm.abilist: Update.
8308         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8309         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8310         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8311         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8312         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8313         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8314         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8315         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8316         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8317         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8318         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8319         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8321         Likewise.
8322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8323         Likewise.
8324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8325         Likewise.
8326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8327         Likewise.
8328         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8329         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8330         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8331         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8332         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8334         Likewise.
8335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8336         Likewise.
8337         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8338         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8339         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8341 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8343         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
8344         preprocessor indentation inside #if.
8346 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8348         * math/libm-test.inc (fmt_ftostr): New function.
8349         (print_float, check_float_internal): Replace some uses of
8350         FTOSTR with uses of fmt_ftostr.
8351         (print_max_error, print_complex_max_error, print_function_ulps)
8352         (print_complex_function_ulps): Remove uses of the macros
8353         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
8354         * math/test-double.h (FTOSTR): Define to strfromd.
8355         (PRINTF_EXPR): Delete.
8356         (PRINTF_XEXPR): Likewise.
8357         (PRINTF_NEXPR): Likewise.
8358         * math/test-float.h (FTOSTR): Define to strfromf.
8359         (PRINTF_EXPR): Delete.
8360         (PRINTF_XEXPR): Likewise.
8361         (PRINTF_NEXPR): Likewise.
8362         * math/test-ldouble.h (FTOSTR): Define to strfroml.
8363         (PRINTF_EXPR): Delete.
8364         (PRINTF_XEXPR): Likewise.
8365         (PRINTF_NEXPR): Likewise.
8367 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8369         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8370         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
8371         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8372         (__lll_lock_elision): Decrement adapt_count while unlocking
8373         instead of before locking.
8374         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8375         (__lll_trylock_elision): Likewise.
8376         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
8377         (__lll_unlock_elision): Likewise.
8379 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8381         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
8382         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
8383         Use __libc_tbegin_retry macro.
8385 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8387         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
8388         Add -msoft-float.
8389         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
8390         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8391         Use __libc_t* transaction macros instead of __builtin_t*.
8392         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8393         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8395 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8397         * sysdeps/unix/sysv/linux/s390/elision-lock.c
8398         (__lll_lock_elision): Use atomics to load / store adapt_count.
8399         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8400         (__lll_trylock_elision): Likewise.
8402 2016-12-20  Florian Weimer  <fweimer@redhat.com>
8404         Do not require memset elimination in explicit_bzero test.
8405         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
8406         (enum test_expectation): Add NO_EXPECTATIONS.
8407         (subtests): NO_EXPECTATIONS for ordinary clear.
8408         (check_test_buffer): Handle NO_EXPECTATIONS.
8409         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
8411 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8413         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8414         (fmaxmag): New declaration.
8415         (fminmag): Likewise.
8416         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
8417         macro.
8418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
8419         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
8420         (fmaxmagf): Likewise.
8421         (fmaxmagl): Likewise.
8422         (fminmag): Likewise.
8423         (fminmagf): Likewise.
8424         (fminmagl): Likewise.
8425         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
8426         * math/s_fmaxmag_template.c: New file.
8427         * math/s_fminmag_template.c: Likewise.
8428         * math/libm-test.inc (fmaxmag_test_data): New array.
8429         (fmaxmag_test): New function.
8430         (fminmag_test_data): New array.
8431         (fminmag_test): New function.
8432         (main): Call fmaxmag_test and fminmag_test.
8433         * math/test-tgmath.c (NCALLS): Increase to 132.
8434         (F(compile_test)): Call fmaxmag and fminmag.
8435         (F(fminmag)): New function.
8436         (F(fmaxmag)): Likewise.
8437         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
8438         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
8439         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
8440         fminmag.
8441         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
8442         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
8443         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
8444         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
8445         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
8446         and fminmag.
8447         (CFLAGS-nldbl-fmaxmag.c): New variable.
8448         (CFLAGS-nldbl-fminmag.c): Likewise.
8449         * sysdeps/nacl/libm.abilist: Update.
8450         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8451         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8452         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8453         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8454         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8455         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8456         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8457         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8458         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8459         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8460         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8461         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8463         Likewise.
8464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8465         Likewise.
8466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8467         Likewise.
8468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8469         Likewise.
8470         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8471         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8472         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8473         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8474         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8476         Likewise.
8477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8478         Likewise.
8479         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8480         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8481         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8483 2016-12-19  Torvald Riegel  <triegel@redhat.com>
8485         [BZ #20973]
8486         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
8487         wake-up in robust mutexes.
8488         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8490 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8492         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
8493         (CFLAGS-bench-fmaxf.c): New rule.
8494         (CFLAGS-bench-fminf.c): Likewise.
8495         * benchtests/fmaxf-inputs: New file.
8496         * benchtests/fminf-inputs: Likewise.
8498         * benchtests/Makefile (bench-math): Add fmin and fmax.
8499         (CFLAGS-bench-fmax.c): New rule.
8500         (CFLAGS-bench-fmin.c): Likewise.
8501         * benchtests/fmax-inputs: New file.
8502         * benchtests/fmin-inputs: Likewise.
8504         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
8505         parenthesis.
8506         (CMDLINE_PROCESS): Define using function instead of macro.
8507         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
8508         of test-skeleton.
8509         * benchtests/bench-memchr.c: Likewise.
8510         * benchtests/bench-memcmp.c: Likewise.
8511         * benchtests/bench-memcpy-large.c: Likewise.
8512         * benchtests/bench-memcpy.c: Likewise.
8513         * benchtests/bench-memmem.c: Likewise.
8514         * benchtests/bench-memmove-large.c: Likewise.
8515         * benchtests/bench-memmove.c: Likewise.
8516         * benchtests/bench-memset-large.c: Likewise.
8517         * benchtests/bench-memset.c: Likewise.
8518         * benchtests/bench-rawmemchr.c: Likewise.
8519         * benchtests/bench-strcasecmp.c: Likewise.
8520         * benchtests/bench-strcasestr.c: Likewise.
8521         * benchtests/bench-strcat.c: Likewise.
8522         * benchtests/bench-strchr.c: Likewise.
8523         * benchtests/bench-strcmp.c: Likewise.
8524         * benchtests/bench-strcpy.c: Likewise.
8525         * benchtests/bench-strcpy_chk.c: Likewise.
8526         * benchtests/bench-strlen.c: Likewise.
8527         * benchtests/bench-strncasecmp.c: Likewise.
8528         * benchtests/bench-strncmp.c: Likewise.
8529         * benchtests/bench-strncpy.c: Likewise.
8530         * benchtests/bench-strnlen.c: Likewise.
8531         * benchtests/bench-strpbrk.c: Likewise.
8532         * benchtests/bench-strrchr.c: Likewise.
8533         * benchtests/bench-strsep.c: Likewise.
8534         * benchtests/bench-strspn.c: Likewise.
8535         * benchtests/bench-strstr.c: Likewise.
8536         * benchtests/bench-strtok.c: Likewise.
8538 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8540         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
8541         stepping identification.
8542         (init_cpu_features): Add handle of Haswell.
8544 2016-11-25  Jim Meyering  <meyering@fb.com>
8546         [BZ #20386]
8547         Let gcc detect assert(a = 1) errors.
8548         * assert/assert.h (assert): Rewrite, retaining the old definintion
8549         when required, but otherwise putting the expression as-is in an "if"
8550         expression (hence, with no added parentheses) within a statement
8551         expression.
8553 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8555         * benchtests/Makefile (binaries-benchset): Depend on libsupport
8556         DSO.
8558 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
8560         * Rules (python-flags, python-invoke): New.
8561         ($(test-printers-out)): Use $(python-flags).
8563 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8565         * manual/arith.texi (Math Error Reporting): Document that sNaN
8566         arguments are not considered domain errors.
8568 2016-12-16  Zack Weinberg <zackw@panix.com>
8569             Florian Weimer <fweimer@redhat.com>
8570             Nick Mathewson <nickm@torproject.org>
8572         * string/explicit_bzero.c: New routine.
8573         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
8574         * string/Makefile (routines, strop-tests, tests): Add them.
8575         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
8576         * string/string.h [__USE_MISC]: Declare explicit_bzero.
8578         * debug/explicit_bzero_chk.c: New routine.
8579         * debug/Makefile (routines): Add it.
8580         * debug/tst-chk1.c: Test fortification of explicit_bzero.
8581         * string/bits/string3.h: Fortify explicit_bzero.
8583         * manual/string.texi: Document explicit_bzero.
8584         * NEWS: Mention addition of explicit_bzero.
8586         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
8587         data before returning, using explicit_bzero.
8588         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
8589         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8590         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8592         * include/string.h: Redirect internal uses of explicit_bzero
8593         to __explicit_bzero_chk[_internal].
8594         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
8595         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
8596         * sysdeps/arm/nacl/libc.abilist
8597         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8598         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8599         * sysdeps/unix/sysv/linux/arm/libc.abilist
8600         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8601         * sysdeps/unix/sysv/linux/i386/libc.abilist
8602         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8603         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8604         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8605         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8606         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8607         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8608         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8609         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8610         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8615         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8616         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8617         * sysdeps/unix/sysv/linux/sh/libc.abilist
8618         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8619         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8622         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8623         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8624         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8625         Add entries for explicit_bzero and __explicit_bzero_chk.
8627 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8629         * math/fenv.h
8630         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
8631         (FE_SNANS_ALWAYS_SIGNAL): New macro.
8632         * math/test-fe-snans-always-signal.c: New file.
8633         * math/Makefile (tests): Add test-fe-snans-always-signal.
8634         (CFLAGS-test-fe-snans-always-signal.c): New variable.
8635         * manual/arith.texi (Infinity and NaN): Document
8636         FE_SNANS_ALWAYS_SIGNAL.
8638 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8640         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
8641         bracket.
8643 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8645         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
8646         before calling execv.
8648 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8650         [BZ #20971]
8651         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
8652         overflow in pointer addition.
8653         * string/test-memchr.c (do_test): Add an argument to pass as
8654         the size on memchr.
8655         (test_main): Add check for SIZE_MAX.
8657 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8659         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
8660         (libm-calls): Add w_scalblnF.
8661         * math/w_scalbln.c: Remove.
8662         * math/w_scalblnf.c: Likewise.
8663         * math/w_scalblnl.c: Likewise.
8664         * math/w_scalbln_template.c: New file with type-generic
8665         implementation based on math/w_scalbln.c.
8666         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
8667         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
8669 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8671         [BZ #20947]
8672         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
8673         either is a signaling NaN.
8674         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
8675         follow fmaxl more closely.
8676         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
8677         when either is a signaling NaN.
8678         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
8679         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
8680         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
8681         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
8682         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
8683         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
8684         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
8685         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
8686         (fmin_test_data): Likewise.
8688 2016-12-15  Andreas Schwab  <schwab@suse.de>
8690         * support/support_test_main.c (support_test_main): Don't shadow
8691         file-local variable test_pid.
8693 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8695         [BZ #20947]
8696         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
8697         either is a signaling NaN.
8698         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
8700 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8702         [BZ #20947]
8703         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
8704         when either is a signaling NaN.
8705         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
8707         * bits/long-double.h: New file.
8708         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
8709         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
8710         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
8711         * sysdeps/mips/bits/long-double.h: Likewise.
8712         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
8713         * math/Makefile (headers): Add bits/long-double.h.
8714         * misc/sys/cdefs.h: Include <bits/long-double.h>.
8715         * stdlib/strtold.c: Include <bits/long-double.h> instead of
8716         <bits/wordsize.h>.
8717         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
8718         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
8719         * math/math.h: Do not include <bits/mathdef.h>.
8720         * sysdeps/aarch64/bits/mathdef.h: Remove file.
8721         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
8722         inclusion.
8723         * sysdeps/ia64/bits/mathdef.h: Remove file.
8724         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
8725         * sysdeps/mips/bits/mathdef.h: Likewise.
8726         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8727         * sysdeps/s390/bits/mathdef.h: Likewise.
8728         * sysdeps/sparc/bits/mathdef.h: Likewise.
8729         * sysdeps/x86/bits/mathdef.h: Likewise.
8730         * sysdeps/s390/s390-32/bits/wordsize.h
8731         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
8732         conditional code.
8733         * sysdeps/s390/s390-64/bits/wordsize.h
8734         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8735         Likewise.
8736         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
8737         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8738         Likewise.
8739         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
8740         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8741         Likewise.
8742         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8743         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8744         Likewise.
8746         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
8747         <linux/falloc.h>.
8748         (FALLOC_FL_KEEP_SIZE): Remove.
8749         (FALLOC_FL_PUNCH_HOLE): Likewise.
8750         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
8751         (FALLOC_FL_ZERO_RANGE): Likewise.
8753 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8755         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
8757 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8759         * sysdeps/unix/sysv/linux/renameat.c: New file.
8760         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
8762         * sysdeps/unix/sysv/linux/rename.c: New file.
8763         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
8765 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8767         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
8768         * string/strtok.c (strtok): Change to tailcall __strtok_r.
8769         * string/strtok_r.c (__strtok_r): Optimize for performance.
8770         * string/string-inlines.c (__old_strtok_r_1c): New function.
8771         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
8773 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8775         * math/Makefile (gen-libm-calls): Add w_log1pF.
8776         (libm-calls): Remove w_log1pF.
8777         * math/w_log1p.c: Remove.
8778         * math/w_log1pf.c: Likewise.
8779         * math/w_log1pl.c: Likewise.
8780         * math/w_log1p_template.c: New file with type-generic
8781         implementation based on math/w_log1p.c.
8782         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
8783         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
8785 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8787         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
8789 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8791         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8792         kernel version to 4.9.
8794 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
8796         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
8797         ($(inst_libdir)/libm.a): Fix rule to create the target only.
8799 2016-12-13  Andreas Schwab  <schwab@suse.de>
8801         * sysdeps/powerpc/dl-procinfo.c: Don't define
8802         _dl_powerpc_platforms.
8803         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
8804         constants instead of referencing _dl_powerpc_platforms.
8805         (_dl_platform_string): Remove.
8807 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8809         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
8811 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8813         * Rules (binaries-shared-tests, binaries-pie-tests)
8814         (binaries-static-tests): Link with $(link-extra-libs-tests).
8815         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
8816         Remove $(link-extra-libs-tests).
8818 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8820         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8821         (sysdep_routines): Add strncmp_power9.
8822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8823         (strncmp): Add __strncmp_power9 to list of strncmp functions.
8824         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
8825         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8826         (strncmp): Add __strncmp_power9 to ifunc list.
8827         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
8829 2016-12-12  Florian Weimer  <fweimer@redhat.com>
8831         [BZ #17252]
8832         Add getentropy, getrandom.
8833         * stdlib/sys/random.h: New file.
8834         (headers): Add it.
8835         * stdlib/Makefile (routines): Add getentropy, getrandom.
8836         (tests): Add tst-getrandom.
8837         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
8838         * stdlib/getentropy.c: New file.
8839         * stdlib/getrandom.c: Likewise.
8840         * stdlib/tst-getrandom.c: Likewise.
8841         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
8842         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
8843         * manual/crypt.texi (Unpredictable Bytes): New section.
8844         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
8845         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
8846         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8847         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8848         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8849         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8850         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8851         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8852         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8853         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8854         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8855         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8856         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8857         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8858         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8859         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8861         Likewise.
8862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8863         Likewise.
8864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8866         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8867         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8868         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8869         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8870         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8873         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8874         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8875         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8877 2016-12-10  Florian Weimer  <fweimer@redhat.com>
8879         [BZ #20956]
8880         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
8881         as additional compiler barriers.
8882         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
8883         (fn2, do_test): Declare with external linkage.
8884         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
8885         (do_test): Declare with external linkage.
8886         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
8887         (do_test): Declare with external linkage.
8888         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
8889         (do_test): Declare with external linkage.
8891 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
8893         * support/support_test_main.c (support_test_main): Use correct
8894         timeout.
8896 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
8897             Florian Weimer  <fweimer@redhat.com>
8899         [BZ #16421]
8900         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
8901         and __u6_addr32 members.
8902         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
8903         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
8904         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
8905         Use __u6_addr32.
8906         * inet/tst-checks.c: Use <support/test-driver.c>
8907         * inet/tst-checks-posix.c: New file.
8908         * inet/Makefile (tests): Add it.
8909         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
8911 2016-12-09  Florian Weimer  <fweimer@redhat.com>
8913         New subdirectory support for build and test infrastructure.
8914         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
8915         setting install-lib.
8916         * Makeconfig (link-extra-libs-tests): Define.
8917         (+link-pie-tests, +link-static-tests, +link-tests): Use
8918         link-extra-libs-tests.
8919         (rpath-dirs, all-subdirs): Add support.
8920         (built-modules): Add libsupport.
8921         (libsupport): Define.
8922         * support: New directory.
8923         * support/Makefile: New file.
8924         * support/check.c: Likewise.
8925         * support/check.h: Likewise.
8926         * support/delayed_exit.c: Likewise.
8927         * support/ignore_stderr.c: Likewise.
8928         * support/oom_error.c: Likewise.
8929         * support/set_fortify_handler.c: Likewise.
8930         * support/support.h: Likewise.
8931         * support/temp_file-internal.h: Likewise.
8932         * support/temp_file.c: Likewise.
8933         * support/test-driver.c: Likewise.
8934         * support/test-driver.h: Likewise.
8935         * support/test_main.c: Likewise.
8936         * support/write_message.c: Likewise.
8937         * support/xasprintf.c: Likewise.
8938         * support/xcalloc.c: Likewise.
8939         * support/xmalloc.c: Likewise.
8940         * support/xpthread_barrier_destroy.c: Likewise.
8941         * support/xpthread_barrier_init.c: Likewise.
8942         * support/xpthread_barrier_wait.c: Likewise.
8943         * support/xpthread_cancel.c: Likewise.
8944         * support/xpthread_check_return.c: Likewise.
8945         * support/xpthread_cond_wait.c: Likewise.
8946         * support/xpthread_create.c: Likewise.
8947         * support/xpthread_detach.c: Likewise.
8948         * support/xpthread_join.c: Likewise.
8949         * support/xpthread_mutex_lock.c: Likewise.
8950         * support/xpthread_mutex_unlock.c: Likewise.
8951         * support/xpthread_sigmask.c: Likewise.
8952         * support/xpthread_spin_lock.c: Likewise.
8953         * support/xpthread_spin_unlock.c: Likewise.
8954         * support/xrealloc.c: Likewise.
8955         * support/xsignal.h: Likewise.
8956         * support/xthread.h: Likewise.
8957         * support_tempfile.h: Likewise.
8958         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
8959         (TEST_DATA_LIMIT): Remove unused macro.
8960         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
8961         <support/check.h>.
8962         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
8963         (ignore_stderr, set_fortify_handler): Remove.  Now in
8964         <support/support.h>.
8965         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
8966         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
8967         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
8968         (xpthread_join): Remove.  Now in <support/xthread.h>.
8969         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
8970         Introduce legacy wrappers.
8971         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
8972         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
8973         (write_message): Remove.
8974         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
8975         test-skeleton.c.
8976         * io/test-open-tmpfile: Likewise.
8977         * io/tst-posix_fallocate-common.c: Likewise.
8978         * libio/tst-fseek.c: Likewise.
8979         * malloc/tst-malloc-backtrace.c: Likewise.
8980         * malloc/tst-malloc-fork-deadlock.c: Likewise.
8981         * malloc/tst-malloc-thread-exit.c: Likewise.
8982         * nptl/tst-cancel7.c: Likewise.
8983         * nptl/tst-cleanup0.c: Likewise.
8984         * posix/tst-posix_fadvise-common.c: Likewise.
8985         * rt/tst-shm.c: Likewise.
8986         * time/bug-getdate1.c: Likewise.
8987         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8988         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
8989         * elf/Makefile (tst-piemod1.so): Link against libsupport.
8991 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
8993         * Rules [$(run-built-tests) != no] (tests-expected): Add
8994         $(tests-printers).
8995         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
8997 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8999         [BZ #20539]
9000         * math/Makefile (install-lib-ldscripts): Add libm.a.
9001         (install_subdir): Remove.
9002         (install-others): Add.
9003         ($(inst_libdir)/libm.a): Add rule for installation as
9004         linker script.
9005         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
9007 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
9009         * INSTALL: Regenerated.
9010         * Makeconfig: Add comments and whitespace to make the control flow
9011         clearer.
9012         (+link-printers-tests, +link-pie-printers-tests,
9013         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9014         built-rtld-LDFLAGS, link-libc-rpath,
9015         link-libc-tests-after-rpath-link,
9016         link-libc-printers-tests): New.
9017         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9018         link-libc-tests): Use the new variables as required.
9019         * Makerules ($(py-const)): New rule.
9020         generated: Add $(py-const).
9021         * README.pretty-printers: New file.
9022         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9023         (others): Depend on $(py-const).
9024         (tests): Depend on $(tests-printers-programs) or
9025         $(tests-printers-out),
9026         as required.  Pass $(tests-printers) to merge-test-results.sh.
9027         * manual/install.texi: Add requirements for testing the pretty
9028         printers.
9029         * nptl/Makefile (gen-py-const-headers, pretty-printers,
9030         tests-printers, CFLAGS-test-mutexattr-printers.c
9031         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9032         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9033         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9034         * nptl/nptl-printers.py: New file.
9035         * nptl/nptl_lock_constants.pysym: Likewise.
9036         * nptl/test-cond-printers.c: Likewise.
9037         * nptl/test-cond-printers.py: Likewise.
9038         * nptl/test-condattr-printers.c: Likewise.
9039         * nptl/test-condattr-printers.py: Likewise.
9040         * nptl/test-mutex-printers.c: Likewise.
9041         * nptl/test-mutex-printers.py: Likewise.
9042         * nptl/test-mutexattr-printers.c: Likewise.
9043         * nptl/test-mutexattr-printers.py: Likewise.
9044         * nptl/test-rwlock-printers.c: Likewise.
9045         * nptl/test-rwlock-printers.py: Likewise.
9046         * nptl/test-rwlockattr-printers.c: Likewise.
9047         * nptl/test-rwlockattr-printers.py: Likewise.
9048         * scripts/gen-py-const.awk: Likewise.
9049         * scripts/test_printers_common.py: Likewise.
9050         * scripts/test_printers_exceptions.py: Likewise.
9052 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9054         * scripts/build-many-glibcs.py (Context.__init__): Take strip
9055         argument.
9056         (Glibc.build_glibc): Strip installed shared libraries if
9057         requested.
9058         (get_parser): Add --strip option.
9059         (main): Update Context call.
9061 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9062             Dominik Vogt  <vogt@linux.vnet.ibm.com>
9064         [BZ #20847]
9065         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9066         array bounds for else branch.
9067         (__execvpe): Style fixes.
9068         * posix/tst-vfork3.c (run_script): New function.
9069         (create_script): Likewise.
9070         (do_test): Use run_script internal function.
9071         (do_prepare): Use create_script internal function.
9073 2016-12-07  Andreas Schwab  <schwab@suse.de>
9075         * sysdeps/unix/sysv/linux/x86/elision-conf.h
9076         (__elision_available): Don't declare.
9077         * sysdeps/unix/sysv/linux/x86/elision-conf.c
9078         (__elision_available): Don't define.
9079         (elision_init): Don't set __elision_available.
9081 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9083         [BZ #20940]
9084         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
9085         return Inf for arguments Inf and sNaN.
9086         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
9087         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9088         Likewise.
9089         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9090         Likewise.
9091         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9092         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
9093         for arguments Inf and sNaN.  When returning a NaN, compute it by
9094         arithmetic on the arguments.
9095         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
9096         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
9097         arguments.
9099 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
9101         [BZ #20916]
9102         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
9103         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
9104         to compute result.
9105         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9106         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
9108 2016-12-05  Torvald Riegel  <triegel@redhat.com>
9110         * include/atomic.h (__atomic_check_size_ls): New.
9111         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
9112         atomic_store_release): Use it.
9113         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
9114         (elision_adapt, ELIDE_LOCK): Use atomics.
9115         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
9116         atomics and improve code comments.
9117         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
9118         (__lll_trylock_elision): Likewise.
9120 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9122         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
9123         programs.
9125 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9127         [BZ #20916]
9128         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
9129         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
9130         arguments to compute result.
9131         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
9132         1 for arguments (sNaN, 0) or (1, sNaN).
9133         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9134         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9136         [BZ #20919]
9137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
9138         NaN first argument when raised to power 0.
9139         * math/w_pow.c (__pow): Do not check for NaN or zero results from
9140         raising to power zero.
9141         * math/w_powf.c (__powf): Likewise.
9142         * math/w_powl.c (__powl): Likewise.
9143         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
9144         pow (0, 0) or pow (NaN, 0).
9146 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
9148         [BZ #20918]
9149         * configure.ac: Test for static NSS cryptographic libraries and set
9150         libc_cv_static_nss_crypt.
9151         * configure: Regenerate.
9152         * config.make.in (static-nss-crypt): Define.
9153         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
9154         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
9155         (CFLAGS-tst-linkall-static.c): Define.
9156         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
9157         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
9158         ($(objpfx)tst-linkall-static): Define.
9159         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
9160         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
9162 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9164         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
9165         (one-hundred, tst-tls-many-dynamic-modules): Define.
9166         (modules-names): Add $(tst-tls-many-dynamic-modules).
9167         (tst-tls-manydynamic%mod.os): Build with special preprocessor
9168         macros.
9169         (tst-tls-manydynamic): Link against libdl, libpthread.
9170         (tst-tls-manydynamic.out): The test needs the test modules at run
9171         time.
9172         * elf/tst-tls-manydynamic.c: New file.
9173         * elf/tst-tls-manydynamic.h: Likewise.
9174         * elf/tst-tls-manydynamicmod.c: Likewise.
9176 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9178         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
9179         (TLS_DTV_UNALLOCATED): Add.
9180         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
9181         offsets.
9183 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9185         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9187 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9189         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
9190         Add -fno-optimize-sibling-calls.
9192 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9194         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
9195         New declaration.
9196         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
9197         macro.
9198         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
9199         New macro.
9200         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
9201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
9202         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
9203         (llogbf): Likewise.
9204         (llogbl): Likewise.
9205         * math/Makefile (gen-libm-calls): Add w_llogbF.
9206         (tests): Add test-fp-llogb-constants.
9207         * math/w_llogb_template.c: New file.  Based on
9208         math/w_ilogb_template.c.
9209         * math/libm-test.inc (llogb_test_data): New array.
9210         (llogb_test): New function.
9211         (main): Call llogb_test.
9212         * math/test-fp-llogb-constants.c: New file.  Based on
9213         math/test-fp-ilogb-constants.c.
9214         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
9215         (do_test): Call check_return_llogb.
9216         * math/test-tgmath.c (NCALLS): Increase to 126.
9217         (F(compile_test)): Call llogb.
9218         (F(llogb)): New function.
9219         * manual/math.texi (Exponents and Logarithms): Document llogb,
9220         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
9221         * manual/libm-err-tab.pl (@all_functions): Add llogb.
9222         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
9223         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
9224         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
9225         (CFLAGS-nldbl-llogb.c): New variable.
9226         * sysdeps/nacl/libm.abilist: Update.
9227         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9228         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9229         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9230         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9231         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9232         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9233         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9234         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9235         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9236         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9237         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9238         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9240         Likewise.
9241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9242         Likewise.
9243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9244         Likewise.
9245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9246         Likewise.
9247         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9248         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9249         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9250         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9251         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9253         Likewise.
9254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9255         Likewise.
9256         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9257         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9258         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9260 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9262         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
9263         _Float128 instead of long double.
9264         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
9266         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
9267         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
9268         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
9269         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
9270         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
9271         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
9272         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
9273         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
9274         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
9275         Likewise.
9277 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9279         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
9280         Remove redirection to __strrchr_ppc.
9282 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9284         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9285         (sysdep_routines): Add strcmp_power9.
9286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9287         (strcmp): Add __strcmp_power9 to list of strcmp functions.
9288         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
9289         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9290         (strcmp): Add __strcmp_power9 to ifunc list.
9291         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
9293 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9295         * bits/fp-logb.h: New file.
9296         * sysdeps/ia64/bits/fp-logb.h: Likewise.
9297         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
9298         * sysdeps/x86/bits/fp-logb.h: Likewise.
9299         * math/Makefile (headers): Add bits/fp-logb.h.
9300         * math/math.h: Include <bits/fp-logb.h>.
9301         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
9302         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
9303         * bits/mathdef.h (FP_ILOGB0): Remove.
9304         (FP_ILOGBNAN): Likewise.
9305         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
9306         (FP_ILOGBNAN): Likewise.
9307         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
9308         (FP_ILOGBNAN): Likewise.
9309         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
9310         (FP_ILOGBNAN): Likewise.
9311         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
9312         (FP_ILOGBNAN): Likewise.
9313         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
9314         (FP_ILOGBNAN): Likewise.
9315         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
9316         (FP_ILOGBNAN): Likewise.
9317         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
9318         (FP_ILOGBNAN): Likewise.
9319         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
9320         (FP_ILOGBNAN): Likewise.
9321         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
9322         (FP_ILOGBNAN): Likewise.
9324         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
9325         time module.
9326         (Context.__init__): Initialize self.logsdir_old.
9327         (Context.run_builds): Handle bot action.
9328         (Context.bot_cycle): Copy logs directory before running builds.
9329         (Context.bot_run_self): Take argument for whether to check
9330         subprocess result.  Flush stdout before running subprocess.
9331         (Context.bot): New function.
9332         (get_parser): Allow bot action.
9334 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
9336         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
9337         Import email.mime.text, email.utils and smtplib modules.
9338         (Context.__init__): Initialize self.bot_config_json.
9339         (Context.run_builds): Handle bot-cycle action.
9340         (Context.load_bot_config_json): New function.
9341         (Context.part_build_old): Likewise.
9342         (Context.bot_cycle): Likewise.
9343         (Context.bot_build_mail): Likewise.
9344         (Context.bot_run_self): Likewise.
9345         (get_parser): Allow bot-cycle action.
9347 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9349         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
9350         Remove redirection to __stpcpy_ppc.
9352 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9354         Remove __libc_memalign from ld.so because it is unused.
9355         * elf/dl-minimal.c: Update comment on the malloc implementation.
9356         (malloc): Renamed from __libc_memalign, replacing the original
9357         malloc implementation.  Replace the align parameter with
9358         MALLOC_ALIGNMENT.
9359         * elf/Versions (ld): Update comment and remove __libc_memalign.
9360         * sysdeps/nacl/ld.abilist: Likewise.
9361         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9362         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9363         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9364         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9365         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9366         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9367         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9368         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9369         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9370         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9371         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9372         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9373         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9377         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
9378         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
9379         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
9380         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
9381         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
9382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
9383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
9384         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
9385         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
9386         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
9387         * sysdeps/generic/localplt.data (ld.so): Likewise.
9388         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9389         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9390         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9391         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9392         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9393         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9394         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9395         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
9396         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9398         (ld.so): Likewise.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9400         (ld.so): Likewise.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9402         Likewise.
9403         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9404         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9405         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
9406         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
9407         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9409 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9411         [BZ #16628]
9412         Implement _dl_catch_error, _dl_signal_error in libc.so.
9413         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
9414         (catch_hook): Define as thread-local or regular variable,
9415         depending on DL_ERROR_BOOTSTRAP.
9416         (CATCH_HOOK): Remove.
9417         (dl_signal_error, _dl_catch_error): Use
9418         catch_hook.  Add hidden definition for libc.
9419         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
9420         for DL_ERROR_BOOTSTRAP only.
9421         * elf/dl-error.c: New file.
9422         * elf/dl-error-minimal.c: Likewise.
9423         * elf/tst-latepthread.c: Likewise.
9424         * elf/tst-latepthreadmod.c: Likewise.
9425         * elf/Makefile (routines): Add dl-error.
9426         (dl-routines): Remove dl-error.
9427         (rtld-routines): Add dl-error-minimal.
9428         [build-shared] (tests): Add tst-latepthread.
9429         (module-names): Add tst-latepthreadmod.
9430         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
9431         symbol.
9432         (tst-latepthreadmod.so): Link against libpthread.
9433         (tst-latepthread): Link against libdbl.
9434         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
9435         _dl_catch_error.
9436         [ld] (GLIBC_PRIVATE): Likewise.
9437         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
9438         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
9439         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
9440         directly.
9441         * elf/dl-tsd.c: Remove file.
9442         * elf/rtld.c (_rtld_global_ro): Remove initializers for
9443         _dl_catch_error, _dl_signal_error.
9444         (_dl_initial_error_catch_tsd): Remove definition.
9445         (do_preload): Remove initialization of dl_error_catch_tsd.
9446         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
9447         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
9448         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9449         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9450         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
9451         set dl_error_catch_tsd.
9452         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
9453         _dl_error_catch_tsd member.
9454         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
9455         members.
9456         (_dl_initial_error_catch_tsd): Remove declaration.
9457         (_dl_dprintf): Provide definition for use outside of ld.so.
9458         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
9459         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
9460         prototype for libc.
9461         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
9462         _dl_catch_error.
9463         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9464         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9465         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9466         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9467         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9468         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9469         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9470         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9471         Likewise.
9472         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9474         (ld.so): Likewise.
9475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9476         (ld.so): Likewise.
9477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9478         Likewise.
9479         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9480         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9481         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9482         Likewise.
9483         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9484         Likewise.
9485         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9487 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9489         [BZ #4099]
9490         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
9491         _IO_BUFSIZ (8192).
9493 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
9495         * PROJECTS: Remove file.
9497 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9499         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
9501 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
9502             Steve Ellcey  <sellcey@caviumnetworks.com>
9504         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
9505         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
9506         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
9507         fxstatat.
9508         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
9509         lxstat.
9510         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
9511         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
9512         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
9513         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
9514         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
9515         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
9516         __xstat.
9518 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9520         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
9521         Define.
9522         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
9523         definition.
9525 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9527         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
9528         version and turn into strong alias.  Remove compat symbol.
9530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9531         (__longjmp): Remove.
9533 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
9535         * bits/fp-fast.h: New file.
9536         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
9537         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
9538         * math/Makefile (headers): Add bits/fp-fast.h.
9539         * math/math.h: Include <bits/fp-fast.h>.
9540         * bits/mathdef.h (FP_FAST_FMA): Remove.
9541         (FP_FAST_FMAF): Likewise.
9542         (FP_FAST_FMAL): Likewise.
9543         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
9544         (FP_FAST_FMAF): Likewise.
9545         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
9546         (FP_FAST_FMAF): Likewise.
9547         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
9548         (FP_FAST_FMAF): Likewise.
9549         (FP_FAST_FMAL): Likewise.
9550         * sysdeps/arm/bits/mathdef.h: Remove file.
9551         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
9552         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9553         * sysdeps/tile/bits/mathdef.h: Likewise.
9555 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9557         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
9558         * math/w_ilogb.c: Remove.
9559         * math/w_ilogbf.c: Likewise.
9560         * math/w_ilogbl.c: Likewise.
9561         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
9562         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
9563         * math/Makefile (gen-libm-calls): Add w_ilogbF.
9564         (libm-calls): Remove w_ilogbF.
9565         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
9566         (LDOUBLE_ilogbl_libm_version): New macro.
9568         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
9570         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
9571         [!__STRICT_ANSI__ && !__cplusplus].
9573 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9575         [BZ #20750]
9576         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
9577         of PIC.
9579 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9580             Yury Norov  <ynorov@caviumnetworks.com>
9581             Steve Ellcey  <sellcey@caviumnetworks.com>
9583         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
9584         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
9585         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
9586         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
9587         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
9588         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
9589         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
9590         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
9591         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
9592         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
9593         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
9594         to get correct reg name for ILP32.
9595         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
9596         (RELA_SIZE): New Macro.
9597         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
9598         to support ILP32.
9599         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
9600         cast for ILP32 mode.
9601         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
9602         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
9603         * sysdeps/aarch64/memset.S (__memset): Ditto.
9604         * sysdeps/aarch64/strchr.S (strchr): Ditto.
9605         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
9606         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
9607         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
9608         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
9609         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
9610         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
9611         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
9612         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
9613         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
9614         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
9615         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
9616         change PTR_MANGLE call to use register numbers instead of names.
9617         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
9618         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
9619         ILP32 mode, change PTR_MANGLE calls to use register numbers.
9620         * sysdeps/aarch64/start.S (_start): Ditto.
9621         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
9622         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
9623         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
9624         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
9625         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
9626         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
9627         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
9628         Make defined values dependent on __ILP32__.
9629         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
9630         (sem_t): Change __align type.
9631         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
9632         PTR_SIZE): New Macros.
9633         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
9634         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
9635         Set when in ILP32 mode.
9636         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
9637         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
9638         Set elf flags for ILP32.
9639         (add_system_dir): Set ILP32 library directories.
9640         * sysdeps/unix/sysv/linux/aarch64/init-first.c
9641         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
9642         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
9643         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
9644         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
9645         New Macros.
9646         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
9648 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
9650         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
9651         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
9652         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
9654 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9656         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
9657         <asm/cachectl.h>.
9659 2016-11-27  Zack Weinberg  <zackw@panix.com>
9661         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
9662         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
9664 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9666         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
9667         error_t to fix usage in C++ programs.
9669 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
9671         * scripts/build-many-glibcs.py: Import datetime module.
9672         (Context.__init__): Load JSON build state.  Initialize list of
9673         status logs.
9674         (Context.run_builds): Update saved build state.
9675         (Context.add_makefile_cmdlist): Update list of status logs.
9676         (Context.load_build_state_json): New function.
9677         (Context.store_build_state_json): Likewise.
9678         (Context.clear_last_build_state): Likewise.
9679         (Context.update_build_state): Likewise.
9680         (CommandList.status_logs): Likewise.
9682 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
9684         * scripts/build-many-glibcs.py (Context.__init__): Save text of
9685         script being executed.
9686         (Context.get_script_text): New function.
9687         (Context.exec_self): Likewise.
9688         (Context.checkout): Re-exec script if changed by checkout process.
9690 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9692         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9693         (setpayloadsig): New declaration.
9694         * math/Versions (setpayloadsig): New libm symbol at version
9695         GLIBC_2.25.
9696         (setpayloadsigf): Likewise.
9697         (setpayloadsigl): Likewise.
9698         * math/Makefile (libm-calls): Add s_setpayloadsigF.
9699         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
9700         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
9701         (setpayloadsig_test_data): New array.
9702         (setpayloadsig_test): New function.
9703         (main): Call setpayloadsig_test.
9704         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
9705         setpayloadsigf and setpayloadsigl.
9706         * manual/libm-err-tab.pl: Update comment on interfaces without
9707         ulps tabulated.
9708         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
9709         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
9710         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
9711         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
9712         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
9713         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
9714         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9715         setpayloadsig.
9716         (CFLAGS-nldbl-setpayloadsig.c): New variable.
9717         * sysdeps/nacl/libm.abilist: Update.
9718         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9719         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9720         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9721         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9722         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9723         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9724         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9725         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9726         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9727         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9728         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9729         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9731         Likewise.
9732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9733         Likewise.
9734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9735         Likewise.
9736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9737         Likewise.
9738         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9739         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9740         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9741         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9742         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9744         Likewise.
9745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9746         Likewise.
9747         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9748         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9749         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9751         * scripts/build-many-glibcs.py: Import json module.
9752         (Context.__init__): Take replace_sources argument.  Load
9753         versions.json.
9754         (Context.load_versions_json): New function.
9755         (Context.store_json): Likewise.
9756         (Context.store_versions_json): Likewise.
9757         (Context.set_component_version): Likewise.
9758         (Context.checkout): Update versions.json.  Check for and handle
9759         changes of version.  Prefer previously explicitly specified
9760         version to default version.
9761         (Context.checkout_vcs): Return a revision identifier.
9762         (Context.git_checkout): Likewise.
9763         (Context.gcc_checkout): Likewise.
9764         (get_parser): Add --replace-sources option.
9765         (main): Pass replace_sources argument to Context call.
9767 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9769         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
9770         * nptl/allocatestack.c (allocate_stack): Likewise.
9771         (__reclaim_stacks): Likewise.
9772         (setxid_signal_thread): Obtain pid through syscall.
9773         * nptl/nptl-init.c (sigcancel_handler): Likewise.
9774         (sighandle_setxid): Likewise.
9775         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
9776         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9777         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9778         Likewise.
9779         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9780         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
9781         comment.
9782         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
9783         * nptl/descr.h (struct pthread): Change comment about pid value.
9784         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
9785         pid assert.
9786         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
9787         Do not set pid value.
9788         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
9789         pid cache check.
9790         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
9791         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
9792         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
9793         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
9794         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
9795         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9796         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
9797         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
9798         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
9799         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
9800         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
9801         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9802         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
9803         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9804         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
9805         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
9806         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9807         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
9808         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
9809         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
9810         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
9811         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9812         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
9813         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
9814         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
9815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9817         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9818         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9819         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9820         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
9821         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
9822         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
9823         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9824         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
9825         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9826         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
9827         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9828         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
9829         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
9830         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9831         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
9832         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
9833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9835         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9836         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9837         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9838         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9839         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9840         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
9841         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9842         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
9843         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
9844         struct access.
9845         (clone_test): Remove function.
9846         (do_test): Rewrite to take in consideration pid is not cached anymore.
9848 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9850         * bits/flt-eval-method.h: New file.
9851         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
9852         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
9853         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
9854         * math/Makefile (headers): Add bits/flt-eval-method.h.
9855         * math/math.h: Include <bits/flt-eval-method.h>.
9856         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
9857         [__USE_ISOC99] (double_t): Likewise.
9858         * bits/mathdef.h (float_t): Remove.
9859         (double_t): Likewise.
9860         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
9861         (double_t): Likewise.
9862         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
9863         (double_t): Likewise.
9864         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
9865         (double_t): Likewise.
9866         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
9867         (double_t): Likewise.
9868         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
9869         (double_t): Likewise.
9870         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
9871         (double_t): Likewise.
9872         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
9873         (double_t): Likewise.
9874         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
9875         (double_t): Likewise.
9876         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
9877         (double_t): Likewise.
9878         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
9879         (double_t): Likewise.
9880         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
9881         (double_t): Likewise.
9882         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
9883         (double_t): Likewise.
9884         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
9885         (double_t): Likewise.
9887 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
9889         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
9890         instead of PIC.
9892 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9894         [BZ #20859]
9895         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
9896         (-0x7fffffff) instead of 0x80000001.
9897         * math/test-fp-ilogb-constants.c: New file.
9898         * math/Makefile (tests): Add test-fp-ilogb-constants.
9900 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
9902         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
9903         (_init): Use it in place of hardcoded R_MIPS_JALR.
9904         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
9905         (_init): Use it in place of hardcoded R_MIPS_JALR.
9906         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
9907         (_init): Use it in place of hardcoded R_MIPS_JALR.
9909 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9911         [BZ #20787]
9912         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
9913         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
9914         (double_t): Do not define to double if [__x86_64__] when
9915         __FLT_EVAL_METHOD__ is nonzero.
9916         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
9917         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
9918         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9919         test-flt-eval-method-387 and test-flt-eval-method-sse.
9920         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
9921         variable.
9922         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
9924 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
9926         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
9927         use of -fno-isolate-erroneous-paths options for tilepro.
9929 2016-11-23  Florian Weimer  <fweimer@redhat.com>
9931         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
9932         structure initialization is no longer needed.
9934 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9936         [BZ #20855]
9937         * bits/mathdef.h (float_t): Define to float.
9938         * math/test-flt-eval-method.c: New file.
9939         * math/Makefile (tests): Add test-flt-eval-method.
9940         (CFLAGS-test-flt-eval-method.c): New variable.
9942 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
9944         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
9945         and __fstatfs.  Make them aliases of __fstatfs64 if
9946         STATFS_IS_STATFS64 is set to non-zero.
9947         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
9948         and __statfs64.
9949         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
9950         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
9951         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
9952         for __statfs and statfs.
9953         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
9954         to 0.
9955         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
9956         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
9957         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
9958         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9959         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9960         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
9963         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
9964         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9965         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
9966         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
9968 2016-11-22  Andreas Schwab  <schwab@suse.de>
9970         * misc/mkstemp.c: Include <fcntl.h>.
9971         * misc/mkstemps.c: Likewise.
9972         * misc/mkostemp.c: Likewise.
9973         * misc/mkostemps.c: Likewise.
9975 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
9977         [BZ #20847]
9978         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9979         array bounds.
9980         (__execvpe): Likewise.
9982 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
9984         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
9985         -fno-isolate-erroneous-paths options for tilepro.
9987 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
9989         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
9990         to 0 when in 32 bit mode.
9991         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
9992         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9993         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9994         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9996         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9997         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
9998         XSTAT_IS_XSTAT64 test.
9999         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
10000         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
10001         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
10002         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
10003         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
10004         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
10005         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
10006         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
10007         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
10008         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10009         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10011 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
10013         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10014         (setpayload): New declaration.
10015         * math/Versions (setpayload): New libm symbol at version
10016         GLIBC_2.25.
10017         (setpayloadf): Likewise.
10018         (setpayloadl): Likewise.
10019         * math/Makefile (libm-calls): Add s_setpayloadF.
10020         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10021         test_Ff_b1_data.
10022         (RUN_TEST_Ff_b1): New macro.
10023         (RUN_TEST_LOOP_Ff_b1): Likewise.
10024         (canonicalize_test_data): Update type.
10025         (setpayload_test_data): New array.
10026         (setpayload_test): New function.
10027         (main): Call setpayload_test.
10028         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10029         setpayloadf and setpayloadl.
10030         * manual/libm-err-tab.pl: Update comment on interfaces without
10031         ulps tabulated.
10032         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10033         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10034         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10035         Likewise.
10036         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10037         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10038         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10039         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10040         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10041         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10042         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10043         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10044         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10045         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10046         setpayload.
10047         (CFLAGS-nldbl-setpayload.c): New variable.
10048         * sysdeps/nacl/libm.abilist: Update.
10049         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10050         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10051         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10052         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10053         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10054         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10055         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10056         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10057         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10058         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10059         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10060         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10062         Likewise.
10063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10064         Likewise.
10065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10066         Likewise.
10067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10068         Likewise.
10069         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10070         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10071         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10072         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10073         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10075         Likewise.
10076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10077         Likewise.
10078         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10079         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10080         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10082 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10084         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
10085         * include/unistd.h: Extend comment about __access_noerrno return
10086         semantics.
10087         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
10088         (access_common): Correct typo for EACCES.
10090 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
10092         * sysdeps/tile/math-tests.h: New file.
10094         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
10095         (__old_set_dataplane): Rename from set_dataplane and make a
10096         compatibility symbol.
10097         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
10098         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
10099         sys/dataplane.h.
10101 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
10103         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
10104         script quote words in command output to log suitably for input to
10105         the shell.
10107 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
10108             Maciej W. Rozycki  <macro@imgtec.com>
10110         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
10111         `.Lno_weak_fn' label.
10112         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
10113         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
10115 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10116             Yury Norov  <ynorov@caviumnetworks.com>
10118         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
10119         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
10120         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10121         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
10122         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10123         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
10124         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10125         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10126         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10127         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
10128         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10129         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
10130         (sysdep_routines): Remove oldgetrlimit64.
10131         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
10132         (sysdep_routines): Likewise.
10133         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
10134         (sysdep_routines): Likewise.
10135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10136         [$(subdir) = resource] (sysdep_routines): Likewise.
10137         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
10138         [$(subdir) = resource] (sysdep_routines): Likewise.
10139         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
10140         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
10141         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
10142         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
10143         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
10144         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10145         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10146         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
10147         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
10148         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
10149         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
10150         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
10151         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
10152         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
10153         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
10154         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
10155         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
10156         setrlimit and getrlimit.
10157         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
10158         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10159         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
10160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
10162         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10163         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
10164         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10165         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10166         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
10167         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
10168         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
10169         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
10170         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
10171         (__old_getrlimit64): Add compatibility symbol.
10172         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
10174 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
10176         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
10177         newly built gmp, mpfr and mpc.
10179         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
10181 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10183         * conform/Makefile (linknamespace-libs): Rename to
10184         linknamespace-libs-thr.
10185         (linknamespace-libs-posix): New variable.
10186         (linknamespace-libs-xsi): Likewise.
10187         (linknamespace-libs-XPG3): Include libcrypt.a.
10188         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
10189         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
10190         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
10191         (linknamespace-libs-XOPEN2K): Likewise.
10192         (linknamespace-libs-XOPEN2K8): Likewise.
10193         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
10195         [BZ #20829]
10196         * stdio-common/Versions (__snprintf): Add to version
10197         GLIBC_PRIVATE.
10198         * include/stdio.h (__snprintf): Use libc_hidden_proto.
10199         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
10200         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
10201         of snprintf.
10202         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10204 2016-11-16  Zack Weinberg  <zackw@panix.com>
10206         * string/string.h: Remove obsolete comment stating that
10207         strcoll_l and strxfrm_l have not yet been standardized.
10209 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10211         * hurd/hurd.h (__hurd_fail_noerrno): New function.
10212         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
10213         __access_noerrno.
10214         * io/access.c (__access_noerrno): New function.
10215         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
10216         (hurd_fail_seterrno): Likewise.
10217         (access_common): Likewise.
10218         (__access_noerrno): Likewise.
10219         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
10220         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
10221         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
10222         macro.
10224 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10226         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
10227         Only declare fpregs if [__SH_FPU_ANY__].
10229 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
10231         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
10232         Make code unconditional.
10233         [!(__SH4__ || __SH4A__)]: Remove conditional code.
10235 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
10237         * manual/sysinfo.texi (S_APPEND): Delete.
10238         (S_IMMUTABLE): Likewise.
10240 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
10241             Magnus Granberg  <zorry@gentoo.org>
10242             Mike Frysinger  <vapier@gentoo.org>
10244         [BZ #20662]
10245         * configure.ac (libc_cv_predef_stack_protector): Also check for
10246         __stack_chk_fail_local symbols.
10247         * configure: Regenerated.
10249 2016-11-15  Florian Weimer  <fweimer@redhat.com>
10251         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10252         (libc_hidden_def): Remove redefinition.
10253         (__sigsetjmp): Add hidden definition.
10254         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10255         (libc_hidden_def): Remove redefinition.
10256         (__sigsetjmp): Add hidden definition.
10258 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
10260         * scripts/build-many-glibcs.py (os.path): Do not import.
10261         (Context): Inherit explicitly from object.  Remove blank line
10262         between class and docstring.
10263         (Config): Likewise.
10264         (Glibc): Likewise.
10265         (Command): Likewise.
10266         (CommandList): Likewise.
10267         (Context.write_files): Store chmod mode in a variable.
10269         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
10270         LIBC_SLIBDIR_RTLDDIR for tilegx32.
10271         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
10273 2016-11-14  Zack Weinberg  <zackw@panix.com>
10275         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
10276         creating or re-creating it.
10278         * string/bits/string2.h: Fix typo in comment.
10280 2016-11-14  Zack Weinberg  <zackw@panix.com>
10282         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
10283         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
10284         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
10285         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
10286         of redirected function names.
10288         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
10289         as well.  Document that MESSAGE must be a single string literal.
10291 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
10293         * scripts/build-many-glibcs.py: New file.
10295         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
10296         (do_test): Disable -Wmaybe-uninitialized around uses of
10297         except_mask.
10299         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
10301 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
10303         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
10304         (atomic_store_release): Provide tilepro-specific implementations.
10306 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
10308         * math/math.h (__MATH_TG): New macro.
10309         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
10310         [__USE_ISOC99] (signbit): Likewise.
10311         [__USE_ISOC99] (isfinite): Likewise.
10312         [__USE_ISOC99] (isnan): Likewise.
10313         [__USE_ISOC99] (isinf): Likewise.
10314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
10315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
10316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
10317         __MATH_TG and __MATH_EVAL_FMT2.
10318         * sysdeps/generic/math_private.h (fabs_tg): Define using
10319         __MATH_TG.
10320         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10321         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
10322         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
10323         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
10324         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
10325         macro.
10326         (__iscanonical): Likewise.
10327         (iscanonical): Define using __MATH_TG.
10329 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10331         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
10332         guards.
10334         * sysdeps/unix/sysv/linux/access.c: New file.
10335         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
10337 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
10339         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
10340         and __WORDSIZE32_PTRDIFF_LONG.
10342 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10344         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10346 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10348         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
10349         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
10350         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
10351         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
10352         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
10353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
10354         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
10355         * sysdeps/unix/sysv/linux/truncate.c: New file.
10356         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
10357         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10358         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
10359         Remove.
10360         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
10361         Likewise.
10363         * posix/tst-truncate-common.c: New file.
10364         * posix/tst-truncate.c: Use tst-truncate-common.c.
10365         * posix/tst-truncate64.c: Likewise and add LFS tests.
10366         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
10367         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
10368         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
10369         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
10370         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
10371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
10372         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
10373         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
10374         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
10375         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10376         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
10377         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
10378         Remove.
10379         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
10380         Likewise.
10382 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
10384         [BZ #20790]
10385         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
10386         to MAXLINESIZE.
10387         * sunrpc/bug20790.x: New file.
10388         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
10389         variable.
10390         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
10391         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
10393         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
10395         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
10397         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
10398         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
10399         calloc, realloc, free, memalign and __libc_memalign rather than
10400         making them optional.
10402         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
10403         for libc.so.
10405 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10407         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
10408         ptw-lseek64.
10409         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
10410         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
10411         Likewise.
10412         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
10413         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
10414         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
10415         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
10416         * sysdeps/unix/sysv/linux/lseek.c: New file.
10417         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
10418         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
10419         __libc_lseek64 from auto-generation.
10420         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10421         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
10423 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10425         * nptl/tst-basic1.c (tf, do_test): Use write_message.
10426         * nptl/tst-cleanup1.c (do_test): Likewise.
10427         * nptl/tst-cleanup3.c (do_test): Likewise.
10428         * nptl/tst-key1.c (do_test): Likewise.
10429         * nptl/tst-key2.c (tf, do_test): Likewise.
10430         * nptl/tst-key3.c (tf, do_test): Likewise.
10431         * nptl/tst-stdio1.c (do_test): Likewise.
10432         * nptl/tst-stdio2.c (do_test): Likewise.
10434         * nptl/tst-kill3.c (handler): Use write_message in place of write.
10435         * nptl/tst-kill6.c (handler): Likewise.
10436         * nptl/tst-tls2.c (CB): Likewise.
10437         * nptl/tst-tls3.c (CB): Likewise.
10439 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
10441         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
10443 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
10444             Steve Ellcey  <sellcey@caviumnetworks.com>
10446         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
10447           __ASSUME_ST_INO_64_BIT as 0
10448         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
10449         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
10450           over the code where __ASSUME_ST_INO_64_BIT is used.
10451         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
10452         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
10453         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10455 2016-11-07  Florian Weimer  <fweimer@redhat.com>
10457         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10458         Document ABI exposure of the __kind offset.
10459         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10460         Mention reason for the __kind offset exposure in the ABI.
10461         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10462         Likewise.
10463         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10464         Likewise.
10465         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10466         Likewise.
10467         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
10468         (struct __pthread_mutex_s): Likewise.
10469         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10470         Likewise.
10471         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10472         Likewise.
10473         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10474         Likewise.
10475         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10476         Likewise.
10477         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10478         Likewise.
10479         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10480         Likewise.
10481         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10482         (struct __pthread_mutex_s): Likewise.
10483         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10484         (struct __pthread_mutex_s): Likewise.
10485         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
10486         Likewise.
10488 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
10490         * test-skeleton.c: Document do_test usage.
10492 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
10494         * iconv/gconv.h (__gconv_info): Define __data element using a
10495         zero-length array.
10497 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
10499         * math/test-tgmath2.c: Split up test function.
10501 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10503         * Rules (tests-expected): New variable, depending on
10504         $(run-built-tests).
10505         (tests): Pass $(tests-expected) to merge-test-results.sh, not
10506         $(tests).
10508         * Rules [$(run-built-tests) = no] (tests): Do not depend on
10509         $(tests-unsupported).
10511 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10513         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10514         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
10516 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10518         [BZ #20768]
10519         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
10520         __fegetenv instead of fegetenv.
10522         [BZ #14139]
10523         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
10524         (find_files): Obtain platform name from libm-test-ulps-name and
10525         store in %pplatforms.
10526         (canonicalize_platform): Remove.
10527         (print_platforms): Use $pplatforms directly.
10528         (by_platforms): Do not allow for platforms missing from
10529         %pplatforms.
10530         * sysdeps/aarch64/libm-test-ulps-name: New file.
10531         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
10532         * sysdeps/arm/libm-test-ulps-name: Likewise.
10533         * sysdeps/generic/libm-test-ulps-name: Likewise.
10534         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
10535         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
10536         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
10537         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
10538         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
10539         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
10540         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
10541         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
10542         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
10543         * sysdeps/nios2/libm-test-ulps-name: Likewise.
10544         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
10545         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
10546         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
10547         * sysdeps/sh/libm-test-ulps-name: Likewise.
10548         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
10549         * sysdeps/tile/libm-test-ulps-name: Likewise.
10550         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
10552         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
10554         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
10555         (test-xfail-check-execstack): New variable.
10557         * sysdeps/mips/localplt.data: New file.
10559 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
10560             Steve Ellcey  <sellcey@caviumnetworks.com>
10562         * bits/wordsize.h: Add documentation.
10563         * sysdeps/aarch64/bits/wordsize.h : New file
10564         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
10565         definitions.
10566         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
10567         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
10568         with #if instead of #ifdef.
10569         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
10570         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
10571         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
10572         Add or change defines.
10573         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
10574         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10575         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
10576         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
10577         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10578         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10579         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
10580         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
10581         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
10582         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10583         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
10584         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
10585         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
10586         * sysdeps/x86/bits/wordsize.h: Likewise.
10588 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
10589             Kevin Petit  <kevin.petit@arm.com>
10591         * sysdeps/aarch64/memchr.S (__memchr): New file.
10593 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10595         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
10597 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
10599         [BZ #19398]
10600         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
10601         $(linknamespace-symlists-tests).
10603 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
10605         * time/tst-strptime2.c: Ignore -Wformat-length warning.
10607 2016-11-02  Florian Weimer  <fweimer@redhat.com>
10608             Carlos O'Donell  <carlos@redhat.com>
10610         [Bug #20729]
10611         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
10612         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
10613         for -Os related change.
10615 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
10617         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
10619 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
10621         [BZ #19673]
10622         * manual/math.texi (Exponents and Logarithms): Correct description
10623         of clog10.
10625 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
10627         [Bz #20729]
10628         * locale/weight.h: Include libc-internal.h.
10629         * locale/weightwc.h: Likewise.
10630         * nptl/nptl_dbP.h: Likewise.
10632 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
10634         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
10635         when it is MACH_PORT_NULL.
10637 2016-10-31  Andreas Schwab  <schwab@suse.de>
10639         [BZ #20707]
10640         * posix/glob.c (glob): Initialize pglob before checking for
10641         GLOB_BRACE.  Don't call glob recursively if pattern contains no
10642         valid brace expression despite GLOB_BRACE.
10643         * posix/globtest.sh: Test it.
10645 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10647         [BZ #20729]
10648         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
10649         Define.
10650         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
10651         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
10652         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
10653         for seq2.back_us and seq1.back_us only for -Os compiles.
10654         * locale/weightwc.h (findix): Likewise.
10655         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
10656         DB_GET_FIELD_ADDRESS only for -Os compiles.
10657         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
10658         for slen only for -Os compiles.
10659         * string/strcoll_l.c (get_next_seq): Ignore
10660         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
10661         for -Os compiles.
10663         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
10664         * include/crypt.h: New file.
10666 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10668         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
10669         from test-skeleton.c.
10670         (statclass): Replace calls to write with calls to write_message.
10672 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10674         * math/math.h
10675         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
10676         New macro.
10677         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
10678         Likewise.
10679         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
10680         Likewise.
10681         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
10682         SNANL.
10683         * math/test-double.h (snan_value_MACRO): New macro.
10684         * math/test-float.h (snan_value_MACRO): Likewise.
10685         * math/test-ldouble.h (snan_value_MACRO): Likewise.
10686         * math/libm-test.inc (issignaling_test_data): Add tests of
10687         snan_value_MACRO.
10689 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10691         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
10692         behavior when eliding a lock not held by the current thread.
10693         * sysdeps/powerpc/nptl/elide.h: Likewise.
10695 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10697         [BZ #20728]
10698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
10699         branch to _exit() by a function call.
10701 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10703         * malloc/malloc.c: Update chunk layout comments.
10704         (chunk_main_arena): Update comment.
10706 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10708         * crypt/sha256.c, crypt/sha256-block.c,
10709         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
10710         sha256_process_block to __sha256_process_block.
10711         * crypt/sha512.c, crypt/sha512-block.c,
10712         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
10713         sha512_process_block to __sha512_process_block.
10715 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10717         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
10719         * math/test-nan-overflow.c: Include stdlib.h for malloc.
10721 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
10723         [BZ #20019]
10724         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
10725         definition in unrelocated shared library.
10726         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10728 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10730         [BZ #20729]
10731         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
10732         * sysdeps/unix/sysv/linux/i386/Makefile
10733         (uses-6-syscall-arguments): Define.
10734         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
10735         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
10736         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
10737         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
10738         Likewise.
10739         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
10740         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
10741         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
10742         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
10743         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
10744         (CFLAGS-fallocate64.os): Likewise.
10745         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
10746         (CFLAGS-pthread_rwlock_timedrdlock.os)
10747         (CFLAGS-pthread_rwlock_timedwrlock.o)
10748         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
10749         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
10750         (CFLAGS-sem_timedwait.os): Likewise.
10752 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10754         * elf/tst-linkall-static.c: New file.
10755         * elf/Makefile (tests-static): Add tst-linkall-static.
10756         (tst-linkall-static): Link against static libraries.
10758 2016-10-27  Florian Weimer  <fweimer@redhat.com>
10760         * malloc/malloc.c (sysmalloc): Initialize previous size field of
10761         mmaped chunks.
10763 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10765         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
10766         members to mchunk_prev_size, mchunk_size.
10767         (chunk_main_arena): Reverse sense and rename from
10768         chunk_non_main_arena.
10769         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
10770         mchunk_size instead of size.
10771         (set_non_main_arena): Define.
10772         (chunksize): Use chunksize_nomask instead of direct member access.
10773         (chunksize_nomask): Define.
10774         (next_chunk): Use chunksize instead of direct member access.
10775         (prev_size, set_prev_size): Define.
10776         (prev_chunk): Use prev_size instead of direct member access.
10777         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
10778         (inuse_bit_at_offset, set_inuse_bit_at_offset)
10779         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
10780         (mchunk_prev_size, mchunk_size): Poison tokens.
10781         (unlink): Use chunksize_nomask, prev_size accessors.
10782         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
10783         (do_check_free_chunk): Use prev_size accessor.
10784         (sysmalloc): Use set_prev_size, set_head accessors.
10785         (munmap_chunk, mremap_chunk): Use prev_size accessor.
10786         (__libc_free): Use chunksize_nomask accessor.
10787         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
10788         chunk_main_arena accessors.
10789         (_int_free): Use chunksize_nomask, prev_size accessors.
10790         (malloc_consolidate): Use chunksize, prev_size accessors.
10791         (_int_realloc): Use chunksize_nomask accessor.
10792         (_int_memalign): Use set_prev_size accessor.
10793         (__malloc_info): Use chunksize_nomask accessor.
10794         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
10795         accessors.
10796         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
10797         (heap_trim): Use chunksize_nomask, prev_size accessors.
10799 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10801         [BZ #19380]
10802         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
10803         for inexact results.
10804         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
10805         of inexact result where mpfr_subnormalize is the only inexact
10806         step.
10807         * stdlib/tst-strtod-round-data.h: Regenerated.
10808         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
10809         Define to 0.
10810         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
10812 2016-10-27  David S. Miller  <davem@davemloft.net>
10814         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
10816 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10818         * malloc/malloc.c (do_set_mallopt_check): New function.
10819         (do_set_mmap_threshold): Likewise.
10820         (do_set_mmaps_max): Likewise.
10821         (do_set_top_pad): Likewise.
10822         (do_set_perturb_byte): Likewise.
10823         (do_set_trim_threshold): Likewise.
10824         (do_set_arena_max): Likewise.
10825         (do_set_arena_test): Likewise.
10826         (__libc_mallopt): Use them.
10828 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
10830         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10831         (canonicalize): New declaration.
10832         * math/Versions (canonicalize): New libm symbol at version
10833         GLIBC_2.25.
10834         (canonicalizef): Likewise.
10835         (canonicalizel): Likewise.
10836         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
10837         * math/s_canonicalize_template.c: New file.
10838         * math/libm-test.inc: Update comment on functions tested and
10839         testing of NaN payloads.
10840         (TEST_NAN_PAYLOAD): New macro.
10841         (NO_TEST_INLINE): Update value.
10842         (XFAIL_TEST): Likewise.
10843         (ERRNO_UNCHANGED): Likewise.
10844         (ERRNO_EDOM): Likewise.
10845         (ERRNO_ERANGE): Likewise.
10846         (IGNORE_RESULT): Likewise.
10847         (NON_FINITE): Likewise.
10848         (TEST_SNAN): Likewise.
10849         (NO_TEST_MATHVEC): Likewise.
10850         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
10851         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
10852         (struct test_Ffp_b1_data): New type.
10853         (RUN_TEST_Ffp_b1): New macro.
10854         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10855         (canonicalize_test_data): New array.
10856         (canonicalize_test): New function.
10857         (main): Call canonicalize_test.
10858         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
10859         canonicalizef and canonicalizel.
10860         * manual/libm-err-tab.pl: Update comment on interfaces without
10861         ulps tabulated.
10862         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
10863         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
10864         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10865         canonicalize.
10866         (CFLAGS-nldbl-canonicalize.c): New variable.
10867         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
10868         to ...
10869         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
10870         ... here.
10871         (do_test): Also test canonicalizel.
10872         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
10873         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
10874         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
10875         file.
10876         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
10877         Use libm_hidden_def.
10878         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
10879         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
10880         (do_test): Also test canonicalizel.
10881         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
10882         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
10883         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
10884         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
10885         libm_hidden_def.
10886         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
10887         macro.
10888         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
10889         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
10890         * sysdeps/nacl/libm.abilist: Update.
10891         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10892         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10893         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10894         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10895         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10896         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10897         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10898         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10899         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10900         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10901         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10902         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10904         Likewise.
10905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10906         Likewise.
10907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10908         Likewise.
10909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10910         Likewise.
10911         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10912         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10913         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10914         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10915         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10917         Likewise.
10918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10919         Likewise.
10920         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10921         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10922         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10924         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
10925         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10926         getpayload.
10927         (CFLAGS-nldbl-getpayload.c): New variable.
10929 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10931         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
10932         integer from the format string.
10934 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10936         [BZ #19473]
10937         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
10938         declarations.
10939         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
10940         weak aliases.
10941         * malloc/hooks.c (__malloc_get_state): Remove definition.
10942         (malloc_get_state): New stub implementation as
10943         compatibility symbol.
10944         (malloc_set_state): Rename from __malloc_set_state.  Turn into
10945         compat symbol.
10946         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
10947         malloc_set_state.
10948         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
10950 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10952         * iconvdata/iso646.c (enum variant): Drop illegal_var.
10953         (names): Turn into concatenation of strings.
10954         (gconv_init): Adapt iteration over names.
10956 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10958         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
10959         make const.
10960         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
10961         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
10962         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
10963         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
10964         character in sbconv.
10965         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
10966         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
10967         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
10969 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10971         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
10973         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
10974         (M_TRIM_THRESHOLD): Likewise.
10976         * manual/memory.texi (M_ARENA_TEST): Add documentation.
10977         (M_ARENA_MAX): Likewise.
10978         * malloc/malloc.c: Remove obsolete comment.
10980         * manual/memory.texi: Add environment variable alternatives to
10981         setting mallopt parameters.
10983 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
10985         * include/atomic.h
10986         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
10987         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
10989 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10991         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
10992         * stdlib/tst-strfrom.h: New file.
10993         * stdlib/tst-strfrom.c: New file.
10994         * stdlib/tst-strfrom-locale.c: New file.
10996         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
10997         * stdlib/bug-strtod2.c: Likewise.
10998         * stdlib/tst-strtod-round-skeleton.c: Likewise.
10999         * stdlib/tst-strtod6.c: Likewise.
11000         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
11002 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11004         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
11005         * manual/arith.texi: Document strfromd, strfromf, strfroml.
11006         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
11007         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
11008         * stdlib/stdlib.h (strfromd): New declaration.
11009         (strfromf): Likewise.
11010         (strfroml): Likewise.
11011         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
11012         strfrom.
11013         * stdlib/strfromd.c: New file.
11014         * stdlib/strfromf.c: Likewise.
11015         * stdlib/strfroml.c: Likewise.
11016         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11017         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11018         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11019         * sysdeps/arm/nacl/libc.abilist: Update.
11020         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11021         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11022         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11023         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11024         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11025         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11026         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11027         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11028         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11029         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11030         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11031         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11032         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11033         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11038         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11039         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11040         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11041         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11042         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11045         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11046         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11047         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11049 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
11051         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
11052         instead of cmpli.
11053         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
11054         instead of cmpli.
11056 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
11058         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
11059         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11060         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
11061         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11062         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11063         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11065 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11067         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
11068         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11069         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
11070         SYSCALL_LL64_PRW.
11071         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11072         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
11073         __ASSUME_PRW_DUMMY_ARG.
11074         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
11075         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11076         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11077         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11078         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
11079         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
11081 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
11083         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
11085 2016-10-22  Florian Weimer  <fweimer@redhat.com>
11087         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
11088         "C++", to override a potential extern "C" directive around the
11089         header file inclusion.
11091 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
11093         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
11095 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11097         * sysdeps/powerpc/fpu/fenv_private.h:
11098         (_FPU_MASK_ALL): Rename to...
11099         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
11100         XE FPSCR bits.
11102         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
11104         (_FPU_MASK_ROUNDING): Rename to...
11105         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
11106         NI bits.
11108         (_FPU_MASK_EXCEPT_ROUND): Rename to...
11109         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
11110         bits and rounding bits.
11112         (__libc_feholdbits_ppc): New inline function to mask, set,
11113         and pontentially clear FSPCR bits, and change MSR[FE] bits.
11114         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
11115         (libc_feholdexcept_setround_ppc): Likewise.
11117         (__libc_femergeenv_ppc): New function to dynamically mask both
11118         old and new FP environments and merge.
11119         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
11120         (libc_feresetround_ppc): Likewise.
11121         (libc_feupdateenv_test_ppc): Likewise.
11122         (libc_feupdateenv_ppc): Likewise.
11124         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
11125         of ISA RN bits, and update macro names.
11126         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
11127         effectively the same as the previously mentioned function.
11129         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
11130         usage with fe_resetround_ppc.
11132         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
11133         to be used.
11134         (libc_feholdexcept_setround_ctxf): Likewise.
11135         (libc_feholdexcept_setround_ctxl): Likewise.
11137 2016-10-21  Florian Weimer  <fweimer@redhat.com>
11139         [BZ #20715]
11140         * math/math.h [__cplusplus] (iszero): Define as function template.
11141         * math/Makefile [CXX] (tests): Add test-math-iszero.
11142         (CFLAGS-test-math-iszero.cc): Set.
11143         * math/test-math-iszero.cc: New file.
11145 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
11147         [BZ #20660]
11148         * sysdeps/arm/e_sqrt.c: New file.
11149         * sysdeps/arm/e_sqrtf.c: Likewise.
11151 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
11153         [BZ #20718]
11154         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
11155         not use floating-point comparisons to test sign.
11156         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
11157         Likewise.
11159         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11160         (getpayload): New declaration.
11161         * math/Versions (getpayload): New libm symbol at version
11162         GLIBC_2.25.
11163         (getpayloadf): Likewise.
11164         (getpayloadl): Likewise.
11165         * math/Makefile (libm-calls): Add s_getpayloadF.
11166         * math/libm-test.inc: Include <nan-high-order-bit.h>.
11167         (struct test_f_f_data): Add comment.
11168         (RUN_TEST_fp_f): New macro.
11169         (RUN_TEST_LOOP_fp_f): Likewise.
11170         (getpayload_test_data): New array.
11171         (getpayload_test): New function.
11172         (main): Call getpayload_test.
11173         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
11174         descriptor.
11175         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
11176         getpayloadf and getpayloadl.
11177         * manual/libm-err-tab.pl: Update comment on interfaces without
11178         ulps tabulated.
11179         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
11180         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
11181         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
11182         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
11183         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
11184         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
11185         * sysdeps/nacl/libm.abilist: Update.
11186         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11187         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11188         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11189         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11190         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11191         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11192         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11193         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11194         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11195         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11196         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11197         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11199         Likewise.
11200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11201         Likewise.
11202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11203         Likewise.
11204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11205         Likewise.
11206         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11207         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11208         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11209         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11210         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11212         Likewise.
11213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11214         Likewise.
11215         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11216         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11217         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11219 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11221         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
11222         tst-fallocate{64}.
11223         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
11224         on syscall return.
11226 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
11228         [BZ #20689]
11229         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
11230         usable.
11232 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
11234         * sysdeps/generic/nan-high-order-bit.h: New file.
11235         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
11236         * sysdeps/mips/nan-high-order-bit.h: Likewise.
11237         * sysdeps/hppa/math_private.h: Remove file.
11238         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
11239         not define here.
11240         * sysdeps/ieee754/dbl-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/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/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/dbl-64/wordsize-64/s_issignaling.c: Include
11250         <nan-high-order-bit.h>.
11251         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11252         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
11253         <nan-high-order-bit.h>.
11254         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11255         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
11256         <nan-high-order-bit.h>.
11257         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11258         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
11259         <nan-high-order-bit.h>.
11260         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11261         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
11262         <nan-high-order-bit.h>.
11263         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11264         * sysdeps/ieee754/flt-32/s_totalordermagf.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-128/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-128/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-128/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-128ibm/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-128ibm/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-128ibm/s_totalordermagl.c: Include
11283         <nan-high-order-bit.h>.
11284         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11285         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
11286         <nan-high-order-bit.h>.
11287         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11288         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11289         <nan-high-order-bit.h>.
11290         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11291         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11292         <nan-high-order-bit.h>.
11293         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11295 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11297         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
11299 2016-09-22  John David Anglin  <dave.anglin@bell.net>
11301         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
11302         abort-instr.h.
11303         (EFAULT): Remove conditional define.
11304         (ENOSYS): Likewise.
11305         (atomic_compare_and_exchange_val_acq): Use instruction nullification
11306         instead of conditional branch instructions.
11308 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
11310         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11311         (totalordermag): New declaration.
11312         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
11313         New macro.
11314         * math/Versions (totalordermag): New libm symbol at version
11315         GLIBC_2.25.
11316         (totalordermagf): Likewise.
11317         (totalordermagl): Likewise.
11318         * math/Makefile (libm-calls): Add s_totalordermagF.
11319         * math/libm-test.inc (totalordermag_test_data): New array.
11320         (totalordermag_test): New function.
11321         (main): Call totalordermag_test.
11322         * math/test-tgmath.c (NCALLS): Increase to 125.
11323         (F(compile_test)): Call totalordermag.
11324         (F(totalordermag)): New function.
11325         * manual/arith.texi (FP Comparison Functions): Document
11326         totalordermag, totalordermagf and totalordermagl.
11327         * manual/libm-err-tab.pl: Update comment on interfaces without
11328         ulps tabulated.
11329         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
11330         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
11331         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
11332         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
11333         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
11334         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
11335         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
11336         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11337         totalordermag.
11338         (CFLAGS-nldbl-totalordermag.c): New variable.
11339         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
11340         (do_test): Also test totalordermagl.
11341         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
11342         Likewise.
11343         * sysdeps/nacl/libm.abilist: Update.
11344         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11345         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11346         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11347         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11348         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11349         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11350         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11351         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11352         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11353         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11354         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11355         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11357         Likewise.
11358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11359         Likewise.
11360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11361         Likewise.
11362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11363         Likewise.
11364         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11365         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11366         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11367         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11368         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11370         Likewise.
11371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11372         Likewise.
11373         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11374         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11375         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11377 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
11379         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
11380         boolean.
11382 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
11384         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
11385         raising FE_INVALID with feraisexcept in case where part of
11386         argument is infinite, subtract that part of argument from itself.
11387         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
11388         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
11389         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11391 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11393         * math/libm-test.inc (totalorder_test_data): Add more tests.
11395 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11397         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
11398         Undefine weak_alias and add a comment why mips64 require
11399         versioning.
11401 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11403         [BZ #20647]
11404         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
11405         maximum CPUID level is less than 2.
11407 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11409         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11410         (totalorder): New declaration.
11411         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
11412         New macro.
11413         * math/Versions (totalorder): New libm symbol at version
11414         GLIBC_2.25.
11415         (totalorderf): Likewise.
11416         (totalorderl): Likewise.
11417         * math/Makefile (libm-calls): Add s_totalorderF.
11418         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
11419         string.
11420         * math/libm-test.inc (PAYLOAD_DIG): New macro.
11421         (qnan_value_pl): Likewise.
11422         (snan_value_pl): Likewise.
11423         (qnan_value): Define using qnan_value_pl.
11424         (snan_value): Define using snan_value_pl.
11425         (struct test_ff_i_data): Add comment about which tests use this
11426         structure.
11427         (RUN_TEST_ff_b): New macro.
11428         (RUN_TEST_LOOP_ff_b): Likewise.
11429         (totalorder_test_data): New array.
11430         (totalorder_test): New function.
11431         (main): Call totalorder_test.
11432         * math/test-tgmath.c (NCALLS): Increase to 122.
11433         (F(compile_test)): Call totalorder.
11434         (F(totalorder)): New function.
11435         * manual/arith.texi (FP Comparison Functions): Document
11436         totalorder, totalorderf and totalorderl.
11437         * manual/libm-err-tab.pl: Update comment on interfaces without
11438         ulps tabulated.
11439         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
11440         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
11441         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
11442         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
11443         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
11444         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
11445         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
11446         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11447         totalorder.
11448         (CFLAGS-nldbl-totalorder.c): New variable.
11449         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
11450         file.
11451         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11452         Add test-totalorderl-ldbl-128ibm.
11453         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
11454         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
11455         test-totalorderl-ldbl-96.
11456         * sysdeps/nacl/libm.abilist: Update.
11457         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11458         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11459         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11460         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11461         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11462         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11463         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11464         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11465         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11466         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11467         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11468         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11470         Likewise.
11471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11472         Likewise.
11473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11474         Likewise.
11475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11476         Likewise.
11477         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11478         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11479         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11480         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11481         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11483         Likewise.
11484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11485         Likewise.
11486         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11487         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11488         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11490 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11492         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
11493         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
11494         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
11495         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
11496         remove ENOSYS implementation.
11497         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
11498         Consolidate all Linux implementations.
11500 2016-10-11  Florian Weimer  <fweimer@redhat.com>
11502         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
11503         * resolv/herror.c (herror): Cast away const-ness.
11504         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
11505         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
11507 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
11509         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
11510         instead of M_NAN + M_NAN.
11511         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11513 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11515         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
11516         unused variable 'p'.
11518 2016-10-09  Alan Modra  <amodra@gmail.com>
11519             Andreas Schwab  <schwab@linux-m68k.org>
11521         [BZ #20554]
11522         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
11523         [PIC && !SHARED]: Set up PIC register for PLT call.
11525 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
11527         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
11528         conditional on value of [__FLT_EVAL_METHOD__].
11529         * math/test-iseqsig-excess-precision.c: New file.
11530         * math/Makefile (tests): Add test-iseqsig-excess-precision.
11532 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11534         * math/s_iseqsig_template.c: Include math-private.h.
11536         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
11537         * posix/tst-posix_fadvise.c: New file.
11538         * posix/tst-posix_fadvise64.c: Likewise.
11539         * posix/tst-posix_fadvise-common.c: Likewise.
11540         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11541         (__ASSUME_FADVISE64_64_6ARG): Define.
11542         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11543         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
11544         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11545         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
11546         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
11547         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
11548         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
11549         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
11550         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
11551         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
11552         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
11553         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
11554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
11555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
11556         Likewise.
11557         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
11558         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
11559         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
11560         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11561         Alias to __posix_fadvise64_l32.
11562         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
11563         Add compat definition to posix_fadvise64.
11564         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11565         Add versioned definition to posix_fadvise64.
11566         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
11567         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
11568         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
11569         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
11570         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
11572         * io/Makefile (tests): Add tst-posix_fallocate and
11573         tst-posix_fallocate64.
11574         * io/tst-posix_fallocate-common.c: New file.
11575         * io/tst-posix_fallocate.c: Likewise.
11576         * io/tst-posix_fallocate64.c: Likewise.
11577         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
11578         file.
11579         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
11580         Likewise.
11581         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
11582         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
11583         Likewise.
11584         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
11585         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
11586         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
11587         SYSCALL_LL to pass both offset and len arguments.
11588         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
11589         Likewise.
11590         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
11591         __libc_pwrite64 alias used by posix_fallocate64.
11593         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11594         tst-fallocate64.
11595         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11596         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11597         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11598         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11599         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11600         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11601         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11602         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11603         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11604         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11605         macro on offset argument.
11606         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11607         SYSCALL_LL64 on offset argument.
11609         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11610         tst-fallocate64.
11611         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11612         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11613         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11614         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11615         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11616         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11617         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11618         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11619         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11620         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11621         macro on offset argument.
11622         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11623         SYSCALL_LL64 on offset argument.
11624         * test-skeleton.c (FAIL_RET): Add macro.
11625         (FAIL_EXIT): Likewise.
11626         (FAIL_EXIT1): Likewise.
11627         (_FAIL): Likewise.
11629 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11631         [BZ #20629]
11632         resolv: Remove RES_USEBSTRING and its implementation.
11633         * resolv/resolv.h (RES_USEBSTRING): Remove.
11634         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
11635         (digitvalue, encode_bitstring, decode_bitstring): Remove.
11636         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
11637         (labellen): Remove extended label types support.
11638         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
11639         * resolv/res_init.c (res_setoptions): Likewise.
11640         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11642 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11644         resolv: Remove RES_NOIP6DOTINT and its implementation.
11645         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
11646         (RES_NOIP6DOTINT): Remove.
11647         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
11648         handling.
11649         * resolv/res_debug.c (p_option): Likewise.
11650         * resolv/res_init.c (res_setoptions): Likewise.
11651         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11653 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11655         resolv: Deprecate unimplemented flags.
11656         * misc/sys/cdefs.h (__glibc_macro_warning1)
11657         (__glibc_macro_warning): Define.
11658         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
11659         (RES_KEEPTSIG): Mark as deprecated.
11660         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
11661         RES_NOCHECKNAME, RES_KEEPTSIG.
11662         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
11664 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11666         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
11667         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
11668         Use strong_alias to create symbols for glibc verison 2.19.
11670 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11672         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
11674 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11676         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
11678 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11680         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
11682 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11684         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11685         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
11686         in header for using it as type for ifunc function because __GI_* symbols
11687         for ppc32 do not target the ifunc symbols.
11688         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11690 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11692         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
11693         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
11694         libc_ifunc_hidden_def.
11695         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
11696         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
11697         Redirect ifunced function in header for using it as type of ifunc'ed
11698         function. Redefine libc_hidden_def to use fallback non ifunc'ed
11699         function for __GI_* symbol.
11700         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
11701         * include/libc-symbols.h
11702         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
11704 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11706         [BZ #20478]
11707         * sysdeps/s390/multiarch/ifunc-resolve.h
11708         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
11709         to create ifunc symbols.
11710         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
11711         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
11712         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
11713         for using it as type for ifunc function.
11714         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11715         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11716         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11717         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11718         * sysdeps/s390/multiarch/strcat.c: Likewise.
11719         * sysdeps/s390/multiarch/strchr.c: Likewise.
11720         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11721         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11722         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11723         * sysdeps/s390/multiarch/strlen.c: Likewise.
11724         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11725         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11726         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11727         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11728         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11729         * sysdeps/s390/multiarch/strspn.c: Likewise.
11730         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11731         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11732         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11733         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11734         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11735         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11736         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11737         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
11738         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
11739         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11740         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
11741         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
11743 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11745         * include/libc-symbols.h (__ifunc_resolver):
11746         New macro is used by __ifunc* macros.
11747         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
11748         depending on HAVE_GCC_IFUNC.
11749         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
11750         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
11751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11752         Redirect ifunced function in header for using as type for ifunc function.
11753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
11754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
11755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
11756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
11757         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11758         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11759         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11760         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11761         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11762         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11763         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11764         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11765         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11766         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
11769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
11771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11772         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11773         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11774         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11775         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11776         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11777         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11778         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11779         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11780         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11781         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11782         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11783         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11784         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
11785         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
11787         Add libc_hidden_def() and use libc_ifunc_hidden() macro
11788         instead of libc_ifunc() macro.
11789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
11790         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11792 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11794         * config.h.in (HAVE_GCC_IFUNC): New undef.
11795         * configure.ac: Add check if gcc supports attribute ifunc feature.
11796         * configure: Regenerated.
11797         * manual/install.texi: Add recommendation for gcc with
11798         indirect-function support.
11799         * INSTALL: Regenerated.
11801 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
11803         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
11804         macro.
11805         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11806         (__iseqsig): New declaration.
11807         * math/s_iseqsig_template.c: New file.
11808         * math/Versions (__iseqsigf): New libm symbol at version
11809         GLIBC_2.25.
11810         (__iseqsig): Likewise.
11811         (__iseqsigl): Likewise.
11812         * math/libm-test.inc (iseqsig_test_data): New array.
11813         (iseqsig_test): New function.
11814         (main): Call iseqsig_test.
11815         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
11816         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
11817         * manual/libm-err-tab.pl: Update comment on interfaces without
11818         ulps tabulated.
11819         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
11820         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
11821         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
11822         * sysdeps/nacl/libm.abilist: Update.
11823         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11824         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11825         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11826         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11827         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11828         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11829         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11830         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11831         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11832         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11833         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11834         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11836         Likewise.
11837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11838         Likewise.
11839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11840         Likewise.
11841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11842         Likewise.
11843         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11844         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11845         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11846         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11847         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11849         Likewise.
11850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11851         Likewise.
11852         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11853         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11854         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11856 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11858         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
11859         do_sincos_2, sloww, sloww1): Update comments.
11861         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
11862         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
11864         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
11865         K boolean and rename it.
11866         (__sin): Adjust.
11867         (__cos): Adjust.
11869 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11870             Siddhesh Poyarekar  <siddhesh@sourceware.org>
11872         * manual/nss.texi: Fix typos in the manual.
11874 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11876         * manual/contrib.texi: Fix typos in the manual.
11878         * manual/maint.texi: Fix typos in the manual.
11880         * manual/install.texi: Fix typos in the manual.
11881         * INSTALL: Regenerated.
11883         * manual/lang.texi: Fix typos in the manual.
11885         * manual/probes.texi: Fix typos in the manual.
11887         * manual/threads.texi: Fix typos in the manual.
11889         * manual/debug.texi: Fix typos in the manual.
11891         * manual/crypt.texi: Fix typos in the manual.
11893         * manual/conf.texi: Fix typos in the manual.
11895         * manual/sysinfo.texi: Fix typos in the manual.
11897         * manual/users.texi: Fix typos in the manual.
11899         * manual/job.texi: Fix typos in the manual.
11901         * manual/process.texi: Fix typos in the manual.
11903         * manual/argp.texi: Fix typos in the manual.
11904         * manual/getopt.texi: Likewise.
11905         * manual/startup.texi: Likewise.
11907         * manual/signal.texi: Fix typos in the manual.
11909         * manual/setjmp.texi: Fix typos in the manual.
11911         * manual/resource.texi: Fix typos in the manual.
11913         * manual/time.texi: Fix typos in the manual.
11915         * manual/arith.texi: Fix typos in the manual.
11917         * manual/math.texi: Fix typos in the manual.
11919         * manual/syslog.texi: Fix typos in the manual.
11921         * manual/terminal.texi: Fix typos in the manual.
11923         * manual/socket.texi: Fix typos in the manual.
11925         * manual/filesys.texi: Fix typos in the manual.
11927         * manual/llio.texi: Fix typos in the manual.
11929         * manual/stdio.text: Fix typos in the manual.
11931 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11933         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
11934         instead of K1.
11936         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
11937         SHIFT_QUADRANT and make it bool.
11938         (do_sincos_2): Likewise.
11939         (sloww): Likewise.
11940         (sloww1): Likewise.
11941         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
11942         (__cos): Likewise.
11944 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11946         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11948 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
11950         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
11951         Define to __WORDSIZE, not conditional on [LONG_MAX ==
11952         0x7fffffffL].
11953         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11955 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11957         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
11958         inline by __inline__.
11959         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
11960         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
11961         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
11962         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
11963         sigset_t from signal.h.
11964         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
11965         which is already required.
11967 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
11969         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11971 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
11973         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
11974         (struct tcp_repair_window): New type.
11976 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11978         * libio/tst-memstream3.c: Include string.h.
11980 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11982         [BZ #18241]
11983         [BZ #20181]
11984         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
11985         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
11986         write position is at the end the buffer.
11987         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
11988         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
11989         (_IO_str_seekoff): Set correct offset from negative displacement and
11990         set EINVAL for invalid ones.
11991         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
11992         buffer length.
11993         (_IO_wstr_switch_to_get_mode): New function.
11994         (_IO_wstr_seekoff): Set correct offset from negative displacement and
11995         set EINVAL for invalid ones.
11996         * libio/tst-memstream3.c: New file.
11997         * libio/tst-wmemstream3.c: Likewise.
11998         * manual/examples/memstrm.c: Remove warning when priting size_t.
12000 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12002         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
12003         macro to use __builtin_fma.
12004         * sysdeps/x86_64/fpu/dla.h: Remove file.
12006         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12007         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
12008         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12010 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
12012         [BZ #20292]
12013         * elf/Makefile (routines): Add dl-addr-obj.
12014         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12015         tst-_dl_addr_inside_object.
12016         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12017         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12018         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12019         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12020         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12021         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12022         * elf/dl-open.c: Likewise.
12023         * elf/dl-addr-obj.c: New file.
12024         * elf/tst-_dl_addr_inside_object.c: New file.
12026 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12028         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12029         <bits/iscanonical.h>.
12030         * bits/iscanonical.h: New file.
12031         * math/s_iscanonicall.c: Likewise.
12032         * math/Versions (__iscanonicall): New libm symbol at version
12033         GLIBC_2.25.
12034         * math/libm-test.inc (iscanonical_test_data): New array.
12035         (iscanonical_test): New function.
12036         (main): Call iscanonical_test.
12037         * math/Makefile (headers): Add bits/iscanonical.h.
12038         (type-ldouble-routines): Add s_iscanonicall.
12039         * manual/arith.texi (Floating Point Classes): Document
12040         iscanonical.
12041         * manual/libm-err-tab.pl: Update comment on interfaces without
12042         ulps tabulated.
12043         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12044         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12045         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12046         Likewise.
12047         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12048         test-iscanonical-ldbl-128ibm.
12049         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
12050         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
12051         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
12052         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
12053         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
12054         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12055         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12057         Likewise.
12058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12059         Likewise.
12060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12061         Likewise.
12062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12063         Likewise.
12064         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12065         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12067 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12069         * string/bits/string3.h: Remove C++ style comments.
12071 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12073         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
12074         instead of ternary condition.
12075         (do_sincos_2): Likewise.
12076         (__sin): Likewise.
12077         (__cos): Likewise.
12078         (slow): Likewise.
12079         (sloww): Likewise.
12080         (sloww1): Likewise.
12081         (bsloww): Likewise.
12082         (bsloww1): Likewise.
12084         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
12085         instead of ternary condition.
12086         (do_sin_slow): Likewise.
12087         (do_sincos_1): Likewise.
12088         (do_sincos_2): Likewise.
12089         (__cos): Likewise.
12090         (sloww): Likewise.
12091         (sloww1): Likewise.
12092         (sloww2): Likewise.
12093         (bsloww): Likewise.
12094         (bsloww1): Likewise.
12095         (bsloww2): Likewise.
12097         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
12098         check from here...
12099         (slow2): ... and here...
12100         (__sin): ... to here.
12102 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
12104         * math/math.h
12105         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
12106         Cast argument to its own type.
12107         * math/test-iszero-excess-precision.c: New file.
12108         * math/Makefile (tests): Add test-iszero-excess-precision.
12109         (CFLAGS-test-iszero-excess-precision.c): New variable.
12111 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
12113         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
12114         field, add err field.
12115         (__spawni_child): Report error through err member instead of pipe.
12116         (__spawnix): Likewise.
12118 2016-09-28  Zack Weinberg  <zackw@panix.com>
12120         * scripts/check-installed-headers.sh: Generalize treatment of
12121         sys/elf.h to all target architectures.
12123         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
12124         deleted typedef ucontext_t.
12126 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12128         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
12129         (__INTERNAL_SYSCALL1): Likewise.
12130         (__INTERNAL_SYSCALL2): Likewise.
12131         (__INTERNAL_SYSCALL3): Likewise.
12132         (__INTERNAL_SYSCALL4): Likewise.
12133         (__INTERNAL_SYSCALL5): Likewise.
12134         (__INTERNAL_SYSCALL6): Likewise.
12135         (__INTERNAL_SYSCALL7): Likewise.
12136         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
12137         (__INTERNAL_SYSCALL_NARGS): Likewise.
12138         (__INTERNAL_SYSCALL_DISP): Likewise.
12139         (INTERNAL_SYSCALL_CALL): Likewise.
12140         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
12141         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
12142         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
12143         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
12144         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
12145         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
12146         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
12147         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
12148         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
12149         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
12150         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
12151         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
12152         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
12154 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
12156         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
12157         macro.
12158         * math/libm-test.inc (iszero_test_data): New array.
12159         (iszero_test): New function.
12160         (main): Call iszero_test.
12161         * manual/arith.texi (Floating Point Classes): Document iszero.
12162         * manual/libm-err-tab.pl: Update comment on interfaces without
12163         ulps tabulated.
12165 2016-09-23  Zack Weinberg  <zackw@panix.com>
12167         * scripts/check-installed-headers.sh: New script.
12168         * Rules: In each directory that defines header files to be installed,
12169         run check-installed-headers.sh on them as a special test.
12170         * Makefile: Likewise for the headers installed at top level.
12172         * include/aliases.h, include/alloca.h, include/argz.h
12173         * include/arpa/nameser.h, include/arpa/nameser_compat.h
12174         * include/elf.h, include/envz.h, include/err.h
12175         * include/execinfo.h, include/fpu_control.h, include/getopt.h
12176         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
12177         * include/link.h, include/malloc.h, include/mcheck.h
12178         * include/mntent.h, include/netinet/ether.h
12179         * include/nss.h, include/obstack.h, include/printf.h
12180         * include/pty.h, include/resolv.h, include/rpc/auth.h
12181         * include/rpc/auth_des.h, include/rpc/auth_unix.h
12182         * include/rpc/clnt.h, include/rpc/des_crypt.h
12183         * include/rpc/key_prot.h, include/rpc/netdb.h
12184         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
12185         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
12186         * include/rpc/rpc_msg.h, include/rpc/svc.h
12187         * include/rpc/svc_auth.h, include/rpc/xdr.h
12188         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
12189         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
12190         * include/rpcsvc/ypupd.h, include/shadow.h
12191         * include/stdio_ext.h, include/sys/epoll.h
12192         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
12193         * include/sys/prctl.h, include/sys/profil.h
12194         * include/sys/statfs.h, include/sys/sysctl.h
12195         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
12196         * sysdeps/arm/nacl/include/bits/setjmp.h
12197         * sysdeps/mips/include/sys/asm.h
12198         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
12199         * sysdeps/unix/sysv/linux/include/sys/timex.h
12200         * sysdeps/x86/fpu/include/bits/fenv.h:
12201         Add #ifndef _ISOMAC guard around internal declarations.
12202         Add multiple-inclusion guard if not already present.
12204 2016-09-23  Zack Weinberg  <zackw@panix.com>
12206         * sysdeps/generic/sys/ucontext.h
12207         * sysdeps/arm/sys/ucontext.h
12208         * sysdeps/i386/sys/ucontext.h
12209         * sysdeps/m68k/sys/ucontext.h
12210         * sysdeps/mips/sys/ucontext.h
12211         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
12212         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
12213         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
12214         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
12215         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
12216         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
12217         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
12218         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
12219         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
12220         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
12221         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
12222         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
12223         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
12224         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
12225         Include both bits/sigcontext.h and bits/sigstack.h.
12226         Fix grammar error in comment, if present.
12228         * bits/sigstack.h
12229         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
12230         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
12231         * sysdeps/unix/sysv/linux/bits/sigstack.h
12232         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
12233         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
12234         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
12235         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
12236         * bits/sigcontext.h
12237         * sysdeps/mach/hurd/i386/bits/sigcontext.h
12238         * sysdeps/unix/sysv/linux/bits/sigcontext.h
12239         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
12240         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
12241         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
12242         as well as signal.h, if this was not already allowed.  Request
12243         definition of size_t if necessary.  Minimize semantically-null
12244         differences across files.
12246 2016-09-23  Zack Weinberg  <zackw@panix.com>
12248         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
12249         Remove all logic conditional on __need macros.  Move all the
12250         conditionally defined types to their own headers...
12251         * time/bits/types/clock_t.h: Define clock_t here.
12252         * time/bits/types/clockid_t.h: Define clockid_t here.
12253         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
12254         * time/bits/types/struct_timespec.h: Define struct timespec here.
12255         * time/bits/types/struct_timeval.h: Define struct timeval here.
12256         * time/bits/types/struct_tm.h: Define struct tm here.
12257         * time/bits/types/time_t.h: Define time_t here.
12258         * time/bits/types/timer_t.h: Define timer_t here.
12259         * time/Makefile: Install the new headers.
12261         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
12262         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
12263         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
12264         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
12265         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
12266         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
12267         * sysdeps/unix/sysv/linux/bits/resource.h
12268         * sysdeps/unix/sysv/linux/bits/timex.h
12269         * sysdeps/unix/sysv/linux/mips/bits/resource.h
12270         * sysdeps/unix/sysv/linux/net/ppp_defs.h
12271         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
12272         * sysdeps/unix/sysv/linux/sys/acct.h
12273         * sysdeps/unix/sysv/linux/sys/timerfd.h
12274         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
12275         * time/sys/time.h, time/sys/timeb.h
12276         Use the new bits/types headers.
12278         * include/time.h: Remove __need logic.
12279         * include/bits/time.h
12280         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
12281         * include/bits/types/time_t.h, include/bits/types/timer_t.h
12282         * include/bits/types/struct_itimerspec.h
12283         * include/bits/types/struct_timespec.h
12284         * include/bits/types/struct_timeval.h
12285         * include/bits/types/struct_tm.h:
12286         New wrapper headers.
12288 2016-09-23  Zack Weinberg  <zackw@panix.com>
12290         * sysdeps/mach/hurd/net/if_ppp.h
12291         * sysdeps/unix/sysv/linux/net/if_ppp.h:
12292         Only define struct ifpppstatsreq and struct ifpppcstatsreq
12293         if __USE_MISC is defined, to ensure struct ifreq is declared.
12295         * inet/netinet/ether.h: Condition all function prototypes
12296         on __USE_MISC, to ensure struct ether_addr is declared.
12298         * socket/bits/types/struct_osockaddr.h: New header.
12299         * include/bits/types/struct_osockaddr.h: New wrapper.
12300         * socket/Makefile: Install the new header.
12301         * socket/sys/socket.h, inet/protocols/talkd.h:
12302         Refer to bits/types/struct_osockaddr.h for the definition of
12303         struct osockaddr.
12305 2016-09-23  Zack Weinberg  <zackw@panix.com>
12307         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
12308         * inet/protocols/routed.h, inet/protocols/talkd.h
12309         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
12310         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
12311         * sysdeps/generic/netinet/if_ether.h
12312         * sysdeps/generic/netinet/in_systm.h
12313         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
12314         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12315         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
12316         * sysdeps/mach/hurd/net/if_arp.h
12317         * sysdeps/mach/hurd/net/if_ppp.h
12318         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
12319         * sysdeps/unix/sysv/linux/bits/in.h
12320         * sysdeps/unix/sysv/linux/net/ethernet.h
12321         * sysdeps/unix/sysv/linux/net/if_arp.h
12322         * sysdeps/unix/sysv/linux/net/if_ppp.h
12323         * sysdeps/unix/sysv/linux/net/if_shaper.h
12324         * sysdeps/unix/sysv/linux/net/route.h
12325         * sysdeps/unix/sysv/linux/netinet/if_ether.h
12326         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12327         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12328         * sysdeps/unix/sysv/linux/netipx/ipx.h
12329         * sysdeps/unix/sysv/linux/sys/acct.h
12330         * include/arpa/nameser.h, include/resolv.h:
12331         Change all uses of u_char to unsigned char,
12332         u_short and ushort to unsigned short, u_int and uint to unsigned int,
12333         u_long and ulong to unsigned long, u_int8_t to uint8_t,
12334         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
12335         and u_int64_t and u_quad_t to uint64_t.
12337         * mach/sys/reboot.h: Remove two casts of integer literals
12338         to the types they already have.
12340         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
12341         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
12342         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
12343         from referring to 'unsigned char' to 'uint8_t' for consistency with
12344         the macro definition below.
12346         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
12347         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
12348         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
12349         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
12350         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
12351         * sysdeps/unix/sysv/linux/sys/acct.h
12352         * include/arpa/nameser.h, include/resolv.h:
12353         Fix indentation disrupted by mechanical edits.
12355         * inet/protocols/talkd.h, resolv/arpa/nameser.h
12356         * sysdeps/generic/netinet/in_systm.h
12357         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12358         * sysdeps/gnu/netinet/udp.h
12359         * sysdeps/unix/sysv/linux/net/ethernet.h
12360         * sysdeps/unix/sysv/linux/net/if_arp.h
12361         * sysdeps/unix/sysv/linux/net/if_ppp.h
12362         * sysdeps/unix/sysv/linux/net/if_shaper.h
12363         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12364         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12365         * sysdeps/unix/sysv/linux/netipx/ipx.h
12366         * sysdeps/unix/sysv/linux/sys/acct.h
12367         Include stdint.h for uintNN_t definitions.
12368         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
12370 2016-09-23  Zack Weinberg  <zackw@panix.com>
12372         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
12373         * sysdeps/unix/sysv/linux/netrose/rose.h:
12374         Include sys/socket.h and netax25/ax25.h.
12376         * inet/netinet/icmp6.h, inet/netinet/ip6.h
12377         * resolv/arpa/nameser_compat.h:
12378         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
12380         * sysdeps/unix/sysv/linux/sys/quota.h:
12381         Use __caddr_t instead of caddr_t.
12382         * sysdeps/unix/sysv/linux/sys/timerfd.h:
12383         Use __clockid_t instead of clockid_t.
12385         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
12387         * argp/argp.h: Check whether _LIBC is defined before expanding it.
12388         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
12389         expanding it.
12391         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
12392         Define __glibc_c99_flexarr_available to 1 when the compiler
12393         supports C99-compatible flexible array members, 0 otherwise.
12394         * sysdeps/unix/sysv/linux/bits/socket.h
12395         * sysdeps/mach/hurd/bits/socket.h
12396         * bits/socket.h: Use __glibc_c99_flexarr_available in
12397         definitions of struct cmsghdr and CMSG_DATA.
12399 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12401         * manual/nss.texi (NSS Modules Interface): Adjust function return
12402         type to enum nss_status.  Document errnop argument.  Clarify
12403         h_errnop semantics.  Fix cross-reference formatting.
12404         (NSS Module Function Internals): Mention that *errnop needs to be
12405         set on failure, but not to zero.
12407 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12409         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
12410         (get_random_name): New functions.
12411         (check_wrapper_flags_mode): Use linkat to give the new file a name
12412         determined by get_random_name.
12413         (do_test): Add calls to test open64 and openat64.
12415 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12417         * test-skeleton.c: Remove #include <stdarg.h>.
12419 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
12421         [BZ #19826]
12422         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
12423         initialization of static TLS entries.
12424         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
12425         * nptl/allocatestack.c (init_one_static_tls): Likewise.
12427 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12429         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
12430         _hurd_malloc_fork_prepare.
12431         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
12432         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
12433         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
12434         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
12435         (_hurd_fork_child_hook): Drop malloc_fork_child.
12436         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
12437         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
12438         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
12439         after locking locks (notably hurd_dtable_lock). Call
12440         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
12441         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
12442         __malloc_fork_unlock_child.
12443         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
12445 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
12447         * soft-fp/extendhftf2.c: New.
12448         * soft-fp/fixhfti.c: Likewise.
12449         * soft-fp/fixunshfti.c: Likewise.
12450         * soft-fp/floattihf.c: Likewise.
12451         * soft-fp/floatuntihf.c: Likewise.
12452         * soft-fp/half.h: Likewise.
12453         * soft-fp/trunctfhf2.c: Likewise.
12455 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
12457         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
12458         macro.
12459         * math/libm-test.inc (issubnormal_test_data): New array.
12460         (issubnormal_test): New function.
12461         * manual/arith.texi (Floating Point Classes): Document
12462         issubnormal.
12463         * manual/libm-err-tab.pl: Update comment on interfaces without
12464         ulps tabulated.
12466         * sysdeps/generic/stdint.h: Define
12467         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12468         <bits/libc-header-start.h> instead of including <features.h>.
12469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
12470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
12471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
12472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
12473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
12474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
12475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
12476         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
12477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
12478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
12479         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
12480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
12481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
12482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
12483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
12484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
12485         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
12486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
12487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
12488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
12489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
12490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
12491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
12492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
12493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
12494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
12495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
12496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
12497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
12498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
12499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
12500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
12501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
12502         * manual/arith.texi (Integers): Document these macros for types
12503         specified by width properties.
12504         * manual/lang.texi (Width of Type): Document these macros for
12505         other standard typedefs.
12506         * stdlib/tst-width-stdint.c: New file.
12507         * stdlib/Makefile (tests): Add tst-width-stdint.
12509 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12511         [BZ #20016]
12512         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
12513         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
12514         Move ...
12515         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
12516         ... here, as compatibility symbols in a new file.
12517         * resolv/Makefile (libresolv-routines): Add compat-hooks.
12518         * resolv/res_init.c (__res_vinit): Adjust member names.
12519         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
12520         * resolv/resolv.h (res_sendhookact, res_send_qhook)
12521         (res_send_rhook): Remove.
12522         (struct __res_state): Rename qhook, rhook members.
12524 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12526         malloc: Use __libc_lock wrappers.
12527         * malloc/arena.c (list_lock, free_list_lock): Define using
12528         __libc_lock_define_initialized.
12529         (arena_lock): Adjust formatting.
12530         * malloc/malloc.c (struct malloc_state): Define mutex using
12531         __libc_lock_define.
12532         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
12533         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
12534         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
12535         (mutex_unlock, mutex_trylock): Remove.
12536         (__pthread_initialize): Remove unused macro.
12537         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
12538         (mutex_unlock, mutex_trylock): Remove.
12540 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12542         [BZ #20592]
12543         Remove RR type classification macros.
12544         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
12545         (ns_t_udp_p, ns_t_xfr_p): Remove.
12547 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12549         Remove misleading version information.
12550         * resolv/arpa/nameser.h (__NAMESER): Remove.
12551         * resolv/arpa/nameser_compat.h (__BIND): Remove.
12553 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12555         Remove the always-defined BIND_4_COMPAT macro.
12556         * resolv/arpa/nameser.h: Unconditionally include
12557         <arpa/nameser_compat.h>.
12558         (BIND_4_COMPAT): Remove.
12559         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
12561 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12563         [BZ #20591]
12564         Remove obsolete DNSSEC support.
12565         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
12566         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
12567         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
12568         (ns_verify_tcp, ns_verify_tcp_init): Remove.
12569         (ns_cert_types): Add comment.
12570         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
12571         separately.
12572         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
12573         (dst_s_dns_key_id): Remove.
12574         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
12575         variables.
12577 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12579         [BZ #20524]
12580         * manual/string.texi (String/Array Comparison): Clarify the
12581         strverscmp behavior.
12583 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12585         * test-skeleton.c (xasprintf): Add function.
12586         * io/tst-open-tmpfile.c: New test.
12587         * io/Makefile (tests): Add it.
12589 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12591         Avoid running $(CXX) during build to obtain header file paths.
12592         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
12593         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
12594         * Makerules (cstdlib, cmath): Remove variables.  Use
12595         $(c++-cstdlib-header), $(c++-cmath-header) instead.
12596         * configure: Regenerate.
12598 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12600         * Makeconfig (all-object-suffixes): Include .op only if
12601         $(build-profile).
12603 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12605         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
12606         conditionals.  Do not define PATH_MAX.
12608 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12610         * posix/Makefile (tests): Add tst-spawn3.
12611         * posix/tst-spawn3.c: New file.
12612         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
12613         if it is already opened for open action.
12615         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
12616         all signals when executing the clone vfork child.
12617         (SIGALL_SET): Remove macro.
12619         * nptl/Makefile (tests): Add tst-exec5.
12620         * nptl/tst-exec5.c: New file.
12621         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
12622         asynchronous cancellation.
12624 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12626         * hurd/exc2signal.c: #include <hurd/signal.h>
12627         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
12628         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
12629         accordingly.
12630         * mach/mach_error.c (mach_error): Fix old-style function definition.
12631         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
12633 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12635         * math/Makefile (libm-calls): Remove s_nanF.
12636         (gen-libm-calls): Add s_nanF.
12638         * math/s_nan.c: Refactor into ...
12639         * math/s_nan_template.c: New file.
12641         * math/s_nanf.c: Removed.
12642         * math/s_nanl.c: Removed.
12643         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
12644         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
12646         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12647         (LDOUBLE_nanl_libm_version): New macro.
12649         * sysdeps/generic/math-type-macros-double.h:
12650         (M_STRTO_NAN): New macro.
12651         * sysdeps/generic/math-type-macros-float.h: Likewise.
12652         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12654         * sysdeps/generic/math-type-macros.h: Document
12655         M_STRTO_NAN.
12657 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12659         * math/s_nanf.c: Remove __nanf undef.
12660         * math/s_nan.c: Remove __nan undef.
12661         * math/s_nanl.c: Remove __nanl undef.
12663         * sysdeps/generic/math_private.h (__nan): Remove macro
12664         override.
12665         (__nanf): Likewise.
12666         (__nanl): Likewise.
12668 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12670         * math/Makefile (gen-all-calls): New variable.
12671         (generated): Replace gen-libm-calls with gen-all-calls.
12672         (gen-libm-templates.stmp): Likewise.  Also, ensure
12673         the output directory exists or is created and add
12674         dependency on the Makefile.
12675         (calls): Move s_ldexpF into gen-calls.
12676         (gen-calls): New variable.
12678         * math/s_ldexpf.c: Removed.
12679         * math/s_ldexpl.c: Removed.
12680         * math/s_ldexp.c: Refactored into ...
12681         * math/s_ldexp_template.c: New file.
12683         * sysdeps/generic/math-type-macros-double.h: Remove
12684         redundant fall-through definition of declare_mgen_alias.
12685         (declare_mgen_alias_2): New macro.
12687         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
12688         New macro for function aliased to two exported symbols.
12690         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
12691         new template file.
12692         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12694 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12696         * Makeconfig (all-object-suffixes): Remove .og.
12697         * Makerules (elide-routines.og): Remove.
12698         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
12699         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
12700         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
12702 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12704         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
12705         .os objects.
12707 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12709         [BZ #20615]
12710         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
12711         fpu directory by non-fpu.
12712         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
12713         on non-fpu directory from a fpu directory.
12715 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
12717         * include/limits.h: Define
12718         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12719         <bits/libc-header-start.h> instead of including <features.h>.
12720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
12721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
12722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
12723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
12724         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
12725         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
12726         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
12727         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
12728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
12730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
12731         * manual/lang.texi (Width of Type): Document these macros.
12732         * stdlib/tst-width.c: New file.
12733         * stdlib/Makefile (tests): Add tst-width.
12735 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12737         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
12738         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
12740 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12742         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
12743         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12744         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12746 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12748         [BZ #18243]
12749         * rt/Makefile (test): Add tst-shm-cancel.
12750         * rt/tst-shm-cancel.c: New file.
12751         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
12753         [BZ #18243]
12754         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
12755         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
12756         definition.
12757         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
12758         uncontended case.
12759         * nptl/sem_wait.c (__new_sem_wait): Likewise.
12760         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
12761         (tf): Fix check for uncontended case.
12762         (do_test): Likewise.
12763         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
12764         (tf): Fix check for uncontended case.
12765         (do_test): Likewise.
12766         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
12767         (tf): Fix check for uncontended case.
12768         (do_test): Likewise.
12769         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
12770         (tf): Fix check for uncontended case.
12771         (do_test): Likewise.
12773         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
12774         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
12776         [BZ #15765]
12777         * nptl/Makefile (tests): Add tst-sem16.
12778         * nptl/tst-sem16.c: New file.
12779         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
12781         * nptl/sem_open.c (sem_open): Init pad value to 0.
12782         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12783         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12785 2016-09-15  Florian Weimer  <fweimer@redhat.com>
12787         [BZ #20611]
12788         * inet/Makefile (routines): Add inet6_scopeid_pton.
12789         (tests): Add tst-inet6_scopeid_pton.
12790         * inet/inet6_scopeid_pton.c: New file.
12791         * inet/net-internal.h: Likewise.
12792         * inet/tst-inet6_scopeid_pton.c: New test.
12793         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
12794         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
12795         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12797 2016-09-14  Florian Weimer  <fweimer@redhat.com>
12799         Remove support for compiling wrappers with PTW.
12800         * sysdeps/nptl/Makeconfig: Drop ptw- support.
12801         * nptl/Makefile (pthread-compat-wrappers): Define.
12802         (libpthread-routines): Use pthread-compat-wrappers.
12803         * sysdeps/unix/sysv/linux/alpha/Makefile
12804         (libpthread-routines, libpthread-shared-only-routines): Remove
12805         ptw- prefix.
12806         * sysdeps/s390/nptl/Makefile
12807         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12808         * sysdeps/ia64/nptl/Makefile
12809         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12810         * sysdeps/nacl/Makefile (libpthread-routines): Use
12811         pthread-compat-wrappers to filter the routines list instead of the
12812         ptw- prefix.
12814 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12816         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
12817         with L() and remove explicit suffix, convert real literals
12818         which can be equivalentally substituted with integers, and
12819         transform -L(x) to L(-x).
12821         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12822         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12823         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12824         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12825         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12826         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12827         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12828         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12829         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12830         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12831         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12832         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12833         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12834         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12835         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12836         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12837         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12838         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12839         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12840         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12841         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12842         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12843         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12844         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12845         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12846         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12847         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12848         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12849         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12850         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12851         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12852         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12853         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12854         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12855         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12856         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12857         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12858         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12859         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12860         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12861         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12862         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12863         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12864         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12865         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12866         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12867         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12868         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12869         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12870         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12872 2016-09-13  Florian Weimer  <fweimer@redhat.com>
12874         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
12876 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12878         * malloc/Makefile (tests): Remove individual static test names
12879         and just add all of tests-static.
12881         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
12883 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
12885         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
12886         file.
12888         * sysdeps/sparc/fpu/fegetmode.c: New file.
12889         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
12891         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
12892         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
12894         * sysdeps/s390/fpu/fegetmode.c: New file.
12895         * sysdeps/s390/fpu/fesetmode.c: Likewise.
12897         * sysdeps/powerpc/fpu/fegetmode.c: New file.
12898         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
12899         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
12900         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
12901         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
12902         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
12904         * sysdeps/mips/fpu/fegetmode.c: New file.
12905         * sysdeps/mips/fpu/fesetmode.c: Likewise.
12907         * sysdeps/m68k/fpu/fegetmode.c: New file.
12908         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
12910         * sysdeps/ia64/fpu/fegetmode.c: New file.
12911         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
12913         * sysdeps/hppa/fpu/fegetmode.c: New file.
12914         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
12916         * sysdeps/arm/fegetmode.c: New file.
12917         * sysdeps/arm/fesetmode.c: Likewise.
12919         * sysdeps/alpha/fpu/fegetmode.c: New file.
12920         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
12922         * sysdeps/aarch64/fpu/fegetmode.c: New file.
12923         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
12925         * math/fegetmode.c: New file.
12926         * math/fesetmode.c: Likewise.
12927         * sysdeps/i386/fpu/fegetmode.c: Likewise.
12928         * sysdeps/i386/fpu/fesetmode.c: Likewise.
12929         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
12930         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
12931         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
12932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
12933         declaration.
12934         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
12935         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
12936         typedef.
12937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12938         * sysdeps/aarch64/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/alpha/fpu/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/arm/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/hppa/fpu/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/ia64/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/m68k/fpu/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/microblaze/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 macro.
12959         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12960         (femode_t): New typedef.
12961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12962         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12963         (femode_t): New typedef.
12964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12965         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12966         (femode_t): New typedef.
12967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
12968         declaration.
12969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12970         * sysdeps/s390/fpu/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/sh/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         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12977         (femode_t): New typedef.
12978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12979         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12980         (femode_t): New typedef.
12981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12982         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12983         (femode_t): New typedef.
12984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12985         * manual/arith.texi (FE_DFL_MODE): Document macro.
12986         (fegetmode): Document function.
12987         (fesetmode): Likewise.
12988         * math/Versions (fegetmode): New libm symbol at version
12989         GLIBC_2.25.
12990         (fesetmode): Likewise.
12991         * math/Makefile (libm-support): Add fegetmode and fesetmode.
12992         (tests): Add test-femode and test-femode-traps.
12993         * math/test-femode-traps.c: New file.
12994         * math/test-femode.c: Likewise.
12995         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
12996         alias for __fe_dfl_env.
12997         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
12998         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
12999         (__fe_dfl_mode): Likewise.
13000         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
13001         version GLIBC_2.25.
13002         * sysdeps/nacl/libm.abilist: Update.
13003         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13004         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13005         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13006         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13007         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13008         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13009         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13010         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13011         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13012         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13013         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13014         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13016         Likewise.
13017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13018         Likewise.
13019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13020         Likewise.
13021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13022         Likewise.
13023         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13024         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13025         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13026         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13027         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13029         Likewise.
13030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13031         Likewise.
13032         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13033         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13034         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13036 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13038         [BZ #20495]
13039         [BZ #20508]
13040         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13041         processors, set Use_dl_runtime_resolve_slow and set
13042         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13043         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13044         New.
13045         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13046         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13047         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13048         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
13049         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
13050         if Use_dl_runtime_resolve_opt is set.  Use
13051         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
13052         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
13053         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
13054         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
13055         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
13056         New.
13057         (_dl_runtime_resolve_opt): Likewise.
13058         (_dl_runtime_profile): Define only if _dl_runtime_profile is
13059         defined.
13061 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13063         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
13064         __libc_memalign with "+ RELA R_390_GLOB_DAT".
13066 2016-09-06  Florian Weimer  <fweimer@redhat.com>
13068         Convert malloc to __libc_lock.  Automated part, using this Perl
13069         s/// command:
13070           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
13071             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
13072         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
13073         conversion.
13075 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
13077         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
13078         (linknamespace-symlists-tests): Likewise.
13079         (linknamespace-header-tests): Likewise.
13081 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
13083         [BZ #19810]
13084         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
13085         * elf/tst-noload.c: New test case.
13086         * elf/Makefile (tests): Add tst-noload.
13088 2016-09-02  Roland McGrath  <roland@hack.frob.com>
13090         * sysdeps/nacl/dup.c: Add libc_hidden_def.
13092         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
13093         not any more.
13095         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
13097 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13099         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
13100         (do_cos_slow): Likewise.
13101         (do_sin): Likewise.
13102         (do_sin_slow): Likewise.
13103         (slow): Likewise.
13104         (slow1): Likewise.
13105         (slow2): Likewise.
13106         (sloww): Likewise.
13107         (sloww1): Likewise.
13108         (sloww2): Likewise.
13109         (bsloww): Likewise.
13110         (bsloww1): Likewise.
13111         (bsloww2): Likewise.
13112         (cslow2): Likewise.
13114         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
13116         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
13117         arguments.  Consolidate input partitioning from callers here.
13118         (do_cos_slow): Likewise.
13119         (do_sin): Likewise.
13120         (do_sin_slow): Likewise.
13121         (do_sincos_1): Remove the no longer necessary input partitioning.
13122         (do_sincos_2): Likewise.
13123         (__sin): Likewise.
13124         (__cos): Likewise.
13125         (slow1): Likewise.
13126         (slow2): Likewise.
13127         (sloww1): Likewise.
13128         (sloww2): Likewise.
13129         (bsloww1): Likewise.
13130         (bsloww2): Likewise.
13131         (cslow2): Likewise.
13133 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13135         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
13136         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
13137         outside of allocated array.
13139 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13141         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
13142         instead of MB_CUR_MAX to avoid variable-length array.
13144 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13146         * math/Makefile (libm-calls): Remove k_rem_pio2F.
13147         (type-double-routines): Add k_rem_pio2.
13148         (type-float-routines): Add k_rem_pio2f.
13150         * sysdeps/generic/math_private.h:
13151         (__kernel_rem_pio2l): Removed.
13153         * math/k_rem_pio2l.c: Removed.
13154         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
13155         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
13156         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
13157         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
13159 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13161         * math/Makefile (gen-libm-calls): Add s_fmin
13162         (libm-calls): Remove above.
13164         * math/s_fmin.c: Refactor into ...
13165         * math/s_fmin_template.c: New file.
13167         * math/s_fminf.c: Removed.
13168         * math/s_fminl.c: Removed.
13169         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13170         (LDOUBLE_fmin_libm_version): New macro.
13172         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
13173         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
13175 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13177         * math/Makefile: (gen-libm-calls): Add s_fmax.
13178         (libm-calls): Remove above.
13180         * math/s_fmax.c: Refactor into ...
13181         * math/s_fmax_template.c: New file.
13182         * math/s_fmaxf.c: Removed.
13183         * math/s_fmaxl.c: Removed.
13185         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13186         (LDOUBLE_fmaxl_libm_version): New macro.
13188         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
13189         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
13191         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
13192         s_fmin.c to pick the aarch64 version of the file.
13193         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
13194         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
13196 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13198         * math/Makefile: (gen-libm-calls): Add s_nextdown.
13199         (libm-calls): Remove above.
13201         * math/s_nextdown.c: Refactor into ...
13202         * math/s_nextdown_template.c: New file.
13203         * math/s_nextdownf.c: Removed.
13204         * math/s_nextdownl.c: Removed.
13206         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
13208 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13210         * math/Makefile (gen-libm-calls): Add s_fdim.
13211         (libm-calls): Move to above.
13213         * math/s_fdim.c: Renamed and refactored into to ...
13214         * math/s_fdim_template.c: New file.
13215         * math/s_fdiml.c: Removed.
13216         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
13217         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
13219         * sysdeps/generic/math-type-macros-double.h:
13220         (declare_mgen_alias): Don't declare if already declared.
13221         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
13222         Likewise.
13224         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13225         (declare_mgen_alias): Don't declare if already declared.
13226         (M_LIBM_NEED_COMPAT): Likewise.
13227         (declare_mgen_libm_compat): Likewise.
13228         (LDOUBLE_fdiml_libm_version): New macro.
13230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13231         Include math/s_fdim.c now that ldbl-opt version is not needed.
13232         (declare_mgen_alias): New macro to disable aliasing.
13234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
13235         (declare_mgen_alias): Likewise.
13236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
13237         (declare_mgen_alias): Likewise.
13238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
13239         (declare_mgen_alias): Likewise.
13240         (M_LIBM_NEED_COMPAT): Likewise.
13242 2016-09-01  Florian Weimer  <fweimer@redhat.com>
13244         [BZ #20525]
13245         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
13246         Include <linux/quota.h>.
13247         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
13248         and btodb.
13249         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
13250         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
13251         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
13252         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
13253         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
13254         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
13255         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
13256         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
13257         types.
13258         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
13259         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
13261 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13263         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
13264         (gammal_positive): Fix spacing.
13265         (__ieee754_gammal_r): Likewise.
13267 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13269         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
13270         (_Float128): Define as long double, always.
13271         (L): Apply long double type suffix, always.
13273         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
13274         _Float128, excepting comments.
13276         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13277         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13278         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13279         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13280         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13281         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13282         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13283         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13284         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13285         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
13286         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13287         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13288         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13289         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13290         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13291         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13292         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13293         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13294         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13295         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13296         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13297         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13298         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13299         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13300         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13301         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13302         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13303         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13304         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13305         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13306         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13307         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13308         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13309         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13310         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13311         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13312         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13313         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13314         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13315         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13316         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13317         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13318         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13319         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13320         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13321         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13322         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13323         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13324         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13325         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13326         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13327         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13328         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13329         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13330         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13331         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13332         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13333         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13334         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13335         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13336         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13337         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13338         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13339         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13340         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13341         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13342         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13343         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13345         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
13346         _Float128, and include math_private.h.
13347         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13349         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
13350         long double semantics.
13351         (_Float128): Likewise.
13352         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
13353         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13354         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13355         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13357 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13359         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
13360         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
13361         * sysdeps/s390/configure: Regenerated.
13362         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
13363         instruction for raising over-/underflow if z196 zarch is supported
13364         by default.
13365         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
13367 2016-08-30  Svante Signell  <svante.signell@gmail.com>
13369         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
13370         it point to a dumb buffer for RPC to fill it.
13372 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13374         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
13375         instead of if/else.
13376         (do_sin_slow): Likewise.
13377         (do_sincos_1): Use fabs instead of if/else.
13378         (do_sincos_2): Likewise.
13379         (__sin): Likewise.
13380         (__cos): Likewise.
13381         (slow2): Likewise.
13382         (sloww): Likewise.
13383         (sloww1): Likewise.  Drop argument M.
13384         (sloww2): Use fabs instead of if/else.
13385         (bsloww): Likewise.
13386         (bsloww1): Likewise.
13387         (bsloww2): Likewise.
13389         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
13390         fall through comment.
13391         (do_sincos_1): Likewise.
13393         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
13394         Consolidate switch cases 0 and 2.
13396 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13398         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
13399         (libm-calls): Remove the above.
13401         * math/s_cexp_template.c: Update using type-generic macros.
13402         * math/s_clog10_template.c: Likewise.
13403         * math/s_cpow_template.c: Likewise.
13404         * math/s_clog_template.c: Likewise.
13405         * math/s_cproj_template.c: Likewise.
13406         * math/s_csqrt_template.c: Likewise.
13408         * math/s_cexp.c: Removed.
13409         * math/s_cexpf.c: Removed.
13410         * math/s_cexpl.c: Removed.
13411         * math/s_clog10.c: Removed.
13412         * math/s_clog10f.c: Removed.
13413         * math/s_clog10l.c: Removed.
13414         * math/s_cpow.c: Removed.
13415         * math/s_cpowf.c: Removed.
13416         * math/s_cpowl.c: Removed.
13417         * math/s_clog.c: Removed.
13418         * math/s_clogf.c: Removed.
13419         * math/s_clogl.c: Removed.
13420         * math/s_cproj.c: Removed.
13421         * math/s_cprojf.c: Removed.
13422         * math/s_cprojl.c: Removed.
13423         * math/s_csqrt.c: Removed.
13424         * math/s_csqrtf.c: Removed.
13425         * math/s_csqrtl.c: Removed.
13427         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
13428         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
13429         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
13430         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
13431         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
13432         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
13434         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
13435         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
13436         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
13437         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
13438         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
13439         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
13440         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
13441         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
13442         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
13443         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
13444         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
13446         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
13447         version.
13449         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
13450         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
13451         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
13452         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
13454 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13456         * s_cexp_template.c: Copy of s_cexp.c.
13457         * s_clog_template.c: Copy of s_clog.c.
13458         * s_clog10_template.c: Copy of s_clog10.c.
13459         * s_cpow_template.c: Copy of s_cpow.c.
13460         * s_cproj_template.c: Copy of s_cproj.c.
13461         * s_csqrt_template.c: Copy of s_csqrt.c.
13463 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13465         [BZ #20517]
13466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13467         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
13468         exported.
13470 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
13472         * math/fetestexceptflag.c: New file.
13473         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
13474         Stefan Liebler.
13475         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13476         (fetestexceptflag): New function declaration.
13477         * manual/arith.texi (fetestexceptflag): Document function.
13478         * math/Versions (fetestexceptflag): New libm symbol at version
13479         GLIBC_2.25.
13480         * math/Makefile (libm-support): Add fetestexceptflag.
13481         (tests): Add test-fetestexceptflag.
13482         * math/test-fetestexceptflag.c: New file.
13483         * sysdeps/nacl/libm.abilist: Update.
13484         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13485         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13486         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13487         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13488         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13489         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13490         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13491         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13492         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13493         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13494         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13495         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13497         Likewise.
13498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13499         Likewise.
13500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13501         Likewise.
13502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13503         Likewise.
13504         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13505         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13506         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13508         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13510         Likewise.
13511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13512         Likewise.
13513         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13514         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13515         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13517 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13519         [BZ #20432]
13520         Avoid strong references to malloc-internal symbols when linking
13521         statically, to support statically interposed mallocs.
13522         * include/libc-symbols.h (call_function_static_weak): New macro.
13523         * malloc/Makefile (tests): Add tst-interpose-nothread,
13524         tst-interpose-thread, tst-interpose-static-nothread,
13525         tst-interpose-static-thread.
13526         (tests-static): Add tst-interpose-static-nothread,
13527         tst-interpose-static-thread.
13528         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
13529         tst-interpose-aux-thread.o.
13530         (test-extras): Add tst-interpose-aux-nothread,
13531         tst-interpose-aux-thread.
13532         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
13533         tst-interpose-aux-nothread.o.
13534         (tst-interpose-thread, tst-interpose-static-thread): Link with
13535         tst-interpose-aux-thread.o and libthread.
13536         * malloc/tst-interpose-aux-nothread.c: New file.
13537         * malloc/tst-interpose-aux-thread.c: Likewise.
13538         * malloc/tst-interpose-aux.c: Likewise.
13539         * malloc/tst-interpose-aux.h: Likewise.
13540         * malloc/tst-interpose-nothread.c: Likewise.
13541         * malloc/tst-interpose-skeleton.c: Likewise.
13542         * malloc/tst-interpose-static-nothread.c: Likewise.
13543         * malloc/tst-interpose-static-thread.c: Likewise.
13544         * malloc/tst-interpose-thread.c: Likewise.
13545         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
13546         * sysdeps/mach/hurd/fork.c (__fork): Only call
13547         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13548         __malloc_fork_unlock_child if defined.
13549         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13551 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13553         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
13554         timespec C99 designated initialization.
13556 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13558         [BZ #19946]
13559         Avoid expected SIGALRM signals.
13560         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
13561         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
13562         (xpthread_create, xpthread_detach, xpthread_join)
13563         (delayed_exit_thread, delayed_exit): New functions.
13564         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
13565         (tf): Use xpthread_cond_wait.
13566         (do_test): Likewise.  Replace alarm with delayed_exit.
13567         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13568         (do_test): Call delayed_exit.  Report failure.
13569         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13570         (do_test): Call delayed_exit.
13571         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13572         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
13573         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13574         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
13575         error.
13576         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13577         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
13578         error.
13579         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
13580         (do_test): Call delayed_exit.
13581         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
13582         (do_test): Call delayed_exit.
13583         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
13584         (do_test): Call delayed_exit instead of alarm.  Use
13585         xpthread_mutex_lock.
13586         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
13587         (do_test): Call delayed_exit instead of alarm.  Use
13588         xpthread_mutex_lock.
13589         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
13590         (do_test): Call delayed_exit instead of alarm.
13591         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
13592         (do_test): Call delayed_exit instead of alarm.  Use
13593         xpthread_spin_lock.
13594         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
13595         (do_test): Call delayed_exit instead of alarm.  Use
13596         xpthread_join.
13598 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13600         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
13601         adjust CFA when allocating register save area on re-aligned
13602         stack.
13604 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13606         * string/tst-cmp.c: New test.
13607         * string/Makefile (tests): Add it.
13609 2016-08-25  Mark Wielaard  <mark@klomp.org>
13611         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
13612         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
13613         (check_tree_recurse): Use newly defined accessors.
13614         (check_tree): Likewise.
13615         (maybe_split_for_insert): Likewise.
13616         (__tfind): Likewise.
13617         (__tdelete): Likewise.
13618         (trecurse): Likewise.
13619         (tdestroy_recurse): Likewise.
13620         (__tsearch): Likewise. And add asserts for malloc alignment.
13621         (__twalk): Cast root to node in case CHECK_TREE is defined.
13623 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13625         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
13627 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13629         * math/Makefile (libm-gen-calls): Add
13630         catan, catanh, ctan, ctanh.
13631         (libm-calls): Remove the above.
13633         * math/s_catan_template.c: Update using type-generic macros.
13634         * math/s_catanh_template.c: Likewise.
13635         * math/s_ctan_template.c: Likewise.
13636         * math/s_ctanh_template.c: Likewise.
13638         * math/s_catanf.c: Removed.
13639         * math/s_catan.c: Removed.
13640         * math/s_catanl.c: Removed.
13641         * math/s_catanhf.c: Removed.
13642         * math/s_catanh.c: Removed.
13643         * math/s_catanhl.c: Removed.
13644         * math/s_ctanf.c: Removed.
13645         * math/s_ctan.c: Removed.
13646         * math/s_ctanl.c: Removed.
13647         * math/s_ctanhf.c: Removed.
13648         * math/s_ctanh.c: Removed.
13649         * math/s_ctanhl.c: Removed.
13651         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
13652         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
13653         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
13654         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
13655         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
13656         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
13658         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
13659         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
13660         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
13661         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
13663 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13665         * s_catan_template.c: Copy of s_catan.c.
13666         * s_catanh_template.c: Copy of s_catanh.c.
13667         * s_ctan_template.c: Copy of s_ctan.c.
13668         * s_ctanh_template.c: Copy of s_ctanh.c.
13670 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13672         * math/Makefile (gen-libm-calls): Move
13673         casin, casinh, csin, csinh here.
13674         (libm-calls): Remove the above.
13676         * math/s_casin_template.c: Update using type-generic macros.
13677         * math/s_casinh_template.c: Likewise.
13678         * math/s_csin_template.c: Likewise.
13679         * math/s_csinh_template.c: Likewise.
13680         * math/k_casinh_template.c: Likewise.
13682         * math/s_casinf.c: Removed.
13683         * math/s_casin.c: Removed.
13684         * math/s_casinl.c: Removed.
13685         * math/s_casinh.c: Removed.
13686         * math/s_casinhf.c: Removed.
13687         * math/s_casinhl.c: Removed.
13688         * math/s_csin.c: Removed.
13689         * math/s_csinf.c: Removed.
13690         * math/s_csinl.c: Removed.
13691         * math/s_csinh.c: Removed.
13692         * math/s_csinhf.c: Removed.
13693         * math/s_csinhl.c: Removed.
13694         * math/k_casinh.c: Removed.
13695         * math/k_casinhf.c: Removed.
13696         * math/k_casinhl.c: Removed.
13698         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
13699         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
13700         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
13701         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
13703         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
13704         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
13705         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
13706         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
13707         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
13708         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
13709         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
13710         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
13712         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
13713         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
13714         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
13715         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
13717         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
13718         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
13719         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
13720         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
13722 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13724         * s_casin_template.c: Copy of s_casin.c.
13725         * s_casinh_template.c: Copy of s_casinh.c.
13726         * s_csin_template.c: Copy of s_csin.c.
13727         * s_csinh_template.c: Copy of s_csinh.c.
13728         * k_casinh_template.c: Copy of k_casinh.c.
13730 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13732         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
13734 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13736         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
13737         (mul_split) Remove, rename as mul_splitl, remove
13738         redundant float.h include, and include via mul_splitl.h
13740         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13741         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13742         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13743         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13744         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13746         * math/mul_splitl.h: New file.
13748         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
13749         Move into mul_split.h, and remove redundant float.h include.
13751         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13752         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13753         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13754         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
13756         * math/mul_split.h: New file.
13758 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13760         * math/Makefile (libm-gen-calls): Move
13761         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
13762         (libm-calls): Remove above.
13764         * math/s_cacos_template.c: Update using type-generic macros.
13765         * math/s_cacosh_template.c: Likewise.
13766         * math/s_ccos_template.c: Likewise.
13767         * math/s_ccosh_template.c: Likewise.
13769         * math/s_cacosf.c: Removed.
13770         * math/s_cacos.c: Removed.
13771         * math/s_cacosl.c: Removed.
13772         * math/s_cacoshf.c: Removed.
13773         * math/s_cacosh.c: Removed.
13774         * math/s_cacoshl.c: Removed.
13775         * math/s_ccosf.c: Removed.
13776         * math/s_ccos.c: Removed.
13777         * math/s_ccosl.c: Removed.
13778         * math/s_ccoshf.c: Removed.
13779         * math/s_ccosh.c: Removed.
13780         * math/s_ccoshl.c: Removed.
13782         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
13783         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
13784         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
13785         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
13786         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
13787         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
13789         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
13790         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
13791         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
13792         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
13794         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
13795         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
13796         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
13797         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
13799 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13801         * s_cacos_template.c: Copy of s_cacos.c.
13802         * s_cacosh_template.c: Copy of s_cacosh.c.
13803         * s_ccos_template.c: Copy of s_ccos.c.
13804         * s_ccosh_template.c: Copy of s_ccosh.c.
13806 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13808         * stdlib/tst-strtod-round-skeleton.c:
13809         Refactored from tst-strtod-round.c.
13811         (L_): New macro to apply literal modifier.
13812         (FNPFX): New macro to select str or wcs prefix.
13813         (CHAR): New macro to choose wchar_t or char.
13814         (STRM): New macro to choose printf for tested character type.
13816         (STRTO): New macro to choose appropriate string -> real function.
13817         (FNPFXS): Stringitized version of FNPFX.
13818         (STR): Support for above macro.
13819         (STRX): Likewise.
13821         (TEST): Update with above macros.
13822         (test): Likewise.
13823         (GEN_ONE_TEST): Likewise.
13824         (test_in_one_mode): Likewise.
13826         * stdlib/tst-strtod-round.c: New file.
13827         * wcsmbs/tst-wcstod-round.c: New file.
13829         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
13830         (tst-wcstod-round): Add libm depencency for fesetround.
13832 2016-08-19  Zack Weinberg  <zackw@panix.com>
13834         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
13836 2016-08-18  Torvald Riegel  <triegel@redhat.com>
13838         [BZ #20477]
13839         * resolv/res_hconf.c (do_init): Use atomic access.
13840         * resolv/res_hconf.h: Add comments.
13841         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
13842         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
13843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13845 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13847         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13848         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
13849         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13850         Likewise.
13852 2016-08-18  Florian Weimer  <fweimer@redhat.com>
13854         [BZ #16907]
13855         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
13856         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
13857         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
13858         (__attribute__): Remove definition.
13860 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13862         * sysdeps/ieee754/ldbl-128/e_asinl.c:
13863         Remove unused sqrtl declaration.
13865 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13867         * math/Makefile: (gen-libm-templates.stmp): New rule.
13868         (libm-calls): Move carg conj cimag and cabs into ...
13869         (gen-libm-calls): New variable.
13870         (generated): Inform Make objects from gen-libm-calls
13871         may be generated.
13873         * sysdeps/generic/math-type-macros.h: New file.
13874         * sysdeps/generic/math-type-macros-float.h: Likewise.
13875         * sysdeps/generic/math-type-macros-double.h: Likewise.
13876         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13877         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
13878         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
13880         * math/cabs.c: Refactor into
13881         * math/cabs_template.c: new file.
13882         * math/cabsf.c: Removed.
13883         * math/cabsl.c: Removed.
13884         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
13885         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
13887         * math/carg.c: Refactor into
13888         * math/carg_template.c: new file.
13889         * math/cargf.c: Removed.
13890         * math/cargl.c: Removed.
13891         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
13892         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
13894         * math/conj.c: Refactor into
13895         * math/conj_template.c: new file.
13896         * math/conjf.c: Removed.
13897         * math/conjl.c: Removed.
13898         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
13899         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
13901         * math/cimag.c: Refactor into
13902         * math/cimag_template.c: new file.
13903         * math/cimagf.c: Removed.
13904         * math/cimagl.c: Removed.
13905         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13906         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13908         * math/cimag.c: Refactor into
13909         * math/cimag_template.c: new file.
13910         * math/cimagf.c: Removed.
13911         * math/cimagl.c: Removed.
13912         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13913         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13915 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13917         Reduce time to expected nptl/tst-once5 failure.
13918         * nptl/tst-once5.cc (TIMEOUT): Define.
13920 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13922         [BZ #20452]
13923         Avoid additional copies of objects in libc.a in static libraries.
13924         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
13925         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
13926         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
13927         rt-sysdep.
13928         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
13929         Add nptl-sysdep.
13930         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
13931         Add ptw-sysdep.
13932         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
13933         rt-sysdep.
13934         * sysdeps/unix/sysv/linux/alpha/Makefile
13935         (libpthread-shared-only-routines): Add ptw-sysdep,
13936         ptw-sigprocmask, ptw-rt_sigaction.
13937         * sysdeps/unix/sysv/linux/ia64/Makefile
13938         (librt-shared-only-routines): Add rt-sysdep.
13939         * sysdeps/unix/sysv/linux/i386/Makefile
13940         (libpthread-shared-only-routines): Add libc-do-syscall.
13941         * sysdeps/unix/sysv/linux/microblaze/Makefile
13942         (libpthread-shared-only-routines): Add sysdep.
13943         * sysdeps/unix/sysv/linux/powerpc/Makefile
13944         (librt-shared-only-routines): Add rt-sysdep.
13945         (libpthread-shared-only-routines): Add sysdep.
13946         * sysdeps/unix/sysv/linux/s390/Makefile
13947         (librt-shared-only-routines): Add rt-sysdep.
13948         * sysdeps/unix/sysv/linux/sparc/Makefile
13949         (librt-shared-only-routines): Add rt-sysdep.
13950         (libpthread-shared-only-routines): Add sysdep.
13951         * sysdeps/unix/sysv/linux/tile/Makefile
13952         (libpthread-shared-only-routines): Likewise.
13954 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
13956         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
13957         Mask implicit bit out of unpacked value.
13958         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
13959         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
13960         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
13962         * sysdeps/sparc/fpu/fesetexcept.c: New file.
13964         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
13966         * sysdeps/s390/fpu/fesetexcept.c: New file.
13968         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
13969         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
13970         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
13972         * sysdeps/mips/fpu/fesetexcept.c: New file.
13974         * sysdeps/m68k/fpu/fesetexcept.c: New file.
13976         * sysdeps/ia64/fpu/fesetexcept.c: New file.
13978         * sysdeps/hppa/fpu/fesetexcept.c: New file.
13980         * sysdeps/arm/fesetexcept.c: New file.
13982         * sysdeps/alpha/fpu/fesetexcept.c: New file.
13984         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
13986         * math/fesetexcept.c: New file.
13987         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
13988         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
13989         * math/fenv.h: Define
13990         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13991         <bits/libc-header-start.h> instead of including <features.h>.
13992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
13993         declaration.
13994         * manual/arith.texi (fesetexcept): Document function.
13995         * math/Versions (fesetexcept): New libm symbol at version
13996         GLIBC_2.25.
13997         * math/Makefile (libm-support): Add fesetexcept.
13998         (tests): Add test-fesetexcept and test-fesetexcept-traps.
13999         * math/test-fesetexcept.c: New file.
14000         * math/test-fesetexcept-traps.c: Likewise.
14001         * sysdeps/nacl/libm.abilist: Update.
14002         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14003         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14004         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14005         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14006         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14007         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14008         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14009         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14010         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14011         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14012         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14013         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14015         Likewise.
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14017         Likewise.
14018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14019         Likewise.
14020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14021         Likewise.
14022         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14023         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14024         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14025         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14026         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14028         Likewise.
14029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14030         Likewise.
14031         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14032         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14033         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14035 2016-08-16  Florian Weimer  <fweimer@redhat.com>
14037         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14038         New.
14039         (do_test): Apply default_stack_size_in_mb if not set.
14040         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14042 2016-08-15  Andreas Schwab  <schwab@suse.de>
14044         [BZ #20435]
14045         CVE-2016-6323
14046         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14047         as .cantunwind.
14049 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
14051         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
14052         comment from fraiseexcpt.c.
14054         * math/test-fexcept.c (feraiseexcept_exact): New function.
14055         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
14056         (test_except): Likewise.
14058 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
14060         [BZ #20455]
14061         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
14062         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
14063         to be restored.
14065         * math/test-fexcept-traps.c: New file.
14066         * math/test-fexcept.c: Likewise.
14067         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
14068         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
14069         macro.
14070         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
14071         (EXCEPTION_SET_FORCES_TRAP): Likewise.
14073 2016-08-09  Torvald Riegel  <triegel@redhat.com>
14075         * include/atomic.h (atomic_fetch_and_relaxed,
14076         atomic_fetch_and_release, atomic_fetch_or_release,
14077         atomic_fetch_xor_release): New.
14079 2016-08-06  Christian Seiler  <christian@iwakd.de>
14081         [BZ #20444]
14082         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
14083         MACH_PORT_NULL.
14085 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14087         * math/s_fdim.c: Avoid alias renamed.
14088         * math/s_fdimf.c: Likewise.
14089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14090         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14091         Add s_fdimf-vis3, s_fdim-vis3.
14092         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14093         (CFLAGS-s_fdim-vis3.c): Likewise.
14094         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
14095         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
14097 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14100         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14101         Remove s_fdimf-vis3, s_fdim-vis3.
14102         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
14103         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
14104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
14105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
14106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
14107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
14108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
14109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
14110         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
14111         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
14113 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14115         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
14116         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
14117         -Wa,-Av9a -mvis.
14119 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14121         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
14122         LIT() to individual constants in simple expressions
14123         after splitting on spaces.
14124         (_apply_lit): Rename replaced version, and use it to
14125         apply to what appears to be a token.
14127         * math/libm-test.inc: Fix many, many issues with
14128         spacing.
14130 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
14132         * math/math.h: Move comment about <bits/mathdef.h> definitions
14133         above inclusion of <bits/mathdef.h>.  Do not mention
14134         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
14136 2016-08-05  Torvald Riegel  <triegel@redhat.com>
14138         * include/atomic.h (atomic_exchange_relaxed): New.
14140 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
14142         * math/e_scalb.c: Do not include <fenv.h>.
14143         (invalid_fn): Do calculation resulting in NaN instead of raising
14144         FE_INVALID and returning a NaN explicitly.
14145         * math/e_scalbf.c: Do not include <fenv.h>.
14146         (invalid_fn): Do calculation resulting in NaN instead of raising
14147         FE_INVALID and returning a NaN explicitly.
14148         * math/e_scalbl.c: Do not include <fenv.h>.
14149         (invalid_fn): Do calculation resulting in NaN instead of raising
14150         FE_INVALID and returning a NaN explicitly.
14152 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
14154         * po/de.po: Updated from Translation Project.
14155         * po/fi.po: Likewise.
14156         * po/sv.po: Likewise.
14158 2016-08-04  Florian Weimer  <fweimer@redhat.com>
14160         [BZ #20452]
14161         Use sysdep.o from libc.a in static libraries.
14162         * sysdeps/unix/sysv/linux/i386/Makefile
14163         (libpthread-shared-only-routines): Add sysdep.
14164         (librt-shared-only-routines): Likewise.
14166 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14168         * math/tgmath.h (nextdown): Define if
14169         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
14170         (nextup): Likewise.
14172         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
14173         macro.
14174         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14175         Document.
14176         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14177         Document macro.
14178         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
14179         (exp10f): Likewise.
14180         (exp10l): Likewise.
14181         * math/bits/mathcalls.h (exp10): Declare if
14182         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14184         * manual/arith.texi (nextup): Fix typo in last change.
14186 2016-08-03  Zack Weinberg  <zackw@panix.com>
14188         [BZ #19239]
14189         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
14190         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
14191         define major, minor, and makedev to issue deprecation warnings on use.
14192         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
14193         previously-activated deprecation warnings for these macros and prevent
14194         subsequent inclusions of this header from having any effect.
14195         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
14196         including <sys/sysmacros.h>, and undefine it again afterward.
14198 2016-08-03  Zack Weinberg  <zackw@panix.com>
14200         * sysdeps/generic/sys/sysmacros.h: Delete file.
14201         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
14202         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
14203         * bits/sysmacros.h: ... here; this encoding is now the generic
14204         encoding.  Now defines only the following macros:
14205         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
14206         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
14207         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
14209         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
14210         bits/sysmacros.h and the above new macros to generate the
14211         public implementations of major, minor, and makedev.
14212         * misc/tst-makedev.c: New test.
14213         * include/sys/sysmacros.h: New wrapper.
14215         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
14216         (routines): Add makedev.
14217         (tests): Add tst-makedev.
14218         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
14219         gnu_dev_makedev.
14220         * posix/Makefile (headers): Remove sys/sysmacros.h.
14221         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
14223         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
14224         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
14225         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
14226         * sysdeps/unix/sysv/linux/alpha/libc.abilist
14227         * sysdeps/unix/sysv/linux/arm/libc.abilist
14228         * sysdeps/unix/sysv/linux/hppa/libc.abilist
14229         * sysdeps/unix/sysv/linux/i386/libc.abilist
14230         * sysdeps/unix/sysv/linux/ia64/libc.abilist
14231         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14232         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
14233         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
14234         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14235         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14236         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14237         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14238         * sysdeps/unix/sysv/linux/nios2/libc.abilist
14239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14243         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
14244         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14245         * sysdeps/unix/sysv/linux/sh/libc.abilist
14246         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14247         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14250         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
14251         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
14252         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
14253         Add GLIBC_2.25.
14255         * include/features.h (__glibc_clang_prereq): New macro.
14256         * misc/sys/cdefs.h (__glibc_clang_has_extension)
14257         (__attribute_deprecated_msg__): New macros.
14259 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14261         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
14262         macro.
14263         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
14264         * manual/arith.texi (issignaling): Document as ISO from TS
14265         18661-1:2014.
14266         (nextup): Likewise.
14267         (nextupf): Likewise.
14268         (nextupl): Likewise.
14269         (nextdown): Likewise.
14270         (nextdownf): Likewise.
14271         (nextdownl): Likewise.
14272         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
14273         macro.
14274         * math/math.h: Define
14275         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14276         <bits/libc-header-start.h> instead of including <features.h>.
14277         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
14278         [__USE_GNU].
14279         * math/bits/mathcalls.h (nextdown): Declare if
14280         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
14281         (nextup): Likewise.
14282         (__issignaling): Likewise.
14284 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14286         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
14287         check, and remove __glibc_likely hint
14288         from FP_INFINITE check.
14289         * s_csinhf.c (__csinhf): Likewise.
14291         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
14292         hint from FP_INFINITE check.
14293         * s_csinhl.c (__csinhl): Likewise.
14295 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14297         * math/Makefile (libm-calls): Insert F placeholder into
14298         object names.  Move w_lgamma_compat* routines into
14299         (libm-compat-calls): New variable.
14300         (libm-compat-calls-ldouble-yes): New variable.
14301         (calls): Insert F placeholder.
14302         (generated): Redefine using new type-foreach macro call.
14303         (routines): Likewise.
14305         (types): New variable to hold a list of symbolic names
14306         for each type supported by the target machine.
14307         (libm-routines): Redefine using new types variable.
14308         (type-foreach): macro to replace fooF with the
14309         appropriately suffixed foo for each types.
14311         (type-ldouble-suffix): New variable.
14312         (type-ldouble-routines): Likewise.
14313         (type-ldouble-yes): Likewise.
14314         (type-double-suffix): Likewise.
14315         (type-double-routines): Likewise.
14316         (type-float-suffix): Likewise.
14317         (type-float-routines): Likewise.
14319         (dbl-only-routines): Remove.
14320         (long-c-yes): Likewise.
14321         (long-m-routines): Likewise.
14322         (long-m-support): Likewise.
14323         (long-m-yes): Likewise.
14324         (test-longdouble-yes): Likewise.
14326         (test-float.o): Simplify by increasing the scope of the
14327         recipe which adds libm-test.stmp to the vector types.
14328         (test-ifloat.o): Likewise.
14329         (test-float-finite.o): Likewise.
14330         (test-double.o): Likewise
14331         (test-idouble.o): Likewise.
14332         (test-double-finite.o): Likewise.
14333         (test-ldouble.o): Likewise
14334         (test-ildoubl.o): Likewise.
14335         (test-ldouble-finite.o): Likewise.
14337         (libm-tests): Redefine type tests using foreach and the
14338         list of types in types.
14340         (CPPFLAGS-test-ildoubl.c): Rename to
14341         (CPPFLAGS-test-ildouble.c): New variable
14343         * math/test-ildoubl.c: Rename to
14344         * math/test-ildouble.c: New file.
14346 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14348         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
14349         Use fabsl instead of fabs.
14350         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
14351         Likewise.
14352         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
14353         Add long double suffix to constant to ensure proper
14354         promotion to long double.
14356 2016-08-03  Tom Tromey  <tom@tromey.com>
14358         [BZ #20311]
14359         * nptl_db/Makefile (headers): Add proc_service.h.
14360         * nptl_db/proc_service.h: Add include guard.  Use
14361         __BEGIN/__END_DECLS.
14362         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
14363         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
14364         arguments.
14367 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14369         [BZ #17730]
14370         Avoid using memalign for TCB allocations.
14371         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
14372         (_dl_allocate_tls_storage): Use malloc and manual alignment.
14373         Avoid alignment gap in the TLS_DTV_AT_TP case.
14374         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
14375         determine the pointer to free.
14376         * nptl/tst-tls3-malloc.c: New test.
14377         * nptl/Makefile (tests): Add it.
14378         (tst-tls3-malloc): Link with libdl, libpthread.
14379         (LDFLAGS-tst-tls3-malloc): Set.
14380         (tst-tls3-malloc.out): Depend on DSO used in test.
14382 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14384         [BZ #17730]
14385         Avoid using memalign for TLS allocations.
14386         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
14387         is_static member with to_free member.
14388         (union dtv): Use struct dtv_pointer.
14389         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
14390         dtv_pointer instead of is_static.
14391         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
14392         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
14393         instead of val.
14394         (allocate_dtv_entry): New function.
14395         (allocate_and_init): Return struct dtv_pointer.  Call
14396         allocate_dtv_entry instead of __libc_memalign.
14397         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
14398         instead of val.
14399         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
14400         instead of is_static.  Adjust call to allocate_and_init.
14401         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
14402         struct dtv_pointer instead of val.
14404 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14406         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
14407         (MALLOC_ALIGN_MASK): Move ...
14408         * malloc/malloc-internal.h: ... to here.
14409         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
14411 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14413         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
14414         (UDP_ENCAP_GTP1U): Likewise.
14416         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
14417         (PF_MAX): Update value.
14418         (AF_QIPCRTR): New macro.
14420 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14422         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
14423         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14424         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14425         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
14426         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14427         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14428         s_truncf-vis3, s_trunc-vis3.
14429         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14430         (CFLAGS-s_ceil-vis3.c): Likewise.
14431         (CFLAGS-s_floorf-vis3.c): Likewise.
14432         (CFLAGS-s_floor-vis3.c): Likewise.
14433         (CFLAGS-s_truncf-vis3.c): Likewise.
14434         (CFLAGS-s_trunc-vis3.c): Likewise.
14435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
14436         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
14437         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
14438         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
14439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
14440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
14441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
14442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
14443         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
14444         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
14445         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
14446         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
14448 2016-08-02  David S. Miller  <davem@davemloft.net>
14450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14451         (__nearbyint_vis3): Don't check for sNaN before float register is
14452         loaded with the incoming argument.
14453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14454         (__nearbyintf_vis3): Likewise.
14455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
14456         Likewise.
14457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
14458         Likewise.
14460         * string/test-strncmp.c (do_test_limit): Make sure the test data
14461         stream is aligned as required for the type "CHAR".
14462         (do_test): Likewise.
14464 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14466         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
14467         by beq instructions jumping to the end of the function.
14468         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
14469         clobber list. Use "i" constraint instead of "X".
14470         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
14471         of "X".
14473 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
14475         * bits/libc-header-start.h: New file.
14476         * Makefile (headers): Add bits/libc-header-start.h.
14477         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
14478         (__GLIBC_USE): New macro.
14479         * libio/stdio.h: Define
14480         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14481         <bits/libc-header-start.h> instead of including <features.h>.
14482         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
14483         (open_memstream): Likewise.
14484         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
14485         (__asprintf): Likewise.
14486         (asprintf): Likewise.
14487         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
14488         (getdelim): Likewise.
14489         (getline): Likewise.
14490         * string/string.h: Define
14491         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14492         <bits/libc-header-start.h> instead of including <features.h>.
14493         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
14494         (strndup): Likewise.
14495         * wcsmbs/wchar.h: Define
14496         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14497         <bits/libc-header-start.h> instead of including <features.h>.
14498         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
14499         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
14501 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14503         Support linking against compatibility symbols, for use in tests.
14504         * include/libc-symbols.h (symbol_version_reference): New macro.
14505         (symbol_version): Use it.
14506         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
14507         (compat_symbol): Use compat_symbol_reference.
14508         (compat_symbol_1, compat_symbol_2): Remove.
14509         (compat_symbol_reference, compat_symbol_reference_1)
14510         (compat_symbol_reference_2): New macro.  Use
14511         symbol_version_reference.
14513 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14515         [BZ #19469]
14516         * malloc/Makefile (CPPFLAGS): Compile tests with
14517         -DTEST_NO_MALLOPT.
14518         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
14520 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
14522         [BZ #20033]
14523         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
14524         finite version.
14525         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
14526         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
14527         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
14528         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
14529         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
14530         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
14531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
14532         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
14533         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
14534         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
14535         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
14536         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
14537         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
14538         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
14539         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
14540         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
14541         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
14542         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
14543         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
14544         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
14545         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
14546         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
14547         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
14548         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
14549         in zero power.
14551 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14553         [BZ #20370]
14554         * malloc/arena.c (get_free_list): Update comment.  Assert that
14555         arenas on the free list have no attached threads.
14556         (remove_from_free_list): New function.
14557         (reused_arena): Call it.
14559 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
14561         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
14562         when it is a NaN.
14563         [_IEEE_FP_INEXACT] Remove.
14564         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
14565         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
14566         when it is a NaN.
14567         [_IEEE_FP_INEXACT] Remove.
14568         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
14569         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
14570         when it is a NaN.
14571         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
14572         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
14573         when its absolute value is greater than 0x1.0p52.
14574         [_IEEE_FP_INEXACT] Remove.
14575         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
14576         when its absolute value is greater than 0x1.0p23.
14577         [_IEEE_FP_INEXACT] Remove.
14579 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
14581         * version.h (RELEASE): Set to "development"
14582         (VERSION): Set to 2.24.90.
14583         * NEWS: Add 2.25 section.
14585         * version.h (RELEASE): Set to "stable"
14586         (VERSION): Set to 2.24.
14587         * include/features.h (__GLIBC_MINOR__): Set to 24.
14589         * NEWS: Add 2.24 fixed bugs.
14590         * po/libc.pot: Regenerate.
14592 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
14594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14595         [$(subdir) = math] (libm-sysdep_routines): Remove.
14596         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14597         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14598         s_truncf-vis3, s_trunc-vis3.
14599         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
14601         file.
14602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
14603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
14604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
14608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
14609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
14611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
14612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
14613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
14614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
14615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
14616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
14617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
14621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
14622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
14623         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
14624         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14629         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
14630         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
14633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14634         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14635         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
14636         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
14637         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
14638         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
14639         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14640         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14641         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
14642         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
14643         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
14644         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
14646 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
14648         [BZ #20384]
14649         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
14650         test-double-libmvec-sincos-avx-main.o,
14651         test-double-libmvec-sincos-avx2-main.o,
14652         test-double-libmvec-sincos-main.o,
14653         test-float-libmvec-sincosf-avx-main.o,
14654         test-float-libmvec-sincosf-avx2-main.o and
14655         test-float-libmvec-sincosf-main.o.
14656         test-float-libmvec-sincosf-avx512-main.o.
14657         ($(objpfx)test-double-libmvec-sincos): Also link with
14658         $(objpfx)test-double-libmvec-sincos-main.o.
14659         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
14660         $(objpfx)test-double-libmvec-sincos-avx-main.o.
14661         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
14662         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
14663         ($(objpfx)test-float-libmvec-sincosf): Also link with
14664         $(objpfx)test-float-libmvec-sincosf-main.o.
14665         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
14666         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
14667         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
14668         test-double-libmvec-sincos-avx512-main.o and
14669         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
14670         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
14671         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
14672         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
14673         (CFLAGS-test-double-libmvec-sincos.c): Removed.
14674         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
14675         (CFLAGS-test-double-libmvec-sincos-main.c): New.
14676         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
14677         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
14678         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
14679         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
14680         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
14681         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
14682         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
14683         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
14684         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
14685         -DREQUIRE_AVX2.
14686         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
14687         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
14688         -DREQUIRE_AVX512F.
14689         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
14690         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
14691         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
14692         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
14693         file.
14694         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
14695         Likewise.
14696         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
14697         Likewise.
14698         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
14699         Likewise.
14700         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
14701         Likewise.
14702         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
14703         Likewise.
14704         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
14705         Likewise.
14706         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
14707         Likewise.
14709 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
14711         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
14713 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
14715         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
14716         and typo in a comment about AT_HWCAP entry.
14718 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14720         * sysdeps/aarch64/libm-test-ulps: Updated.
14722 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14724         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
14725         of r13 as it is not restored in mvcle case.
14727 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
14729         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
14730         Rename "ret" to "__ret".
14731         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
14732         inline_syscall5, inline_syscall6): Likewise.
14734 2016-07-19   Will Newton  <will.newton@gmail.com>
14736         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
14737         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
14738         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
14739         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
14740         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
14742 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
14744         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
14745         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
14746         -mfpmath=387 with $(rtld-CFLAGS).
14747         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
14748         $(rtld-CFLAGS).
14750 2016-07-18   Ross Burton  <ross.burton@intel.com>
14751              Khem Raj  <raj.khem@gmail.com>
14753         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
14754         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
14755         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
14756         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
14757         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
14758         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
14759         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
14760         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
14761         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
14762         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
14763         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
14764         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
14765         R_METAG_TLS_DTPOFF): New.
14767 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14768             Matt Clay  <mclay@lycos.com>
14770         [BZ #20357]
14771         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
14772         to call __mpsin/__mpcos and to negate values.
14773         * math/auto-libm-test-in: Add test.
14774         * math/auto-libm-test-out: Regenerate.
14776 2016-07-18  Zack Weinberg  <zackw@panix.com>
14778         * grp/Makefile: Don't install the internal header grp-merge.h.
14780 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14782         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14784 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14786         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
14788 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14790         [BZ #15368]
14791         * sysdeps/unix/sysv/linux/nptl-signals.h
14792         (__nptl_clear_internal_signals): New function.
14793         (__libc_signal_block_all): Likewise.
14794         (__libc_signal_block_app): Likewise.
14795         (__libc_signal_restore_set): Likewise.
14796         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
14797         implementation.
14798         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
14799         the cached pid/tid value in pthread structure.
14801 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
14803         [BZ #20347]
14804         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14806 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14808         [BZ #20348]
14809         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
14810         preadv64, pwrite64 and pwritev64.
14812 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14814         [BZ #20350]
14815         * posix/tst-preadwrite.c: Renamed to ...
14816         * posix/tst-preadwrite-common.c: This.
14817         (PREAD): Removed.
14818         (PWRITE): Likewise.
14819         (STRINGIFY): Likewise.
14820         (STRINGIFY2): Likewise.
14821         (do_prepare): Make it static and remove function arguments.
14822         (do_test): Likewise.
14823         (PREPARE): Updated.
14824         (TEST_FUNCTION): New.
14825         (name): Make it static.
14826         (fd): Likewise.
14827         (do_prepare): Use create_temp_file.
14828         (do_test): Renamed to ...
14829         (do_test_with_offset): This.  Make it static and accept offset.
14830         Properly check return value of PWRITE and PREAD.  Return bytes
14831         read.  Don't close fd nor unlink name.
14832         * posix/tst-preadwrite.c: Rewrite.
14833         * posix/tst-preadwrite64.c: Likewise.
14835 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14837         [BZ #20309]
14838         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
14839         -mtls-dialect=gnu2 works.
14840         * configure: Regenerated.
14841         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
14842         (tests): Add tst-gnu2-tls1.
14843         (modules-names): Add tst-gnu2-tls1mod.
14844         ($(objpfx)tst-gnu2-tls1): New.
14845         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
14846         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
14847         * elf/tst-gnu2-tls1.c: New file.
14848         * elf/tst-gnu2-tls1mod.c: Likewise.
14849         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
14850         bytes for push in the PLT entry to align the stack.
14852 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14854         [BZ #20349]
14855         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
14857 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14859         [BZ #18707]
14860         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
14861         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
14863 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14865         * sysdeps/unix/sysv/linux/sysdep.h
14866         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
14867         guards.
14868         * misc/tst-preadvwritev-common.c: New file.
14869         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
14870         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
14871         a check for files larger than 2GB.
14873         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14874         (__ASSUME_OFF_DIFF_OFF64): Remove define.
14875         * sysdeps/unix/sysv/linux/pread.c
14876         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
14877         __OFF_T_MATCHES_OFF64_T.
14878         * sysdeps/unix/sysv/linux/pread64.c
14879         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
14880         * sysdeps/unix/sysv/linux/preadv.c
14881         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
14882         * sysdeps/unix/sysv/linux/preadv64.c
14883         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
14884         * sysdeps/unix/sysv/linux/pwrite.c
14885         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
14886         * sysdeps/unix/sysv/linux/pwrite64.c
14887         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
14888         * sysdeps/unix/sysv/linux/pwritev.c
14889         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
14890         * sysdeps/unix/sysv/linux/pwritev64.c
14891         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
14893 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
14895         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14896         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
14898 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14900         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
14902 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14904         [BZ #20240]
14905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
14906         (CFLAGS-s_modf-ppc32.c): New variable.
14907         (CFLAGS-s_modff-ppc32.c): Likewise.
14908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14909         (CFLAGS-s_modf-ppc64.c): Likewise.
14910         (CFLAGS-s_modff-ppc64.c): Likewise.
14912 2016-07-07  Andreas Schwab  <schwab@suse.de>
14914         [BZ #20263]
14915         * nptl/tst-robust10.c: New test.
14916         * nptl/Makefile (tests): Add tst-robust10.
14918 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
14920         [BZ #20263]
14921         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
14923 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14925         * sysdeps/s390/linkmap.h (struct link_map_machine):
14926         Remove member gotplt and add member jmprel.
14927         * sysdeps/s390/s390-32/dl-machine.h
14928         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
14929         instead of gotplt with &got[3].
14930         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
14931         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14933 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
14935         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
14937 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14939         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
14940         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
14941         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14942         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
14943         * libio/vtables.c (_IO_vtable_check)
14944         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14945         * libio/libioP.h (IO_set_accept_foreign_vtables)
14946         [!PTR_MANGLE]: Do not call PTR_MANGLE.
14948 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
14950         [BZ #20314]
14951         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
14952         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
14953         $(common-objpfx)cmath.
14954         ($(common-objpfx)cstdlib): New target.
14955         ($(common-objpfx)cmath): Likewise.
14957 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
14959         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
14961 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14963         [BZ #20327]
14964         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
14965         are not part of the string.
14967 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14969         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
14970         * nptl/tst-cancel4-common.h (fifoname): New variable.
14971         (fifofd): Likewise.
14972         (cl_fifo): New function.
14973         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
14974         SIGINT.
14975         (tf_open): Add early cancel test.
14977 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
14979         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
14981 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
14983         * sysdeps/generic/ldsodefs.h
14984         (dl_symbol_visibility_binds_local_p): New inline function.
14985         * elf/dl-addr.c (determine_info): Treat hidden and internal
14986         symbols as local.
14987         * elf/dl-lookup.c (do_lookup_x): Likewise.
14988         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
14990 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
14992         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
14993         invalid exception for a sNaN input.
14994         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14995         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14996         (__nearbyint_vis3): Likewise
14997         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14998         (__nearbyintf_vis3): Likewise
14999         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
15000         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15001         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
15002         Likewise.
15003         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15004         Likewise.
15006 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
15008         [BZ #20139]
15009         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15010         (HAVE_AVX512DQ_ASM_SUPPORT): This.
15011         * sysdeps/x86_64/configure.ac: Require assembler from binutils
15012         2.24 or above.
15013         (HAVE_AVX512_ASM_SUPPORT): Removed.
15014         (HAVE_AVX512DQ_ASM_SUPPORT): New.
15015         * sysdeps/x86_64/configure: Regenerated.
15016         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15017         check unconditional.
15018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15019         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15020         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15021         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15022         Likewise.
15023         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15024         Likewise.
15025         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15026         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15027         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15028         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15029         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15030         Likewise.
15031         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15032         Likewise.
15033         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15034         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15035         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15036         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15037         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15038         Likewise.
15039         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15040         Likewise.
15041         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15042         Likewise.
15043         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15044         Likewise.
15045         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15046         Likewise.
15047         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15048         Likewise.
15049         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
15050         Likewise.
15051         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
15052         Likewise.
15053         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
15054         Likewise.
15055         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
15056         Likewise.
15057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
15058         Likewise.
15060 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
15062         [BZ #20024]
15063         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
15064         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
15065         of this implementation of vector function.
15066         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15067         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15068         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15069         Likewise.
15070         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15072         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
15073         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
15074         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
15075         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
15076         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15077         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
15078         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
15079         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
15080         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
15081         for testing vector sincos with fixed ABI.
15082         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15083         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15084         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15085         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15086         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15087         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15088         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15089         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
15090         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
15091         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
15092         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
15093         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
15094         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
15095         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
15096         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15097         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15099 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15101         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
15103 2016-06-30  Anton Blanchard  <anton@samba.org>
15105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15106         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
15107         s_sinf-ppc64.
15108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
15109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
15110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
15111         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
15113 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15117         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
15118         e_expf-ppc64.
15119         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
15120         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
15121         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
15122         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
15124 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
15126         [BZ #20277]
15127         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
15128         when SHARED is defined.
15130 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
15132         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
15133         (index_arch_Prefer_ERMS): Likewise.
15134         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
15135         __memcpy_erms for Prefer_ERMS.
15136         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15137         (__memmove_erms): Enabled for libc.a.
15138         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
15139         __memmove_erms or Prefer_ERMS.
15140         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
15141         __mempcpy_erms for Prefer_ERMS.
15142         * sysdeps/x86_64/multiarch/memset.S (memset): Return
15143         __memset_erms for Prefer_ERMS.
15145 2016-06-30  Andreas Schwab  <schwab@suse.de>
15147         [BZ #20262]
15148         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
15149         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
15150         of memory.
15152 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
15154         [BZ #18645]
15155         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
15156         (test-extras): Add tst-cleanupx4aux.
15157         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
15158         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
15159         tst-cleanupx4aux.o.
15160         * nptl/tst-cleanupx4aux.c: New file.
15162 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15164         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15166 2016-06-29  Andreas Schwab  <schwab@suse.de>
15168         [BZ #20260]
15169         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
15170         address before the beginning of the string as an integer to avoid
15171         array-bounds warning.
15173 2016-06-28  Richard Henderson  <rth@redhat.com>
15175         * elf/elf.h (EM_BPF): New.
15176         (EM_NUM): Update.
15177         (R_BPF_NONE, R_BPF_MAP_FD): New.
15179         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
15180         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
15181         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
15182         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
15183         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
15184         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
15185         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
15186         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
15187         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
15188         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
15189         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
15190         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
15191         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
15192         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
15193         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
15194         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
15195         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
15196         (EM_NUM): Update.
15198 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
15200         [BZ #18960]
15201         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
15202         Set _nl_current_LC_CATEGORY_used to two instead of one.
15204 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
15206         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
15207         (do_test): ... this.
15208         (TEST_FUNCTION): New macro.
15209          Include test-skeleton.c.
15210         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
15211         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
15213 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
15215         [BZ #15479]
15216         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
15217         floating-point environment rather than just control word.
15218         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15219         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
15220         floating-point environment, with "invalid" exceptions merged in,
15221         rather than just control word.
15222         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
15223         * math/libm-test.inc (trunc_test_data): Do not allow spurious
15224         "inexact" exceptions.
15226         [BZ #15479]
15227         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
15228         floating-point environment rather than just control word.
15229         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15230         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
15231         floating-point environment, with "invalid" exceptions merged in,
15232         rather than just control word.
15233         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
15234         * math/libm-test.inc (floor_test_data): Do not allow spurious
15235         "inexact" exceptions.
15237         [BZ #15479]
15238         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
15239         floating-point environment rather than just control word.
15240         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15241         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
15242         floating-point environment, with "invalid" exceptions merged in,
15243         rather than just control word.
15244         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
15245         * math/libm-test.inc (ceil_test_data): Do not allow spurious
15246         "inexact" exceptions.
15248 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
15250         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
15251         __libc_vfork.
15252         (__vfork) [IS_IN (libc)]: Remove alias.
15253         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
15254         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15255         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15257 2016-06-24  Torvald Riegel  <triegel@redhat.com>
15259         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
15260         of atomic_compare_and_exchange_bool_rel.
15261         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15262         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
15263         catomic_compare_and_exchange_bool_rel): Remove.
15264         * sysdeps/aarch64/atomic-machine.h
15265         (atomic_compare_and_exchange_bool_rel): Likewise.
15266         * sysdeps/alpha/atomic-machine.h
15267         (atomic_compare_and_exchange_bool_rel): Likewise.
15268         * sysdeps/arm/atomic-machine.h
15269         (atomic_compare_and_exchange_bool_rel): Likewise.
15270         * sysdeps/mips/atomic-machine.h
15271         (atomic_compare_and_exchange_bool_rel): Likewise.
15272         * sysdeps/microblaze/atomic-machine.h
15273         ( __arch_compare_and_exchange_bool_8_rel,
15274         __arch_compare_and_exchange_bool_16_rel): Likewise.
15275         * sysdeps/powerpc/atomic-machine.h
15276         ( __arch_compare_and_exchange_bool_8_rel,
15277         __arch_compare_and_exchange_bool_16_rel): Likewise.
15278         * sysdeps/powerpc/powerpc32/atomic-machine.h
15279         ( __arch_compare_and_exchange_bool_32_rel,
15280         __arch_compare_and_exchange_bool_64_rel): Likewise.
15281         * sysdeps/powerpc/powerpc64/atomic-machine.h
15282         ( __arch_compare_and_exchange_bool_32_rel,
15283         __arch_compare_and_exchange_bool_64_rel): Likewise.
15284         * sysdeps/tile/atomic-machine.h
15285         (atomic_compare_and_exchange_bool_rel): Likewise.
15287 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
15289         [BZ #20296]
15290         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
15291         when either argument is a NaN.
15292         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15293         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
15295         * math/libm-test.inc (snan_value_ld): New macro.
15296         (isgreater_test_data): Add sNaN tests.
15297         (isgreaterequal_test_data): Likewise.
15298         (isless_test_data): Likewise.
15299         (islessequal_test_data): Likewise.
15300         (islessgreater_test_data): Likewise.
15301         (isunordered_test_data): Likewise.
15302         (nextafter_test_data): Likewise.
15303         (nexttoward_test_data): Likewise.
15304         (remainder_test_data): Likewise.
15305         (remquo_test_data): Likewise.
15306         (significand_test_data): Likewise.
15307         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
15309 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15311         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
15312         environment macros are defined.
15313         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
15315 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15317         [BZ #20191]
15318         Implement vtable verification in libio.
15319         * Makerules (shlib.lds): Place __libc_IO_vtables section.
15320         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
15321         * debug/vdprintf_chk.c (__vdprintf_chk): Call
15322         _IO_new_file_init_internal instead of _IO_file_init.
15323         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
15324         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
15325         * libio/Makefile (routines): Add vtables.
15326         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
15327         (_IO_init): Remove, not for internal use.
15328         (_IO_init_internal): Declare, internal replacement for _IO_init.
15329         (_IO_file_init): Remove, not for internal use.
15330         (_IO_new_file_init): Remove, not for internal use.
15331         (_IO_new_file_init_internal): Declare, internal replacement for
15332         _IO_new_file_init.
15333         (_IO_old_file_init): Remove, not for internal use.
15334         (_IO_old_file_init_internal): Declare, internal replacement for
15335         _IO_old_file_init.
15336         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
15337         internal use.
15338         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
15339         Declare.
15340         (libio_vtable): New macro.
15341         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
15342         functions.
15343         * libio/fileops.c (_IO_new_file_init_internal): Rename from
15344         _IO_new_file_init.
15345         (_IO_new_file_init): New externally visible wrapper which disables
15346         vtable verification.
15347         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
15348         Define as vtables.
15349         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
15350         (_IO_init): New externally visible wrapper which disables
15351         vtable verification.
15352         * libio/iofdopen.c (_IO_new_fdopen): Call
15353         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
15354         comment.
15355         * libio/iofopen.c (__fopen_internal): Call
15356         _IO_new_file_init_internal instead of _IO_file_init.
15357         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
15358         Define as vtables.
15359         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
15360         _IO_new_file_init_internal instead of _IO_file_init.
15361         * libio/iopopen.c (_IO_new_popen): Likewise.
15362         (_IO_proc_jumps): Define as vtable.
15363         * libio/iovdprintf.c (_IO_vdprintf): Call
15364         _IO_new_file_init_internal instead of _IO_file_init.
15365         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
15366         (__open_memstream): Call _IO_init_internal instead of _IO_init.
15367         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
15368         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
15369         _IO_old_file_init.
15370         (_IO_old_file_init): New externally visible wrapper which disables
15371         vtable verification.
15372         (_IO_old_file_jumps): Define as vtable.
15373         * libio/oldiofdopen.c (_IO_old_fdopen): Call
15374         _IO_old_file_init_internal instead of _IO_old_file_init.
15375         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15376         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15377         (_IO_old_proc_jumps): Define as vtable.
15378         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
15379         Define as vtables.
15380         * libio/vtables.c: New file.
15381         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
15382         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
15383         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
15384         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
15385         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
15386         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
15387         instead of _IO_init.
15389 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15391         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
15393 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15395         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
15396         potentially unused.
15398 2016-06-22  Florian Weimer  <fweimer@redhat.com>
15400         * test-skeleton.c (write_message): New function.
15401         * malloc/tst-mallocfork2.c (write_message): Remove.
15402         * debug/tst-longjmp_chk2.c (write_indented): New function.
15403         (write_message): Remove.
15404         (stackoverflow_handler): Call write_indented.
15406 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
15408         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
15409         "inexact" exceptions after fnstenv.
15410         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15411         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15412         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15414 2015-06-22  Zack Weinberg  <zackw@panix.com>
15416         * sysdeps/generic/bits/hwcap.h: Moved to ...
15417         * bits/hwcap.h: Here.
15419 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
15421         * sysdeps/aarch64/memcpy.S (memcpy):
15422         Further tuning for performance.
15424 2016-06-21  Florian Weimer  <fweimer@redhat.com>
15426         [BZ #20284]
15427         * malloc/arena.c (reused_arena): Do not return NULL if we start
15428         out with a non-corrupted arena.
15430 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15432         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
15433         * misc/tst-preadvwritev.c: New file.
15434         * misc/tst-preadvwritev64.c: Likewise.
15435         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
15436         usage.
15437         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
15438         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
15439         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
15440         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
15442 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
15444         [BZ #19654]
15445         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15446         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
15447         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
15448         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
15449         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
15450         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
15451         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
15452         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
15453         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
15454         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
15455         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
15456         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
15457         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
15458         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
15459         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
15460         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
15461         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
15462         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
15463         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
15464         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
15465         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
15466         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
15467         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
15468         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
15469         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
15470         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
15472 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
15474         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
15475         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
15477 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
15479         * sysdeps/aarch64/memcpy.S (memcpy):
15480         Rewrite of optimized memcpy and memmove.
15481         * sysdeps/aarch64/memmove.S (memmove): Remove
15482         memmove code (merged into memcpy.S).
15484 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15486         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
15487         * sysdeps/generic/dl-dtv.h: New file.
15488         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15489         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
15490         (dtv_t): Remove.
15491         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15492         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
15493         (dtv_t): Remove.
15494         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15495         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
15496         (dtv_t): Remove.
15497         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15498         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
15499         (dtv_t): Remove.
15500         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15501         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
15502         (dtv_t): Remove.
15503         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15504         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
15505         (dtv_t): Remove.
15506         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15507         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
15508         (dtv_t): Remove.
15509         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
15510         (dtv_t): Remove.
15511         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15512         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
15513         (dtv_t): Remove.
15514         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15515         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
15516         (dtv_t): Remove.
15517         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15518         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
15519         (dtv_t): Remove.
15520         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15521         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
15522         (dtv_t): Remove.
15523         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15524         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
15525         (dtv_t): Remove.
15526         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15527         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
15528         (dtv_t): Remove.
15529         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15530         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
15531         (dtv_t): Remove.
15532         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15533         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
15534         (dtv_t): Remove.
15536 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15538         Revert symbol poisoning of  __malloc_initialize_hook.
15539         * include/stdc-predef.h (__malloc_initialize_hook): Remove
15540         poisoning.
15541         * malloc/Makefile: Remove un-poisoning.
15542         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
15543         instead of old__malloc_initialize_hook.
15544         * malloc/malloc-hooks.h: Likewise.
15545         * malloc/malloc.c: Likewise.
15546         * malloc/mcheck-init.c: Likewise.
15548 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
15550         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
15552 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
15554         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
15555         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
15556         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15557         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15559 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15561         * NEWS: Mention addition of nextup and nextdown.
15562         * manual/arith.texi: Document nextup and nextdown.
15563         * manual/libm-err-tab.pl: Add nextup and nextdown.
15564         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
15565         * math/Versions (libm): Add GLIBC_2.24.
15566         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
15567         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15568         Add new test.
15569         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
15570         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
15571         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
15572         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
15573         (nextup_test_data): Likewise.
15574         (nextdown_test_data): Likewise.
15575         * math/s_nextdown.c: New file.
15576         * math/s_nextdownf.c: Likewise.
15577         * math/s_nextdownl.c: Likewise.
15578         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
15579         F(nextup): New function.
15580         F(nextdown): Likewise.
15581         * math/tgmath.h: Add nextup and nextdown.
15582         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
15583         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
15584         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15585         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15586         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15587         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
15588         Add nextup and nextdown.
15589         (CFLAGS-nldbl-nextup.c): New variable.
15590         (CFLAGS-nldbl-nextdown.c): Likewise.
15591         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
15592         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
15593         * sysdeps/nacl/libm.abilist: Update.
15594         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15595         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15596         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15597         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15598         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15599         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15600         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15601         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15602         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15603         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15604         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15605         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15608         Likewise.
15609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15611         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15612         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15613         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15614         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15615         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
15617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
15618         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15619         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15620         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15621         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15623 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15625         * manual/pattern.texi: Fix typos & grammar errors.
15627 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15629         * manual/search.texi: Fix typos & grammar errors.
15631 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15633         * manual/message.texi: Fix typos & grammar errors.
15635 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
15637         * manual/contrib.texi: Fix spelling typos.
15638         * manual/crypt.texi: Likewise.
15639         * manual/filesys.texi: Likewise.
15640         * manual/locale.texi: Likewise.
15641         * manual/message.texi: Likewise.
15642         * manual/nss.texi: Likewise.
15643         * manual/string.texi: Likewise.
15645 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15647         * manual/locale.texi: Fix typos & grammar errors.
15649 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15651         * manual/charset.texi: Fix typos & grammar errors.
15653 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15655         * manual/string.texi: Fix typos.
15657 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15659         * manual/ctype.texi: Fix typos.
15661 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15663         * manual/memory.texi: Fix various typos & grammar errors.
15665 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
15667         [BZ #20255]
15668         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
15669         * math/libm-test.inc (fdim_test_data): Add another test.
15671         [BZ #6796]
15672         [BZ #20255]
15673         [BZ #20256]
15674         * math/s_fdim.c: Include <math_private.h>.
15675         (__fdim): Use math_narrow_eval on result.
15676         * math/s_fdimf.c: Include <math_private.h>.
15677         (__fdimf): Use math_narrow_eval on result.
15678         * sysdeps/i386/fpu/s_fdim.S: Remove file.
15679         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
15680         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
15681         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
15682         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
15683         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
15684         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
15685         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
15686         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
15687         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
15688         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
15689         * math/libm-test.inc (fdim_test_data): Expect errno setting on
15690         overflow.  Add sNaN tests.
15692         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
15693         fpclassify.
15694         * math/s_fdimf.c (__fdimf): Likewise.
15695         * math/s_fdiml.c (__fdiml): Likewise.
15697 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15699         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15700         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
15701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15702         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15703         ifunc'ed strcasecmp/strncasecmp.
15704         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
15705         [EALIGN]: Removed.
15706         [END]: Likewise.
15707         [__strcasecmp]: Define instead of the above to control symbol name.
15708         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
15709         for __strcasecmp_power8.
15710         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
15711         for __strncasecmp_power8.
15712         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
15713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
15714         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
15715         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
15716         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
15717         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
15719 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
15721         [BZ #20252]
15722         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
15723         arguments when second argument is a NaN.
15724         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
15725         qNaN tests.
15727         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
15728         (conj_test_data): Likewise.
15729         (copysign_test_data): Likewise.
15730         (creal_test_data): Likewise.
15731         (fma_test_data): Likewise.
15732         (fmod_test_data): Likewise.
15734         [BZ #20250]
15735         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
15736         itself.
15737         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
15738         zero input to itself.
15739         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
15740         Likewise.
15741         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
15742         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
15743         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15744         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
15745         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
15747 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15749         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
15750         * nptl/tst-cancel4-common.c: New file.
15751         * nptl/tst-cancel4-common.h: Likewise.
15752         * nptl/tst-cancel4.c: Move common definitions to
15753         tst-cancel4-common.{c,h} file.
15754         * nptl/tst-cancel4_1.c: New test.
15755         * nptl/tst-cancel4_2.c: New test.
15757 2016-06-13  Florian Weimer  <fweimer@redhat.com>
15759         [BZ #20248]
15760         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
15761         (write_message): New function.
15762         (stackoverflow_handler): Call it instead of printf, to avoid
15763         excessive stack usage by printf.
15764         (do_test): Restore SIGSEGV, SIGBUS default handlers.
15766 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15768         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
15769         (prio_inherit_missing): Remove define.
15770         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15771         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15772         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
15773         Likewise.
15774         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15775         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15776         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15777         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15778         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15779         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15781 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15783         [BZ #19670]
15784         [BZ #19672]
15786         * io/test-lfs.c (do_prepare): Use xmalloc.
15787         * io/tst-fcntl.c (do_prepare): Likewise.
15788         * libio/tst-fopenloc.c (do_bz17916): Likewise.
15789         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
15790         * login/tst-utmp.c (do_prepare): Likewise.
15791         * posix/tst-exec.c (do_prepare): Likewise.
15792         * posix/tst-pathconf.c (prepare): Likewise.
15793         * posix/tst-spawn.c (do_prepare): Likewise.
15794         * posix/tst-truncate.c (do_prepare): Likewise.
15795         * rt/tst-aio.c (do_prepare): Likewise.
15796         * rt/tst-aio64.c (do_prepare): Likewise.
15798 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15800         [BZ #20237]
15801         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
15802         (get*ent): Set entidx to NULL during initialization.  If entidx is
15803         NULL, start iteration from the beginning.
15805 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15807         * malloc/malloc.c (musable): Return correct size for dumped fake
15808         mmapped chunk.
15810 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15812         [BZ #20222]
15813         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
15814         (_IO_cookie_write): Likewise.
15815         (_IO_cookie_seek): Likewise.
15816         (_IO_cookie_close): Likewise.
15817         (_IO_old_cookie_seek): Likewise.
15818         (set_callbacks): New function.
15819         (_IO_cookie_init): Call set_callbacks to copy callbacks.
15821 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
15823         * locale/programs/localedef.c (oldstyle_tables): Remove.
15824         * locale/programs/localedef.h (oldstyle_tables): Likewise.
15826 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
15828         [BZ #20240]
15829         * math/Makefile (CFLAGS-s_modf.c): New variable.
15830         (CFLAGS-s_modff.c): Likewise.
15831         (CFLAGS-s_modfl.c): Likewise.
15832         * math/libm-test.inc (modf_test_data): Add sNaN tests.
15834 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
15836         [BZ #20215]
15837         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
15838         [!__GNUC_PREREQ (3,2)]: Likewise.
15840 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15842         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
15843         (msghdr.msg_controllen): Likewise.
15844         (cmsghdr.cmsg_len): Likewise.
15845         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
15846         ptw-oldsendmsg.
15847         (CFLAGS-oldrecvmsg.c): Remove rule.
15848         (CFLAGS-oldsendmsg.c): Likewise.
15849         (CFLAGS-recvmsg.c): Add rule.
15850         (CFLAGS-sendmsg.c): Likewise.
15851         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
15852         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
15853         (CFLAGS-recvmsg.c): Remove rule.
15854         (CFLAGS-sendmsg.c): Likewise.
15855         (CFLAGS-oldrecvmsg.c): Likewise.
15856         (CFLAGS-oldsendmsg.c): Likewise.
15857         (CFLAGS-recvmmsg.c): Likewise.
15858         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
15859         to kernel defined interfaces.
15860         (msghdr.msg_controllen): Likewise.
15861         (cmsghdr.cmsg_len): Likewise.
15862         (msghdr.__glibc_reserved1): Remove member.
15863         (msghdr.__glibc_reserved2): Likewise.
15864         (cmsghdr.__glibc_reserved1): Likewise.
15865         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
15866         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
15867         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15868         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15869         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
15870         version.
15871         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15872         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
15873         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15874         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
15875         Remove recvmsg and sendmsg.
15876         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
15877         Likewise.
15878         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15879         Likewise.
15880         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15881         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15882         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15883         Likewise.
15884         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15885         Likewise.
15886         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
15887         [libc] (GLIBC_2.24): Likewise.
15888         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15889         Likewise.
15890         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15891         Likewise.
15892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15893         [libc] (GLIBC_2.24): Likewise.
15894         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15895         Likewise.
15896         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15897         Likewise.
15898         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15899         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15900         Likewise.
15901         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15902         Likewise.
15903         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15904         Likewise.
15905         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
15906         Likewise.
15907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
15908         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
15909         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
15910         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
15911         version for {recv,send,recm,sendm}msg.
15912         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15913         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15914         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15915         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15916         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15917         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15918         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15919         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15920         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15921         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15922         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15923         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15925         Likewise.
15926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15927         Likewise.
15928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15930         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15931         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15932         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15933         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15934         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15935         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15938         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15939         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15940         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15942 2016-06-10  Florian Weimer  <fweimer@redhat.com>
15944         [BZ #19564]
15945         Remove __malloc_initialize_hook from the API.
15946         * malloc/malloc.h (__malloc_initialize_hook): Remove.
15947         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
15948         #pragma GCC poison.
15949         * malloc/malloc-hooks.h: New file.
15950         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
15951         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
15952         (old__malloc_initialize_hook): Rename from
15953         __malloc_initialize_hook to evade poisoning.  Turn into compat
15954         symbol.
15955         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
15956         __malloc_initialize_hook.
15957         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
15958         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
15959         * manual/memory.texi (Hooks for Malloc): Remove
15960         __malloc_initialize_hook.  Adjust hook example.
15962 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
15964         [BZ #20235]
15965         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
15966         itself.
15967         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15968         * math/libm-test.inc (log2_test_data): Add sNaN tests.
15970         [BZ #20234]
15971         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
15972         infinity or NaN input to itself.
15974         [BZ #20233]
15975         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
15976         to itself.
15978         [BZ #20232]
15979         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
15980         itself.
15982 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
15984         * sysdeps/x86_64/start.S (_start): Always indirect branch to
15985         __libc_start_main via GOT.
15987 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
15989         * sysdeps/x86_64/memcopy.h: New file.
15990         * sysdeps/x86_64/wordcopy.c: Likewise.
15992 2016-06-09  Florian Weimer  <fweimer@redhat.com>
15994         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
15995         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
15996         <cstdlib>.
15997         (optimization_barrier): New.
15998         (do_test): Use it.  Call quick_exit in the global namespace.
15999         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
16000         instead of <cstdlib>, <thread>.
16001         (optimization_barrier): New.
16002         (non_main_thread): Adjust declaration.  Call optimization_barrier.
16003         Call quick_exit in the global namespace.
16004         (do_test): Call optimization_barrier.  Use pthread_create,
16005         pthread_join instead of std::thread.
16007 2016-06-09  Andreas Schwab  <schwab@suse.de>
16009         [BZ #19755]
16010         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16011         new entries in auto-propagate mode.
16012         * nscd/grpcache.c (cache_addgr): Likewise.
16014 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16016         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16017         New functions.
16018         (add_temp_file): Use them.
16020 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
16022         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16024 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
16026         [BZ #20229]
16027         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16028         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16029         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16031         [BZ #20228]
16032         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16033         itself.
16034         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16035         * math/libm-test.inc (log10_test_data): Add sNaN tests.
16037         [BZ #20227]
16038         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16039         itself.
16040         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16041         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16042         * math/libm-test.inc (log_test_data): Add sNaN tests.
16044         [BZ #20226]
16045         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16046         itself.
16047         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16048         * math/libm-test.inc (exp_test_data): Add sNaN tests.
16049         (exp10_test_data): Likewise.
16050         (expm1_test_data): Likewise.
16052         [BZ #20225]
16053         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
16054         itself.
16055         * math/s_ldexpf.c (__ldexpf): Likewise.
16056         * math/s_ldexpl.c (__ldexpl): Likewise.
16057         * math/w_scalbln.c (__w_scalbln): Likewise.
16058         * math/w_scalblnf.c (__w_scalblnf): Likewise.
16059         * math/w_scalblnl.c (__w_scalblnl): Likewise.
16060         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
16061         (scalbln_test_data): Likewise.
16063         [BZ #20224]
16064         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
16065         argument to itself.
16066         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
16068 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16070         [BZ #19776]
16071         * sysdeps/x86_64/memcpy.S: Make it dummy.
16072         * sysdeps/x86_64/mempcpy.S: Likewise.
16073         * sysdeps/x86_64/memmove.S: New file.
16074         * sysdeps/x86_64/memmove_chk.S: Likewise.
16075         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16076         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16077         * sysdeps/x86_64/memmove.c: Removed.
16078         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16079         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16080         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
16081         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16082         Likewise.
16083         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16084         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16086         memcpy-sse2-unaligned, memmove-avx-unaligned,
16087         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
16088         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16089         (__libc_ifunc_impl_list): Replace
16090         __memmove_chk_avx512_unaligned_2 with
16091         __memmove_chk_avx512_unaligned.  Remove
16092         __memmove_chk_avx_unaligned_2.  Replace
16093         __memmove_chk_sse2_unaligned_2 with
16094         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
16095         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
16096         with __memmove_avx512_unaligned.  Replace
16097         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
16098         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
16099         with __memcpy_chk_avx512_unaligned.  Remove
16100         __memcpy_chk_avx_unaligned_2.  Replace
16101         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
16102         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
16103         Replace __memcpy_avx512_unaligned_2 with
16104         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
16105         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
16106         with __mempcpy_chk_avx512_unaligned.  Remove
16107         __mempcpy_chk_avx_unaligned_2.  Replace
16108         __mempcpy_chk_sse2_unaligned_2 with
16109         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
16110         Replace __mempcpy_avx512_unaligned_2 with
16111         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
16112         Replace __mempcpy_sse2_unaligned_2 with
16113         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
16114         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
16115         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
16116         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
16117         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
16118         (ENTRY): Removed.
16119         (END): Likewise.
16120         (ENTRY_CHK): Likewise.
16121         (libc_hidden_builtin_def): Likewise.
16122         Don't include ../memcpy.S.
16123         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
16124         __memcpy_chk_avx512_unaligned_erms and
16125         __memcpy_chk_avx512_unaligned.  Use
16126         __memcpy_chk_avx_unaligned_erms and
16127         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16128         Default to __memcpy_chk_sse2_unaligned.
16129         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16130         Change function suffix from unaligned_2 to unaligned.
16131         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
16132         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
16133         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
16134         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
16135         (ENTRY): Removed.
16136         (END): Likewise.
16137         (ENTRY_CHK): Likewise.
16138         (libc_hidden_builtin_def): Likewise.
16139         Don't include ../mempcpy.S.
16140         (mempcpy): New.  Add a weak alias.
16141         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
16142         __mempcpy_chk_avx512_unaligned_erms and
16143         __mempcpy_chk_avx512_unaligned.  Use
16144         __mempcpy_chk_avx_unaligned_erms and
16145         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16146         Default to __mempcpy_chk_sse2_unaligned.
16148 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16150         [BZ #19881]
16151         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
16152         into ...
16153         * sysdeps/x86_64/memset.S: This.
16154         (__bzero): Removed.
16155         (__memset_tail): Likewise.
16156         (__memset_chk): Likewise.
16157         (memset): Likewise.
16158         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
16159         defined.
16160         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
16161         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
16162         (__memset_zero_constant_len_parameter): Check SHARED instead of
16163         PIC.
16164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16165         memset-avx2 and memset-sse2-unaligned-erms.
16166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16167         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
16168         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
16169         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16170         (__bzero): Enabled.
16171         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
16172         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
16173         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
16174         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
16175         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16176         (memset): Removed.
16177         (__memset_chk): Likewise.
16178         (MEMSET_SYMBOL): New.
16179         (libc_hidden_builtin_def): Replace __memset_sse2 with
16180         __memset_sse2_unaligned.
16181         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
16182         __memset_chk_sse2 and __memset_chk_avx2 with
16183         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
16184         Use __memset_chk_sse2_unaligned_erms or
16185         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
16186         __memset_chk_avx512_unaligned_erms and
16187         __memset_chk_avx512_unaligned.
16189 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16191         * math/gen-auto-libm-test.c (fp_format_desc): remove
16192         suffix member.
16193         (output_generic_value): Remove usage of suffix member,
16194         and the resulting unuse of the fp_format argument.
16195         (output_for_one_input_case): Remove unused fp_format
16196         parameter.
16198         * math/auto-libm-test-out: Regenerate.
16200         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
16201         usage with TEST_COND_ibm128.
16202         (TEST_COND_flt_32): Remove.
16203         (TEST_COND_dbl_64): Remove.
16204         (TEST_COND_ldbl_96_intel): Remove.
16205         (TEST_COND_ldbl_96_m68k): Remove.
16206         (TEST_COND_ldbl_128): Remove.
16208 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16210         * auto-libm-test-in:
16211         Replace flt-32 usage with binary32.
16212         Replace dbl-64 usage with binary64.
16213         Replace ldbl-intel-96 usage with intel96.
16214         Replace ldbl-m68k-96 usage with m68k96.
16215         Replace ldbl-128ibm usage with ibm128.
16216         Replace ldbl-128 usage with binary128.
16218         * auto-libm-test-out: Regenerate.
16220 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16222         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
16223         (parse_ulps): Dynamically generate type name matching
16224         string from all_floats.
16225         (get_ulps): Generate the ulps as an array instead.
16226         (output_ulps): Dynamically compose the type based
16227         on the number of supported formats, and print
16228         the indices as type specific helper macros.
16230         * math/libm-test.inc: Remove comment about CHOOSE.
16231         (ulp_data): Generate the type in libm-test-ulps.h.
16232         (ULP_IDX): New macro.
16233         (find_ulps): Update usage of max_ulp.
16235         * math/test-double-vlen2.h (CHOOSE): Remove.
16236         * math/test-double-vlen4.h (CHOOSE): Likewise.
16237         * math/test-double-vlen8.h (CHOOSE): Likewise.
16238         * math/test-float.c (CHOOSE): Likewise.
16239         * math/test-float-finite.c (CHOOSE): Likewise.
16240         * math/test-double.c (CHOOSE): Likewise.
16241         * math/test-double-finite.c (CHOOSE): Likewise.
16242         * math/test-idouble.c (CHOOSE): Likewise.
16243         * math/test-ifloat.c (CHOOSE): Likewise.
16244         * math/test-ildoubl.c (CHOOSE): Likewise.
16245         * math/test-ldouble-finite.c (CHOOSE): Likewise.
16246         * math/test-ldouble.c (CHOOSE): Likewise.
16248         * math/test-float.h (TEST_FLOAT): Remove.
16249         * math/test-double.h (TEST_DOUBLE): Likewise.
16250         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
16252 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16254         * math/gen-libm-test.pl: (apply_lit): New subroutine.
16255         (parse_args): Strip C suffix from floating point literals
16256         typed with 'f' and wrap them with LIT().
16258         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
16259         (test_ff_f_data_nexttoward): Rename to
16260         (test_fj_f_data): New struct.
16261         (nexttoward_test_data): Relabel tests as
16262         TEST_fj_f instead of TEST_ff_f.
16264 2016-06-08  Florian Weimer  <fweimer@redhat.com>
16266         Emacs bug 23726.
16267         * malloc/malloc.c (dumped_main_arena_start): Update comment.
16268         (__libc_realloc): Correct size computation for dumped fake mmapped
16269         chunks.
16271 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
16273         [BZ #20219]
16274         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
16275         to itself.
16276         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
16278         [BZ #20218]
16279         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
16280         to itself.
16281         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
16283 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
16285         [BZ #20195]
16286         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
16287         check to ...
16288         (init_cpu_features): Here.
16290 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
16292         [BZ #20214]
16293         * sysdeps/unix/sysv/linux/bits/in.h
16294         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16295          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
16296         Define to 1.
16297         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16298          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
16299         Define to 0.
16300         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
16301         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
16303 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
16305         [BZ #20198]
16306         * stdlib/Makefile (tests): Add tst-quick_exit, and
16307         tst-thread-quick_exit.
16308         [ifeq ($(have-cxx-thread_local),yes)]
16309         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
16310         (CFLAGS-tst-thread-quick_exit.o): Likewise.
16311         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
16312         (LDLIBS-tst-thread-quick_exit): Likewise.
16313         [ifneq ($(have-cxx-thread_local),yes)]
16314         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
16315         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
16316         If run_dtors is true call __call_tls_dtors.
16317         (exit): Call __run_exit_handlers with run_dtors set to true.
16318         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
16319         definition.
16320         * stdlib/quick_exit.c (quick_exit): Remove function.
16321         (__new_quick_exit): New function.
16322         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
16323         function.
16324         * stdlib/tst-quick_exit.cc: New file.
16325         * stdlib/tst-thread-quick_exit.cc: New file.
16326         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
16327         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
16328         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
16329         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
16330         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
16331         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
16332         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
16333         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
16334         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
16335         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
16336         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
16337         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
16338         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
16339         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
16340         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
16341         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
16343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
16344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
16345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
16346         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
16347         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
16348         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
16349         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
16350         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
16351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
16352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
16353         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
16354         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
16355         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
16357 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16359         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
16360         a typo in comments.
16362 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16364         [BZ #20213]
16365         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
16366         argument to itself.
16367         * math/libm-test.inc (asin_test_data): Add sNaN tests.
16369 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16371         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
16372         required flags.
16373         (CFLAGS-pwritev64.c): Likewise.
16374         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
16375         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16376         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
16377         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16378         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
16379         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
16380         syscall from auto-generation.
16381         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
16382         [WORDSIZE == 64] (pwritev64): Remove macro.
16383         [!PWRITEV] (PWRITEV): Likewise.
16384         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16385         [!PWRITEV] (PWRITE): Likewise.
16386         [!PWRITEV] (OFF_T): Likewise.
16387         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16388         (LO_HI_LONG): Remove macro.
16389         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
16390         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
16391         (PWRITEV): Remove macro.
16392         (PWRITEV_REPLACEMENTE): Likewise.
16393         (PWRITE): Likewise.
16394         (OFF_T): Likewise.
16395         (pwritev64): New function.
16396         * nptl/tst-cancel4.c (tf_writev): Add test.
16398         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
16399         required flags.
16400         (CFLAGS-preadv64.c): Likewise.
16401         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
16402         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16403         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
16404         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
16405         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
16406         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
16407         syscall from auto-generation.
16408         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
16409         [WORDSIZE == 64] (preadv64): Remove macro.
16410         [!PREADV] (PREADV): Likewise.
16411         [!PREADV] (PREADV_REPLACEMENT): Likewise.
16412         [!PREADV] (PREAD): Likewise.
16413         [!PREADV] (OFF_T): Likewise.
16414         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
16415         (LO_HI_LONG): Remove macro.
16416         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
16417         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
16418         (PREADV): Remove macro.
16419         (PREADV_REPLACEMENTE): Likewise.
16420         (PREAD): Likewise.
16421         (OFF_T): Likewise.
16422         (preadv64): New function.
16423         * nptl/tst-cancel4.c (tf_preadv): Add test.
16425 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16427         [BZ #20212]
16428         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
16429         argument to itself.
16430         * math/libm-test.inc (acos_test_data): Add sNaN tests.
16432 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16434         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
16435         New symbol defined as libc_hidden_def.
16436         (strcasestr): Became a weak alias to __strcasestr.
16437         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
16438         according to multi-arch support.  Move __stpncpy hidden
16439         definition from here to...
16440         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
16441         symbol stpncpy.
16442         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
16443         libc_hidden_builtin_def.
16444         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
16445         memset symbol to use when multi-arch support is available.
16447 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16449         * dlfcn/tst-rec-dlopen.c: Include string.h.
16451 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16453         * manual/install.texi: Remove mention of --without-tls
16454         * INSTALL: Regenerate.
16456 2016-06-05  Florian Weimer  <fweimer@redhat.com>
16458         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
16459         Remove.
16460         (call_function, interposed_malloc_called): New variables.
16461         (malloc): New function.
16462         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
16463         and clear call_function as needed.
16465 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
16467         * include/wchar.h (__wmemset): Use __typeof.
16469 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
16471         * include/wchar.h (__wmemset): Declare function without typeof.
16473 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
16475         [BZ #20205]
16476         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
16477         exponent when incrementing negative subnormal with low mantissa
16478         word zero.
16479         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16480         Add another test.
16482 2016-06-03  Florian Weimer  <fweimer@redhat.com>
16484         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
16485         __wmemset instead of wmemset.
16487 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
16489         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
16490         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
16491         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
16492         __USE_KERNEL_IPV6_DEFS to 0.
16493         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
16494         Update comment.
16496 2016-06-01  Florian Weimer  <fweimer@redhat.com>
16498         [BZ #19861]
16499         Do not use IFUNC resolver with potentially unrelocated symbol.
16500         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
16501         (DEFINE_FORK): Remove macro and inline definition.
16502         (fork_alias): Renamed from fork_ifunc.
16503         (__fork_alias): Renamed from __fork_ifunc.
16505 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
16507         [BZ 19653]
16508         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
16509         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
16511 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16513         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
16514         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
16515         i386-linux-gnu).
16516         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
16517         Set to no.
16518         * sysdeps/mach/hurd/configure: Refresh.
16520 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16522         [BZ #20178]
16523         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
16524         on failure instead of exit.
16526 2016-05-30  Roland McGrath  <roland@hack.frob.com>
16528         [BZ #3629]
16529         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
16530         of POSIX.1-2008.
16532 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16534         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
16535           Use PLT entry for calling _hurd_self_sigstate.
16537 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
16539         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
16540         available logical processors with SMT level type sharing L2
16541         cache for Intel processors.
16543 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16545         [BZ #20160]
16546         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
16547         argument to itself before returning the result.
16548         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
16549         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
16550         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
16551         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16552         Likewise.
16553         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16554         Likewise.
16555         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
16556         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
16557         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16558         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16559         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
16560         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
16562         [BZ #20160]
16563         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
16564         argument to itself before returning the result.
16565         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
16566         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
16567         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
16568         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
16569         Likewise.
16570         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16571         Likewise.
16572         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
16573         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
16574         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
16575         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16576         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
16577         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
16579 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16581         * libm-test.inc: Replace usage of M_El with
16582         (lit_e): New macro.
16584 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16586         * libm-test.inc: Replace usage of M_PI_4l with
16587         (lit_pi_4_d): New macro.
16589 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16591         * libm-test.inc: Replace usage of M_PIl with
16592         (lit_pi): New macro.
16594 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16596         * libm-test.inc: Replace usage of M_PI2l with
16597         (lit_pi_2_d): New macro.
16599         * math/test-double.h (LITM): New macro.
16600         * math/test-float.h (LITM): Likewise.
16601         * math/test-ldouble.h (LITM): Likewise.
16603 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16605         * libm-test.inc (M_PI_34l): Rename to
16606         (lit_pi_3_m_4_d): New Macro.
16607         (M_PI_34_LOG10El): Rename to
16608         (lit_pi_3_m_4_ln10_m_d): New Macro.
16609         (M_PI2_LOG10El): Rename to
16610         (lit_pi_2_ln10_m_d):  New Macro.
16611         (M_PI4_LOG10El): Rename to
16612         (lit_pi_4_ln10_m_d):  New Macro.
16613         (M_PI_LOG10El): Rename to
16614         (lit_pi_ln10_d):  New Macro.
16616 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16618         [BZ #20157]
16619         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
16620         determine whether to negate low half if [_ARCH_PPCGR], and integer
16621         comparison otherwise.
16622         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
16623         determine whether to negate low half.
16625         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
16626         (NO_TEST_INLINE_DOUBLE): Likewise.
16627         (TEST_COND_x86_64): Likewise.
16628         (TEST_COND_x86): Likewise.
16629         (M_PI_6l): Likewise.
16631 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16633         * math/libm-test.inc:
16634         (TEST_FLOAT): Change usage to TEST_COND_binary32.
16635         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
16636         (TEST_LDOUBLE): Update usage to evaluate as true if
16637         the guarded tests match the property being tested.
16638         (LDBL_MAX_EXP): Change to MAX_EXP.
16639         (LDBL_MIN_EXP): Change to MIN_EXP.
16640         (LDBL_MANT_DIG): Change to MANT_DIG, except for
16641         nexttoward tests.
16643 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16645         * math/libm-test.inc:
16646         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
16647         (TYPE_MIN): Likewise.
16648         (TYPE_TRUE_MIN): Likewise.
16649         (TYPE_MAX): Likewise.
16650         (MIN_EXP): Likewise.
16651         (MAX_EXP): Likewise.
16652         (MANT_DIG): Likewise.
16654         (FSTR_MAX): New macro.
16655         (__CONCATX): Likewise.
16656         (QTYPE_STR): Likewise.
16657         (TEST_COND_binary32): Likewise.
16658         (TEST_COND_binary64): Likewise.
16659         (TEST_COND_binary128): Likewise.
16660         (TEST_COND_ibm128): Likewise.
16661         (TEST_COND_intel96): Likewise.
16662         (TEST_COND_m68k96): Likewise.
16664         (TEST_COND_flt_32): Redefine as equivalent format test macro.
16665         (TEST_COND_dbl_64): Likewise.
16666         (TEST_COND_ldbl_96_intel): Likewise.
16667         (TEST_COND_ldbl_96_m68k): Likewise.
16668         (TEST_COND_ldbl_128): Likewise.
16669         (TEST_COND_ldbl_128ibm): Likewise.
16671         (plus_zero): Redefine using LIT macro.
16672         (minus_zero): Likewise.
16673         (plus_infty): Redefine as (INF).
16674         (minux_infty): Redefine as (-INF).
16675         (max_value): Redefine as TYPE_MAX.
16676         (min_value): Redefine as TYPE_MIN.
16677         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
16679         (print_float): Refactor to use snprintf to convert FLOAT values
16680         to string. This brings it closer to dropin replacement of strtof
16681         for the TS 18661 defined types.
16682         (update_stats): Likewise.
16683         (print_complex_function_ulps): Likewise.
16684         (print_max_error): Likewise.
16685         (print_complex_max_error): Likewise.
16686         (check_float_internal): Likewise.
16688         * math/test-float.h (PREFIX): New macro.
16689         (LIT): Likewise.
16690         (TYPE_STR): Likewise.
16691         (FTOSTR): Likewise.
16693         * math/test-double.h (PREFIX): New macro.
16694         (LIT): Likewise.
16695         (TYPE_STR): Likewise.
16696         (FTOSTR): Likewise.
16698         * math/test-ldouble.h (PREFIX): New macro.
16699         (LIT): Likewise.
16700         (TYPE_STR): Likewise.
16701         (FTOSTR): Likewise.
16703 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16705         [BZ #20156]
16706         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
16707         to itself when zero or not finite.
16708         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
16709         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16710         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
16711         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
16713 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
16715         [BZ #20153]
16716         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
16717         x * x + x for infinities and NaNs.
16719         [BZ #20151]
16720         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
16721         argument to itself before returning result.
16722         (__ieee754_y0l): Likewise.
16723         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16724         (__ieee754_y1l).
16726         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
16727         (atan_test_data): Likewise.
16728         (ceil_test_data): Likewise.
16729         (cos_test_data): Likewise.
16730         (cosh_test_data): Likewise.
16731         (erf_test_data): Likewise.
16732         (exp2_test_data): Likewise.
16733         (fabs_test_data): Likewise.
16734         (floor_test_data): Likewise.
16735         (ilogb_test_data): Likewise.
16736         (j0_test_data): Likewise.
16737         (j1_test_data): Likewise.
16738         (jn_test_data): Likewise.
16739         (lgamma_test_data): Likewise.
16740         (lrint_test_data): Likewise.
16741         (llrint_test_data): Likewise.
16742         (logb_test_data): Likewise.
16743         (lround_test_data): Likewise.
16744         (llround_test_data): Likewise.
16745         (nearbyint_test_data): Likewise.
16746         (rint_test_data): Likewise.
16747         (round_test_data): Likewise.
16748         (sin_test_data): Likewise.
16749         (sincos_test_data): Likewise.
16750         (sinh_test_data): Likewise.
16751         (sqrt_test_data): Likewise.
16752         (tan_test_data): Likewise.
16753         (tanh_test_data): Likewise.
16754         (tgamma_test_data): Likewise.
16755         (trunc_test_data): Likewise.
16756         (y0_test_data): Likewise.
16757         (y1_test_data): Likewise.
16758         (yn_test_data): Likewise.
16760         * math/libm-test.inc: Update comment about NaN testing.
16761         (TEST_SNAN): New macro.
16762         (snan_value): Likewise.
16763         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
16764         (fpclassify_test_data): Add sNaN tests.
16765         (isfinite_test_data): Likewise.
16766         (isinf_test_data): Likewise.
16767         (isnan_test_data): Likewise.
16768         (isnormal_test_data): Likewise.
16769         (issignaling_test_data): Likewise.
16770         (signbit_test_data): Likewise.
16771         * math/gen-libm-test.pl (%beautify): Add snan_value.
16772         (show_exceptions): Add argument $test_snan.
16773         (parse_args): Handle snan_value as non-finite.  Update call to
16774         show_exceptions.
16775         * math/Makefile (libm-test-no-inline-cflags): Add
16776         -fsignaling-nans.
16778 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16780         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
16781         (CFLAGS-oldsendmsg.c): Add rule.
16782         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16783         Correct recvmsg symbol name.
16784         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
16785         Likewise.
16787 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16789         * sysdeps/unix/sysv/linux/Makefile
16790         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
16791         oldsendmmsg.
16792         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
16793         sendmmsg.
16794         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16795         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16796         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16797         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16799         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16800         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16802         Likewise.
16803         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16804         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
16805         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16806         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
16807         iovlen and controllen fields to adjust to POSIX specification.
16808         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16810         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
16811         and change to correct expected type.
16812         (msghdr.msg_controllen): Likewise.
16813         (cmsghdr.cmsg_len): Likewise.
16814         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
16815         expected POSIX assumption about the size.
16816         (msghdr.msg_controllen): Likewise.
16817         (msghdr.__glibc_reserved1): Likewise.
16818         (msghdr.__glibc_reserved2): Likewise.
16819         (cmsghdr.cmsg_len): Likewise.
16820         (cmsghdr.__glibc_reserved1): Likewise.
16821         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
16822         Add ptw-oldrecvmsg and ptw-oldsendmsg.
16823         (CFLAGS-sendmsg.c): Remove rule.
16824         (CFLAGS-recvmsg.c): Likewise.
16825         (CFLAGS-oldsendmsg.c): Add rule.
16826         (CFLAGS-oldrecvmsg.c): Likewise.
16827         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
16828         recvmsg and sendmsg.
16829         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
16830         Likewise.
16831         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
16832         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
16833         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16834         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
16835         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16836         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16837         Likewise.
16838         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16839         Likewise.
16840         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
16841         Likewise.
16842         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
16843         Likewise.
16844         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16845         Likewise.
16846         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16847         Likewise.
16848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
16849         (GLIBC_2.24): Likewise.
16850         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16851         Likewise.
16852         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16853         Likewise.
16854         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16855         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16856         Likewise.
16857         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16858         Likewise.
16859         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16860         Likewise.
16861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
16862         (GLIBC_2.24): Likewise.
16863         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
16864         Likewise.
16865         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
16866         Likewise.
16867         * sysdeps/unix/sysv/linux/Makefile
16868         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
16869         (CFLAGS-sendmsg.c): Add rule.
16870         (CFLAGS-recvmsg.c): Likewise.
16871         (CFLAGS-oldsendmsg.c): Likewise.
16872         (CFLAGS-oldrecvmsg.c): Likewise.
16873         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
16874         initialization.
16875         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16876         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16877         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
16878         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16879         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
16880         iovlen and controllen fields to adjust to POSIX specification.
16881         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
16882         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
16883         added recvmsg and sendmsg.
16884         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16885         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16886         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16887         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16888         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16889         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16890         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16891         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16892         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16893         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16894         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16895         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16897         Likewise.
16898         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
16899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16900         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16901         Likewise.
16902         Likewise.
16903         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16904         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16905         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16906         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16907         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16908         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16910         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16912         Likewise.
16913         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16914         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16916         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
16917         from auto-generation.
16918         (sendmsg): Likewise.
16919         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
16920         (sendmsg): Likewise.
16921         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
16922         (sendmsg): Likewise.
16923         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
16924         (sendmsg): Likewise.
16925         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
16926         (sendmsg): Likewise.
16927         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
16928         (sendmsg): Likewise.
16929         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
16930         Likewise.
16931         (sendmsg): Likewise.
16932         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
16933         (sendmsg): Likewise.
16934         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16935         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16936         Remove.
16937         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16938         Likewise.
16939         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16940         Undefine.
16941         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16942         Likewise.
16943         * sysdeps/unix/sysv/linux/kernel-features.h
16944         (__ASSUME_SENDMSG_SYSCALL): Define.
16945         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16946         * sysdeps/unix/sysv/linux/m68k/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/s390/kernel-features.h
16956         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16957         Remove.
16958         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16959         Likewise.
16960         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16961         Undefine.
16962         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16963         Likewise.
16964         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16965         (__ASSUME_SENDMSG_SYSCALL): Undefine.
16966         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16967         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16968         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16969         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16970         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16971         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16972         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16974 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16976         * stdlib/gen-tst-strtod-round.c: Add backslash to
16977         compile command in comment.
16978         (printfp): Remove the literal suffix, and define an infinite
16979         value as INF to avoid expansion clash with INFINITY.
16980         (round_str): Remove the literal suffix.
16981         (round_for_all): Likewise, remove the now duplicate ldbl-64
16982         entry, and remove some magic constants.
16984         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
16985         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
16986         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
16987         (_CONCAT): New macro.
16988         (CONCAT): Likewise.
16989         (CHOOSE_ld): Likewise.
16990         (CHOOSE_f): Likewise.
16991         (CHOOSE_d): Likewise.
16992         (FTYPE_MEMBER): Likewise.
16993         (BOOL_MEMBER): Likewise.
16994         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
16995         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
16996         (_XNTRY): Likewise.
16997         (XNTRY): Likewise.
16998         (_ENTRY): Likewise.
16999         (ENTRY): Likewise.
17000         (test_exactness): Generate members via macro.
17001         (test_results): Likewise.
17002         (test): Update members.
17003         (TEST): Redefine using new macros.
17004         (INF): New macro.
17005         (fetestmodes): New structure.
17006         (do_test): Refactor to be type generic.
17007         (test_in_one_mode): Refactor duplicate code into
17008         (GEN_ONE_TEST): New macro.
17010         * stdlib/tst-strtod-round-data.h: Regenerate.
17012         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17013         Extend to pass additional arbitrary parameters to
17014         generators.
17016 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
17018         [BZ #15479]
17019         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17020         floating-point state after first floating-point operation on
17021         input.  Restore full floating-point state instead of just rounding
17022         mode.
17023         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17024         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17025         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17026         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17027         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17029         [BZ #15479]
17030         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17031         floating-point state after first floating-point operation on
17032         input.  Restore full floating-point state instead of just rounding
17033         mode.
17034         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17035         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17036         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17037         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17038         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17040 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17042         [BZ #19727]
17043         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17044         valid high surrogate.
17045         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17046         of an utf16 surrogate.
17047         * iconv/gconv_simple.c (BODY): Likewise.
17048         * iconvdata/bug-iconv12.c: New file.
17049         * iconvdata/Makefile (tests): Add bug-iconv12.
17051 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17053         [BZ #19726]
17054         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
17055         outptrp in case of an illegal input.
17056         * iconv/tst-iconv6.c: New file.
17057         * iconv/Makefile (tests): Add tst-iconv6.
17059 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17061         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
17062         an error in case of a value in range of an utf16 low surrogate.
17064 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17066         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
17067         an error in case of a value in range of an utf16 low surrogate.
17069 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17071         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
17072         Move to ...
17073         * sysdeps/s390/Makefile: ... here.
17074         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
17075         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
17076         (BRANCH_ON_COUNT): New define.
17077         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
17078         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
17079         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
17080         run on s390-32, too.
17081         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
17082         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
17083         run on s390-32, too.
17084         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
17085         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
17086         run on s390-32, too.
17088 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17090         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
17091         etf3eh or new vector loop-variant.
17093 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17095         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
17096         etf3eh or new vector loop-variant.
17098 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17100         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
17101         or new vector loop-variant.
17103 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17105         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
17106         Rename to TR_LOOP and usage of tr instead of troo instruction.
17108 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17110         * sysdeps/s390/multiarch/gconv_simple.c: New File.
17111         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
17113 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17115         * sysdeps/s390/multiarch/8bit-generic.c: New File.
17116         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
17117         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
17118         New override define.
17119         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
17121 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17123         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
17124         * sysdeps/s390/configure.ac: Add test for S390 vector register
17125         support in gcc.
17126         * sysdeps/s390/configure: Regenerated.
17128 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17130         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
17131         Install file from $(objpfx)gconv-modules.
17132         ($(objpfx)gconv-modules): Concatenate architecture specific file
17133         in variable sysdeps-gconv-modules and gconv-modules in src dir.
17134         * sysdeps/s390/gconv-modules: New file.
17135         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
17136         Deleted.
17137         ($(objpfx)gconv-modules-s390): Deleted.
17138         (sysdeps-gconv-modules): New variable.
17140 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17142         [BZ #15479]
17143         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
17144         of immediate operand to rounding instruction.
17145         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
17146         Likewise.
17147         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
17148         Likewise.
17149         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
17150         Likewise.
17152 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17154         * math/libm-test.inc (MIN_EXP): Directly define as
17155         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
17157 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17159         * math/libm-test.inc (MANT_DIG): Directly define as
17160         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
17162 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17164         * stdlib/gen-tst-strtod-round.c (main):
17165           Change usage to more closely match the generated
17166           output.  Add usage and compilation instructions.
17167           (string_to_fp): Add and use FILE* parameter as
17168           output target.
17169           (print_fp): Likewise.
17170           (round_str): Likewise.
17171           (round_for_all): Likewise.
17172         * stdlib/tst-strtod-round.c (tests): Move into
17173         * stdlib/tst-strtod-round-data.h: New file.
17175 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17177         [BZ #15479]
17178         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
17179         (__round): Do not force "inexact" exception.
17180         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
17181         variable.
17182         (__round): Do not force "inexact" exception.
17183         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
17184         (__roundf): Do not force "inexact" exception.
17185         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
17186         (__roundl): Do not force "inexact" exception.
17187         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
17188         (__roundl): Do not force "inexact" exception.
17189         * math/libm-test.inc (round_test_data): Do not allow spurious
17190         "inexact" exceptions.
17192         [BZ #15479]
17193         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
17194         exception in comment.
17195         (huge): Remove variable.
17196         (__floor): Do not force "inexact" exception.
17197         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
17198         "inexact" exception in comment.
17199         (huge): Remove variable.
17200         (__floor): Do not force "inexact" exception.
17201         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
17202         exception in comment.
17203         (huge): Remove variable.
17204         (__floorf): Do not force "inexact" exception.
17205         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
17206         exception in comment.
17207         (huge): Remove variable.
17208         (__floorl): Do not force "inexact" exception.
17210         [BZ #15479]
17211         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
17212         exception in comment.
17213         (huge): Remove variable.
17214         (__ceil): Do not force "inexact" exception.
17215         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
17216         "inexact" exception in comment.
17217         (huge): Remove variable.
17218         (__ceil): Do not force "inexact" exception.
17219         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
17220         (__ceilf): Do not force "inexact" exception.
17221         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
17222         exception in comment.
17223         (huge): Remove variable.
17224         (__ceill): Do not force "inexact" exception.
17226 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17228         * config.h.in (BIND_NOW): New.
17229         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
17230         * configure: Regenerated.
17231         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
17232         indirect branch via the GOT slot.
17234 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17236         [BZ #19765]
17237         * sysdeps/s390/mempcpy.S: New File.
17238         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
17239         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
17240         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17241         Add mempcpy variants.
17242         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
17243         (memcpy): Adjust to be usable from mempcpy entry point.
17244         (__memcpy_mvcle): Likewise.
17245         * sysdeps/s390/s390-64/memcpy.S: Likewise.
17246         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
17247         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
17248         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
17249         (__memcpy_z10): Likewise.
17250         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17252 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17254         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
17255         Remove __GI_ symbol.
17256         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
17257         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
17258         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
17259         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17260         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
17261         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
17263 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17265         * sysdeps/s390/s390-64/memcpy.S (memcpy):
17266         Use cghi instead of chi to compare 64bit value.
17268 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17270         * sysdeps/s390/s390-32/memcpy.S (memcpy):
17271         Jump to 1MB check before executing mvc-loop.
17273 2016-05-24  Florian Weimer  <fweimer@redhat.com>
17275         [BZ #6527]
17276         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
17277         unconditionally.
17278         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
17280 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17282         * stdlib/tst-strtod6.c (do_test): Use new type generic
17283         invocation of the test function.
17284         (test): Refactor into ...
17285         (TEST_STRTOD): New macro base function.
17287 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17289         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
17290         (TEST_STRTOD): New macro.
17291         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
17293 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17295         * stdlib/tst-strtod6.c (do_test): Use new type generic
17296         invocation of the test function.
17297         (test): Refactor into ...
17298         (TEST_STRTOD): New macro base function.
17300 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17302         CVE-2016-4429
17303         [BZ #20112]
17304         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
17305         payload.
17307 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17309         [BZ #20111]
17310         * bits/sockaddr.h (_SS_SIZE): Define.
17311         * 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/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
17316         (_SS_PADSIZE): Adjust to account for all padding.
17317         (struct sockaddr_storage): Update comment.  Avoid implicit
17318         padding.
17319         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
17320         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
17321         (_SS_PADSIZE): Adjust to account for all padding.
17322         (struct sockaddr_storage): Update comment.  Avoid implicit
17323         padding.
17324         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
17325         __SS_SIZE is 126 in this version.
17326         * inet/tst-sockaddr.c: New file.
17327         * inet/Makefile (tests): Add tst-sockaddr.c
17328         (tst-sockaddr.c): Compile with non-strict aliasing.
17330 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
17332         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
17333         [XPG3 || XPG4].
17334         (NL_ARGMAX): Also expect for [XPG3].
17335         (NL_LANGMAX): Likewise.
17336         (NL_MSGMAX): Likewise.
17337         (NL_NMAX): Likewise.
17338         (NL_SETMAX): Likewise.
17339         (NL_TEXTMAX): Likewise.
17340         (NZERO): Likewise.
17341         (TMP_MAX): Likewise.
17342         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
17343         variable.
17345         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
17346         (PF_MAX): Update value.
17347         (AF_KCM): New macro.
17348         (SOL_NETBEUI): Likewise.
17349         (SOL_LLC): Likewise.
17350         (SOL_DCCP): Likewise.
17351         (SOL_NETLINK): Likewise.
17352         (SOL_TIPC): Likewise.
17353         (SOL_RXRPC): Likewise.
17354         (SOL_PPPOL2TP): Likewise.
17355         (SOL_BLUETOOTH): Likewise.
17356         (SOL_PNPIPE): Likewise.
17357         (SOL_RDS): Likewise.
17358         (SOL_IUCV): Likewise.
17359         (SOL_CAIF): Likewise.
17360         (SOL_ALG): Likewise.
17361         (SOL_NFC): Likewise.
17362         (SOL_KCM): Likewise.
17363         (MSG_BATCH): New enum value and macro.
17365 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
17367         [BZ #18185]
17368         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
17369         sharing L2 cache to 2 for Knights Landing.
17371 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
17373         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
17374         (FTW_DP): Do not expect for [XPG3 || XPG4].
17375         (FTW_SL): Do not expect for [XPG3].
17376         (FTW_SLN): Likewise.
17377         (FTW_PHYS): Likewise.
17378         (FTW_MOUNT): Likewise.
17379         (FTW_DEPTH): Likewise.
17380         (FTW_CHDIR): Likewise.
17381         (nftw): Likewise.
17382         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
17383         variable.
17385 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17387         * manual/errno.texi: Fix various typos & grammar errors.
17389 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17391         * manual/intro.texi: Fix duplicated typo.
17393 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17395         [BZ #13304]
17396         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
17397         <float.h>, <math_private.h> and <stdlib.h>.
17398         (add_split): New function.
17399         (mul_split): Likewise.
17400         (ext_val): New typedef.
17401         (store_ext_val): New function.
17402         (mul_ext_val): New function.
17403         (compare): New function.
17404         (add_split_ext): New function.
17405         (__fmal): After checking for Inf, NaN and zero, compute result as
17406         an exact sum of scaled double values in round-to-nearest before
17407         adding those up and adjusting for other rounding modes.
17408         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
17409         tests of fma.
17410         * math/auto-libm-test-out: Regenerated.
17412 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17414         [BZ #20119]
17415         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
17416         processor level type mask for CPUID with EAX == 11.
17418 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17420         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
17421         logical threads if the HTT bit is 0.
17422         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
17423         (index_cpu_HTT): Likewise.
17424         (reg_HTT): Likewise.
17426 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17428         [BZ #20115]
17429         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
17430         Remove alignments on jump targets.
17432 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17434         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
17435         (getpwent): Likewise.
17436         (setpwent): Likewise.
17437         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
17438         variable.
17440         * conform/data/search.h-data (insque): Do not expect for [XPG3].
17441         (remque): Likewise.
17442         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
17443         variable.
17445 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
17447         * math/libm-test.inc: Update comment not to refer to signs of NaNs
17448         not being tested.
17450 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17452         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17453         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
17454         call.
17455         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17456         (__condvar_cleanup1): Likewise.
17458 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17460         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
17461         New
17462         (__pthread_unwind): Renamed to ...
17463         (PTHREAD_UNWIND): This.
17464         (__pthread_enable_asynccancel): Replace
17465         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
17467 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
17469         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
17470         (CLONE_NEWCGROUP): New macro.
17472         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
17473         (Q_GETNEXTQUOTA): New macro.
17475 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17477         [BZ #19907]
17478         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
17479         buffer updated by the previous run.
17480         * string/test-memcpy.c (do_one_test): Likewise.
17481         * benchtests/bench-memmove.c (do_one_test): Add a comment.
17482         * string/test-memmove.c (do_one_test): Likewise.
17484 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
17486         [BZ #20094]
17487         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
17488         not [__USE_XOPEN].
17489         (unlockpt): Likewise.
17490         (ptsname): Likewise.
17491         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
17492         variable.
17494         [BZ #20076]
17495         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
17496         instead of [__USE_UNIX98].
17497         (S_ISSOCK): Likewise.
17498         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
17499         variable.
17501         [BZ #20074]
17502         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
17503         [__USE_POSIX].
17504         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
17505         variable.
17507         [BZ #20051]
17508         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
17509         (ttyslot): Do not declare.
17510         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
17511         (ttyslot): New prototype.
17512         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
17513         variable.
17514         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17516 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17518         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
17520 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17522         Fix race condition in tst-mallocfork2, use fewer resources.
17523         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
17524         to current process group.
17525         (signal_sender): Yield in the non-sleeping case.
17527 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
17529         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
17530         (ecvt): Likewise.
17531         (fcvt): Likewise.
17532         (gcvt): Likewise.
17533         (getsubopt): Likewise.
17534         (grantpt): Likewise.
17535         (initstate): Likewise.
17536         (l64a): Likewise.
17537         (mktemp): Likewise.
17538         (mkstemp): Likewise.
17539         (ptsname): Likewise.
17540         (random): Likewise.
17541         (realpath): Likewise.
17542         (setstate): Likewise.
17543         (srandom): Likewise.
17544         (ttyslot): Likewise.
17545         (unlockpt): Likewise.
17546         (valloc): Likewise.
17548         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
17549         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
17550         variable.
17552 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17554         [BZ #20072]
17555         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
17556         init_cpu_features only if SHARED is defined.
17557         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
17559 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17561         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
17562         non-inclusive caches on Intel processors.
17564 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17566         * malloc/malloc.c (dumped_main_arena_start)
17567         (dumped_main_arena_end): New variables.
17568         (DUMPED_MAIN_ARENA_CHUNK): New macro.
17569         (do_check_chunk): Skip dumped fake mmapped chunks.
17570         (munmap_chunk): Likewise.
17571         (__libc_free): Do not adjust statistics for fake mmapped chunks.
17572         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
17573         mmapped chunks.
17574         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
17575         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
17576         and dumped_main_arena_end to cover the dumped heap.
17578 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
17580         * conform/data/time.h-data (getdate_err): Do not expect for
17581         [XPG3].
17582         (getdate): Likewise.
17583         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
17584         variable.
17586         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
17587         (F_ULOCK): Likewise.
17588         (F_TEST): Likewise.
17589         (F_TLOCK): Likewise.
17590         (useconds_t): Likewise.
17591         (intptr_t): Do not expect for [XPG3] or [XPG4].
17592         (brk): Do not expect for [XPG3]
17593         (fchown): Likewise.
17594         (fchdir): Likewise.
17595         (ftruncate): Likewise.
17596         (getdtablesize): Likewise.
17597         (gethostid): Likewise.
17598         (getpagesize): Likewise.
17599         (getpgid): Likewise.
17600         (getsid): Likewise.
17601         (getwd): Likewise.
17602         (lchown): Likewise.
17603         (lockf): Likewise.
17604         (readlink): Likewise.
17605         (sbrk): Likewise.
17606         (setpgrp): Likewise.
17607         (setregid): Likewise.
17608         (setreuid): Likewise.
17609         (symlink): Likewise.
17610         (sync): Likewise.
17611         (truncate): Likewise.
17612         (ualarm): Likewise.
17613         (usleep): Likewise.
17614         (vfork): Likewise.
17615         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
17616         variable.
17618         [BZ #20054]
17619         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
17620         not [__USE_UNIX98].
17621         * conform/data/unistd.h-data (gethostname): Do not expect for
17622         [XPG3].
17624         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
17625         [!POSIX] (S_IFBLK): Likewise.
17626         [!POSIX] (S_IFCHR): Likewise.
17627         [!POSIX] (S_IFIFO): Likewise.
17628         [!POSIX] (S_IFREG): Likewise.
17629         [!POSIX] (S_IFDIR): Likewise.
17630         [!POSIX] (S_IFLNK): Likewise.
17631         [!POSIX] (S_IFSOCK): Likewise.
17632         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
17633         variable.
17634         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17636 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
17638         * sysdeps/aarch64/memset.S (__memset):
17639         Rewrite of optimized memset.
17641 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17643         [BZ #19703]
17644         Partially async-signal-safe fork for single-threaded processes.
17645         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
17646         variable.  Do not acquire and reset/release malloc and libio locks
17647         in single-threaded processes.
17648         * malloc/tst-mallocfork2.c: New file.
17649         * malloc/Makefile (tests): Add it.
17651 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17653         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
17654         argument.  Use scratch buffer instead of extend_alloca.
17655         (gethosts): Use scratch buffer instead of extend_alloca.
17656         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
17657         extend_alloca.
17658         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
17660 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
17662         [BZ #20055]
17663         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
17664         instead of [__USE_UNIX98].
17665         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
17666         [__USE_UNIX98].
17667         * conform/data/termios.h-data (tcgetsid): Do not expect for
17668         [XPG3].
17669         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
17670         variable.
17671         (test-xfail-XPG4/termios.h/conform): Likewise.
17673 2016-05-11  Florian Weimer  <fweimer@redhat.com>
17675         Do not use mcheck in localedef.
17676         * locale/programs/localedef.c (turn_on_mcheck)
17677         (__malloc_initialize_hook): Remove.
17679 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17681         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
17682         * sysdeps/s390/s390-64/Makefile: Likewise.
17684 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17686         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
17687         Remove ifunc-defines.sym.
17688         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
17689         Likewise.
17690         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
17691         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17692         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
17693         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
17694         rtld-global-offsets.sym.
17695         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
17696         * sysdeps/x86/cpu-features-offsets.sym: This.
17697         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
17698         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
17700 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
17702         [BZ #20073]
17703         * io/sys/stat.h (fchmod): Declare for
17704         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
17705         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
17706         variable.
17708         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
17709         [XPG3] (S_IFSOCK): Likewise.
17710         [XPG3] (S_ISVTX): Likewise.
17711         [XPG3] (S_ISLNK): Likewise.
17712         [XPG3] (S_ISSOCK): Likewise.
17713         [XPG3] (fchmod): Likewise.
17714         [XPG3] (lstat): Likewise.
17715         [XPG3] (mknod): Likewise.
17717         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
17718         [XPG3].  Expect type long and XFAIL for [XPG4].
17719         (st_blocks): Likewise.
17721         [BZ #20044]
17722         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
17723         (pthread_atfork): New prototype.
17724         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
17725         variable.
17727         [BZ #20043]
17728         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
17729         prototype.
17731 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17733         [BZ #20017]
17734         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
17735         gmtime.
17737 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17739         [BZ #19994]
17740         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
17741         flag in _res.options.
17743 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
17745         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
17746         [XPG3 || XPG4].
17747         (blksize_t): Likewise.
17748         (clockid_t): Likewise.
17749         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
17750         variable.
17751         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17753 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17755         * sysdeps/unix/sysv/linux/s390/init-first.c:
17756         Add VDSO_SYMBOL(getcpu).
17757         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
17758         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
17759         Add VDSO_SYMBOL(getcpu).
17760         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
17761         New define HAVE_GETCPU_VSYSCALL.
17762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17764 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17766         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
17767         instead of <sysdeps/x86_64/cacheinfo.c>.
17768         * sysdeps/x86_64/cacheinfo.c: Moved to ...
17769         * sysdeps/x86/cacheinfo.c: Here.
17771 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17773         * malloc/malloc-internal.h: Adjust header file guard.
17775 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17777         [BZ #19787]
17778         * inet/getnameinfo.c (check_sprintf_result): New function.
17779         (CHECKED_SNPRINTF): New macro.
17780         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
17781         to the host buffer.
17782         (gni_host_local): Use checked_copy to copy the host name.
17783         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
17784         (gni_serv_local): Use checked_copy to copy the service name.
17785         (getnameinfo): Remove unnecessary truncation of result buffers.
17787 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17789         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
17790         in case of inet_ntop failure.
17792 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17794         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
17795         avoid long lines.
17796         (gni_host_inet_numeric): Likewise.  Reduce scope of local
17797         variables.
17798         (gni_host_inet, gni_host_local): Add comment.
17799         (gni_host): Add comment.  Use temporary to avoid long lines.
17801 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17803         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
17804         registers specifiers where general purpose registers specifiers should
17805         have been used.
17807 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17809         [BZ #19779]
17810         CVE-2016-1234
17811         Avoid copying names of directory entries.
17812         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
17813         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
17814         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
17815         (struct readdir_result): New type.
17816         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
17817         (GL_READDIR): New macros.
17818         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
17819         (convert_dirent, convert_dirent64): New functions.
17820         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
17821         convert_dirent64.  Adjust references to the readdir result.
17822         * sysdeps/unix/sysv/linux/i386/glob64.c:
17823         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
17824         * posix/bug-glob2.c (LONG_NAME): Define.
17825         (filesystem): Add LONG_NAME.
17826         (my_DIR): Increase the size of room_for_dirent.
17828 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
17830         [BZ #20041]
17831         * misc/sys/select.h (__need_timespec): Only define if
17832         [__USE_XOPEN2K].
17833         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
17834         variable.
17835         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17836         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17837         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17839 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17840             Segher Boessenkool  <segher@gcc.gnu.org>
17842         [BZ #20004]
17843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
17844         (__novec_swapcontext): Add missing load.
17846 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
17848         [BZ #20023]
17849         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
17850         <time.h>.
17851         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
17852         variable.
17853         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17855 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
17858         flags CLONE_VM compare.
17860 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17862         [BZ #20031]
17863         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
17864         completely empty.
17866 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17868         [BZ #19573]
17869         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
17870         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
17871         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
17872         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
17873         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
17874         (hesiod_free_list): Mark as hidden.
17875         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
17876         res_set, res_get.
17877         * hesiod/hesiod.c: Remove unnecessary forward declarations.
17878         (init, __hesiod_res_get, __hesiod_res_set): Remove.
17879         (hesiod_init): Remove obsolete res_ninit call.
17880         (hesiod_end): Do not free resolver state.  Do not invoke callback.
17881         (hesiod_bind): Do not call init.
17882         (get_txt_records): Use res_mkquery, res_send instead of
17883         res_nmkquery, res_nsend.
17884         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
17885         instead of _nss_hesiod_init.
17886         (_nss_hesiod_initgroups_dyn): Likewise.
17887         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
17888         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
17889         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
17891 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17893         * hesiod/hesiod_p.h (DEF_RHS): Remove.
17894         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
17896 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17898         * hesiod/hesiod.h: Remove RCS keyword.
17899         * hesiod/hesiod_p.h: Likewise.
17901         * hesiod/hesiod.c: Likewise.
17903 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
17905         [BZ #12450]
17906         * locale/iso-639.def: Add Samogitian/sgs.
17908 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17910         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
17912         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
17914 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
17915             Carlos O'Donell  <carlos@redhat.com>
17917         [BZ #19072]
17918         * grp/Makefile (headers): Add grp-merge.h
17919         (routines): Add grp-merge.
17920         * grp/getgrgid_r.c: Include grp-merge.h.
17921         (DEEPCOPY_FN): Define.
17922         (MERGE_FN): Define.
17923         * grp/getgrname_r.c: Include grp-merge.h.
17924         (DEEPCOPY_FN): Define.
17925         (MERGE_FN): Define.
17926         * grp/grp-merge.c: New file.
17927         * grp/grp-merge.h: New file.
17928         * include/grp-merge.h: New file.
17929         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
17930         __copy_grp@GLIBC_PRIVATE.
17931         * manual/nss.texi (Actions in the NSS configuration): Describe
17932         return, continue, and merge.
17933         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
17934         (DEEPCOPY_FN): Define.
17935         (MERGE_FN): Define.
17936         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
17937         (DEEPCOPY_FN): Define.
17938         (MERGE_FN): Define.
17939         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
17940         [!MERGE_FN]: Define __merge_einval.
17941         (CHECK_MERGE): Define.
17942         (REENTRANT_NAME): Process merge if do_merge is true.
17943         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
17944         (__nss_getent_r): Likewise.
17945         * nss/nsswitch.c (nss_parse_service_list): Likewise.
17946         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
17948 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17950         [BZ #20012]
17951         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
17952         length to calculate the buffer to read.
17953         (fmemopen_write): Set the buffer position based on bytes written.
17954         (fmemopen_seek): Return EINVAL for invalid whence modes.
17956         [BZ #19957]
17957         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
17958         tst-getpid2.
17959         (test): Add tst-clone2.
17960         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
17961         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
17962         pid/tid fields for CLONE_VM.
17963         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17964         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17965         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17966         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
17967         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17968         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17969         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17970         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17972         Likewise.
17973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17974         Likewise.
17975         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17976         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17977         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17978         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17979         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17980         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17981         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17982         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
17984 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17986         [BZ #19642]
17987         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
17988         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
17989         (gni_serv_local, gni_serv): New functions extracted from
17990         getnameinfo.
17991         (getnameinfo): Call gni_host and gni_serv to perform the
17992         processing.  Always free scratch buffer.
17994 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17996         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
17997         remaining bytes in the dest string, with zeros.
17999 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18001         [BZ #20010]
18002         CVE-2016-3706
18003         * sysdeps/posix/getaddrinfo.c
18004         (convert_hostent_to_gaih_addrtuple): New function.
18005         (gethosts): Call convert_hostent_to_gaih_addrtuple.
18006         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
18007         AF_INET data.
18009 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18011         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18012         callback function gl_readdir.
18013         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18014         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18015         (glob_in_dir): Remove len.  Use strdup instead of malloc and
18016         memcpy to copy the name.
18017         * manual/pattern.texi (Calling Glob): Document requirements for
18018         implementations of the gl_readdir callback function.
18019         * manual/examples/mkdirent.c: New example.
18020         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18021         per the manual guidance.
18022         * posix/tst-gnuglob.c (my_readdir): Likewise.
18024 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
18026         [BZ #20014]
18027         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18028         not [__USE_POSIX].
18029         (getchar_unlocked): Likewise.
18030         (putc_unlocked): Likewise.
18031         (putchar_unlocked): Likewise.
18032         (flockfile): Likewise.
18033         (ftrylockfile): Likewise.
18034         (funlockfile): Likewise.
18035         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18036         variable.
18037         (test-xfail-XPG4/stdio.h/conform): Likewise.
18039         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18040         Expect constant.
18041         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18042         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18043         variable.
18044         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18045         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18047         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18048         [__USE_LARGEFILE64] (off64_t): Likewise.
18049         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
18050         variable.
18052 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18054         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
18056 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18058         * resolv/inet_addr.c: Reindent preprocessor conditionals.
18059         * resolv/res_init.c: Likewise.
18060         * resolv/res_mkquery.c: Likewise.
18062 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18064         * resolv/res_init.c (isascii): Do not define.  Use definition in
18065         <ctype.h>.
18066         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
18067         (LOG_AUTH): Remove.
18068         (SPRINTF): Remove, adjust caller.
18069         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
18071 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18073         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
18074         SUNSECURITY conditional.
18075         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
18077 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18079         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
18080         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
18081         Remove BSD-related preprocessor conditionals.
18082         * conf/portability.h: Remove.
18084 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18086         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
18087         * resolv/res_data.c: Likewise.
18089 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18091         * resolv/res_comp.c: Remove code conditional on __ultrix__.
18092         * resolv/res_data.c: Remove code conditional on ultrix.
18094 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18096         * resolv/res_init.c (RFC1535): Do not define.  Remove
18097         RFC1535 preprocessor conditionals.
18098         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
18099         because there configuration options which make the resolver
18100         behavior different.
18102 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18104         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
18105         RESOLVSORT preprocessor conditionals.
18106         * resolv/nss_dns/dns-host.c: Likewise.
18107         * resolv/res_init.c: Likewise.
18109 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18111         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
18112         is never defined.
18114 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18116         * inet/inet_lnaof.c: Remove SCSS keyword.
18117         * inet/inet_mkadr.c: Likewise.
18118         * inet/inet_net.c: Likewise.
18119         * inet/inet_netof.c: Likewise.
18120         * inet/rcmd.c: Likewise.
18121         * inet/rexec.c: Likewise.
18122         * inet/ruserpass.c: Likewise.
18124 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18126         * resolv/inet_addr.c: Remove _LIBC conditionals.
18127         * resolv/res_data.c: Likewise.
18128         * resolv/res_init.c: Likewise.
18129         * resolv/res_mkquery.c: Likewise.
18130         * resolv/res_libc.c: Update comment.
18131         * resolv/README: Update.
18133 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18135         * resolv/gethnamaddr.c: Remove SCSS keyword.
18136         * resolv/herror.c: Likewise.
18137         * resolv/inet_addr.c: Likewise.
18138         * resolv/inet_net_ntop.c: Likewise.
18139         * resolv/inet_net_pton.c: Likewise.
18140         * resolv/inet_neta.c: Likewise.
18141         * resolv/inet_ntop.c: Likewise.
18142         * resolv/inet_pton.c: Likewise.
18143         * resolv/ns_date.c: Remove RCS keyword.
18144         * resolv/ns_name.c: Likewise.
18145         * resolv/ns_netint.c: Likewise.
18146         * resolv/ns_parse.c: Likewise.
18147         * resolv/ns_print.c: Likewise.
18148         * resolv/ns_samedomain.c: Likewise.
18149         * resolv/ns_ttl.c: Likewise.
18150         * resolv/nsap_addr.c: Likewise.
18151         * resolv/res_comp.c: Remove SCSS and RCS keyword.
18152         * resolv/res_data.c: Remove RCS keyword.
18153         * resolv/res_debug.c: Remove SCSS and RCS keyword.
18154         * resolv/res_init.c: Likewise.
18155         * resolv/res_mkquery.c: Likewise.
18156         * resolv/res_query.c: Likewise.
18157         * resolv/res_send.c: Likewise.
18159 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18161         * conform/data/stdio.h-data (fdopen): Expect also for
18162         [XPG3 || XPG4].
18164         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
18165         (fseeko): Likewise.
18166         (ftello): Likewise.
18167         (ftrylockfile): Likewise.
18168         (funlockfile): Likewise.
18169         (getc_unlocked): Likewise.
18170         (getchar_unlocked): Likewise.
18171         (putc_unlocked): Likewise.
18172         (putchar_unlocked): Likewise.
18174 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18176         [BZ #19868]
18177         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
18178         DNS packet syntax checks (which were not needed before).  Skip
18179         over non-PTR records.
18181 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18183         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
18184         definition.  Include <stddef.h> instead.
18186 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18188         [BZ #19831]
18189         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
18190         function.
18191         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
18192         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
18194 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18196         [BZ #19862]
18197         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
18198         (getanswer_r): Do not call syslog.
18199         (gaih_getanswer_slice): Likewise.
18200         * resolv/gethnamaddr.c (AskedForGot): Remove.
18201         (getanswer): Do not call syslog.
18202         (gethostbyaddr): Likewise.
18204 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18206         * conform/data/signal.h-data (union sigval): Expect also if
18207         [XOPEN2K].
18208         (struct sigevent): Likewise.
18209         (SIGEV_NONE): Likewise.
18210         (SIGEV_SIGNAL): Likewise.
18211         (SIGEV_THREAD): Likewise.
18212         (SIGRTMIN): Likewise.
18213         (SIGRTMAX): Likewise.
18214         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
18215         variable.
18216         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18218 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18220         [BZ #19830]
18221         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
18222         (gaih_getanswer_slice): Likewise.
18223         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
18224         Also check for availability of RR metadata.
18226 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18228         [BZ #19825]
18229         * resolv/res_send.c (send_vc): Remove early *resplen2
18230         initialization.  Set *resplen2 on socket error.  Call
18231         close_and_return_error for other errors.
18233 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18235         * sysdeps/unix/sysv/linux/netiucv/iucv.h
18236         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
18237         (SCM_IUCV_TRGCLS): New define.
18239 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18241         [BZ #20005]
18242         * libio/fmemopen.c (fmemopen_write): Update internal position after
18243         write.
18244         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
18245         * stdio-common/tst-fmemopen4.c: New file..
18247 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
18249         [BZ #19996]
18250         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
18251         not [__USE_XOPEN2K].
18252         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
18253         variable.
18255         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
18256         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
18257         variable.
18259         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
18260         [__USE_XOPEN2K8].
18261         [__USE_LARGEFILE64] (off64_t): Likewise.
18262         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
18263         variable.
18265 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
18267         [BZ #19989]
18268         * libio/stdio.h (cuserid): Do not declare if
18269         [__USE_XOPEN2K && !__USE_GNU].
18270         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
18271         variable.
18273 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18275         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18276         (sysdep_routines): Add P8 and PPC64 strcspn targets.
18277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18278         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18279         ifunc'ed strcspn.
18280         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18281         [EALIGN]: Removed.
18282         [END]: Likewise
18283         [STRSPN]: Define instead of the above to control symbol name.
18284         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
18285         New file.
18286         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
18287         Likewise.
18288         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
18289         Likewise.
18290         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
18291         Likewise.
18292         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18293         [INITIAL_MASK]: New macro.
18294         [STRCSPN]: Likewise.
18295         [UPDATE_MASK]: Likewise.
18296         [USE_AS_STRCSPN]: Likewise.
18298 2016-04-25  Florian Weimer  <fweimer@redhat.com>
18300         [BZ #19931]
18301         * stdio-common/tst-vfprintf-width-prec.c: New file.
18302         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
18303         (tests-special): Add tst-vfprintf-width-prec-mem.out.
18304         (generated): Add mtrace-related files.
18305         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
18306         (tst-%-mem.out): New pattern rule, replaces
18307         tst-printf-bz18872-mem.out.
18308         * stdio-common/vfprintf.c (vfprintf): When handling a precision
18309         specifier, deallocate any previously allocated work buffer.
18311 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18313         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
18314         Add nop before __startcontext, add explaining comments.
18316 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
18318         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
18319         any more. Notably since IPV6_PKTINFO has been reintroduced with a
18320         completely different API.
18322         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
18323         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
18324         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
18325         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
18326         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
18327         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
18328         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
18329         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
18330         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
18331         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
18333 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
18335         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
18337 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
18339         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
18340         when it is the default of 0.
18342 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18344         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
18345         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18346         (sysdep_routines): Add new strcasestr targets.
18347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18348         (__libc_ifunc_impl_list): Likewise.
18349         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
18350         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
18351         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
18352         * sysdeps/powerpc/powerpc64/power8/Makefile:
18353         New file to add strcasestr-ppc64 to sysdep_routines.
18354         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
18355         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
18357 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
18359         * benchtests/Makefile (wcsmbs-benchset): Include only for
18360         native builds and runs.
18361         (LOCALES): Likewise.
18362         (bench-build): Build timing-type here instead of the bench
18363         target.  Generate locale only for native builds.
18364         * benchtests/README: Add note for cross-building.
18366         * benchtests/Makefile (bench-clean): Clean up extra-objs.
18368         * benchtests/README: Update README to include instructions on
18369         using bench-build.
18371         * Makefile.in (bench-build): New target.
18372         * Rules (PHONY): Add bench-build target.
18373         * benchtests/Makefile (bench): Depend on bench-build.
18374         (bench-build): New target.
18376 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18378         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
18379         profil_reply_port.
18380         (profile_waiter): Do not initialize profil_reply_port.
18381         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
18382         frequency instead of tick length in us.
18384 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
18386         [BZ #18712]
18387         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
18388         (__old_mempcpy_small): Likewise.
18389         (__old_strcpy_small): Likewise.
18390         (__old_stpcpy_small): Likewise.
18391         (__old_strpbrk_c2): Fix compat symbol name.
18392         (__old_strpbrk_c3): Likewise.
18393         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
18394         (__mempcpy_small): Remove.
18395         (__strcpy_small): Remove.
18396         (__stpcpy_small): Remove.
18398 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
18400         [BZ #19400]
18401         * locale/iso-639.def: Add the Talossan/tzl language.
18403 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18405         [BZ #16983]
18406         * locale/programs/ld-address.c (address_finish): Update postal_fmt
18407         comment.  Add "ln" to strchr check on postal_fmt.
18409 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18411         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
18412         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
18413         tel_dom_fmt.
18415 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18417         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18418         (sysdep_routines): Added __strlen_power8.
18419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
18420         __strlen_power8 entry.
18421         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
18422         Implementation for POWER8.
18423         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
18424         for __strlen_power8.
18425         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
18426         Implementation for POWER8.
18428 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
18430         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
18432 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
18434         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
18435         Goldmont and Airmont processors.
18437 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
18439         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
18440         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
18441         (__STRING2_SMALL_GET32): Remove.
18442         (memset): Remove.
18443         (__memset_1): Remove.
18444         (__memset_gc): Remove.
18445         (__mempcpy): Remove.
18446         (mempcpy): Remove.
18447         (__mempcpy_args): Remove.
18448         (strchr): Remove.
18449         (strcpy): Remove.
18450         (strcpy_args): Remove.
18451         (__stpcpy_args): Remove.
18452         (__strcmp_cc): Remove.
18453         (__strcmp_gc): Remove.
18454         (strstr): Remove.
18456 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
18458         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
18459         * nis/nis_call.c (nis_server_cache_add): Likewise.
18461 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18463         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
18465 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18467         * malloc/arena.c (__malloc_fork_lock_parent)
18468         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
18469         internal_function attribute.
18471 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
18473         * stdio-common/printf_fp.c (__printf_fp_l):
18474         Rename ___printf_fp_l to __printf_fp_l and
18475         remove strong alias. Use libc_hidden_def instead
18476         of ldbl_hidden_def macro.
18478 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18480         Remove malloc hooks from fork handler.  They are no longer needed
18481         because malloc runs right before fork, and no malloc calls from
18482         other fork handlers are not possible anymore.
18483         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
18484         declarations.
18485         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
18486         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
18487         (atfork_recursive_cntr): Remove.
18488         (__malloc_fork_lock_parent): Do not override malloc hooks and
18489         thread_arena.
18490         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
18491         thread_arena.
18492         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
18493         thread_arena instead of save_arena.
18495 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18497         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
18498         (thread_atfork, thread_atfork_static): Remove.
18499         * sysdeps/mach/hurd/malloc-machine.h:
18500         (thread_atfork, thread_atfork_static): Remove.
18502 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18504         [BZ #19431]
18505         Run the malloc fork handler as late as possible to avoid deadlocks.
18506         * malloc/malloc-internal.h: New file.
18507         * malloc/malloc.c: Include it.
18508         * malloc/arena.c (ATFORK_MEM): Remove.
18509         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
18510         Update comment.
18511         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
18512         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
18513         Remove outdated comment.
18514         (ptmalloc_init): Do not call thread_atfork.  Remove
18515         thread_atfork_static.
18516         * malloc/tst-malloc-fork-deadlock.c: New file.
18517         * Makefile (tests): Add tst-malloc-fork-deadlock.
18518         (tst-malloc-fork-deadlock): Link against libpthread.
18519         * manual/memory.texi (Aligned Memory Blocks): Update safety
18520         annotation comments.
18521         * sysdeps/nptl/fork.c (__libc_fork): Call
18522         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18523         __malloc_fork_unlock_child.
18524         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
18526 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18528         [BZ #19613]
18529         Remove union wait.
18530         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
18531         (w_stopsig, w_stopval): Remove.
18532         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
18533         stat_loc argument.
18534         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
18535         (__WAIT_STATUS_DEFN): Remove.
18536         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18537         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
18538         (wait, wait3, wait4): Use int * for the stat_loc argument.
18539         * posix/wait.c (__wait): Likewise.
18540         * posix/wait3.c (__wait3): Likewise.
18541         * posix/wait4.c (__wait4): Likewise.
18542         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
18543         (__WAIT_STATUS_DEFN): Remove.
18544         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18545         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
18546         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
18547         argument.
18548         * sysdeps/posix/wait.c (__libc_wait): Likewise.
18549         * sysdeps/posix/wait3.c (__wait3): Likewise.
18550         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
18551         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18552         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
18553         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
18554         stat_loc argument.
18555         * manual/process.texi (BSD Wait Functions): Remove union wait.
18557 2016-04-13  Andreas Schwab  <schwab@suse.de>
18559         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
18560         (test-extras): Add tst-tlsalign-vars.
18561         * math/Makefile: Wrap long lines.
18562         (libm-vec-test-wrappers): Define.
18563         (test-extras): Add $(libm-vec-test-wrappers).
18564         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
18565         * nss/Makefile (extra-test-objs): Add nss_test1.os.
18566         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
18567         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
18568         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
18569         (extra-test-objs): Add corresponding objects.
18571 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
18573         [BZ #19928]
18574         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
18575         New.
18576         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
18577         times of shared cache size.
18578         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
18579         (VMOVNT): New.
18580         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
18581         (VMOVNT): Likewise.
18582         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
18583         (VMOVNT): Likewise.
18584         (VMOVU): Changed to movups for smaller code sizes.
18585         (VMOVA): Changed to movaps for smaller code sizes.
18586         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
18587         comments.
18588         (PREFETCH): New.
18589         (PREFETCH_SIZE): Likewise.
18590         (PREFETCHED_LOAD_SIZE): Likewise.
18591         (PREFETCH_ONE_SET): Likewise.
18592         Rewrite to use forward and backward loops, which move 4 vector
18593         registers at a time, to support overlapping addresses and use
18594         non temporal store if size is above the threshold and there is
18595         no overlap between destination and source.
18597 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
18599         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
18600         Include dl-vdso.
18601         * sysdeps/unix/sysv/linux/mips/Versions: Add
18602         __vdso_clock_gettime.
18603         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
18604         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
18605         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
18606         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
18607         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
18608         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
18609         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18610         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18611         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18613 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18615         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
18616         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
18617         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18619         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18620         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18623         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
18624         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
18625         syscalls generation.
18626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18627         [__NR_pwrite64] (__NR_write): Remove define.
18628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18629         [__NR_pwrite64] (__NR_write): Remove define.
18630         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
18631         Remove define.
18632         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
18633         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
18634         Remove define.
18635         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
18636         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
18637         Linux implementation as base.
18638         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18640         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
18641         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
18642         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18643         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
18645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18646         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
18647         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
18648         syscall generation.
18649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18650         [__NR_pread64] (__NR_pread): Remove define.
18651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18652         [__NR_pread64] (__NR_pread): Likewise.
18653         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
18654         define.
18655         (__libc_pread): Use SYSCALL_LL macro on offset argument.
18656         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
18657         Remove define.
18658         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
18659         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
18660         Linux implementation as base.
18661         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18662         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18663         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18665         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
18666         definition.
18667         (__ALIGNMENT_COUNT): Likewise.
18668         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
18669         (__ALIGNMENT_COUNT): Likewise.
18670         (SYSCALL_LL): New define.
18671         (SYSCALL_LL64): Likewise.
18672         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
18673         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
18674         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
18675         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
18677         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18678         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
18679         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18680         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18681         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18682         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18684 2016-04-11  Florian Weimer  <fweimer@redhat.com>
18686         [BZ #19865]
18687         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
18688         original buffer before retry.
18690 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18692         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
18693         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
18694         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
18695         GLRO(dl_auxv) list.
18696         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
18697         including <ldsodefs.h>.
18698         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
18700 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
18702         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
18703         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
18704         $(CPPFLAGS).
18706 2016-04-09  Khem Raj  <raj.khem@gmail.com>
18708         [BZ #17950]
18709         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
18710         Add -mfpmath=387.
18712 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
18714         * sysdeps/i386/configure.ac: Change == to = when calling test.
18715         * sysdeps/x86_64/configure.ac: Likewise.
18716         * sysdeps/i386/configure: Regenerated.
18717         * sysdeps/x86_64/configure: Likewise.
18719 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
18721         [BZ #16137]
18722         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
18723         * benchtests/bench-strcoll.c (input_files): Likewise.
18724         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18725         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
18726         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
18728 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
18730         [BZ #19929]
18731         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
18732         [__USE_XOPEN2K8 && !__USE_GNU].
18733         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
18734         variable.
18736         [BZ #19925]
18737         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
18738         define if [!__USE_MISC && __USE_XOPEN2K].
18739         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
18740         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
18741         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
18742         Likewise.
18743         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
18744         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
18745         variable.
18746         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18748 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18750         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18751         (sysdep_routines): Add new strspn targets.
18752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18753         (__libc_ifunc_impl_list): Add strspn.
18754         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18755         New file.
18756         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
18757         Likewise.
18758         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
18759         Likewise.
18760         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18761         Likewise.
18763 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18765         * misc/hsearch_r.c: Include <limits.h>.
18767 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18769         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
18771 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18773         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18774         (MEMCPY_SYMBOL): New.
18775         (MEMPCPY_SYMBOL): Likewise.
18776         (MEMMOVE_CHK_SYMBOL): Likewise.
18777         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
18778         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
18779         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
18780         Provide alias for memcpy in libc.a and ld.so.
18782 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18784         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18785         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
18786         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
18787         Disabled fro now.
18788         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
18789         symbols.  Properly check USE_MULTIARCH on __memset symbols.
18791 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18793         * benchtests/Makefile (string-benchset): Add memcpy-large,
18794         memmove-large and memset-large.
18795         * benchtests/bench-memcpy-large.c: New file.
18796         * benchtests/bench-memmove-large.c: Likewise.
18797         * benchtests/bench-memmove-large.c: Likewise.
18798         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
18800 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18802         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
18803         32-bit displacement to avoid long nop between instructions.
18805 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18807         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
18808         a comment on VMOVU and VMOVA.
18810 2016-04-04  Florian Weimer  <fweimer@redhat.com>
18812         [BZ #19633]
18813         Use specified locale for number formatting in strfmon_l.
18814         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
18815         (__nl_lookup_word): New inline functions.
18816         * include/printf.h (__print_fp_l): Declare.
18817         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
18818         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
18819         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
18820         (___printf_fp): New function.
18821         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
18822         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
18823         * stdlib/tst-strfmon_l.c (do_test): New test.
18824         * stdlib/Makefile (tests): Add kt.
18825         (LOCALES): Build additional locales.
18826         (tst-strfmon_l.out): Require locales.
18828 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18830         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
18831         if not in libc.
18832         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18833         Likewise.
18834         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
18835         Likewise.
18836         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18837         Likewise.
18839 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18841         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18842         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
18843         with unaligned_erms.
18844         (__memmove_erms): Skip if source == destination.
18845         (__memmove_unaligned_erms): Don't check source == destination
18846         first.
18848 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18850         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
18851         bit_arch_Fast_Copy_Backward for Intel Core proessors.
18853 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18855         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
18856         * string/strspn.c (strspn): Likewise.
18858 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18860         * benchtests/bench-memset.c (do_test): Support 64-byte
18861         alignment.
18862         (test_main): Test 64-byte alignment.
18864 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18866         * benchtests/bench-memmove.c (test_main): Test 64-byte
18867         alignment.
18869 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18871         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
18873 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18875         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
18876         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
18877         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
18879         * string/strpbrk.c (strpbrk): Rewrite function.
18880         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
18881         (__strpbrk_c2): Likewise.
18882         (__strpbrk_c3): Likewise.
18883         * string/string-inlines.c
18884         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
18885         Likewise.
18886         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
18887         Likewise.
18889         * string/strspn.c (strcspn): Rewrite function.
18890         * string/bits/string2.h (strspn): Use __builtin_strcspn.
18891         (__strspn_c1): Remove inline function.
18892         (__strspn_c2): Likewise.
18893         (__strspn_c3): Likewise.
18894         * string/string-inlines.c
18895         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
18896         compatibility symbol.
18897         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
18898         Likewise.
18899         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
18900         Likewise.
18901         * string/string-inlines.c: Include generic version.
18903 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
18904             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18906         * string/Version (libc): Add GLIBC_2.24.
18907         * string/strcspn.c (strcspn): Rewrite function.
18908         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
18909         (__strcspn_c1): Remove inline function.
18910         (__strcspn_c2): Likewise.
18911         (__strcspn_c3): Likewise.
18912         * string/string-inline.c
18913         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
18914         compatibility symbol.
18915         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
18916         Likewise.
18917         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
18918         Likewise.
18919         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
18921 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18923         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18924         Use ahi instead of aghi to adjust stack pointer.
18926 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18928         [BZ #19853]
18929         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
18930         TEST to take significant digits as second parameter.
18931         [TEST]: Redefine in terms of TEST_N taking 30
18932         significant digits.
18933         (do_test): Add test case to demonstrate precision
18934         failure in the ldbl-128ibm printf.
18935         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
18936         (__mpn_extract_long_double): Carry 7 extra intermediate
18937         bits of precision to aide computing difference when
18938         signs differ.
18940 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18942         [BZ #19881]
18943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18944         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
18945         memset-avx512-unaligned-erms.
18946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18947         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
18948         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
18949         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
18950         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
18951         __memset_sse2_unaligned_erms, __memset_erms,
18952         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
18953         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18954         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
18955         file.
18956         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18957         Likewise.
18958         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
18959         Likewise.
18960         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
18961         Likewise.
18963 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18965         [BZ #19776]
18966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18967         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
18968         memmove-avx512-unaligned-erms.
18969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18970         (__libc_ifunc_impl_list): Test
18971         __memmove_chk_avx512_unaligned_2,
18972         __memmove_chk_avx512_unaligned_erms,
18973         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
18974         __memmove_chk_sse2_unaligned_2,
18975         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
18976         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
18977         __memmove_avx512_unaligned_erms, __memmove_erms,
18978         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
18979         __memcpy_chk_avx512_unaligned_2,
18980         __memcpy_chk_avx512_unaligned_erms,
18981         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
18982         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
18983         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
18984         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
18985         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
18986         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
18987         __mempcpy_chk_avx512_unaligned_erms,
18988         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
18989         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
18990         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
18991         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
18992         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
18993         __mempcpy_erms.
18994         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
18995         file.
18996         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18997         Likewise.
18998         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18999         Likewise.
19000         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19001         Likewise.
19003 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19005         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
19006         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
19007         (La_s390_64_regs): Likewise.
19008         (La_s390_32_retval): Append vector register lrv_v24.
19009         (La_s390_64_retval): Likeweise.
19010         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19011         Handle extended structs La_s390_32_regs and La_s390_32_retval.
19012         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19013         Handle extended structs La_s390_64_regs and La_s390_64_retval.
19015 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19017         [BZ #19916]
19018         * sysdeps/s390/s390-32/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-32/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         if _dl_call_pltexit is called.
19025         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19026         Choose the correct resolver function if running on a machine with vx.
19027         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19028         to create a non-vector/vector version for _dl_runtime_resolve and
19029         _dl_runtime_profile. Move implementation to ...
19030         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19031         (_dl_runtime_resolve) Save and restore fpr/vrs.
19032         (_dl_runtime_profile) Save and restore vrs and fix some issues
19033         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19034         Choose the correct resolver function if running on a machine with vx.
19036 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19038         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19040 2016-03-31  Florian Weimer  <fweimer@redhat.com>
19042         [BZ #19509]
19043         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19044         skip_map != NULL.
19045         * elf/tst-dlsym-error.c: New file.
19046         * elf/Makefile (tests): Add tst-dlsym-error.
19047         (tst-dlsym-error): Link against libdl.
19049 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
19051         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19052         (__ASSUME_FUTIMESAT): Remove macro.
19053         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
19055 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19057         [BZ #19879]
19058         CVE-2016-3075
19059         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
19060         copy name.
19062 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19064         [BZ #19837]
19065         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
19066         error if parse_line fails.
19068 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19070         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
19071         (index_cpu_ERMS): Likewise.
19072         (reg_ERMS): Likewise.
19074 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
19076         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
19077         PER_LINUX_FDPIC): Add.
19079 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19082         memcpy-avx512-no-vzeroupper.
19083         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
19084         to ...
19085         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
19086         (MEMCPY): Don't define.
19087         (MEMCPY_CHK): Likewise.
19088         (MEMPCPY): Likewise.
19089         (MEMPCPY_CHK): Likewise.
19090         (MEMPCPY_CHK): Renamed to ...
19091         (__mempcpy_chk_avx512_no_vzeroupper): This.
19092         (MEMPCPY_CHK): Renamed to ...
19093         (__mempcpy_chk_avx512_no_vzeroupper): This.
19094         (MEMCPY_CHK): Renamed to ...
19095         (__memmove_chk_avx512_no_vzeroupper): This.
19096         (MEMCPY): Renamed to ...
19097         (__memmove_avx512_no_vzeroupper): This.
19098         (__memcpy_avx512_no_vzeroupper): New alias.
19099         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
19101 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19103         [BZ #18858]
19104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19105         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
19106         and mempcpy-avx512-no-vzeroupper.
19107         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
19108         New.
19109         (MEMPCPY): Likewise.
19110         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
19111         (MEMPCPY_CHK): New.
19112         (MEMPCPY): Likewise.
19113         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
19114         (MEMPCPY): Likewise.
19115         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
19116         (MEMPCPY): Likewise.
19117         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
19118         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
19119         Likewise.
19120         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
19121         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
19123 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19124              Amit Pawar  <Amit.Pawar@amd.com>
19126         [BZ #19583]
19127         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19128         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
19129         processors.  Set Fast_Copy_Backward for AMD Excavator
19130         processors.
19131         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
19132         New.
19133         (index_arch_Fast_Unaligned_Copy): Likewise.
19134         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
19135         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
19137 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19139         [BZ #19791]
19140         * resolv/res_send.c (close_and_return_error): New function.
19141         (send_dg): Initialize *resplen2 after reopen failure.  Call
19142         close_and_return_error for error returns.  On error paths without
19143         __res_iclose, initialze *resplen2 explicitly.  Update comment for
19144         successful return.
19146 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19148         [BZ #19860]
19149         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
19150         zero if the compiler does not provide the AVX512F bit.
19152 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
19154         [BZ #19848]
19155         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
19156         from 8 to 4.
19157         (__ieee754_powl): Compare integer exponent against 4 not 8.
19158         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
19159         from 8 to 4.
19160         (__ieee754_powl): Compare integer exponent against 4 not 8.
19161         * math/auto-libm-test-in: Add more tests of pow.
19162         * math/auto-libm-test-out: Regenerated.
19163         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19166 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19168         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
19169         Make code unconditional.
19170         [!__NR_utimensat]: Remove conditional code.
19171         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
19172         Make code unconditional.
19173         [!__NR_utimensat]: Remove conditional code.
19174         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
19175         Make code unconditional.
19176         [!__NR_utimensat]: Remove conditional code.
19178 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19180         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
19181         Make code unconditional.
19183 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
19185         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
19186         call-clobbered %eax on retry path.
19187         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19189 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19191         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
19192         Don't set %rcx twice before "rep movsb".
19194 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19196         [BZ #19583]
19197         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
19198         inline.  Check family before setting family, model and
19199         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
19200         bits here.
19201         (init_cpu_features): Replace HAS_CPU_FEATURE and
19202         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
19203         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
19204         for Intel processors with usable AVX2.  Call get_common_indeces
19205         for other processors with family == NULL.
19206         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
19207         (CPU_FEATURES_ARCH_P): Likewise.
19208         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
19209         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
19211 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19213         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
19214         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
19215         $(shared-thread-library) instead of hardcoding the path to libpthread.
19217 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
19219         * sysdeps/unix/sysv/linux/kernel-features.h
19220         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
19221         * sysdeps/unix/sysv/linux/getdents.c
19222         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
19223         [!have_no_getdents64_defined]: Likewise.
19224         (__GETDENTS): Remove __have_no_getdents64 conditional.
19226 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
19228         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
19229         Remove macro.
19230         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
19231         <kernel-features.h>.
19232         (signalfd) [__NR_signalfd4]: Make code unconditional.
19233         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
19235 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19237         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
19238         style.
19240 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19242         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
19243         (__pthread_enable_asynccancel): Use JUMPTARGET to call
19244         __pthread_unwind.
19245         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19246         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
19247         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19248         (__condvar_cleanup1): Likewise.
19250 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
19252         [BZ #19822]
19253         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
19254         move it to the final $@ location.
19256 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19258         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
19259         access where posix_spawn success and pid argument is null.
19260         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
19261         success case.
19263 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
19265         * sysdeps/mach/hurd/i386/c++-types.data: New file.
19267         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
19269         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
19270         and __fcntl.
19271         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
19272         __fcntl only.
19273         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
19274         adding attribute_hidden to __open and __fcntl.
19276         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
19277         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
19278         depend on libc-modules.h,
19279         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
19281 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
19283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
19284         Remove macro.
19285         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
19286         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
19287         entry.
19289         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
19290         Remove macro.
19291         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
19292         include <kernel-features.h>.
19293         [!__ASSUME_FALLOCATE]: Remove conditional code.
19294         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
19296 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19298         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
19299         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
19300         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
19301         (_ZGVdN4v_cos_avx2): Likewise.
19302         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
19303         (_ZGVdN4v_cos): Likewise.
19304         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
19305         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
19306         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
19307         (_ZGVdN4v_exp_avx2): Likewise.
19308         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
19309         (_ZGVdN4v_exp): Likewise.
19310         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
19311         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
19312         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
19313         (_ZGVdN4v_log_avx2): Likewise.
19314         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
19315         (_ZGVdN4v_log): Likewise.
19316         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
19317         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
19318         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
19319         (_ZGVdN4vv_pow_avx2): Likewise.
19320         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
19321         (_ZGVdN4vv_pow): Likewise.
19322         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
19323         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
19324         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
19325         (_ZGVdN4v_sin_avx2): Likewise.
19326         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
19327         (_ZGVdN4v_sin): Likewise.
19328         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
19329         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
19330         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
19331         (_ZGVdN4vvv_sincos_avx2): Likewise.
19332         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
19333         (_ZGVdN4vvv_sincos): Likewise.
19334         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
19335         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
19336         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
19337         (_ZGVbN4v_cosf_sse4): Likewise.
19338         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
19339         (_ZGVdN8v_cosf_avx2): Likewise.
19340         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
19341         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
19342         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
19343         (_ZGVbN4v_expf_sse4): Likewise.
19344         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
19345         (_ZGVdN8v_expf_avx2): Likewise.
19346         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
19347         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
19348         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
19349         (_ZGVbN4v_logf_sse4): Likewise.
19350         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
19351         (_ZGVdN8v_logf_avx2): Likewise.
19352         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
19353         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
19354         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
19355         (_ZGVbN4vv_powf_sse4): Likewise.
19356         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
19357         (_ZGVdN8vv_powf_avx2): Likewise.
19358         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19359         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
19360         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19361         (_ZGVbN4vvv_sincosf_sse4): Likewise.
19362         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19363         (_ZGVdN8vvv_sincosf_avx2): Likewise.
19364         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
19365         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
19366         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
19367         (_ZGVbN4v_sinf_sse4): Likewise.
19368         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
19369         (_ZGVdN8v_sinf_avx2): Likewise.
19370         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19371         Use JUMPTARGET to call callee.
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         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19380         Likewise.
19381         (WRAPPER_IMPL_SSE2_ff): Likewise.
19382         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19383         (WRAPPER_IMPL_AVX): Likewise.
19384         (WRAPPER_IMPL_AVX_ff): Likewise.
19385         (WRAPPER_IMPL_AVX_fFF): Likewise.
19386         (WRAPPER_IMPL_AVX512): Likewise.
19387         (WRAPPER_IMPL_AVX512_ff): Likewise.
19388         (WRAPPER_IMPL_AVX512_fFF): Likewise.
19390 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19392         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
19393         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
19394         qualifier.
19395         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
19396         internal_function qualifiers.
19398 2016-03-15  Carlos O'Donell <carlos@redhat.com>
19400         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
19401         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
19402         * math/atest-exp.c (exp_mpn): Mark chk unused.
19403         * math/atest-exp2.c (exp_mpn): Likewise.
19404         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
19405         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
19407 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
19409         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
19410         Remove macro.
19411         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
19412         <kernel-features.h>.
19413         [__NR_ppoll]: Make code unconditional.
19414         [!__ASSUME_PPOLL]: Remove conditional code.
19416         * sysdeps/unix/sysv/linux/kernel-features.h
19417         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
19418         (__ASSUME_ACCEPT4): Likewise.
19419         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19420         Define.
19421         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
19422         Likewise.
19423         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19424         Likewise.
19425         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
19426         Likewise.
19427         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
19428         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
19429         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19430         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19431         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19432         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19433         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19434         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19435         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19437         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19438         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19439         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19440         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19441         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19442         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19443         Likewise.
19444         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19445         Likewise.
19446         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19447         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19448         0x040300].
19449         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19450         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19451         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19452         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19453         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19454         0x030300].
19455         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
19456         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19457         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19458         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19459         0x040300].
19460         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19461         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19462         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19463         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19464         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19465         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19466         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19467         0x030300].
19468         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19469         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19470         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19471         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19472         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19473         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19474         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19475         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19476         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19477         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19478         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19479         0x040300].
19480         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19481         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19482         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19483         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19484         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19485         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19486         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19487         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19488         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19489         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19490         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19491         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19492         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19493         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19494         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
19495         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19497         Likewise.
19498         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19499         Likewise.
19501 2016-03-15  Andreas Schwab  <schwab@suse.de>
19503         [BZ #19257]
19504         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
19505         statp->_u._ext.nscount as loop count.
19507 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19509         * math/test-signgam-finite-c99.c: Also #undef
19510         __LIBC_INTERNAL_MATH_INLINES.
19511         * math/test-signgam-main.c: Likewise.
19513 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
19515         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
19516         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19517         (MADV_FREE): Likewise.
19518         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
19519         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
19520         EPOLLEXCLUSIVE.
19522 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
19524         * timezone/README: Remove mention of checktab.awk. Mention wiki
19525         SharedSourceFiles.
19527 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
19529         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
19530         WUNTRACED.
19532 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19534         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
19535         order to match the type of p when calling atomic_exchange_acq().
19537 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19539         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
19540         cfi_offset calls.
19541         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
19542         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
19543         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
19544         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
19545         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
19547 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
19549         * timezone/checktab.awk: Removed.
19551 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
19553         * manual/math.texi (Errors in Math Functions): Document relaxed
19554         accuracy goals for IBM long double.
19555         * math/libm-test.inc (test_exceptions): Always allow spurious
19556         "underflow" and "inexact" exceptions for IBM long double.
19558 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
19560         [BZ #19762]
19561         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19562         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
19563         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
19564         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
19565         (bit_arch_*): This for feature array.
19566         (bit_*): Renamed to ...
19567         (bit_cpu_*): This for cpu array.
19568         (index_*): Renamed to ...
19569         (index_arch_*): This for feature array.
19570         (index_*): Renamed to ...
19571         (index_cpu_*): This for cpu array.
19572         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
19573         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
19574         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
19575         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
19576         bit_##name with index_cpu_##name and bit_cpu_##name.
19577         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
19578         bit_##name with index_arch_##name and bit_arch_##name.
19580 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
19582         [BZ #19792]
19583         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
19584         Terminate FDE before return label.
19586 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
19588         [BZ #19790]
19589         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
19590         (rintl): Define as macro.
19591         [USE_AS_NEARBYINTL] (__rintl): Likewise.
19592         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
19593         of fesetround.  Ensure results are evaluated before end of scope.
19594         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
19595         USE_AS_NEARBYINTL and include s_rintl.c.
19596         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
19597         Disable exception traps in new environment.
19598         (libc_feholdsetround_ppc_ctx): Likewise.
19600 2016-03-08  Roland McGrath  <roland@hack.frob.com>
19602         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
19603         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
19604         (tst_audit10_aux) [__AVX512F__]: ... here.
19606 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
19608         * include/sys/auxv.h: New file.
19610 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19612         [BZ #19759]
19613         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
19615 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19617         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
19618         operand modifier.
19619         (feclearexcept): Likewise.
19621 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19623         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
19624         to reflect the entire 32-bit HWCAP.
19625         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
19626         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
19628 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19630         [BZ #19783]
19631         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
19632         $(test-via-rtld-prefix).
19633         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
19635 2016-03-08  Florian Weimer  <fweimer@redhat.com>
19637         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
19638         union wait.  Report any non-zero exit status as error.
19640 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19642         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
19643         configured with --enable-hardcoded-path-in-tests.
19645 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
19647         [BZ #19677]
19648         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19649         (__ieee754_remainderl): Put zero low parts in canonical form.
19650         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
19651         file.  Based on
19652         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
19653         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
19654         with wrapper round test-fmodrem-ldbl-128ibm.c.
19655         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
19656         file.
19657         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
19658         Likewise.
19659         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
19660         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
19662 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19664         [BZ #19610]
19665         * elf/ldconfig.c (opt_link): Update comment.
19666         (options): Update help string for option -X.
19667         (search_dir): Unlink stale symbolic link only if updating symbolic
19668         links.
19669         * elf/tst-ldconfig-X.sh: New file.
19670         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
19671         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
19673 2016-03-07  Andreas Schwab  <schwab@suse.de>
19675         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
19676         needed arguments.
19678 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
19680         [BZ #15333]
19681         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
19682         to lstat64.
19684 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19686         * libio/filedoalloc.c (isatty): Remove.
19687         (local_isatty): Add comment.  Call __isatty directly.
19688         (_IO_file_doallocate): Update comment.  Assume _LIBC.
19689         * libio/wfiledoalloc.c (isatty): Remove.
19690         (_IO_wfile_doallocate): Update comment.
19692 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19694         [BZ #19269]
19695         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
19696         tst-audit4-aux.o.
19697         (tst-audit10): Depend on tst-audit10-aux.o.
19698         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
19699         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
19700         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
19701         instead of inline AVX code.
19702         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
19703         instead of inline AVX512 code.
19704         * sysdeps/x86_64/tst-audit4-aux.c: New file
19705         * sysdeps/x86_64/tst-audit10-aux.c: New file
19707         [BZ #19648]
19708         * test-skeleton.c (main): Do not set RLIMIT_DATA.
19710 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19712         [BZ #14750]
19713         [BZ #10354]
19714         [BZ #18433]
19715         * include/sched.h (__clone): Add hidden prototype.
19716         (__clone2): Likewise.
19717         * include/unistd.h (__dup): Likewise.
19718         * posix/Makefile (tests): Add tst-spawn2.
19719         * posix/tst-spawn2.c: New file.
19720         * sysdeps/posix/dup.c (__dup): Add hidden definition.
19721         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
19722         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19723         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19724         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19725         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19726         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
19727         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19728         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
19729         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19730         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19732         Likewise.
19733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19734         Likewise.
19735         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19736         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19737         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19738         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19739         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19740         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19741         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19742         * sysdeps/unix/sysv/linux/nptl-signals.h
19743         (____nptl_is_internal_signal): New function.
19744         * sysdeps/unix/sysv/linux/spawni.c: New file.
19746         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
19747         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
19748         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
19749         * posix/tst-execvp2.c (do_test): Likewise.
19750         * posix/tst-execvp3.c (do_test): Likewise.
19751         * posix/tst-execvp4.c (do_test): Likewise.
19752         * posix/tst-execvpe1.c: New file.
19753         * posix/tst-execvpe2.c: Likewise.
19754         * posix/tst-execvpe3.c: Likewise.
19755         * posix/tst-execvpe4.c: Likewise.
19756         * posix/tst-execvpe5.c: Likewise.
19757         * posix/tst-execvpe6.c: Likewise.
19759         [BZ #19534]
19760         * posix/execl.c (execl): Remove dynamic memory allocation.
19761         * posix/execle.c (execle): Likewise.
19762         * posix/execlp.c (execlp): Likewise.
19764 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19766         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
19767         Replace .text with .text.avx512.
19768         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19769         Likewise.
19771 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
19773         * sysdeps/generic/libnsl.abilist: New file.
19774         * sysdeps/generic/libutil.abilist: New file.
19776 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19778         [BZ #19762]
19779         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
19780         HAS_ARCH_FEATURE with Fast_Rep_String.
19781         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
19782         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
19783         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
19784         Likewise.
19785         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
19786         Likewise.
19787         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
19788         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
19789         Likewise.
19790         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
19791         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
19792         Likewise.
19794 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19796         [BZ #19745]
19797         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
19798         with *%rax in call.
19800 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19802         [BZ #19745]
19803         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
19804         with *__libc_start_main@GOTPCREL(%rip) in call.
19806 2016-03-04  Roland McGrath  <roland@hack.frob.com>
19808         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
19809         inside conditional for nonempty $(CXX).
19811         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
19812         nonempty.
19814         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
19815         to test for empty $(CXX) rather than $(CXX) of "no".
19817 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19819         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
19821 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
19822             H.J. Lu  <hongjiu.lu@intel.com>
19824         [BZ #18880]
19825         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
19826         instead of Slow_BSF, and also check for Fast_Copy_Backward to
19827         enable __memcpy_ssse3_back.
19829 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19831         [BZ #19758]
19832         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19833         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
19835 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19837         [BZ #19490]
19838         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
19839         (__fentry__): Likewise.
19841 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19843         * gmon/Makefile (noprof): Add $(sysdep_noprof).
19844         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
19846 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19848         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
19849         __mcount_internal directly.
19850         (C_LABEL(__fentry__)): Likewise.
19851         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
19852         directly.
19854 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19856         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19857         (__start_context): Call __setcontext directly.
19859 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
19861         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19862         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19863         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
19864         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19865         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19866         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19867         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
19868         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19869         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19870         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
19871         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19872         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19873         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19874         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19875         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19876         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19877         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
19878         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19879         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19880         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19881         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
19882         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19883         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19884         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19885         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
19886         Remove conditional code.
19887         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19888         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
19889         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19890         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19891         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
19892         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19893         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19894         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19895         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19896         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19897         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19898         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19900 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
19902         * NEWS (2.23): Fix typo in bug 19048 text.
19904 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
19906         [BZ #14259]
19907         * Makeconfig: Rename msgcatdir to localedir.
19908         Rename inst_msgcatdir to inst_localedir.
19909         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
19910         * config.make.in: Add localedir.
19911         * elf/Makefile ($(objpfx)sotruss): Use localedir.
19912         (ldd-rewrite): Likewise.
19913         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
19914         (install-others): Use inst_localedir.
19915         (CPPFLAGS): Use localedir.
19916         * locale/Makefile (locale-CPPFLAGS): Likewise.
19917         * po/Makefile (mo-installed): Use inst_localedir.
19919         [BZ #19575]
19920         * localedata/charmaps/GB18030: Update comments regarding PAU to
19921         non-PUA mappings.
19923 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
19925         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
19926         test for header.
19927         * sysdeps/unix/sysv/linux/configure: Regenerated.
19928         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
19929         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
19930         Remove conditional code.
19931         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
19933         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19934         Define to 3.2.0.
19935         (arch_minimum_kernel): Likewise.
19936         * sysdeps/unix/sysv/linux/configure: Regenerated.
19937         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
19938         Define to 2.6.32.
19939         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
19940         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
19941         (arch_minimum_kernel): Define to 2.6.32.
19942         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
19943         * README: Document Linux 3.2 requirement.
19944         * manual/install.texi (Linux): Document Linux 3.2 headers
19945         requirement.
19946         * INSTALL: Regenerated.
19948 2016-02-24  Andreas Schwab  <schwab@suse.de>
19950         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
19951         if !NO_LONG_DOUBLE.
19953 2016-02-22  Roland McGrath  <roland@hack.frob.com>
19955         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
19956         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
19958 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
19960         [BZ #19512]
19961         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
19963 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19965         * posix/tst-dir.c: Include libc-internal.h.
19967 2016-02-20  Florian Weimer  <fweimer@redhat.com>
19969         [BZ #19056]
19970         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
19971         * manual/filesys.texi (Reading/Closing Directory): Mention
19972         deprecaion.
19973         * posix/tst-dir.c (main): Disable deprecation warning in test.
19975 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
19977         [BZ #19679]
19978         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
19979         Renamed to ...
19980         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
19981         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19982         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
19983         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19984         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
19985         * sysdeps/x86_64/dl-trampoline.h
19986         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19987         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
19989 2016-02-19  Mark Wielaard  <mjw@redhat.com>
19991         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
19993 2016-02-19  Mark Wielaard  <mjw@redhat.com>
19995         * elf/elf.h (R_386_GOT32X): New.
19996         (R_386_NUM): Update.
19997         (R_X86_64_GOTPCRELX: New.
19998         (R_X86_64_REX_GOTPCRELX): New.
19999         (R_X86_64_NUM): Update.
20001 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
20003         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
20005 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
20007         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
20008         assign attr->stackaddr to it, and adjust it down when
20009         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
20010         [_STACK_GROWS_UP]: Delete assert.
20011         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20012         Implement stack grows up logic.
20013         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20014         stack grows up logic.
20016 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20018         * NEWS: Update with 2.24 template.
20020 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20022         [BZ #19678]
20023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20024         Ensure +0.0 is returned when taking the next value below the least
20025         positive value.
20027 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20029         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20030         available.  Do not define NO_THREADS.
20031         * malloc/malloc.c: Do not check NO_THREADS.
20032         * malloc/arena.c: Likewise.
20034 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20036         * malloc/malloc.c (__libc_mallinfo): Update comment.
20037         (struct malloc_par): Remove max_total_mem member, it was always 0.
20038         (int_mallinfo): Store 0 into usmblks (no functional change).
20039         * malloc/hooks.c (struct malloc_state): Document that
20040         max_total_mem is always 0.
20041         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20042         always 0.
20043         * manual/memory.texi (Statistics of Malloc): Likewise.
20045 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20047         * malloc/malloc.c (sysmalloc): Do not update arena_max.
20048         * malloc/arena.c (arena_max): Remove.
20049         (heap_trim, _int_new_arena): Do not update arena_max.
20051 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20053         * resolv/res_init.c (res_ninit): Update comment.
20055 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20057         [BZ #19505]
20058         * posix/spawn_int.h: Add headers and include guard.
20059         (__spawn_valid_fd): New function.
20060         * posix/spawn_faction_addopen.c
20061         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
20062         * posix/spawn_faction_addclose.c
20063         (posix_spawn_file_actions_addclose): Likewise.
20064         * posix/spawn_faction_adddup2.c
20065         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
20066         second file descriptor.
20067         * posix/spawn_valid_fd.c: New file.
20068         * posix/tst-posix_spawn-fd.c: New file.
20069         * posix/Makefile (routines): Add spawn_valid_fd.
20070         (tests): Add tst-posix_spawn-fd.
20072 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20074         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
20075         (do_test): Limit the number of arenas, so that we can use fewer
20076         outer threads.  Limit timeout to 3 seconds, in preparation for a
20077         larger TIMEOUT value.
20079 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20081         [BZ #19674]
20082         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
20083         sign in overflowing and underflowing results when overflow or
20084         underflow is detected early.  Include sign in result before rather
20085         than after scaling.
20087         [BZ #19603]
20088         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20089         (__ieee754_remainderl): Adjust sign of integer version of low part
20090         when taking absolute value of high part.
20091         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20092         * math/libm-test.inc (remainder_test_data): Add another test.
20093         (remquo_test_data): Likewise.
20095 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
20097         [BZ #19602]
20098         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
20099         equal high parts and both low parts zero specially.
20100         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
20101         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
20102         Add test-fmodl-ldbl-128ibm.
20104         [BZ #19595]
20105         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
20106         common logic for all cases of shifting subnormal results.  Do not
20107         insert sign bit in shifted mantissa.  Always pass -1023 as biased
20108         exponent to ldbl_insert_mantissa in subnormal case.
20110         [BZ #19594]
20111         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
20112         on high and low parts then adjust result and use
20113         ldbl_canonicalize_int if needed.
20115         [BZ #19593]
20116         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
20117         on high part and __floor or __ceil on low part then use
20118         ldbl_canonicalize_int if needed.
20120         [BZ #19592]
20121         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
20122         high and low parts then use ldbl_canonicalize_int if needed.
20124         [BZ #17899]
20125         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
20126         New function.
20127         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
20128         on high and low parts then use ldbl_canonicalize_int if needed.
20130 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20132         * configure: Regenerated.
20134         * po/libc.pot: Regenerated.
20136         * po/be.po: Updated translation.
20137         * po/bg.po: Likewise.
20138         * po/ca.po: Likewise.
20139         * po/cs.po: Likewise.
20140         * po/da.po: Likewise.
20141         * po/el.po: Likewise.
20142         * po/eo.po: Likewise.
20143         * po/es.po: Likewise.
20144         * po/fi.po: Likewise.
20145         * po/fr.po: Likewise.
20146         * po/gl.po: Likewise.
20147         * po/hr.po: Likewise.
20148         * po/hu.po: Likewise.
20149         * po/ia.po: Likewise.
20150         * po/id.po: Likewise.
20151         * po/it.po: Likewise.
20152         * po/ja.po: Likewise.
20153         * po/lt.po: Likewise.
20154         * po/nb.po: Likewise.
20155         * po/nl.po: Likewise.
20156         * po/pt_BR.po: Likewise.
20157         * po/rw.po: Likewise.
20158         * po/sk.po: Likewise.
20159         * po/sl.po: Likewise.
20160         * po/sv.po: Likewise.
20161         * po/tr.po: Likewise.
20162         * po/zh_CN.po: Likewise.
20163         * po/zh_TW.po: Likewise.
20165         * version.h (RELEAES): Set to "development".
20166         (VERSION): Set to 2.23.90.
20168         * version.h (RELEASE): Set to "stable".
20169         (VERSION): Set to 2.23.
20170         * include/feature.h (__GLIBC_MINOR__): Set to 23.
20172         * NEWS: Updated fixed bugs.
20174 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
20175             Wilco Dijkstra  <wdijkstr@arm.com>
20177         [BZ #19462]
20178         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
20179         (_STRING_INLINE_unaligned): This.
20180         * include/string.h: Include <string_private.h>.
20181         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
20182         _STRING_INLINE_unaligned.
20183         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
20184         (_STRING_INLINE_unaligned): New.
20185         * sysdeps/aarch64/string_private.h: New file.
20186         * sysdeps/generic/string_private.h: Likewise.
20187         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
20188         * sysdeps/s390/string_private.h: Likewise.
20189         * sysdeps/x86/string_private.h: Likewise.
20190         * sysdeps/m68k/m680x0/m68020/bits/string.h
20191         (_STRING_ARCH_unaligned): Renamed to ...
20192         (_STRING_INLINE_unaligned): This.
20193         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
20194         to ...
20195         (_STRING_INLINE_unaligned): This.
20196         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
20197         to ...
20198         (_STRING_INLINE_unaligned): This.
20199         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
20200         to ...
20201         (_STRING_INLINE_unaligned): This.
20203 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20204             H.J. Lu  <hongjiu.lu@intel.com>
20206         [BZ #19590]
20207         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
20208         relocation.
20210 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
20212         [BZ #18665]
20213         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
20214         *herrno_p.
20215         (gaih_getanswer): Document functional behviour. Return tryagain
20216         if any result is tryagain.
20217         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
20218         when freed.
20219         * resolv/res_send.c: Add copyright text.
20220         (__libc_res_nsend): Document that MAXPACKET is expected.
20221         (send_vc): Document. Remove buffer reuse.
20222         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
20223         size of the buffer. Add Dprint for truncated UDP buffer.
20225 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
20227         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
20228         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
20229         * INSTALL: Regenerate.
20231 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
20232             Jonathan Wakely  <jwakely@redhat.com>
20233             Carlos O'Donell  <carlos@redhat.com>
20235         [BZ 19439]
20236         * math/Makefile (tests): Add test-math-isinff.
20237         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
20238         * math/bits/mathcalls.h [__USE_MISC]: Use
20239         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
20240         functions not in C++11 and which don't conflict e.g. isinff,
20241         isinfl etc.
20242         * math/test-math-isinff.cc: New file.
20244 2016-02-12  Florian Weimer  <fweimer@redhat.com>
20246         * misc/bug18240.c (do_test): Set RLIMIT_AS.
20248 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20250         [BZ #19529]
20251         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
20253 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20255         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20257 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
20259         [BZ #19550]
20260         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
20261         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
20262         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
20263         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
20264         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
20265         New syscall entry.
20266         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
20267         New syscall entry.
20268         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
20269         syscall entry.
20271 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
20273         [BZ #18240]
20274         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
20275         unsigned int wraparound.
20277 2016-01-27  Florian Weimer  <fweimer@redhat.com>
20279         [BZ #18240]
20280         * misc/bug18240.c: New test.
20281         * misc/Makefile (tests): Add it.
20283 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
20284             Joseph Myers  <joseph@codesourcery.com>
20286         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
20287         load in branch delay slot when less than a word of input left.
20289 2016-01-27  Andreas Schwab  <schwab@suse.de>
20291         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
20292         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
20293         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
20294         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
20296 2016-01-26  David S. Miller  <davem@davemloft.net>
20298         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
20300 2016-01-25  David S. Miller  <davem@davemloft.net>
20302         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
20303         __sqrtl_finite.
20304         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
20305         instead using versioned_symbol.
20306         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
20307         of entries.
20309         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
20310         __sqrtl_finite to GLIBC_2.23
20312 2016-01-25  Ricchard Henderson  <rth@redhat.com>
20314         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20316 2016-01-25  Andreas Schwab  <schwab@suse.de>
20318         [BZ #17514]
20319         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
20320         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
20321         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
20322         * nptl/tst-mutex-errorcheck.c: New file.
20324 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20326         [BZ #18560]
20327         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
20328         (IPCOP_semop): Likewise.
20329         (IPCOP_semget): Likewise.
20330         (IPCOP_semctl): Likewise.
20331         (IPCOP_msgsnd): Likewise.
20332         (IPCOP_msgrcv): Likewise.
20333         (IPCOP_msgget): Likewise.
20334         (IPCOP_msgctl): Likewise.
20335         (IPCOP_shmat): Likewise.
20336         (IPCOP_shmdt): Likewise.
20337         (IPCOP_shmget): Likewise.
20338         (IPCOP_shmctl): Likewise.
20340 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20342         * string/tst-endian.c: Include <libc-internal.h>.
20343         (do_test): Ignore tautological-compare warnings around
20344         "htobeXX (beXXtoh (i)) != i" and
20345         "htoleXX (leXXtoh (i)) != i" if-statements.
20347 2016-01-24  David S. Miller  <davem@davemloft.net>
20349         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
20350         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
20351         alias.
20352         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
20353         __sqrtl_finite.
20355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20357 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
20359         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
20360         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
20361         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20363 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20365         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
20366         (thread_func): Use new function to simplify barrier check.
20367         (do_test): Use new function to simplify checking barrier exit
20368         code, and actually join the child thread.
20370 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20372         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
20373         semicolon.
20374         (__libc_tend): Likewise.
20375         (__libc_tabort): Likewise.
20377 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
20379         * sysdeps/nios2/libm-test-ulps: Update.
20380         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
20381         (__gtsf2): Likewise.
20382         (__unorddf2): Likewise.
20383         (__unordsf2): Likewise.
20384         (__ledf2): Likewise.
20386 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
20388         * nis/nis_table.c (__follow_path): Disable diagnostic for
20389         uninitialized variable that is a false positive for gcc 4.7.
20390         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
20392 2016-01-20  Roland McGrath  <roland@hack.frob.com>
20394         * sysdeps/nacl/lowlevellock-futex.h
20395         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
20396         Always evaluate PRIVATE argument.
20398 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
20400         [BZ #19490]
20401         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
20402         (pthread_cond_broadcast): Use ENTRY/END
20403         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
20404         (pthread_cond_signal): Likewise.
20405         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
20406         Likewise.
20407         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
20408         Likewise.
20409         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
20410         Likewise.
20412 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
20414         * sysdeps/ieee754/dbl-64/s_finite.c
20415         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
20416         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
20417         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
20418         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
20419         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
20421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
20422         (__gtsf2): Add as optional for libc.so.
20423         (__unordsf2): Likewise.
20424         (__signbit): Remove for libc.so.
20425         (__signbitl): Likewise.
20427 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20429         * iconvdata/bug-iconv11.c (test_ibm93x):
20430         Use %zu printf format specifier for size_t argument.
20432 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
20434         * math/gen-libm-test.pl (parse_ulps): Do not reduce
20435         already-recorded ulps.
20436         * sysdeps/arm/libm-test-ulps: Regenerated.
20437         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20438         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20439         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20441 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20442             Paul Pluzhnikov  <ppluzhnikov@google.com>
20444         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
20445         assembler not supporting AVX-512.
20447 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
20449         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20451 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
20453         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20454         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20456         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20458         * sysdeps/arm/libm-test-ulps: Regenerated.
20460 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20462         [BZ #19451]
20463         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
20465 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20467         [BZ #19486]
20468         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
20469         * sysdeps/generic/fix-fp-int-convert-overflow.h
20470         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
20471         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
20472         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
20473         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
20474         Likewise.
20475         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
20476         Avoid conversions to long int where inexact exceptions
20477         could be raised.
20478         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
20479         Likewise.
20480         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
20481         Avoid conversions to long long int where inexact exceptions
20482         could be raised.
20483         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
20484         Likewise.
20486 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
20488         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
20489         * configure: Regenerated.
20491 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20493         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
20495 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
20497         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
20498         outside of comment.
20500 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20502         * nptl/tst-barrier1.c: Add description on first line.
20503         * nptl/tst-barrier2.c: Likewise.
20504         * nptl/tst-barrier3.c: Likewise.
20505         * nptl/tst-barrier4.c: Likewise.
20506         * nptl/tst-barrier5.c: Likewise.
20508 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20510         [BZ #18868]
20511         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
20513 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
20516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
20517         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
20518         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
20519         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
20520         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
20521         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20522         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20523         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20524         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20525         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20527 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20529         [BZ #13065]
20530         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
20531         new implementation.
20532         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
20533         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
20534         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
20535         (BARRIER_IN_THRESHOLD): New macro.
20536         * nptl/pthread_barrierattr_setpshared.c
20537         (pthread_barrierattr_setpshared): Clean up.
20538         * nptl/tst-barrier4.c: Correct comment.
20539         * nptl/tst-barrier5.c: New file.
20540         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
20541         (gen-as-const-headers): Remove lowlevelbarrier.sym.
20542         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
20543         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
20544         * nptl/lowlevelbarrier.sym: Remove.
20545         * nptl/DESIGN-barrier.txt: Remove.
20546         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
20547         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
20548         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
20549         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
20550         error.
20551         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
20552         implementation.
20554 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20556         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
20557         (do_child): Mask SIGRTMIN while thr is running.
20559 2016-01-15  Martin Sebor  <msebor@redhat.com>
20561         [BZ #19432]
20562         * iconvdata/Makefile: Add bug-iconv11.
20563         * iconvdata/bug-iconv11.c: New test.
20564         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
20565         * iconvdata/ibm933.c: Same.
20566         * iconvdata/ibm935.c: Same.
20567         * iconvdata/ibm937.c: Same.
20568         * iconvdata/ibm939.c: Same.
20570 2016-01-15  Martin Sebor  <msebor@redhat.com>
20572         [BZ #19443]
20573         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
20574         [DEBUG] (_ufc_set_bits): Declare used.
20575         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
20576         [DEBUG] (print_all): Declare used.
20577         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
20578         operands of the ternary ?: expression to target type.
20579         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
20580         calling the undeclared abort.
20581         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
20583 2016-01-15  Martin Sebor  <msebor@redhat.com>
20585         [BZ #18755]
20586         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
20587         warnings.
20588         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
20589         (__gai_create_helper_thread): Same.
20590         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
20591         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
20592         to suppress -Wmaybe-uninitialized warnings.
20594 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
20596         [BZ #19465]
20597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
20598         inside if.
20599         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20600         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20601         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20603 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
20605         [BZ #19466]
20606         * time/tst-mktime2.c (time_t_max): Removed.
20607         (time_t_min): Likewise.
20608         (TYPE_SIGNED): New.
20609         (TYPE_MINIMUM): Likewise.
20610         (TYPE_MAXIMUM): Likewise.
20611         (TIME_T_MIN): Likewise.
20612         (TIME_T_MAX): Likewise.
20613         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
20614         and TIME_T_MIN.
20615         (do_test): Likewise.
20617 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
20619         [BZ #19467]
20620         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20621         index_Fast_Unaligned_Load flag for Excavator family CPUs.
20623 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
20625         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
20627 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
20629         * benchtests/Makefile (PYTHON): Define.
20630         (bench-func): Use $(PYTHON) to run python scripts.
20631         ($(objpfx)bench-%.c): Likewise.
20633 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
20635         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
20636         leading slash when `file_name' is "/".
20638 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
20640         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
20641         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
20642         Likewise.
20643         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
20644         Likewise.
20645         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
20646         Likewise.
20647         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
20648         enum constant and macro.
20649         (PTRACE_SETSIGMASK): Likewise.
20650         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20651         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20652         (PTRACE_GETSIGMASK): Likewise.
20653         (PTRACE_SETSIGMASK): Likewise.
20654         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20655         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
20656         Likewise.
20657         (PTRACE_SETSIGMASK): Likewise.
20658         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20659         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20660         (PTRACE_GETSIGMASK): Likewise.
20661         (PTRACE_SETSIGMASK): Likewise.
20662         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20663         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
20664         Likewise.
20665         (PTRACE_SETSIGMASK): Likewise.
20666         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20667         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
20668         Likewise.
20669         (PTRACE_SETSIGMASK): Likewise.
20670         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20671         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
20672         Likewise.
20673         (PTRACE_SETSIGMASK): Likewise.
20674         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20676 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
20677             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20679         [BZ #19439]
20680         * math/bits/mathcalls.h
20681         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
20682         prototype.
20683         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
20685 2016-01-11  Andreas Schwab  <schwab@suse.de>
20687         [BZ #19253]
20688         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
20689         cache when TZDEFRULES was used.
20690         * time/tst-tzname.c: New file.
20691         * time/Makefile (test): Add tst-tzname.
20692         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
20693         * timezone/Makefile (test-zones): Add $(posixrules-file).
20694         ($(testdata)/$(posixrules-file)): New rule.
20696 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
20698         Fix doc quoting problems with Texinfo 5
20699         Without this change, in the info file output, Texinfo 5 quotes code
20700         in text with undirected single quotes 'like this' and generates
20701         code examples that with many PDF readers cannot be cut out of PDFs
20702         and pasted into code.
20703         * manual/libc.texinfo: Configure the libc manual like the GNU
20704         Emacs manual, by using @documentencoding and setting
20705         txicodequoteundirected and txicodequotebacktick.  This way,
20706         Texinfo 5 quotes code in text with directed single quotes ‘like
20707         this’ and produces examples that can be cut out of PDFs.  This
20708         change causes Texinfo 5 to generate info files that contain UTF-8
20709         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
20710         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
20712 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20714         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
20715         __libc_tabort, __libc_tend): New wrappers that enforce compiler
20716         barriers to their respective compiler built-ins.
20717         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
20718         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
20719         * sysdeps/powerpc/sysdep.h: Likewise.
20720         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
20721         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
20722         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
20724 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
20726         * scripts/config.guess: Revert previous shebang change.
20727         * scripts/config.sub: Likewise.
20728         * scripts/mkinstalldirs: Likewise.
20730 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20732         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
20733         PPC_FEATURE2_HAS_IEEE128.
20734         * sysdeps/powerpc/dl-procinfo.c:
20735         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
20737 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
20739         [BZ #19415]
20740         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
20741         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
20742         (_dl_lookup_address): Rewrite using function resolver trampoline.
20743         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
20744         two bits in address.
20746 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20748         * longlong.h: Change !__SHMEDIA__ to
20749         (!defined (__SHMEDIA__) || !__SHMEDIA__).
20750         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
20752 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
20753             Joseph Myers  <joseph@codesourcery.com>
20754             Mark Shinwell  <shinwell@codesourcery.com>
20755             Andrew Stubbs  <ams@codesourcery.com>
20756             Rich Felker <dalias@libc.org>
20758         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
20760 2016-01-07  Richard Henderson  <rth@redhat.com>
20762         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
20764 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20766         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
20767         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
20768         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20769         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20770         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
20772 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
20773             Joseph Myers  <joseph@codesourcery.com>
20775         * timezone/private.h: Update from tzcode 2015g.
20776         * timezone/tzfile.h: Likewise.
20777         * timezone/tzselect.ksh: Likewise.
20778         * timezone/zdump.c: Likewise.
20779         * timezone/zic.c: Likewise.
20780         * timezone/ialloc.c: Remove file.
20781         * timezone/scheck.c: Likewise.
20782         * timezone/Makefile (extra-objs): Remove variable.
20783         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
20784         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
20785         -Wno-maybe-uninitialized.
20786         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
20787         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
20788         (CFLAGS-ialloc.c): Remove variable.
20789         (CFLAGS-scheck.c): Likewise.
20790         * timezone/README: Update list of files from tzcode.
20792 2016-01-07  Khem Raj  <raj.khem@gmail.com>
20794         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
20795         instead of __fxprintf when _LIBC is undefined.
20797 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
20799         * catgets/test-gencat.sh: Remove space after shebang.
20800         * conform/GlibcConform.pm: Likewise.
20801         * conform/check-header-lists.sh: Likewise.
20802         * conform/conformtest.pl: Likewise.
20803         * conform/linknamespace.pl: Likewise.
20804         * conform/list-header-symbols.pl: Likewise.
20805         * debug/catchsegv.sh: Likewise.
20806         * elf/genrtldtbl.awk: Likewise.
20807         * elf/tst-pathopt.sh: Likewise.
20808         * elf/tst-rtld-load-self.sh: Likewise.
20809         * grp/tst_fgetgrent.sh: Likewise.
20810         * iconvdata/gen-8bit-gap-1.sh: Likewise.
20811         * iconvdata/gen-8bit-gap.sh: Likewise.
20812         * iconvdata/gen-8bit.sh: Likewise.
20813         * iconvdata/run-iconv-test.sh: Likewise.
20814         * intl/tst-gettext.sh: Likewise.
20815         * intl/tst-gettext2.sh: Likewise.
20816         * intl/tst-gettext4.sh: Likewise.
20817         * intl/tst-gettext6.sh: Likewise.
20818         * intl/tst-translit.sh: Likewise.
20819         * io/ftwtest-sh: Likewise.
20820         * libio/test-freopen.sh: Likewise.
20821         * locale/gen-translit.pl: Likewise.
20822         * malloc/tst-mtrace.sh: Likewise.
20823         * manual/check-safety.sh: Likewise.
20824         * manual/libc-texinfo.sh: Likewise.
20825         * manual/tsort.awk: Likewise.
20826         * manual/xtract-typefun.awk: Likewise.
20827         * nptl/tst-cancel-wrappers.sh: Likewise.
20828         * nptl/tst-tls6.sh: Likewise.
20829         * posix/globtest.sh: Likewise.
20830         * posix/tst-getconf.sh: Likewise.
20831         * posix/wordexp-tst.sh: Likewise.
20832         * scripts/check-c++-types.sh: Likewise.
20833         * scripts/check-local-headers.sh: Likewise.
20834         * scripts/config.guess: Likewise.
20835         * scripts/config.sub: Likewise.
20836         * scripts/cpp: Likewise.
20837         * scripts/cross-test-ssh.sh: Likewise.
20838         * scripts/documented.sh: Likewise.
20839         * scripts/evaluate-test.sh: Likewise.
20840         * scripts/gen-libc-abis: Likewise.
20841         * scripts/gen-sorted.awk: Likewise.
20842         * scripts/list-fixed-bugs.py: Likewise.
20843         * scripts/merge-test-results.sh: Likewise.
20844         * scripts/mkinstalldirs: Likewise.
20845         * scripts/rellns-sh: Likewise.
20846         * scripts/test-installation.pl: Likewise.
20847         * scripts/update-copyrights: Likewise.
20848         * stdio-common/tst-printf.sh: Likewise.
20849         * stdio-common/tst-unbputc.sh: Likewise.
20850         * stdlib/tst-fmtmsg.sh: Likewise.
20851         * stdlib/tst-setcontext3.sh: Likewise.
20852         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
20853         * sysdeps/unix/make-syscalls.sh: Likewise.
20855 2016-01-06  John David Anglin  <dave.anglin@bell.net>
20857         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
20858         asm stw with atomic_exchange_rel.  Add explanatory comment.
20859         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20860         Likewise.
20862 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20864         [BZ #19122]
20865         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
20866         * sysdeps/generic/dl-unistd.h: New file.
20867         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
20869 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20871          [BZ #19122]
20872          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
20873          * sysdeps/generic/dl-mman.h: New file.
20874          * sysdeps/mach/hurd/dl-mman.h: Likewise.
20876 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
20878         * manual/texinfo.tex: Update to version 2016-01-04.21 with
20879         trailing whitespace removed.
20880         * scripts/config.guess: Update to version 2016-01-01.
20881         * scripts/config.sub: Update to version 2016-01-01.
20882         * scripts/move-if-change: Update from gnulib.
20884 2016-01-04  Anton Blanchard  <anton@samba.org>
20886         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
20887         for array indices.
20888         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
20890 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
20892         * NEWS: Update copyright dates.
20893         * catgets/gencat.c (print_version): Likewise.
20894         * csu/version.c (banner): Likewise.
20895         * debug/catchsegv.sh: Likewise.
20896         * debug/pcprofiledump.c (print_version): Likewise.
20897         * debug/xtrace.sh (do_version): Likewise.
20898         * elf/ldconfig.c (print_version): Likewise.
20899         * elf/ldd.bash.in: Likewise.
20900         * elf/pldd.c (print_version): Likewise.
20901         * elf/sotruss.sh: Likewise.
20902         * elf/sprof.c (print_version): Likewise.
20903         * iconv/iconv_prog.c (print_version): Likewise.
20904         * iconv/iconvconfig.c (print_version): Likewise.
20905         * locale/programs/locale.c (print_version): Likewise.
20906         * locale/programs/localedef.c (print_version): Likewise.
20907         * login/programs/pt_chown.c (print_version): Likewise.
20908         * malloc/memusage.sh (do_version): Likewise.
20909         * malloc/memusagestat.c (print_version): Likewise.
20910         * malloc/mtrace.pl: Likewise.
20911         * manual/libc.texinfo: Likewise.
20912         * nptl/version.c (banner): Likewise.
20913         * nscd/nscd.c (print_version): Likewise.
20914         * nss/getent.c (print_version): Likewise.
20915         * nss/makedb.c (print_version): Likewise.
20916         * posix/getconf.c (main): Likewise.
20917         * scripts/test-installation.pl: Likewise.
20918         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20920         * All files with FSF copyright notices: Update copyright dates
20921         using scripts/update-copyrights.
20922         * intl/plural.c: Regenerated.
20923         * locale/programs/charmap-kw.h: Likewise.
20924         * locale/programs/locfile-kw.h: Likewise.
20926 2016-01-02  Helge Deller  <deller@gmx.de>
20928         [BZ #19285]
20929         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
20930         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
20931         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
20932         (MADV_xxK_PAGES): Remove.
20934 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
20936         [BZ #15421]
20937         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
20938         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
20939         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
20940         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
20942 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
20944         [BZ #19408]
20945         * sysdeps/unix/sysv/linux/personality.c: New file.
20946         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
20947         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
20948         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
20949         (sysdep_routines): Add personality.
20950         (tests): Add tst-personality.
20951         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
20952         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
20953         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
20954         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
20955         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
20956         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
20957         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
20958         Likewise.
20959         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
20960         Likewise.
20961         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
20962         Likewise.
20963         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
20964         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
20965         Likewise.
20967 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
20969         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
20970         (PATH_ARM_SYSTYPE): Remove.
20971         (PATH_CPUINFO): Likewise.
20972         (IO_BASE_FOOTBRIDGE): Likewise.
20973         (IO_SHIFT_FOOTBRIDGE): Likewise.
20974         (struct platform): Likewise.
20975         (init_iosys): Remove compatibility code for 2.4 kernels.
20976         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
20978 2015-12-29  Florian Weimer  <fweimer@redhat.com>
20980         * malloc/tst-malloc-thread-fail.c: New file.
20981         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
20982         (tst-malloc-thread-fail): Link against libpthread.
20984 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
20986         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
20987         (get_parser): New function.
20988         (main): New function.
20990 2015-12-29  Rob Wu  <rob@robwu.nl>
20992         [BZ #19369]
20993         * resolv/res_init.c (__res_vinit): Reset defdname before use.
20995 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
20997         [BZ #19270]
20998         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21000 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
21002         [BZ #15421]
21003         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
21005 2015-12-23  Torvald Riegel  <triegel@redhat.com>
21007         [BZ #13690]
21008         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21009         after releasing it.
21010         (__lll_robust_unlock): Likewise.
21011         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21012         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21013         (lll_robust_unlock): Likewise.
21014         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21015         Prevent warnings in callers.
21017 2015-12-23  Florian Weimer  <fweimer@redhat.com>
21019         * malloc/arena.c (list_lock): Update comment.
21021 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21023         * sysdeps/powerpc/hwcapinfo.c: Export symbol
21024         __parse_hwcap_and_convert_at_platform to libc.a.
21026 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21028         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21029         platform and feature support for POWER9.
21030         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21031         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21032         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21033         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21034         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21035         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21036         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21037         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21039 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21041         Harmonize generic stdio-lock support with nptl
21043         This fixes build when _IO_funlockfile is a macro, fixes build where
21044         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21045         stack unwind.
21047         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21048         _IO_release_lock ): Use cleanup attribute on new
21049         _IO_acquire_lock_file variable instead of assuming that
21050         _IO_release_lock will be called.
21051         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
21052         _IO_acquire_lock_needs_exceptions_enabled.
21053         (_IO_acquire_lock_clear_flags2): New macro.
21055 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21057         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21059 2015-12-21  Florian Weimer  <fweimer@redhat.com>
21061         [BZ #19182]
21062         * malloc/arena.c (list_lock): Document lock ordering requirements.
21063         (free_list_lock): New lock.
21064         (ptmalloc_lock_all): Comment on free_list_lock.
21065         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
21066         (detach_arena): Update comment.  free_list_lock is now needed.
21067         (_int_new_arena): Use free_list_lock around detach_arena call.
21068         Acquire arena lock after list_lock.  Add comment, including FIXME
21069         about incorrect synchronization.
21070         (get_free_list): Switch to free_list_lock.
21071         (reused_arena): Acquire free_list_lock around detach_arena call
21072         and attached threads counter update.  Add two FIXMEs about
21073         incorrect synchronization.
21074         (arena_thread_freeres): Switch to free_list_lock.
21075         * malloc/malloc.c (struct malloc_state): Update comments to
21076         mention free_list_lock.
21078 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21080         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
21081         Remove functions.
21082         (sloww, sloww1): Accept argument to offset quadrant.
21083         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
21084         quadrant.
21085         (__sin, __cos): Consolidate common code into new functions.
21086         (reduce_sincos_1, do_sincos_1): New functions.
21087         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21089         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
21090         code to new functions.
21091         (reduce_sincos_2, do_sincos_2): New functions.
21092         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21094         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
21095         common code for sincos.
21096         (__cos) [!IN_SINCOS]: Likewise.
21097         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
21098         New function.
21099         (__sincos): Use it.
21101 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
21103         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
21104         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
21105         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21107 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21109         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
21110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
21111         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21112         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
21113         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21114         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
21115         index_Prefer_No_VZEROUPPER): New feature.
21116         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
21117         Prefer_No_VZEROUPPER for Knights Landing.
21119 015-12-18  Torvald Riegel  <triegel@redhat.com>
21121         * math/atest-exp2.c (mp_exp_m1): Remove.
21123 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21125         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
21126         syscalls.
21127         (__SYSCALL0): New macro.
21128         (__SYSCALL1): Likewise.
21129         (__SYSCALL2): Likewise.
21130         (__SYSCALL3): Likewise.
21131         (__SYSCALL4): Likewise.
21132         (__SYSCALL5): Likewise.
21133         (__SYSCALL6): Likewise.
21134         (__SYSCALL_CONCAT_X): Likewise.
21135         (__SYSCALL_CONCAT): Likewise.
21136         (__SYSCALL_DIST): Likewise.
21137         (__SYSCALL_CALL): Likewise.
21139 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
21141         [BZ #19363]
21142         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
21144 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21146         [BZ #19375]
21147         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
21148         negative subnormals.
21150 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
21152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21153         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
21154         (INTERNAL_SYSCALL_NCS): Use it.
21155         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21157 2015-12-16  Florian Weimer  <fweimer@redhat.com>
21159         [BZ #19243]
21160         * malloc/arena.c (get_free_list): Remove assert and adjust
21161         reference count handling.  Add comment about reused_arena
21162         interaction.
21163         (reused_arena): Add comments abount get_free_list interaction.
21164         * malloc/tst-malloc-thread-exit.c: New file.
21165         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
21166         (tst-malloc-thread-exit): Link against libpthread.
21168 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21170         [BZ #19367]
21171         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
21172         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
21173         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
21174         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
21175         (index_Prefer_MAP_32BIT_EXEC): Likewise.
21177 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21179         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
21180         Silvermont optimizations for Knights Landing.
21182 2015-12-15  Andreas Schwab  <schwab@suse.de>
21184         [BZ #17197]
21185         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
21186         immediately after emitting SI.
21187         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
21188         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
21189         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
21190         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
21191         * iconvdata/bug-iconv10.c: New file.
21192         * iconvdata/Makefile (tests): Add bug-iconv10.
21193         ($(objpfx)bug-iconv10.out): New rule.
21195 2015-12-15  Florian Weimer  <fweimer@redhat.com>
21197         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
21198         aliasing violation.
21200 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
21202         [BZ #18472]
21203         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
21204         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
21205         conditionals for them.
21206         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
21207         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
21208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
21209         sys/kdaemon.h.
21210         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
21211         compat-only syscall, obsoleted in glibc 2.23.
21212         (create_module): Likewise.
21213         (get_kernel_syms): Likewise.
21214         (query_module): Likewise.
21215         (uselib): Likewise.
21216         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
21218 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
21220         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
21221         <linux/version.h>.
21222         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
21223         conditional code.
21224         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
21225         and ioshift_name initialization.
21227 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21229         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21230         Fix indentation.
21232 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21234         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
21236 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21238         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
21240 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
21241             Jakub Wilk  <jwilk@debian.org>
21243         [BZ #19347]
21244         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
21245         to change the group of the device to the tty group.
21247 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
21249         Split large string section; add truncation advice
21250         * manual/examples/strncat.c: Remove.
21251         This example was misleading, as the code would have undefined
21252         behavior if "hello" was longer than SIZE.  Anyway, the manual
21253         shouldn't encourage strncpy+strncat for this sort of thing.
21254         * manual/string.texi (Copying Strings and Arrays): Split into
21255         three sections Copying Strings and Arrays, Concatenating Strings,
21256         and Truncating Strings, as this section was way too long.  All
21257         cross-referenced changed.  Add advice about string-truncation
21258         functions.  Remove misleading strncat example.
21260 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
21262         * manual/nss.texi (NSS Modules Interface): Document
21263         NSS_STATUS_NOTFOUND and SUCCESS.
21265 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21267         [BZ 18568]
21268         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21269         201505L, for Unicode 8.
21271 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
21273         * locale/C-translit.h: Regenerate.
21275 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21277         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
21278         and U+0153.
21280 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
21282         [BZ #19351]
21283         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
21284         expanding log(1+z), compare z rather than its square with epsilon
21285         to determine when to avoid evaluating the expansion.
21287         [BZ #19350]
21288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21289         Increase overflow threshold.
21291         [BZ #19349]
21292         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
21293         when small.
21295         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21296         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21297         New macro.
21298         [__LINUX_KERNEL_VERSION >= 0x040300]
21299         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21300         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21301         Likewise.
21302         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21303         Likewise.
21304         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21305         Likewise.
21306         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21307         Likewise.
21308         [__LINUX_KERNEL_VERSION >= 0x040300]
21309         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21310         [__LINUX_KERNEL_VERSION >= 0x040300]
21311         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21312         [__LINUX_KERNEL_VERSION >= 0x040300]
21313         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21314         [__LINUX_KERNEL_VERSION >= 0x040300]
21315         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21316         [__LINUX_KERNEL_VERSION >= 0x040300]
21317         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21319         Likewise.
21320         [__LINUX_KERNEL_VERSION >= 0x040300]
21321         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21323         Likewise.
21324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21325         Likewise.
21326         [__LINUX_KERNEL_VERSION >= 0x040300]
21327         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21328         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21329         Likewise.
21330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21331         Likewise.
21332         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21333         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
21334         Likewise.
21335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
21336         Likewise.
21337         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21338         Likewise.
21339         [__LINUX_KERNEL_VERSION >= 0x040300]
21340         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21341         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21342         Likewise.
21343         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21344         Likewise.
21345         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21346         Likewise.
21347         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21348         Likewise.
21349         [__LINUX_KERNEL_VERSION >= 0x040300]
21350         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21351         [__LINUX_KERNEL_VERSION >= 0x040300]
21352         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21353         [__LINUX_KERNEL_VERSION >= 0x040300]
21354         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21355         [__LINUX_KERNEL_VERSION >= 0x040300]
21356         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21357         [__LINUX_KERNEL_VERSION >= 0x040300]
21358         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21360         Likewise.
21361         [__LINUX_KERNEL_VERSION >= 0x040300]
21362         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21363         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21364         Likewise.
21365         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21366         Likewise.
21367         [__LINUX_KERNEL_VERSION >= 0x040300]
21368         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21369         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21370         Likewise.
21371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21372         Likewise.
21373         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21374         (__ASSUME_SOCKET_SYSCALL): Likewise.
21375         (__ASSUME_BIND_SYSCALL): Likewise.
21376         (__ASSUME_CONNECT_SYSCALL): Likewise.
21377         (__ASSUME_LISTEN_SYSCALL): Likewise.
21378         (__ASSUME_ACCEPT_SYSCALL): Likewise.
21379         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21380         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21381         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21382         (__ASSUME_SEND_SYSCALL): Likewise.
21383         (__ASSUME_SENDTO_SYSCALL): Likewise.
21384         (__ASSUME_RECV_SYSCALL): Likewise.
21385         (__ASSUME_RECVFROM_SYSCALL): Likewise.
21386         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
21387         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21388         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21389         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21390         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21391         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21392         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
21393         Likewise.
21394         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
21395         Likewise.
21396         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
21397         Likewise.
21398         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
21399         Likewise.
21400         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
21401         Likewise.
21402         [__LINUX_KERNEL_VERSION >= 0x020625]
21403         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21404         [__LINUX_KERNEL_VERSION >= 0x020625]
21405         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21406         [__LINUX_KERNEL_VERSION >= 0x020625]
21407         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21408         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
21409         Likewise.
21410         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
21411         Likewise.
21412         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
21413         Likewise.
21414         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
21415         Likewise.
21416         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
21417         Likewise.
21418         [__LINUX_KERNEL_VERSION >= 0x020625]
21419         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21420         [__LINUX_KERNEL_VERSION >= 0x020625]
21421         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21422         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
21423         Likewise.
21424         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
21425         Likewise.
21427 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21429         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
21430         record the current if the current ABI and CPU support the FP64
21431         extension.
21432         (has-modd-spreg): Define to record the current if the current ABI and
21433         CPU support 32-bit floating point values in odd FPU registers.
21434         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21435         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
21436         $(has-modd-spreg) equals yes.
21437         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
21438         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
21439         $(has-modd-spreg) equal yes.
21441 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21443         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
21444         basename.
21446 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
21448         * benchtests/Makefile (bench-math): Move ffs and ffsll...
21449         (bench-string): ... here.
21450         (bench): Add bench-string.
21451         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
21452         to *-benchset to reflect what they are.
21453         (benchset): Adjust.
21455         * benchtests/sincos-inputs: Add inputs from sin-inputs and
21456         cos-inputs.
21458 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
21460         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
21461         __attribute__ ((__simd__)) for vector math function declarations.
21463 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21465         Fix typo in strncat, wcsncat manual entries
21466         * manual/string.texi (Copying and Concatenation): Fix typos in
21467         sample implementations of strncat and wcsncat, by having them use
21468         the old value of the destination length, not the new one.
21470 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
21472         [BZ #16961]
21473         [BZ #16962]
21474         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
21475         string on the stack for strtod.
21476         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
21477         a string on the stack for strtof.
21478         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
21479         constructing a string on the stack for strtold.
21480         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
21481         __strtold_nan to GLIBC_PRIVATE.
21482         * math/test-nan-overflow.c: New file.
21483         * math/test-nan-payload.c: Likewise.
21484         * math/Makefile (tests): Add test-nan-overflow and
21485         test-nan-payload.
21487 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21489         Consistency about byte vs character in string.texi
21490         * manual/string.texi (String and Array Utilities):
21491         Distinguish more carefully among bytes, multibyte characters,
21492         and wide characters.  Use "byte" when talking about C 'char',
21493         to distinguish it more clearly from multibyte characters.
21494         Say "wide character" or "multibyte character" instead of
21495         "character", when a wide or multibyte character is intended.
21496         Similarly for "multibyte string" versus "string".
21497         Define these terms more carefully.
21499 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
21501         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
21502         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
21503         Likewise.
21504         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21505         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21506         * sysdeps/sh/math_private.h: New file.
21507         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
21508         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
21509         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
21510         long double function name.
21511         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21512         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21513         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21514         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21515         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21517         Remove __finitel, __isinfl, and __isnanl.
21518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21519         Likewise.
21520         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21522         Remove __finitel.
21523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21524         Likewise.
21525         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21527 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
21529         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
21530         installed libmvec_nonshared.a.
21532 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21534         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
21535         (sysdep_routines): Likewise.
21536         (sysdep-rtld-routines): Likewise.
21537         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
21538         [$(subdir) = nptl](tests-static): test-get_hwcap-static
21539         * sysdeps/powerpc/Versions: Added new
21540         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
21541         * sysdeps/powerpc/hwcapinfo.c: New file.
21542         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
21543         and parse hwcap, hwcap2 and platform number information.
21544         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
21545         to store HWCAP+HWCAP2 and platform number.
21546         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
21547         for HWCAP+HWCAP2 and platform number in the TCB.
21548         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
21549         the HWCAP, HWCAP2 and platform number in the TCB.
21550         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
21551         (TLS_INIT_TP): Included calls to add the hwcap and
21552         at_platform values in the TCB in TP initialization.
21553         (TLS_DEFINE_INIT_TP): Likewise.
21554         (THREAD_GET_HWCAP): New macro.
21555         (THREAD_SET_HWCAP): Likewise.
21556         (THREAD_GET_AT_PLATFORM): Likewise.
21557         (THREAD_SET_AT_PLATFORM): Likewise.
21558         * sysdeps/powerpc/powerpc32/dl-machine.h:
21559         (dl_platform_init): New function that calls
21560         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
21561         powerpc32.
21562         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
21563         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
21564         this functionality, static linking case.
21565         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
21566         linking case.
21567         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
21568         __parse_hwcap_and_convert_at_platform for the static linking case.
21569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
21570         Included the new __parse_hwcap_and_convert_at_platform symbol in the
21571         ABI list for GLIBC 2.23.
21572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
21573         Likewise.
21574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
21575         Likewise.
21577 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
21579         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
21580         * configure: Regenerate.
21581         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
21582         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
21584 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
21586         * iconvdata/ibm930.c: Add comment explaining encoding uses.
21587         * iconvdata/ibm933.c: Likewise.
21588         * iconvdata/ibm935.c: Likewise.
21589         * iconvdata/ibm937.c: Likewise.
21590         * iconvdata/ibm939.c: Likewise.
21592 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21594         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
21595         pthread_join.
21596         * nptl/tst-cancel21.c (tf): Likewise.
21598 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21600         [BZ #19313]
21601         * bits/typesizes.h (__CPU_MASK_TYPE): New.
21602         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21603         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21604         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
21605         Likewise.
21606         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
21607         Likewise.
21608         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
21609         Likewise.
21610         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
21611         Likewise.
21612         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
21613         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
21614         unsigned long int with __CPU_MASK_TYPE.
21616 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21618         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21620 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
21622         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
21623         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
21624         t512.x.
21625         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
21627 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
21629         [BZ #19214]
21630         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
21631         argument to return extended model.  Update family and model
21632         with extended family and model when family == 0x0f.
21633         (init_cpu_features): Updated.
21635 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21637         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
21638         signed off_t, so 32bit bigger than 2GiB values are fine actually.
21640         * sysdeps/mach/hurd/mmap64.c: New file.
21642 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
21644         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
21645         rights for its main user thread in NEWTASK.
21647 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
21649         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
21650         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
21652 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
21654         [BZ #14259]
21655         * Makeconfig: Rename localedir to complocaledir.
21656         Rename inst_localedir to inst_complocaledir.
21657         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
21658         * config.make.in: Use complocaledir and libc_cv_complocaledir.
21659         * configure.ac: Use libc_cv_complocaledir.
21660         * configure: Regenerate.
21661         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
21662         -DCOMPLOCALEDIR.
21663         * locale/findlocale.c: Use COMPLOCALEDIR.
21664         * locale/loadarchive.c: Likewise.
21665         * locale/programs/locale.c: Likewise.
21666         * locale/programs/localedef.c: Likewise.
21667         * locale/programs/locarchive.c: Likewise.
21668         * localedata/Makefile: Use inst_complocaledir.
21669         * sysdeps/gnu/configure: Regenerate.
21670         * sysdeps/hppa/configure: Regenerate.
21671         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21672         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21674         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21675         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21676         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21677         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21679 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
21681         [BZ #19058]
21682         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
21683         AS_NEEDED.
21684         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
21685         workaround.
21686         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
21687         libmvec-static-only-routines): Added new file.
21688         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
21690 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21692         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
21693         of interrupted RPC instead of restoring it.
21695         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
21696         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
21697         libc_hidden_def.
21698         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
21699         into initialized data instead of common. Define rtld_hidden_data_def.
21700         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
21701         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
21702         libc_hidden_def.
21703         (if_freenameindex): Add libc_hidden_weak.
21704         (if_nameindex): Add libc_hidden_weak.
21705         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
21706         __open64.
21707         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
21708         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
21709         * sysdeps/mach/nanosleep.c: Include <time.h>
21710         (__nanosleep): Rename to __libc_nanosleep.
21711         (__nanosleep): Add weak_alias.
21712         (nanosleep): Update alias.
21714 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
21716         * stdlib/strtod_nan.c: New file.
21717         * stdlib/strtod_nan_double.h: Likewise.
21718         * stdlib/strtod_nan_float.h: Likewise.
21719         * stdlib/strtod_nan_main.c: Likewise.
21720         * stdlib/strtod_nan_narrow.h: Likewise.
21721         * stdlib/strtod_nan_wide.h: Likewise.
21722         * stdlib/strtof_nan.c: Likewise.
21723         * stdlib/strtold_nan.c: Likewise.
21724         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
21725         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
21726         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
21727         * wcsmbs/wcstod_nan.c: Likewise.
21728         * wcsmbs/wcstof_nan.c: Likewise.
21729         * wcsmbs/wcstold_nan.c: Likewise.
21730         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
21731         strtold_nan.
21732         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
21733         wcstof_nan.
21734         * include/stdlib.h (__strtof_nan): Declare and use
21735         libc_hidden_proto.
21736         (__strtod_nan): Likewise.
21737         (__strtold_nan): Likewise.
21738         (__wcstof_nan): Likewise.
21739         (__wcstod_nan): Likewise.
21740         (__wcstold_nan): Likewise.
21741         * include/wchar.h (____wcstoull_l_internal): Declare.
21742         * stdlib/strtod_l.c: Do not include <ieee754.h>.
21743         (____strtoull_l_internal): Remove declaration.
21744         (STRTOF_NAN): Define macro.
21745         (SET_MANTISSA): Remove macro.
21746         (STRTOULL): Likewise.
21747         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
21748         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
21749         (STRTOF_NAN): Define macro.
21750         (SET_MANTISSA): Remove macro.
21751         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
21752         (SET_MANTISSA): Remove macro.
21753         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
21754         macro.
21755         (SET_MANTISSA): Remove macro.
21756         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
21757         macro.
21758         (SET_MANTISSA): Remove macro.
21759         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
21760         (SET_MANTISSA): Remove macro.
21761         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
21762         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
21763         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
21765         [BZ #19266]
21766         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
21767         upper case and lower case letters inside NAN(), not using TOLOWER.
21768         * stdlib/tst-strtod-nan-locale-main.c: New file.
21769         * stdlib/tst-strtod-nan-locale.c: Likewise.
21770         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
21771         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
21772         Depend on $(gen-locales).
21773         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
21774         * wcsmbs/tst-wcstod-nan-locale.c: New file.
21775         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
21776         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
21777         Depend on $(gen-locales).
21778         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
21780 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
21782         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
21784         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
21786         __finitel, __isinfl, and __isnanl.
21787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21788         Likewise.
21789         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
21791         __finitel.
21792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21793         Likewise.
21794         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21796 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21798         * malloc/memusage.c (me): Remove redundant getenv call.
21800 2015-10-24  Florian Weimer  <fweimer@redhat.com>
21802         [BZ #19143]
21803         [BZ #19164]
21804         * nptl/check-cpuset.h: Remove.
21805         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21806         Remove CPU set size check.
21807         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21808         Likewise.
21809         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
21810         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21811         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
21812         (__pthread_setaffinity_new): Remove CPU set size check.
21813         * sysdeps/unix/sysv/linux/sched_setaffinity.c
21814         (__kernel_cpumask_size): Remove.
21815         (__sched_setaffinity_new): Remove CPU set size check.
21816         * manual/threads.texi (Default Thread Attributes): Remove stale
21817         reference to check_cpuset_attr, determine_cpumask_size in comment.
21818         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
21819         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
21820         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
21821         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
21822         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
21823         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
21824         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
21825         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
21826         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
21827         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
21828         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
21829         skeleton test file.
21830         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
21831         tst-affinity-pid.
21833 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21835         * scripts/update-abilist.sh: New file.
21836         * Makefile (+subdir_targets): Add subdir_update-all-abi.
21837         * Makerules (update-all-abi-%, update-all-abi)
21838         (subdir_update-all-abi): New targets.
21839         * elf/Makefile (update-all-abi): New target.
21841 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21843         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
21844         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
21845         (__libc_lock_define_initialized): Use it.
21846         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
21847         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
21848         * malloc/malloc.c (main_arena): Likewise.
21849         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21850         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21852 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
21854         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21855         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
21856         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21857         (PTRACE_O_MASK): Update value.
21858         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
21859         New value in enum __ptrace_setoptions.
21860         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21861         (PTRACE_O_MASK): Update value.
21862         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21863         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21864         (PTRACE_O_MASK): Update value.
21865         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
21866         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21867         (PTRACE_O_MASK): Update value.
21868         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
21869         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21870         (PTRACE_O_MASK): Update value.
21871         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
21872         New value in enum __ptrace_setoptions.
21873         (PTRACE_O_MASK): Update value.
21874         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
21875         New value in enum __ptrace_setoptions.
21876         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21877         (PTRACE_O_MASK): Update value.
21879         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
21880         New macro.
21881         (PACKET_AUXDATA): Likewise.
21882         (PACKET_ORIGDEV): Likewise.
21883         (PACKET_VERSION): Likewise.
21884         (PACKET_HDRLEN): Likewise.
21885         (PACKET_RESERVE): Likewise.
21886         (PACKET_TX_RING): Likewise.
21887         (PACKET_LOSS): Likewise.
21888         (PACKET_VNET_HDR): Likewise.
21889         (PACKET_TX_TIMESTAMP): Likewise.
21890         (PACKET_TIMESTAMP): Likewise.
21891         (PACKET_FANOUT): Likewise.
21892         (PACKET_TX_HAS_OFF): Likewise.
21893         (PACKET_QDISC_BYPASS): Likewise.
21894         (PACKET_ROLLOVER_STATS): Likewise.
21895         (PACKET_FANOUT_DATA): Likewise.
21896         (PACKET_MR_UNICAST): Likewise.
21898         [BZ #19242]
21899         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
21900         (TOUPPER): Likewise.
21901         * stdlib/tst-strtol-locale-main.c: New file.
21902         * stdlib/tst-strtol-locale.c: Likewise.
21903         * stdlib/Makefile (tests): Add tst-strtol-locale.
21904         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
21905         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
21906         Depend on $(gen-locales).
21907         * wcsmbs/tst-wcstol-locale.c: New file.
21908         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
21909         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
21910         tr_TR.ISO-8859-9.
21911         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
21912         Depend on $(gen-locales).
21914 2015-11-20  Roland McGrath  <roland@hack.frob.com>
21916         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
21917         __glibc_likely instead of __builtin_expect.  After falling back to
21918         dyncode_create in a non-ET_DYN case, use the allocate_code_data
21919         system interface to register the code pages as occupied.
21921 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
21923         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21924         [!ARM_MATH_PRIVATE_H].
21925         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
21926         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21927         [!HPPA_MATH_PRIVATE_H].
21928         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
21929         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
21930         to [!I386_MATH_PRIVATE_H].
21931         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
21932         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
21933         Change guard to [!M68K_MATH_PRIVATE_H].
21934         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
21935         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
21936         guard to [!MICROBLAZE_MATH_PRIVATE_H].
21937         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
21938         macro.
21939         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21940         [!MIPS_MATH_PRIVATE_H].
21941         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
21942         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21943         [!NIO2_MATH_PRIVATE_H].
21944         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
21945         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21946         [!TILE_MATH_PRIVATE_H].
21947         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
21949         [BZ #15421]
21950         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
21951         initialize with 0 and define as weak alias of __signgam.
21952         * include/math.h [!_ISOMAC] (__signgam): Declare.
21953         * math/Makefile (libm-calls): Add w_lgamma_compat.
21954         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
21955         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
21956         test-signgam-ullong-init.
21957         (tests-static): Add test-signgam-uchar-static,
21958         test-signgam-uchar-init-static, test-signgam-uint-static,
21959         test-signgam-uint-init-static, test-signgam-ullong-static and
21960         test-signgam-ullong-init-static.
21961         (CFLAGS-test-signgam-uchar.c): New variable.
21962         (CFLAGS-test-signgam-uchar-init.c): Likewise.
21963         (CFLAGS-test-signgam-uchar-static.c): Likewise.
21964         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21965         (CFLAGS-test-signgam-uint.c): Likewise.
21966         (CFLAGS-test-signgam-uint-init.c): Likewise.
21967         (CFLAGS-test-signgam-uint-static.c): Likewise.
21968         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21969         (CFLAGS-test-signgam-ullong.c): Likewise.
21970         (CFLAGS-test-signgam-ullong-init.c): Likewise.
21971         (CFLAGS-test-signgam-ullong-static.c): Likewise.
21972         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21973         * math/Versions (libm): Add GLIBC_2.23.
21974         * math/lgamma-compat.h: New file.
21975         * math/test-signgam-main.c: Likewise.
21976         * math/test-signgam-uchar-init-static.c: Likewise.
21977         * math/test-signgam-uchar-init.c: Likewise.
21978         * math/test-signgam-uchar-static.c: Likewise.
21979         * math/test-signgam-uchar.c: Likewise.
21980         * math/test-signgam-uint-init-static.c: Likewise.
21981         * math/test-signgam-uint-init.c: Likewise.
21982         * math/test-signgam-uint-static.c: Likewise.
21983         * math/test-signgam-uint.c: Likewise.
21984         * math/test-signgam-ullong-init-static.c: Likewise.
21985         * math/test-signgam-ullong-init.c: Likewise.
21986         * math/test-signgam-ullong-static.c: Likewise.
21987         * math/test-signgam-ullong.c: Likewise.
21988         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
21989         wrapper of w_lgamma_main.c.
21990         * math/w_lgamma_compat.c: New file.
21991         * math/w_lgamma_compatf.c: Likewise.
21992         * math/w_lgamma_compatl.c: Likewise.
21993         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
21994         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21995         defining compatibility symbols.
21996         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
21997         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
21998         wrapper of w_lgammaf_main.c.
21999         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
22000         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22001         defining compatibility symbols.
22002         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
22003         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
22004         wrapper of w_lgammal_main.c.
22005         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
22006         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22007         defining compatibility symbols.
22008         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
22009         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22010         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22011         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
22012         <lgamma-compat.h>.
22013         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
22014         (__ieee754_gamma): Define as alias.
22015         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22016         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
22017         <lgamma-compat.h>.
22018         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
22019         (__ieee754_gammaf): Define as alias.
22020         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22021         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
22022         <lgamma-compat.h>.
22023         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
22024         (__ieee754_gammal): Define as alias.
22025         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22026         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
22027         <math/w_lgamma_compat.c>.
22028         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22029         Define as alias of __lgamma_compat and use in defining lgammal.
22030         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22031         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
22032         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22033         (USE_AS_COMPAT): New macro.
22034         (LGAMMA_OLD_VER): Undefine and redefine.
22035         (lgammal): Do not define here.
22036         (gammal): Only define here if [GAMMA_ALIAS].
22037         * conform/linknamespace.pl (@whitelist): Remove signgam.
22038         * sysdeps/nacl/libm.abilist: Update.
22039         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22040         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22041         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22042         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22043         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22044         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22045         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22046         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22047         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22048         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22049         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22050         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22052         Likewise.
22053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22054         Likewise.
22055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22056         Likewise.
22057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22058         Likewise.
22059         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22060         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22061         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22062         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22063         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22065         Likewise.
22066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22067         Likewise.
22068         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22069         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22070         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22072 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22074         [BZ #16364]
22075         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
22076         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
22078 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22080         * sysdeps/s390/fpu/bits/mathinline.h:
22081         Use __asm__ [__volatile__] instead of asm [volatile].
22082         * sysdeps/s390/abort-instr.h: Likewise.
22083         * sysdeps/s390/atomic-machine.h: Likewise.
22084         * sysdeps/s390/bits/string.h: Likewise.
22085         * sysdeps/s390/dl-tls.h: Likewise.
22086         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22087         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22088         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22089         * sysdeps/s390/fpu/fesetround.c: Likewise.
22090         * sysdeps/s390/fpu/fpu_control.h: Likewise.
22091         * sysdeps/s390/fpu/s_fma.c: Likewise.
22092         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
22093         * sysdeps/s390/memusage.h: Likewise.
22094         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
22095         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
22096         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
22097         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
22098         * sysdeps/s390/nptl/tls.h: Likewise.
22099         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
22100         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22101         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22102         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
22103         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22104         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22105         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
22106         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22107         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22108         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
22109         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
22110         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22111         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22112         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
22113         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22114         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22115         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
22116         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22117         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
22118         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22119         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
22120         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22121         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
22123 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22124             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22126         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22127         Add lwarx hint, and use macro for acquire instruction.
22128         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22129         Likewise.
22130         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
22131         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
22132         update to use new atomic macros.
22134 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22136         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22137         (__lll_trylock_elision): Fix setting of adapt_count.
22138         * sysdeps/unix/sysv/linux/powerpc/htm.h
22139         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
22140         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
22141         (_ABORT_SYSCALL): Renumber, and clarify definition.
22142         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
22144 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22146         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
22147         after system headers to prevent MIN/MAX redefinition.  Define
22148         HAVE_ALLOCA to preserve builtin alloca usage.
22150 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22152         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
22153         static and don't set or restore rounding.
22154         (__cos)[IN_SINCOS]: Likewise.
22155         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
22156         (__sincos): Set and restore rounding mode.  Remove check for infinite
22157         or NaN input.
22159         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
22161         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
22162         as used.
22164 2015-11-16  Florian Weimer  <fweimer@redhat.com>
22166         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
22168 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22170         * config.make.in (have-glob-dat-reloc): New.
22171         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
22172         target supports GLOB_DAT relocaton. AC_SUBST.
22173         * configure: Regenerated.
22174         * elf/Makefile (tests): Add tst-prelink.
22175         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22176         (tst-prelink-ENV): New.
22177         ($(objpfx)tst-prelink-conflict.out): Likewise.
22178         ($(objpfx)tst-prelink-cmp.out): Likewise.
22179         * sysdeps/x86/tst-prelink.c: Moved to ...
22180         * elf/tst-prelink.c: Here.
22181         * sysdeps/x86/tst-prelink.exp: Moved to ...
22182         * elf/tst-prelink.exp: Here.
22183         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
22184         (tst-prelink-ENV): Removed.
22185         ($(objpfx)tst-prelink-conflict.out): Likewise.
22186         ($(objpfx)tst-prelink-cmp.out): Likewise.
22187         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
22189 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
22191         [BZ #14551]
22192         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
22193         (__mpn_construct_long_double): If high part overflows to infinity,
22194         set errno and recompute overflowed result of the correct sign.
22195         * sysdeps/ieee754/ldbl-128ibm/Makefile
22196         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
22197         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
22198         $(libm).
22199         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
22201 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
22203         [BZ #15479]
22204         [BZ #19238]
22205         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
22206         floating-point state after first operation on input.  Restore full
22207         state rather than just rounding mode.
22208         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
22209         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
22210         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
22212         [BZ #19235]
22213         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
22214         add 0.5 to integer arguments.
22215         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
22216         Likewise.
22217         (.LC2): New object.
22219 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
22221         * scripts/pylintrc (reports): Set to no.
22223 2015-11-10  Roland McGrath  <roland@hack.frob.com>
22225         * elf/dl-load.c (open_verify): Take new argument FD.
22226         Skip __open call if passed FD is not -1.
22227         (_dl_map_object, open_path): Update callers.
22228         * elf/dl-sysdep-open.h: New file.
22229         * elf/dl-load.c: Include it.
22230         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
22231         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
22232         * sysdeps/nacl/dl-sysdep-open.h: New file.
22233         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
22234         from libc to rtld.
22236 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22238         [BZ #19228]
22239         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
22240         and restore full floating-point state.
22241         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22242         Likewise.
22243         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
22244         Likewise.
22245         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
22246         Likewise.
22247         * math/test-nearbyint-except-2.c: New file.
22248         * math/Makefile (tests): Add test-nearbyint-except-2.
22250 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
22252         [BZ #19178]
22253         * sysdeps/x86/Makefile (tests): Add tst-prelink.
22254         (tst-prelink-ENV): New.
22255         ($(objpfx)tst-prelink-conflict.out): Likewise.
22256         ($(objpfx)tst-prelink-cmp.out): Likewise.
22257         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22258         * sysdeps/x86/tst-prelink.c: New file.
22259         * sysdeps/x86/tst-prelink.exp: Likewise.
22261 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22263         * math/auto-libm-test-in: Add another test of pow.
22264         * math/auto-libm-test-out: Regenerated.
22265         * math/libm-test.inc (pow_test_data): Add another test.
22267 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22269         [BZ #19219]
22270         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
22271         weak_alias to nearbyintl.
22273 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22275         * sysdeps/aarch64/bits/string.h: New file.
22276         (_STRING_ARCH_unaligned): Define.
22278 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22280         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
22281         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22282         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22283         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
22284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
22286 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
22288         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
22289         for original name of the DSO.  Add it to the name list of the DSO
22290         if it is actually given.
22291         (_dl_map_object): Keep track of whether an audit module rewrote
22292         the file name.  If yes, pass the original name to
22293         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
22294         debugging is enabled, log the change of the file name.
22295         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
22296         _dl_map_object_from_fd.
22297         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
22298         * elf/tst-audit11.c: New file
22299         * elf/tst-auditmod11.c: New file.
22300         * elf/tst-audit11mod1.c: New file.
22301         * elf/tst-audit11mod2.c: New file.
22302         * elf/tst-audit11mod2.map: New file.
22303         * elf/tst-audit12.c: New file
22304         * elf/tst-auditmod12.c: New file.
22305         * elf/tst-audit12mod1.c: New file.
22306         * elf/tst-audit12mod2.c: New file.
22307         * elf/tst-audit12mod2.map: New file.
22308         * elf/tst-audit12mod3.c: New file.
22310 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22312         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
22313         Don't create weak aliases,
22314         because versioned symbols are created later.
22315         * sysdeps/s390/s390-32/setjmp.S
22316         (setjmp, _setjmp): Remove weak and rename to an unique name
22317         in SHARED case due to existing versioned symbols.
22318         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22319         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
22320         (getcontext): Create weak alias only in non SHARED case.
22321         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22323 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22325         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
22326         (__ASSUME_*_SYSCALL) Define new macros.
22327         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
22328         Remove socketcall syscalls.
22329         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
22330         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
22331         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
22332         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
22333         * sysdeps/unix/sysv/linux/send.c (__libc_send):
22334         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
22336 2015-11-09  Florian Weimer  <fweimer@redhat.com>
22338         [BZ #12926]
22339         Terminate process on invalid netlink response.
22340         * sysdeps/unix/sysv/linux/netlinkaccess.h
22341         (__netlink_assert_response): Declare.
22342         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
22343         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
22344         (sysdep_routines): Add netlink_assert_response.
22345         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
22346         __netlink_assert_response.
22347         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
22348         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
22349         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
22350         __netlink_assert_response.
22352 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22354         [BZ #19178]
22355         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
22356         (RTYPE_CLASS_PLT): Likewise.
22357         (RTYPE_CLASS_COPY): Likewise.
22358         (RTYPE_CLASS_TLS): Likewise.
22359         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
22360         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
22361         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
22362         DL_DEBUG_PRELINK.
22364 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
22366         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
22367         calls with argument -0.5.
22368         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
22370         * configure.ac (libc_cv_z_nodelete): Remove configure test.
22371         (libc_cv_z_nodlopen): Likewise.
22372         (libc_cv_z_initfirst): Likewise.
22373         * configure: Regenerated.
22375 2015-11-06  Florian Weimer  <fweimer@redhat.com>
22377         Simplify abilist format to be line-based.
22378         * scripts/abilist.awk: Collect descriptors in the descs variable.
22379         (emit): Write descs variable and sort it
22380         externally, with sort.
22381         * sysdeps/**/*.abilist: Convert to new format.
22383 2015-11-06  Mark Wielaard  <mjw@redhat.com>
22385         [BZ #11460]
22386         * io/Makefile (routines): Add fts64.
22387         (tests): Add tst-fts and tst-fts-lfs.
22388         (CFLAGS-fts64.c): New.
22389         * io/Versions (GLIBC_2.23): New.
22390         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
22391         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
22392         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
22393         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
22394         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
22395         (FTSENT64): Likewise.
22396         (fts64_children): Likewise.
22397         (fts64_close): Likewise.
22398         (fts64_open): Likewise.
22399         (fts64_read): Likewise.
22400         (fts64_set): Likewise.
22401         * io/fts64.c: New file.
22402         * io/tst-fts.c: New test.
22403         * io/tst-fts-lfs.c: Likewise.
22404         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
22405         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
22406         fts64_set.
22407         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22408         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22409         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22410         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22411         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22412         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22413         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22414         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22415         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22416         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
22417         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22418         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22419         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22421         Likewise.
22422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22423         Likewise.
22424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
22425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
22426         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22427         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22428         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22429         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22430         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
22432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
22433         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22434         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22435         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22436         * sysdeps/wordsize-64/fts.c: New file.
22437         * sysdeps/wordsize-64/fts64.c: Likewise.
22438         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
22439         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
22440         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
22441         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
22443 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22445         * math/libm-test.inc (NON_FINITE): New macro.
22446         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
22447         * math/gen-libm-test.pl (show_exceptions): Add argument
22448         $non_finite.
22449         (parse_args): Update call to show_exceptions.
22450         * math/test-math-finite.h: New file.
22451         * math/test-math-no-finite.h: Likewise.
22452         * math/test-double-finite.c: Likewise.
22453         * math/test-float-finite.c: Likewise.
22454         * math/test-ldouble-finite.c: Likewise.
22455         * math/test-double.c: Include "test-math-no-finite.h".
22456         * math/test-float.c: Include "test-math-no-finite.h".
22457         * math/test-ldouble.c: Include "test-math-no-finite.h".
22458         * math/test-math-inline.h (TEST_FINITE): New macro.
22459         * math/test-math-vector.h (TEST_FINITE): Likewise.
22460         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
22461         (libm-tests): Add test-float-finite and test-double-finite.
22462         ($(objpfx)test-float-finite.o): New dependency on
22463         $(objpfx)libm-test.stmp.
22464         ($(objpfx)test-double-finite.o): Likewise.
22465         ($(objpfx)test-ldouble-finite.o): Likewise.
22466         (libm-test-no-inline-cflags): New variable.
22467         (libm-test-finite-cflags): Likewise.
22468         (CFLAGS-test-float-finite.c): Likewise.
22469         (CFLAGS-test-double-finite.c): Likewise.
22470         (CFLAGS-test-ldouble-finite.c): Likewise.
22471         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
22472         (CFLAGS-test-double.c): Likewise.
22473         (CFLAGS-test-ldouble.c): Likewise.
22475 2015-11-05  Roland McGrath  <roland@hack.frob.com>
22477         * io/fcntl.c (__fcntl): Add ... to prototype.
22478         * misc/ioctl.c (__ioctl): Likewise.
22479         * misc/syscall.c (syscall): Likewise.
22481 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22483         * scripts/list-fixed-bugs.py: New file.
22485         [BZ #19213]
22486         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
22487         returned for argument 1.
22488         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
22489         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
22490         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
22491         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
22492         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
22493         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
22495         [BZ #19211]
22496         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
22497         __USE_XOPEN], not if [!__USE_ISOC99].
22498         (lgammaf): Likewise.
22499         (lgammal): Likewise.
22500         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
22501         (gammaf): Likewise.
22502         (gammal): Likewise.
22503         * math/test-signgam-finite-c11.c: New file.
22504         * math/test-signgam-finite-c99.c: Likewise.
22505         * math/test-signgam-finite.c: Likewise.
22506         * math/Makefile (tests): Add test-signgam-finite,
22507         test-signgam-finite-c99 and test-signgam-finite-c11.
22508         (CFLAGS-test-signgam-finite.c): New variable.
22509         (CFLAGS-test-signgam-finite-c99.c): Likewise.
22510         (CFLAGS-test-signgam-finite-c11.c): Likewise.
22512         [BZ #19212]
22513         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
22514         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
22515         500].
22516         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
22517         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
22518         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
22519         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
22520         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
22521         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
22522         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
22523         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
22524         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
22525         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
22527         [BZ #19209]
22528         * math/bits/math-finite.h (ldexp): Remove declaration.
22529         (ldexpf): Likewise.
22530         (ldexpl): Likewise.
22532         [BZ #19205]
22533         * math/bits/math-finite.h (acosf): Condition declaration on
22534         [__USE_ISOC99].
22535         (acosl): Likewise.
22536         (acoshf): Likewise.
22537         (acoshl): Likewise.
22538         (asinf): Likewise.
22539         (asinl): Likewise.
22540         (atan2f): Likewise.
22541         (atan2l): Likewise.
22542         (atanhf): Likewise.
22543         (atanhl): Likewise.
22544         (coshf): Likewise.
22545         (coshl): Likewise.
22546         (expf): Likewise.
22547         (expl): Likewise.
22548         (fmodf): Likewise.
22549         (fmodl): Likewise.
22550         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
22551         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
22552         (j0l): Likewise.
22553         (y0f): Likewise.
22554         (y0l): Likewise.
22555         (j1f): Likewise.
22556         (j1l): Likewise.
22557         (y1f): Likewise.
22558         (y1l): Likewise.
22559         (jnf): Likewise.
22560         (jnl): Likewise.
22561         (ynf): Likewise.
22562         (ynl): Likewise.
22563         (lgammaf_r): Condition declaration on [__USE_ISOC99].
22564         (lgammal_r): Likewise.
22565         (__lgamma_r_finite): New declaration.
22566         (__lgammaf_r_finite): Likewise.
22567         (__lgammal_r_finite): Likewise.
22568         (lgamma): Use __lgamma_r_finite.
22569         (lgammaf): Condition definition on [__USE_ISOC99].  Use
22570         __lgammaf_r_finite.
22571         (lgammal): Condition definition on [__USE_ISOC99].  Use
22572         __lgammal_r_finite.
22573         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
22574         __lgamma_r_finite.
22575         (gammaf): Condition definition on [__USE_ISOC99].  Use
22576         __lgammaf_r_finite.
22577         (gammal): Condition definition on [__USE_ISOC99].  Use
22578         __lgammal_r_finite.
22579         (logf): Condition declaration on [__USE_ISOC99].
22580         (logl): Likewise.
22581         (log10f): Likewise.
22582         (log10l): Likewise.
22583         (ldexpf): Likewise.
22584         (ldexpl): Likewise.
22585         (powf): Likewise.
22586         (powl): Likewise.
22587         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
22588         __USE_ISOC99].
22589         (remainderf): Condition declaration on [__USE_ISOC99].
22590         (remainderl): Likewise.
22591         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
22592         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
22593         (scalbl): Likewise.
22594         (sinhf): Condition declaration on [__USE_ISOC99].
22595         (sinhl): Likewise.
22596         (sqrtf): Likewise.
22597         (sqrtl): Likewise.
22599 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22601         * sysdeps/arm/atomic-machine.h
22602         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22603         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22604         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
22605         Remove conditional code.
22606         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22607         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22608         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
22609         Change conditional to [__ASSEMBLER__].
22610         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22611         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
22612         [!__ASSEMBLER__].
22613         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
22614         code.
22615         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
22616         conditional macro definitions.
22617         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
22618         (__arch_compare_and_exchange_val_16_acq): Likewise.
22619         (__arch_compare_and_exchange_val_32_acq): Likewise.
22620         (atomic_exchange_and_add): Likewise.
22621         (atomic_add): Likewise.
22622         (atomic_add_negative): Likewise.
22623         (atomic_add_zero): Likewise.
22624         (atomic_bit_set): Likewise.
22625         (atomic_bit_test_set): Likewise.
22626         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
22627         code unconditional.
22628         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22630         * math/test-math-errno.h: New file.
22631         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
22632         empty.
22633         (TEST_ERRNO): New macro.
22634         (TEST_EXCEPTIONS): Likewise.
22635         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
22636         (TEST_EXCEPTIONS): Likewise.
22637         * math/test-math-vector.h (TEST_ERRNO): Likewise.
22638         * math/test-double.c: Include "test-math-errno.h".
22639         * math/test-float.c: Likewise.
22640         * math/test-ldouble.c: Likewise.
22641         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
22642         code unconditional.
22643         (test_exceptions): Only run code if TEST_EXCEPTIONS.
22644         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
22645         unconditional.
22646         (test_errno): Only run code if TEST_ERRNO.
22647         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
22649 2015-11-04  Florian Weimer  <fweimer@redhat.com>
22651         * nptl/tst-once5.cc: Remove attribution.
22653 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22655         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
22656         sqrt, tan, tanh, y0, y1 and yn.
22657         * math/auto-libm-test-out: Regenerated.
22658         * math/libm-test.inc (scalb_test_data): Add more tests.
22659         (scalbn_test_data): Likewise.
22660         (scalbln_test_data): Likewise.
22661         (signbit_test_data): Likewise.
22662         (sin_test_data): Likewise.
22663         (sincos_test_data): Likewise.
22664         (sinh_test_data): Likewise.
22665         (sqrt_test_data): Likewise.
22666         (tan_test_data): Likewise.
22667         (tanh_test_data): Likewise.
22668         (tgamma_test_data): Likewise.
22669         (y0_test_data): Likewise.
22670         (y1_test_data): Likewise.
22671         (yn_test_data): Likewise.
22672         (significand_test_data): Likewise.
22673         * sysdeps/i386/fpu/libm-test-ulps: Update.
22675 2015-11-03  David Kastrup  <dak@gnu.org>
22677         [BZ #18604]
22678         * assert/assert.h (assert): Don't macro-expand failed assertion
22679         expression in error message.
22680         * malloc/malloc.c (assert): Likewise.
22682 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
22684         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
22685         test.
22686         * configure: Regenerated.
22688 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
22690         * math/libm-test.inc (modf_test_data): Add more tests.
22691         (nearbyint_test_data): Likewise.
22692         (nextafter_test_data): Likewise.
22693         (nexttoward_test_data): Likewise.
22694         (pow_test_data): Likewise.
22695         (remainder_test_data): Likewise.
22696         (remquo_test_data): Likewise.
22697         (rint_test_data): Likewise.
22699         [BZ #19201]
22700         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22701         Check for zero remainder in case of large exponents and ensure
22702         correct sign of result in that case.
22703         * math/libm-test.inc (remainder_test_data): Add more tests.
22705         [BZ #6799]
22706         * math/s_nextafter.c: Include <errno.h>.
22707         (__nextafter): Set errno on overflow and underflow.
22708         * math/s_nexttowardf.c: Include <errno.h>.
22709         (__nexttowardf): Set errno on overflow and underflow.
22710         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
22711         (__nextafterl): Set errno on overflow and underflow.
22712         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
22713         (__nexttoward): Set errno on overflow and underflow.
22714         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
22715         (__nexttowardf): Set errno on overflow and underflow.
22716         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
22717         (__nextafterf): Set errno on overflow and underflow.
22718         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
22719         (__nextafterl): Set errno on overflow and underflow.
22720         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
22721         (__nexttoward): Set errno on overflow and underflow.
22722         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
22723         (__nexttowardf): Set errno on overflow and underflow.
22724         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
22725         (__nextafterl): Set errno on overflow and underflow.
22726         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
22727         (__nexttoward): Set errno on overflow and underflow.
22728         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
22729         (__nexttowardf): Set errno on overflow and underflow.
22730         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
22731         (__nexttoward): Set errno on overflow and underflow.
22732         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
22733         (__nexttowardf): Set errno on overflow and underflow.
22734         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
22735         (__nldbl_nexttowardf): Set errno on overflow and underflow.
22736         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
22737         (__nextafterl): Set errno on overflow and underflow.
22738         * math/libm-test.inc (nextafter_test_data): Do not allow errno
22739         setting to be missing on overflow.  Add more tests.
22740         (nexttoward_test_data): Likewise.
22742         * configure.ac (libc_cv_initfini_array): Remove configure test.
22743         * configure: Regenerated.
22745 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
22747         [BZ #19189]
22748         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
22749         non-finite argument handle arguments with negative sign.
22751         * math/libm-test.inc (j0_test_data): Do not test sign of zero
22752         result from infinite argument.
22753         (j1_test_data): Likewise.
22754         (jn_test_data): Likewise.
22755         (y0_test_data): Likewise.
22756         (y1_test_data): Likewise.
22757         (yn_test_data): Likewise.
22759         [BZ #16171]
22760         * math/w_remainder.c (drem): Define as weak alias of __remainder.
22761         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
22762         * math/w_remainderf.c (dremf): Define as weak alias of
22763         __remainderf.
22764         * math/w_remainderl.c (dreml): Define as weak alias of
22765         __remainderl.
22766         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
22767         __remainder.
22768         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
22769         __remainderf.
22770         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
22771         __remainderl.
22772         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
22773         weak alias of remainderl.
22774         * sysdeps/ieee754/ldbl-opt/w_remainder.c
22775         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
22776         alias of __remainder.
22777         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
22778         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
22779         strong alias of __remainderl.
22780         (dreml): Use long_double_symbol.
22781         * math/Makefile (libm-calls): Remove w_drem.
22782         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
22783         (CFLAGS-nldbl-drem.c): Remove variable.
22784         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
22785         * math/w_drem.c: Remove file.
22786         * math/w_dremf.c: Likewise.
22787         * math/w_dreml.c: Likewise.
22788         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
22789         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
22790         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
22792         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
22793         * sysdeps/i386/configure: Regenerated.
22794         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
22795         * sysdeps/x86_64/configure: Regenerated.
22797         * configure.ac (libc_cv_asm_protected_directive): Remove configure
22798         test.
22799         (libc_cv_visibility_attribute): Likewise.
22800         (libc_cv_protected_data): Test unconditionally.
22801         (libc_cv_broken_visibility_attribute): Remove configure test.
22802         (libc_cv_have_sdata_section): Test unconditionally.
22803         * configure: Regenerated.
22805         * include/libc-internal.h (libc_max_align_t): Remove typedef.
22806         * include/scratch_buffer.h: Include <stddef.h> instead of
22807         <libc-internal.h>.
22808         (struct scratch_buffer): Use max_align_t instead of
22809         libc_max_align_t.
22811 2015-10-29  Florian Weimer  <fweimer@redhat.com>
22813         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
22814         instead of extend_alloca.  Change control flow to avoid a goto.
22815         Remove assert which is trivially always true.
22817 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22819         [BZ #16068]
22820         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
22821         (FE_ALL_EXCEPT_X86): New macro.
22822         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22823         FE_ALL_EXCEPT.  Ensure precision control is included in
22824         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22825         handle "denormal operand exception" and clear FZ and DAZ bits.
22826         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
22827         (FE_ALL_EXCEPT_X86): New macro.
22828         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22829         FE_ALL_EXCEPT.  Ensure precision control is included in
22830         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22831         handle "denormal operand exception" and clear FZ and DAZ bits.
22832         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
22833         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
22834         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22835         test-fenv-x87 and test-fenv-sse-2.
22836         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
22838         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
22839         * math/test-double.h (BUILD_COMPLEX): New macro.
22840         * math/test-float.h (BUILD_COMPLEX): Likewise.
22841         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
22843         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
22844         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
22845         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
22846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
22847         instead of DBL_DENORM_MIN in comment.
22848         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
22849         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22850         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
22851         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
22852         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
22853         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22855 2015-10-28  Florian Weimer  <fweimer@redhat.com>
22857         [BZ #19048]
22858         * malloc/malloc.c (struct malloc_state): Update comment.  Add
22859         attached_threads member.
22860         (main_arena): Initialize attached_threads.
22861         * malloc/arena.c (list_lock): Update comment.
22862         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
22863         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
22864         (deattach_arena): New function.
22865         (_int_new_arena): Initialize arena reference count and deattach
22866         replaced arena.
22867         (get_free_list, reused_arena): Update reference count and deattach
22868         replaced arena.
22869         (arena_thread_freeres): Update arena reference count and only put
22870         unreferenced arenas on the free list.
22872 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22874         [BZ #19181]
22875         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
22876         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
22877         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
22878         * math/test-fenv-clear-main.c: New file.
22879         * math/test-fenv-clear.c: Likewise.
22880         * math/Makefile (tests): Add test-fenv-clear.
22881         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
22882         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22883         test-fenv-clear-sse.
22884         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
22886         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
22887         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
22888         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
22890 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22892         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
22893         static libc.
22895 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22897         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
22898         test.
22899         * sysdeps/i386/configure: Regenerated.
22900         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
22901         test.
22902         * sysdeps/x86_64/configure: Regenerated.
22903         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
22904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22905         memset-avx2 unconditionally instead of conditionally on
22906         [$(config-cflags-avx2) = yes].
22907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22908         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
22909         unconditional.
22910         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
22911         * sysdeps/x86_64/multiarch/memset_chk.S
22912         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
22913         to [IS_IN (libc) && SHARED].
22915 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22917         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
22918         configure test.
22919         * sysdeps/arm/configure: Regenerated.
22920         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
22921         Define variable if not already defined.
22923         [BZ #17404]
22924         * sysdeps/mips/atomic-machine.h
22925         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
22926         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
22927         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22929         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
22930         unconditional.
22931         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
22932         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22933         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
22934         unconditional.
22935         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22936         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
22937         unconditional.
22938         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22939         * stdlib/setenv.c
22940         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
22941         code unconditional.
22942         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
22943         Remove conditional code.
22944         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
22945         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
22946         unconditional.
22947         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22948         code.
22949         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
22950         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
22951         unconditional.
22952         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22953         code.
22954         * sysdeps/ieee754/ldbl-128/k_tanl.c
22955         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22956         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22957         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
22958         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22959         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22960         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
22961         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
22962         unconditional.
22963         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22964         code.
22965         * sysdeps/ieee754/ldbl-96/k_tanl.c
22966         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22967         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22969         * nptl/tst-initializers1-c11.c: New file.
22970         * nptl/tst-initializers1-gnu11.c: Likewise.
22971         * nptl/Makefile (tests): Add these new tests.
22972         (CFLAGS-tst-initializers1-c11.c): New variable.
22973         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22975         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
22976         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
22977         instead of -std=gnu99.
22978         * configure.ac (systemtap): Test with -std=gnu11 instead of
22979         -std=gnu99.
22980         * configure: Regenerated.
22981         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
22982         in compilation command in comment.
22984         * sysdeps/nptl/configure.ac: Remove file.
22985         * sysdeps/nptl/configure: Remove generated file.
22986         * configure.ac (libc_cv_forced_unwind): Do not substitute.
22987         * configure: Regenerated.
22988         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
22989         * config.make.in (have-forced-unwind): Remove variable.
22990         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
22991         unconditional.
22992         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
22993         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
22994         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
22995         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
22996         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
22997         unconditional.
22999 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23001         [BZ #19174]
23002         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
23003         .skip_lock_out_of_tbegin_retries.
23004         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23005         (__lll_lock_elision): Likewise, and respect a value of
23006         try_tbegin <= 0.
23008 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23010         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23011         statement.
23013 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23015         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23016         variable.
23017         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23018         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23020         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23021         of -std=c1x -D_ISOC11_SOURCE.
23023         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23024         * configure: Regenerated.
23025         * manual/install.texi (Tools for Compilation): Document
23026         requirement for GCC 4.7 or later.
23027         * INSTALL: Regenerated.
23029 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
23031         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23032         on CNT to a conditional jump to 'puntdata'.
23034 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23036         * configure.ac (libc_cv_gcc___thread): Remove configure test.
23037         (libc_cv_gcc_tls_model_attr): Likewise.
23038         * configure: Regenerated.
23040         * configure.ac (libc_cv_need_minus_P): Remove configure test.
23041         * configure: Regenerated.
23042         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23044 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
23046         * configure.ac (old_glibc_headers): Remove configure test.
23047         * configure: Regenerated.
23048         * config.make.in (old-glibc-headers): Remove variable.
23049         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
23050         (install): Remove dependency on remove-old-headers.
23051         (headers2_0): Remove variable.
23052         (remove-old-headers): Remove rule.
23054         * configure.ac (libc_cv_dot_text): Remove configure test.
23055         (libc_cv_asm_set_directive): Use .text instead of
23056         ${libc_cv_dot_text} in configure test.
23057         * configure: Regenerated.
23059 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23061         [BZ #19168]
23062         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23064 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23066         * configure.ac (CXX): Clear the variable if the C++ toolchain does
23067         not support static linking.
23068         * configure: Regenerate.
23070 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
23072         * math/libm-test.inc (check_float_internal): Do not special-case
23073         errors up to 0.5 ulp.
23075         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23076         log2.
23077         * math/auto-libm-test-out: Regenerated.
23078         * math/libm-test.inc (MAX_EXP): New macro.
23079         (ilogb_test_data): Add more tests.
23080         (isfinite_test_data): Likewise.
23081         (isgreater_test_data): Likewise.
23082         (isgreaterequal_test_data): Likewise.
23083         (isinf_test_data): Likewise.
23084         (isless_test_data): Likewise.
23085         (islessequal_test_data): Likewise.
23086         (islessgreater_test_data): Likewise.
23087         (isnan_test_data): Likewise.
23088         (isnormal_test_data): Likewise.
23089         (issignaling_test_data): Likewise.
23090         (isunordered_test_data): Likewise.
23091         (j0_test_data): Likewise.
23092         (j1_test_data): Likewise.
23093         (jn_test_data): Likewise.
23094         (lgamma_test_data): Likewise.
23095         (log_test_data): Likewise.
23096         (log10_test_data): Likewise.
23097         (log1p_test_data): Likewise.
23098         (log2_test_data): Likewise.
23099         (logb_test_data): Likewise.
23100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23102         [BZ #18611]
23103         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
23104         avoid excess range and precision on underflow.
23105         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23106         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
23107         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23108         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
23109         underflow.
23110         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23111         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23112         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23113         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23114         * math/auto-libm-test-in: Do not allow missing errno setting for
23115         tests of j1 and jn.
23116         * math/auto-libm-test-out: Regenerated.
23118 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
23120         [BZ #15491]
23121         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
23122         floating-point environment instead of clearing all exceptions.
23123         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
23124         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
23125         merging in "invalid" exceptions from frndint.
23126         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
23127         * math/test-nearbyint-except.c: New file.
23128         * math/Makefile (tests): Add test-nearbyint-except.
23130 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
23132         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
23134         * sysdeps/tile/libm-test-ulps: Regenerated.
23136 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
23139         (__NR_sync_file_range2): Assume it is always defined.
23140         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23141         (__NR_sync_file_range): Assume it is always defined.
23143 2015-10-22  Andreas Schwab  <schwab@suse.de>
23145         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23146         INTERNAL_SYSCALL_ERRNO.
23147         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23148         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23149         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23150         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23151         Likewise.
23152         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23154 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23156         * io/tst-fcntl.c (fd): New static variable.
23157         (do_prepare): Open temporary file here....
23158         (do_test): ...not here.
23160         * io/ftwtest-sh: Also trap on exit to remove temporary files.
23162 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23164         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
23165         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23166         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23167         Moved before "#ifdef __ASSEMBLER__".
23169 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23171         [BZ #19156]
23172         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
23173         arguments very close to 0.
23175 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
23177         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
23178         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
23180 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23182         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23183         New.  Defined for GCC 5 and above when not compiling for
23184         profiling.
23185         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23187         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23188         Renamed to ...
23189         (CFLAGS-epoll_pwait.o): This.
23190         (CFLAGS-mmap.c): Renamed to ...
23191         (CFLAGS-mmap.o): This.
23192         (CFLAGS-mmap64.c): Renamed to ...
23193         (CFLAGS-mmap64.o): This.
23194         (CFLAGS-epoll_pwait.os): New.
23195         (CFLAGS-mmap.os): Likewise.
23196         (CFLAGS-mmap64.os): Likewise.
23197         (CFLAGS-semtimedop.os): Likewise.
23198         (CFLAGS-semtimedop.c): Renamed to ...
23199         (CFLAGS-semtimedop.o): This.
23201 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23203         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
23204         warning message.
23206 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23208         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
23209         * Makefile ($(objpfx)c++-types-check.out): Filter out
23210         $(+gccwarn-c) instead of -Wstrict-prototypes.
23212         * io/fts.c (fts_open): Convert to prototype-style function
23213         definition.
23214         * malloc/mcheck.c (mcheck): Likewise.
23215         (mcheck_pedantic): Likewise.
23216         * posix/regexec.c (re_search_2_stub): Likewise.  Use
23217         internal_function.
23218         (re_search_internal): Likewise.
23219         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
23220         prototype-style function definition.
23221         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23222         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
23223         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
23224         (xdr_utmpptr): Likewise.
23225         (xdr_utmparr): Likewise.
23226         (xdr_utmpidle): Likewise.
23227         (xdr_utmpidleptr): Likewise.
23228         (xdr_utmpidlearr): Likewise.
23230         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
23231         log, log10 and log2.
23232         * math/auto-libm-test-out: Regenerated.
23233         * math/libm-test.inc (fmod_test_data): Add more tests.
23234         (fpclassify_test_data): Likewise.
23235         (frexp_test_data): Likewise.
23236         (hypot_test_data): Likewise.
23237         (ilogb_test_data): Likewise.
23239 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
23241         * debug/fortify_fail.c (__fortify_fail): Convert to
23242         prototype-style function definition.  Use internal_function.
23243         * libio/genops.c (save_for_backup): Convert to prototype-style
23244         function definition.
23245         * libio/wgenops.c (save_for_wbackup): Likewise.
23246         * login/grantpt.c (grantpt): Likewise.
23247         * login/ptsname.c (ptsname): Likewise.
23248         (__ptsname_r): Likewise.
23249         * login/unlockpt.c (unlockpt): Likewise.
23250         * mach/msgserver.c (__mach_msg_server): Likewise.
23251         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
23252         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
23253         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
23254         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
23255         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
23256         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
23257         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
23258         Likewise.
23259         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
23260         internal_function.
23261         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
23262         prototype-style function definition.
23263         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
23264         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
23265         (__pthread_create_2_0): Likewise.
23266         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
23267         * nptl/register-atfork.c (__register_atfork): Likewise.
23268         * posix/glob.c (glob): Likewise.
23269         * posix/regcomp.c (re_comp): Likewise.
23270         * posix/regexec.c (re_exec): Likewise.
23271         * stdlib/add_n.c [__STDC__]: Make code unconditional.
23272         [!__STDC__]: Remove conditional code.
23273         * stdlib/cmp.c [__STDC__]: Make code unconditional.
23274         [!__STDC__]: Remove conditional code.
23275         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
23276         [!__STDC__]: Remove conditional code.
23277         * stdlib/divrem.c [__STDC__]: Make code unconditional.
23278         [!__STDC__]: Remove conditional code.
23279         * stdlib/lshift.c [__STDC__]: Make code unconditional.
23280         [!__STDC__]: Remove conditional code.
23281         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
23282         [!__STDC__]: Remove conditional code.
23283         * stdlib/mul.c [__STDC__]: Make code unconditional.
23284         [!__STDC__]: Remove conditional code.
23285         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
23286         [!__STDC__]: Remove conditional code.
23287         * stdlib/rshift.c [__STDC__]: Make code unconditional.
23288         [!__STDC__]: Remove conditional code.
23289         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
23290         function definition.
23291         (STRTOF): Likewise.
23292         * stdlib/strtod_l.c (__STRTOF): Likewise.
23293         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
23294         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
23295         (__strtol_l): Likewise.
23296         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
23297         [!__STDC__]: Remove conditional code.
23298         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
23299         definition.
23300         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23301         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23302         type.
23303         (__strcasecmp): Convert to prototype-style function definition.
23304         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
23305         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23306         type.
23307         (__strncasecmp): Convert to prototype-style function definition.
23308         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
23309         * sunrpc/xdr.c (xdr_union): Likewise.
23310         * sunrpc/xdr_array.c (xdr_array): Likewise.
23311         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
23312         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
23313         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
23314         Likewise.
23315         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
23316         Likewise.
23317         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
23318         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23319         Likewise.
23320         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
23321         (LOCALE_PARAM_PROTO): Likewise.
23322         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
23323         argument type.
23324         (ut_argument_spec): Remove macro.
23325         (ut_argument_spec_iso): Rename to ut_argument_spec.
23326         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
23327         prototype-style function definition.
23328         (memcpy_uppcase): Likewise.
23329         (__strftime_internal): Likewise.
23330         (my_strftime): Likewise.
23331         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
23332         (LOCALE_PARAM_DECL): Likewise.
23333         [_LIBC] (LOCALE_PARAM): Include argument type.
23334         (__strptime_internal): Convert to prototype-style function
23335         definition.
23336         (strptime): Likewise.
23337         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23338         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23339         type.
23340         (__wcscasecmp): Convert to prototype-style function definition.
23341         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
23342         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23343         type.
23344         (__wcsncasecmp): Convert to prototype-style function definition.
23346         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
23347         function definition.
23348         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23349         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23350         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
23351         * elf/dl-minimal.c (_itoa): Likewise.
23352         * hurd/hurdmalloc.c (malloc): Likewise.
23353         (free): Likewise.
23354         (realloc): Likewise.
23355         * inet/inet6_option.c (inet6_option_space): Likewise.
23356         (inet6_option_init): Likewise.
23357         (inet6_option_append): Likewise.
23358         (inet6_option_alloc): Likewise.
23359         (inet6_option_next): Likewise.
23360         (inet6_option_find): Likewise.
23361         * io/ftw.c (FTW_NAME): Likewise.
23362         (NFTW_NAME): Likewise.
23363         (NFTW_NEW_NAME): Likewise.
23364         (NFTW_OLD_NAME): Likewise.
23365         * libio/iofwide.c (_IO_fwide): Likewise.
23366         * libio/strops.c (_IO_str_init_static_internal): Likewise.
23367         (_IO_str_init_static): Likewise.
23368         (_IO_str_init_readonly): Likewise.
23369         (_IO_str_overflow): Likewise.
23370         (_IO_str_underflow): Likewise.
23371         (_IO_str_count): Likewise.
23372         (_IO_str_seekoff): Likewise.
23373         (_IO_str_pbackfail): Likewise.
23374         (_IO_str_finish): Likewise.
23375         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
23376         (_IO_wstr_overflow): Likewise.
23377         (_IO_wstr_underflow): Likewise.
23378         (_IO_wstr_count): Likewise.
23379         (_IO_wstr_seekoff): Likewise.
23380         (_IO_wstr_pbackfail): Likewise.
23381         (_IO_wstr_finish): Likewise.
23382         * locale/programs/localedef.c (normalize_codeset): Likewise.
23383         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23384         (add_locales_to_archive): Likewise.
23385         (delete_locales_from_archive): Likewise.
23386         * malloc/malloc.c (__libc_mallinfo): Likewise.
23387         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
23388         * misc/tsearch.c (__tfind): Likewise.
23389         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
23390         * nptl/pthread_attr_getdetachstate.c
23391         (__pthread_attr_getdetachstate): Likewise.
23392         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23393         Likewise.
23394         * nptl/pthread_attr_getinheritsched.c
23395         (__pthread_attr_getinheritsched): Likewise.
23396         * nptl/pthread_attr_getschedparam.c
23397         (__pthread_attr_getschedparam): Likewise.
23398         * nptl/pthread_attr_getschedpolicy.c
23399         (__pthread_attr_getschedpolicy): Likewise.
23400         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
23401         Likewise.
23402         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
23403         Likewise.
23404         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23405         Likewise.
23406         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23407         Likewise.
23408         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
23409         (__pthread_attr_init_2_0): Likewise.
23410         * nptl/pthread_attr_setdetachstate.c
23411         (__pthread_attr_setdetachstate): Likewise.
23412         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23413         Likewise.
23414         * nptl/pthread_attr_setinheritsched.c
23415         (__pthread_attr_setinheritsched): Likewise.
23416         * nptl/pthread_attr_setschedparam.c
23417         (__pthread_attr_setschedparam): Likewise.
23418         * nptl/pthread_attr_setschedpolicy.c
23419         (__pthread_attr_setschedpolicy): Likewise.
23420         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
23421         Likewise.
23422         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
23423         Likewise.
23424         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23425         Likewise.
23426         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23427         Likewise.
23428         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
23429         Likewise.
23430         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
23431         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23432         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
23433         use internal_function.
23434         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
23435         prototype-style function definition.
23436         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23437         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
23438         internal_function.
23439         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
23440         Convert to prototype-style function definition.
23441         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23442         Likewise.
23443         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
23444         Likewise.
23445         (__pthread_mutex_unlock): Likewise.
23446         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
23447         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
23448         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
23449         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
23450         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
23451         * nss/makedb.c (process_input): Likewise.
23452         * posix/fnmatch.c (__strchrnul): Likewise.
23453         (__wcschrnul): Likewise.
23454         (fnmatch): Likewise.
23455         * posix/fnmatch_loop.c (FCT): Likewise.
23456         * posix/glob.c (globfree): Likewise.
23457         (__glob_pattern_type): Likewise.
23458         (__glob_pattern_p): Likewise.
23459         * posix/regcomp.c (re_compile_pattern): Likewise.
23460         (re_set_syntax): Likewise.
23461         (re_compile_fastmap): Likewise.
23462         (regcomp): Likewise.
23463         (regerror): Likewise.
23464         (regfree): Likewise.
23465         * posix/regexec.c (regexec): Likewise.
23466         (re_match): Likewise.
23467         (re_search): Likewise.
23468         (re_match_2): Likewise.
23469         (re_search_2): Likewise.
23470         (re_search_stub): Likewise.  Use internal_function
23471         (re_copy_regs): Likewise.
23472         (re_set_registers): Convert to prototype-style function
23473         definition.
23474         (prune_impossible_nodes): Likewise.  Use internal_function.
23475         * resolv/inet_net_pton.c (inet_net_pton): Convert to
23476         prototype-style function definition.
23477         (inet_net_pton_ipv4): Likewise.
23478         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23479         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
23480         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
23481         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
23482         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23483         Make variadic.
23484         * time/strptime_l.c (localtime_r): Convert to prototype-style
23485         function definition.
23486         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23487         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23488         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23489         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23491         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
23492         definition.
23493         (_ufc_doit_r): Likewise.
23494         * crypt/crypt_util.c (_ufc_copymem): Likewise.
23495         (_ufc_output_conversion_r): Likewise.
23496         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
23497         * inet/rcmd.c (rcmd_af): Likewise.
23498         (rcmd): Likewise.
23499         (ruserok_af): Likewise.
23500         (ruserok): Likewise.
23501         (ruserok2_sa): Likewise.
23502         (ruserok_sa): Likewise.
23503         (iruserok_af): Likewise.
23504         (iruserok): Likewise.
23505         (__ivaliduser): Likewise.
23506         (__validuser2_sa): Likewise.
23507         * inet/rexec.c (rexec_af): Likewise.
23508         (rexec): Likewise.
23509         * inet/ruserpass.c (ruserpass): Likewise.
23510         * locale/programs/xmalloc.c (xcalloc): Likewise.
23511         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
23512         * math/w_drem.c (__drem): Likewise.
23513         * math/w_dremf.c (__dremf): Likewise.
23514         * math/w_dreml.c (__dreml): Likewise.
23515         * misc/daemon.c (daemon): Likewise.
23516         * resolv/res_debug.c (p_fqnname): Likewise.
23517         * stdlib/div.c (div): Likewise.
23518         * string/memcmp.c (memcmp_bytes): Likewise.
23519         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
23520         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
23522         * crypt/cert.c (main): Convert to prototype-style function
23523         definition.
23524         * io/pipe.c (__pipe): Likewise.
23525         * io/pipe2.c (__pipe2): Likewise.
23526         * misc/futimesat.c (futimesat): Likewise.
23527         * misc/utimes.c (__utimes): Likewise.
23528         * posix/execve.c (__execve): Likewise.
23529         * posix/execvp.c (execvp): Likewise.
23530         * posix/execvpe.c (__execvpe): Likewise.
23531         * posix/fexecve.c (fexecve): Likewise.
23532         * socket/socketpair.c (socketpair): Likewise.
23533         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23534         * stdlib/erand48.c (erand48): Likewise.
23535         * stdlib/erand48_r.c (__erand48_r): Likewise.
23536         * stdlib/jrand48.c (jrand48): Likewise.
23537         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
23538         * stdlib/lcong48.c (lcong48): Likewise.
23539         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
23540         * stdlib/nrand48.c (nrand48): Likewise.
23541         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
23542         * stdlib/seed48.c (seed48): Likewise.
23543         * stdlib/seed48_r.c (__seed48_r): Likewise.
23544         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
23545         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
23546         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
23548 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23550         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
23551         * configure: Regenerated.
23552         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
23553         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
23554         unconditional.
23555         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23556         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23557         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23558         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
23559         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
23560         unconditional.
23561         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23563         * posix/Makefile (CFLAGS-regex.c): Remove variable.
23564         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
23566         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
23567         function definition.
23568         * crypt/crypt_util.c (__encrypt_r): Likewise.
23569         * libio/genops.c (_IO_no_init): Likewise.
23570         * libio/iofopncook.c (_IO_fopencookie): Likewise.
23571         (_IO_old_fopencookie): Likewise.
23572         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23573         * libio/iogetline.c (_IO_getline): Likewise.
23574         (_IO_getline_info): Likewise.
23575         * libio/iogetwline.c (_IO_getwline): Likewise.
23576         (_IO_getwline_info): Likewise.
23577         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
23578         * libio/vswprintf.c (_IO_vswprintf): Likewise.
23579         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
23580         (find_entry): Likewise.
23581         (iterate_table): Likewise.
23582         (lookup): Likewise.
23583         * login/forkpty.c (forkpty): Likewise.
23584         * misc/hsearch_r.c (__hsearch_r): Likewise.
23585         * misc/select.c (__select): Likewise.
23586         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
23587         Likewise.
23588         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
23589         Likewise.
23590         * nptl/old_pthread_cond_timedwait.c
23591         (__pthread_cond_timedwait_2_0): Likewise.
23592         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23593         * nptl/pthread_barrierattr_getpshared.c
23594         (pthread_barrierattr_getpshared): Likewise.
23595         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
23596         Likewise.
23597         * nptl/pthread_mutex_setprioceiling.c
23598         (pthread_mutex_setprioceiling): Likewise.
23599         * nptl/pthread_mutexattr_getprioceiling.c
23600         (pthread_mutexattr_getprioceiling): Likewise.
23601         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23602         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23603         Likewise.
23604         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23605         Likewise.
23606         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
23607         Likewise.
23608         * socket/recvfrom.c (__recvfrom): Likewise.
23609         * socket/sendto.c (__sendto): Likewise.
23610         * socket/setsockopt.c (__setsockopt): Likewise.
23611         * stdio-common/_itoa.c (_itoa): Likewise.
23612         * stdio-common/_itowa.c (_itowa): Likewise.
23613         * stdio-common/reg-printf.c (__register_printf_specifier):
23614         Likewise.
23615         (__register_printf_function): Likewise.
23616         * stdio-common/tempname.c (__path_search): Likewise.
23617         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
23618         * stdlib/mul_1.c (mpn_mul_1): Likewise.
23619         * stdlib/random_r.c (__initstate_r): Likewise.
23620         * stdlib/setenv.c (__add_to_environ): Likewise.
23621         * stdlib/submul_1.c (mpn_submul_1): Likewise.
23622         * streams/getpmsg.c (getpmsg): Likewise.
23623         * streams/putmsg.c (putmsg): Likewise.
23624         * streams/putpmsg.c (putpmsg): Likewise.
23625         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
23626         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
23627         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
23628         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
23629         * sunrpc/pm_getport.c (pmap_getport): Likewise.
23630         * sunrpc/svc_udp.c (cache_get): Likewise.
23631         * sunrpc/xdr_array.c (xdr_vector): Likewise.
23632         * sysdeps/mach/hurd/getcwd.c
23633         (__canonicalize_directory_name_internal): Likewise.
23634         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
23635         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
23636         * sysdeps/mach/hurd/select.c (__select): Likewise.
23637         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
23638         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
23639         * sysdeps/sparc/nptl/pthread_barrier_init.c
23640         (__pthread_barrier_init): Likewise.
23641         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
23642         (__pthread_cond_timedwait): Likewise.
23643         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
23644         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
23645         Likewise.
23646         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
23647         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
23648         Likewise.
23649         * sysvipc/semtimedop.c (semtimedop): Likewise.
23650         * time/setitimer.c (__setitimer): Likewise.
23651         * time/strftime_l.c (emacs_strftime): Likewise.
23653 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23655         * config.make.in (have-ssp): Delete.
23656         (stack-protector): New variable.
23657         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
23658         cache test for -fstack-protector-strong.  Export stack_protector to
23659         the best ssp flag.
23660         * configure: Regenerated.
23661         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
23662         * nscd/Makefile (CFLAGS-nscd): Likewise.
23663         * resolv/Makefile (CFLAGS-libresolv): Likewise.
23665 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
23667         [BZ #19122]
23668         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
23669         attribute_hidden.
23671 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23673         [BZ #18743]
23674         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
23675         code to...
23676         (ELIDE_LOCK): ...here.
23677         (__get_new_count): New function with part of the code from
23678         __elide_lock that updates the value of adapt_count after a
23679         transaction abort.
23680         (__elided_trylock): Moved this code to...
23681         (ELIDE_TRYLOCK): ...here.
23683 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23685         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
23686         * configure: Regenerate.
23687         * INSTALL: Regenerate.
23688         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
23689         and tweak grammar.
23691 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
23693         * login/programs/pt_chown.c: Include signal.h
23694         (main): Clear any signal mask from the parent process.
23696 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23698         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
23699         * configure: Regenerated.
23700         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
23701         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
23702         $(gnu89-inline-CFLAGS).
23704         * configure.ac (libc_cv_asm_weak_directive): Remove configure
23705         test.
23706         (libc_cv_asm_weakext_directive): Likewise.
23707         * configure: Regenerated.
23708         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
23709         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
23710         * include/libc-symbols.h
23711         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
23712         #error.
23713         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
23714         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
23716         * sysdeps/arm/backtrace.c (__backtrace): Convert to
23717         prototype-style function definition.
23718         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23719         * sysdeps/i386/ffs.c (__ffs): Likewise.
23720         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23721         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
23722         Likewise.
23723         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23724         Likewise.
23725         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23726         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23727         Likewise.
23728         * sysdeps/m68k/ffs.c (__ffs): Likewise.
23729         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
23730         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
23731         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
23732         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
23733         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
23734         * sysdeps/mach/hurd/access.c (__access): Likewise.
23735         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
23736         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
23737         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
23738         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
23739         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
23740         (cthread_getspecific): Likewise.
23741         (cthread_setspecific): Likewise.
23742         (__libc_getspecific): Likewise.
23743         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
23744         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
23745         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
23746         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
23747         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
23748         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
23749         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
23750         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
23751         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
23752         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
23753         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
23754         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
23755         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
23756         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
23757         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
23758         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
23759         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
23760         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
23761         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
23762         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
23763         * sysdeps/mach/hurd/link.c (__link): Likewise.
23764         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
23765         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
23766         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
23767         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
23768         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23769         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
23770         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
23771         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
23772         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23773         * sysdeps/mach/hurd/rename.c (rename): Likewise.
23774         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
23775         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
23776         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
23777         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
23778         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
23779         * sysdeps/mach/hurd/send.c (__send): Likewise.
23780         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
23781         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
23782         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
23783         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
23784         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
23785         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
23786         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
23787         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
23788         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
23789         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
23790         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
23791         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
23792         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
23793         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
23794         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
23795         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23796         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
23797         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23798         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
23799         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23800         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
23801         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
23802         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
23803         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
23804         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
23805         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
23806         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
23807         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
23808         * sysdeps/posix/alarm.c (alarm): Likewise.
23809         * sysdeps/posix/cuserid.c (cuserid): Likewise.
23810         * sysdeps/posix/dirfd.c (dirfd): Likewise.
23811         * sysdeps/posix/dup.c (__dup): Likewise.
23812         * sysdeps/posix/dup2.c (__dup2): Likewise.
23813         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
23814         (main): Likewise.
23815         * sysdeps/posix/flock.c (__flock): Likewise.
23816         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
23817         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
23818         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
23819         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
23820         * sysdeps/posix/isatty.c (__isatty): Likewise.
23821         * sysdeps/posix/killpg.c (killpg): Likewise.
23822         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23823         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
23824         * sysdeps/posix/raise.c (raise): Likewise.
23825         * sysdeps/posix/remove.c (remove): Likewise.
23826         * sysdeps/posix/rename.c (rename): Likewise.
23827         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
23828         * sysdeps/posix/seekdir.c (seekdir): Likewise.
23829         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23830         * sysdeps/posix/sigignore.c (sigignore): Likewise.
23831         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
23832         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
23833         * sysdeps/posix/sigset.c (sigset): Likewise.
23834         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
23835         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
23836         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
23837         * sysdeps/posix/time.c (time): Likewise.
23838         * sysdeps/posix/ttyname.c (getttyname): Likewise.
23839         (ttyname): Likewise.
23840         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
23841         * sysdeps/posix/utime.c (utime): Likewise.
23842         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
23843         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23844         Likewise.
23845         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
23846         (pthread_spin_trylock): Likewise.
23847         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
23848         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
23849         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
23850         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
23851         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
23852         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
23853         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
23854         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
23855         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
23856         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
23857         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
23858         * sysdeps/s390/ffs.c (__ffs): Likewise.
23859         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
23860         Likewise.
23861         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23862         Likewise.
23863         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
23864         Likewise.
23865         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
23866         (pthread_barrier_destroy): Likewise.
23867         * sysdeps/sparc/nptl/pthread_barrier_wait.c
23868         (__pthread_barrier_wait): Likewise.
23869         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
23870         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23871         (__pthread_barrier_wait): Likewise.
23872         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
23873         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
23874         (memcmp_not_common_alignment): Likewise.
23875         (MEMCMP): Likewise.
23876         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
23877         (_wordcopy_fwd_dest_aligned): Likewise.
23878         (_wordcopy_bwd_aligned): Likewise.
23879         (_wordcopy_bwd_dest_aligned): Likewise.
23880         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
23881         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
23882         * sysdeps/unix/bsd/stty.c (stty): Likewise.
23883         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
23884         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
23885         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
23886         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
23887         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
23888         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
23889         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
23890         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
23891         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23892         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
23893         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
23894         * sysdeps/unix/stime.c (stime): Likewise.
23895         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
23896         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
23897         Likewise.  Use internal_function.
23898         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
23899         Convert to prototype-style function definition.
23900         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23901         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23902         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
23903         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23904         Likewise.  Use internal_function.
23905         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
23906         prototype-style function definition
23907         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23908         Likewise.
23909         (__getlogin_r): Likewise.
23910         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
23911         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
23912         (__pthread_cond_broadcast): Likewise.
23913         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
23914         (__pthread_cond_destroy): Likewise.
23915         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
23916         (__pthread_cond_init): Likewise.
23917         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
23918         (__pthread_cond_signal): Likewise.
23919         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
23920         (__pthread_cond_wait): Likewise.
23921         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
23922         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23923         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
23924         Likewise.
23925         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
23926         Likewise.
23927         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
23928         Likewise.
23929         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
23930         Likewise.
23931         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
23932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
23933         (__ftruncate64): Likewise.
23934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
23935         (truncate64): Likewise.
23936         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
23937         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
23938         (pthread_getcpuclockid): Likewise.
23939         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
23940         Likewise.
23941         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
23942         Likewise.
23943         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
23944         Likewise.
23945         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
23946         Likewise.
23947         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
23948         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
23949         (__libc_sigaction): Likewise.
23950         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
23951         Likewise.
23952         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
23953         (__sigprocmask): Likewise.
23954         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
23955         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
23956         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
23957         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23958         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23959         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
23960         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23961         Likewise.
23962         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
23963         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
23964         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23965         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
23966         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
23967         Likewise.
23968         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
23969         (__sigprocmask): Likewise.
23970         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
23971         (cfgetispeed): Likewise.
23972         (cfsetospeed): Likewise.
23973         (cfsetispeed): Likewise.
23974         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
23975         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
23976         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23977         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23978         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
23979         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
23980         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
23981         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
23982         Likewise.
23983         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
23984         Likewise.
23985         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
23986         Likewise.
23987         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
23988         Likewise.
23989         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
23991 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23993         sunrpc: Rewrite with explicit TLS access using __thread.
23994         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
23995         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
23996         directly.
23997         (__rpc_thread_variables): Access thread_rpc_vars directly.
23998         Eliminate redundant assignment of the tvp variable.
24000 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24002         malloc: Rewrite with explicit TLS access using __thread.
24003         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
24004         (tsd_setspecific, tsd_getspecific): Remove.
24005         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
24006         (tsd_setspecific, tsd_getspecific): Likewise.
24007         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
24008         (tsd_setspecific, tsd_getspecific): Likewise.
24009         * malloc/arena.c (thread_arena): New TLS variable.
24010         (arena_key): Remove variable.
24011         (arena_get): Use thread_arena.
24012         (arena_lookup): Remove macro.
24013         (malloc_atfork, free_atfork, ptmalloc_lock_all)
24014         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24015         (_int_new_arena, get_free_list, reused_arena)
24016         (arena_thread_freeres): Use thread_arena.
24017         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24018         tsd_getspecific, tsd_setspecific from safety annotations.
24019         (Allocating Cleared Space): Remove arena_lookup from safety
24020         annotations.
24022 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24024         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24025         struct scratch_buffer instead of extend_alloca.
24027 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24029         * sysdeps/unix/sysv/linux/kernel-features.h
24030         (__ASSUME_SOCK_CLOEXEC): Remove.
24031         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24032         (__have_paccept): Remove unused macro.
24033         * include/unistd.h (__have_sock_cloexec): Remove declaration.
24034         * misc/syslog.c (openlog_internal): Remove fallback code for
24035         !__ASSUME_SOCK_CLOEXEC.
24036         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24037         missing SOCK_CLOEXEC.
24038         * nscd/connections.c (have_sock_cloexec): Remove definition.
24039         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24040         * nscd/nscd_helper.c (open_socket): Remove fallback code for
24041         !__ASSUME_SOCK_CLOEXEC.
24042         * resolv/res_send.c (__have_o_nonblock): Remove definition.
24043         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24044         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24045         definition.
24046         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24047         code for !__ASSUME_SOCK_CLOEXEC.
24049 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24051         [BZ #18982]
24052         * manual/stdio.texi (Variable Arguments Output): Add portability
24053         note, explaining that vfprintf clobbers the va_list pointer.
24055 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24057         * math/libm-test.inc (fabs_test_data): Add more tests.
24058         (fdim_test_data): Likewise.
24059         (fma_test_data): Likewise.
24060         (fmax_test_data): Likewise.
24061         (fmin_test_data): Likewise.
24062         (fmod_test_data): Likewise.
24064 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
24066         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
24067         data.
24069 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24071         * math/libm-test.inc (ceil_test_data): Add more tests and more
24072         expectations for "inexact".
24073         (floor_test_data): Add more tests.
24074         (round_test_data): Likewise.
24075         (trunc_test_data): Likewise.
24077         * crypt/cert.c (good_bye): Convert to prototype-style function
24078         definition.
24079         (get8): Likewise.
24080         (put8): Likewise.
24081         * crypt/crypt-entry.c (crypt): Likewise.
24082         (__fcrypt): Likewise.
24083         * crypt/crypt_util.c (_ufc_prbits): Likewise.
24084         (_ufc_set_bits): Likewise.
24085         (_ufc_clearmem): Likewise.
24086         (__init_des_r): Likewise.
24087         (shuffle_sb): Likewise.
24088         (shuffle_sb): Likewise.
24089         (_ufc_setup_salt_r): Likewise.
24090         (_ufc_mk_keytab_r): Likewise.
24091         (_ufc_dofinalperm_r): Likewise.
24092         (encrypt): Likewise.
24093         (__setkey_r): Likewise.
24094         (setkey): Likewise.
24095         * crypt/md5.c (md5_init_ctx): Likewise.
24096         (md5_read_ctx): Likewise.
24097         (md5_finish_ctx): Likewise.
24098         (md5_stream): Likewise.
24099         (md5_buffer): Likewise.
24100         (md5_process_bytes): Likewise.
24101         * crypt/sha256.c (__sha256_init_ctx): Likewise.
24102         (__sha256_finish_ctx): Likewise.
24103         (__sha256_process_bytes): Likewise.
24104         * crypt/sha512.c (__sha512_init_ctx): Likewise.
24105         (__sha512_finish_ctx): Likewise.
24106         (__sha512_process_bytes): Likewise.
24107         * ctype/isctype.c (__isctype): Likewise.
24108         * debug/backtrace.c (__backtrace): Likewise.
24109         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
24110         * debug/fgets_chk.c (__fgets_chk): Likewise.
24111         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
24112         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
24113         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24114         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24115         * debug/memset_chk.c (__memset_chk): Likewise.
24116         * debug/strcat_chk.c (__strcat_chk): Likewise.
24117         * debug/strncat_chk.c (__strncat_chk): Likewise.
24118         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
24119         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
24120         * dirent/dirfd.c (dirfd): Likewise.
24121         * dirent/getdents.c (__getdirentries): Likewise.
24122         * dirent/getdents64.c (getdirentries64): Likewise.
24123         * dirent/rewinddir.c (__rewinddir): Likewise.
24124         * dirent/seekdir.c (seekdir): Likewise.
24125         * dirent/telldir.c (telldir): Likewise.
24126         * elf/sln.c (makesymlinks): Likewise.
24127         (makesymlink): Likewise.
24128         * gmon/gmon.c (__moncontrol): Likewise.
24129         (__monstartup): Likewise.
24130         (write_hist): Likewise.
24131         (write_call_graph): Likewise.
24132         (write_bb_counts): Likewise.
24133         * grp/setgroups.c (setgroups): Likewise.
24134         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24135         * inet/inet_net.c (inet_network): Likewise.
24136         * inet/inet_netof.c (inet_netof): Likewise.
24137         * inet/rcmd.c (rresvport_af): Likewise.
24138         (rresvport): Likewise.
24139         * io/access.c (__access): Likewise.
24140         * io/chdir.c (__chdir): Likewise.
24141         * io/chmod.c (__chmod): Likewise.
24142         * io/chown.c (__chown): Likewise.
24143         * io/close.c (__close): Likewise.
24144         * io/creat.c (creat): Likewise.
24145         * io/creat64.c (creat64): Likewise.
24146         * io/dup.c (__dup): Likewise.
24147         * io/dup2.c (__dup2): Likewise.
24148         * io/dup3.c (__dup3): Likewise.
24149         * io/euidaccess.c (__euidaccess): Likewise.
24150         * io/faccessat.c (faccessat): Likewise.
24151         * io/fchmod.c (__fchmod): Likewise.
24152         * io/fchmodat.c (fchmodat): Likewise.
24153         * io/fchown.c (__fchown): Likewise.
24154         * io/fchownat.c (fchownat): Likewise.
24155         * io/fcntl.c (__fcntl): Likewise.
24156         * io/flock.c (__flock): Likewise.
24157         * io/fts.c (fts_load): Likewise.
24158         (fts_close): Likewise.
24159         (fts_read): Likewise.
24160         (fts_set): Likewise.
24161         (fts_children): Likewise.
24162         (fts_build): Likewise.
24163         (fts_stat): Likewise.
24164         (fts_sort): Likewise.
24165         (fts_alloc): Likewise.
24166         (fts_lfree): Likewise.
24167         (fts_palloc): Likewise.
24168         (fts_padjust): Likewise.
24169         (fts_maxarglen): Likewise.
24170         (fts_safe_changedir): Likewise.
24171         * io/getwd.c (getwd): Likewise.
24172         * io/isatty.c (__isatty): Likewise.
24173         * io/lchown.c (__lchown): Likewise.
24174         * io/link.c (__link): Likewise.
24175         * io/linkat.c (linkat): Likewise.
24176         * io/lseek.c (__libc_lseek): Likewise.
24177         * io/mkdir.c (__mkdir): Likewise.
24178         * io/mkdirat.c (mkdirat): Likewise.
24179         * io/mkfifo.c (mkfifo): Likewise.
24180         * io/mkfifoat.c (mkfifoat): Likewise.
24181         * io/open.c (__libc_open): Likewise.
24182         * io/open64.c (__libc_open64): Likewise.
24183         * io/readlink.c (__readlink): Likewise.
24184         * io/readlinkat.c (readlinkat): Likewise.
24185         * io/rmdir.c (__rmdir): Likewise.
24186         * io/symlink.c (__symlink): Likewise.
24187         * io/symlinkat.c (symlinkat): Likewise.
24188         * io/ttyname.c (ttyname): Likewise.
24189         * io/ttyname_r.c (__ttyname_r): Likewise.
24190         * io/umask.c (__umask): Likewise.
24191         * io/unlink.c (__unlink): Likewise.
24192         * io/unlinkat.c (unlinkat): Likewise.
24193         * io/utime.c (utime): Likewise.
24194         * libio/clearerr.c (clearerr): Likewise.
24195         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
24196         * libio/feof.c (_IO_feof): Likewise.
24197         * libio/feof_u.c (feof_unlocked): Likewise.
24198         * libio/ferror.c (_IO_ferror): Likewise.
24199         * libio/ferror_u.c (ferror_unlocked): Likewise.
24200         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24201         * libio/fileno.c (__fileno): Likewise.
24202         * libio/fputc.c (fputc): Likewise.
24203         * libio/fputc_u.c (fputc_unlocked): Likewise.
24204         * libio/fputwc.c (fputwc): Likewise.
24205         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
24206         * libio/freopen.c (freopen): Likewise.
24207         * libio/freopen64.c (freopen64): Likewise.
24208         * libio/fseek.c (fseek): Likewise.
24209         * libio/fseeko.c (fseeko): Likewise.
24210         * libio/fseeko64.c (fseeko64): Likewise.
24211         * libio/ftello.c (__ftello): Likewise.
24212         * libio/ftello64.c (ftello64): Likewise.
24213         * libio/fwide.c (fwide): Likewise.
24214         * libio/genops.c (_IO_un_link): Likewise.
24215         (_IO_link_in): Likewise.
24216         (_IO_least_marker): Likewise.
24217         (_IO_switch_to_main_get_area): Likewise.
24218         (_IO_switch_to_backup_area): Likewise.
24219         (_IO_switch_to_get_mode): Likewise.
24220         (_IO_free_backup_area): Likewise.
24221         (_IO_switch_to_put_mode): Likewise.
24222         (__overflow): Likewise.
24223         (__underflow): Likewise.
24224         (__uflow): Likewise.
24225         (_IO_setb): Likewise.
24226         (_IO_doallocbuf): Likewise.
24227         (_IO_default_underflow): Likewise.
24228         (_IO_default_uflow): Likewise.
24229         (_IO_default_xsputn): Likewise.
24230         (_IO_sgetn): Likewise.
24231         (_IO_default_xsgetn): Likewise.
24232         (_IO_sync): Likewise.
24233         (_IO_default_setbuf): Likewise.
24234         (_IO_default_seekpos): Likewise.
24235         (_IO_default_doallocate): Likewise.
24236         (_IO_init): Likewise.
24237         (_IO_old_init): Likewise.
24238         (_IO_default_sync): Likewise.
24239         (_IO_default_finish): Likewise.
24240         (_IO_default_seekoff): Likewise.
24241         (_IO_sputbackc): Likewise.
24242         (_IO_sungetc): Likewise.
24243         (_IO_set_column): Likewise.
24244         (_IO_set_column): Likewise.
24245         (_IO_adjust_column): Likewise.
24246         (_IO_get_column): Likewise.
24247         (_IO_init_marker): Likewise.
24248         (_IO_remove_marker): Likewise.
24249         (_IO_marker_difference): Likewise.
24250         (_IO_marker_delta): Likewise.
24251         (_IO_seekmark): Likewise.
24252         (_IO_unsave_markers): Likewise.
24253         (_IO_nobackup_pbackfail): Likewise.
24254         (_IO_default_pbackfail): Likewise.
24255         (_IO_default_seek): Likewise.
24256         (_IO_default_stat): Likewise.
24257         (_IO_default_read): Likewise.
24258         (_IO_default_write): Likewise.
24259         (_IO_default_showmanyc): Likewise.
24260         (_IO_default_imbue): Likewise.
24261         (_IO_iter_next): Likewise.
24262         (_IO_iter_file): Likewise.
24263         * libio/getc.c (_IO_getc): Likewise.
24264         * libio/getwc.c (_IO_getwc): Likewise.
24265         * libio/iofclose.c (_IO_new_fclose): Likewise.
24266         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24267         * libio/iofflush.c (_IO_fflush): Likewise.
24268         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
24269         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
24270         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
24271         * libio/iofgets.c (_IO_fgets): Likewise.
24272         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
24273         * libio/iofgetws.c (fgetws): Likewise.
24274         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24275         * libio/iofopen64.c (_IO_fopen64): Likewise.
24276         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24277         (_IO_cookie_write): Likewise.
24278         (_IO_cookie_seek): Likewise.
24279         (_IO_cookie_close): Likewise.
24280         (_IO_cookie_seekoff): Likewise.
24281         (_IO_old_cookie_seek): Likewise.
24282         * libio/iofputs.c (_IO_fputs): Likewise.
24283         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
24284         * libio/iofputws.c (fputws): Likewise.
24285         * libio/iofputws_u.c (fputws_unlocked): Likewise.
24286         * libio/iofread.c (_IO_fread): Likewise.
24287         * libio/iofread_u.c (__fread_unlocked): Likewise.
24288         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
24289         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
24290         * libio/ioftell.c (_IO_ftell): Likewise.
24291         * libio/iofwrite.c (_IO_fwrite): Likewise.
24292         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24293         * libio/iogets.c (_IO_gets): Likewise.
24294         * libio/iopadn.c (_IO_padn): Likewise.
24295         * libio/iopopen.c (_IO_new_proc_open): Likewise.
24296         (_IO_new_popen): Likewise.
24297         (_IO_new_proc_close): Likewise.
24298         * libio/ioputs.c (_IO_puts): Likewise.
24299         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
24300         (_IO_seekoff): Likewise.
24301         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
24302         (_IO_seekpos): Likewise.
24303         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
24304         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
24305         * libio/ioungetc.c (_IO_ungetc): Likewise.
24306         * libio/ioungetwc.c (ungetwc): Likewise.
24307         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24308         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
24309         * libio/iowpadn.c (_IO_wpadn): Likewise.
24310         * libio/libc_fatal.c (__libc_fatal): Likewise.
24311         * libio/memstream.c (__open_memstream): Likewise.
24312         (_IO_mem_sync): Likewise.
24313         (_IO_mem_finish): Likewise.
24314         * libio/oldfileops.c (_IO_old_file_init): Likewise.
24315         (_IO_old_file_close_it): Likewise.
24316         (_IO_old_file_finish): Likewise.
24317         (_IO_old_file_fopen): Likewise.
24318         (_IO_old_file_attach): Likewise.
24319         (_IO_old_file_setbuf): Likewise.
24320         (_IO_old_do_write): Likewise.
24321         (old_do_write): Likewise.
24322         (_IO_old_file_underflow): Likewise.
24323         (_IO_old_file_overflow): Likewise.
24324         (_IO_old_file_sync): Likewise.
24325         (_IO_old_file_seekoff): Likewise.
24326         (_IO_old_file_write): Likewise.
24327         (_IO_old_file_xsputn): Likewise.
24328         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
24329         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24330         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
24331         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
24332         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24333         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
24334         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
24335         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
24336         (_IO_old_popen): Likewise.
24337         (_IO_old_proc_close): Likewise.
24338         * libio/oldpclose.c (__old_pclose): Likewise.
24339         * libio/pclose.c (__new_pclose): Likewise.
24340         * libio/peekc.c (_IO_peekc_locked): Likewise.
24341         * libio/putc.c (_IO_putc): Likewise.
24342         * libio/putc_u.c (putc_unlocked): Likewise.
24343         * libio/putchar.c (putchar): Likewise.
24344         * libio/putchar_u.c (putchar_unlocked): Likewise.
24345         * libio/putwc.c (putwc): Likewise.
24346         * libio/putwc_u.c (putwc_unlocked): Likewise.
24347         * libio/putwchar.c (putwchar): Likewise.
24348         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
24349         * libio/rewind.c (rewind): Likewise.
24350         * libio/setbuf.c (setbuf): Likewise.
24351         * libio/setlinebuf.c (setlinebuf): Likewise.
24352         * libio/vasprintf.c (_IO_vasprintf): Likewise.
24353         * libio/vscanf.c (_IO_vscanf): Likewise.
24354         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
24355         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
24356         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24357         * libio/wgenops.c (_IO_least_wmarker): Likewise.
24358         (_IO_switch_to_main_wget_area): Likewise.
24359         (_IO_switch_to_wbackup_area): Likewise.
24360         (_IO_wsetb): Likewise.
24361         (_IO_wdefault_pbackfail): Likewise.
24362         (_IO_wdefault_finish): Likewise.
24363         (_IO_wdefault_uflow): Likewise.
24364         (__woverflow): Likewise.
24365         (__wuflow): Likewise.
24366         (__wunderflow): Likewise.
24367         (_IO_wdefault_xsputn): Likewise.
24368         (_IO_wdefault_xsgetn): Likewise.
24369         (_IO_wdoallocbuf): Likewise.
24370         (_IO_wdefault_doallocate): Likewise.
24371         (_IO_switch_to_wget_mode): Likewise.
24372         (_IO_free_wbackup_area): Likewise.
24373         (_IO_switch_to_wput_mode): Likewise.
24374         (_IO_sputbackwc): Likewise.
24375         (_IO_sungetwc): Likewise.
24376         (_IO_adjust_wcolumn): Likewise.
24377         (_IO_init_wmarker): Likewise.
24378         (_IO_wmarker_delta): Likewise.
24379         (_IO_seekwmark): Likewise.
24380         (_IO_unsave_wmarkers): Likewise.
24381         * libio/wmemstream.c (open_wmemstream): Likewise.
24382         (_IO_wmem_sync): Likewise.
24383         (_IO_wmem_finish): Likewise.
24384         * locale/nl_langinfo.c (nl_langinfo): Likewise.
24385         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
24386         * locale/programs/simple-hash.c (init_hash): Likewise.
24387         (delete_hash): Likewise.
24388         (insert_entry): Likewise.
24389         (set_entry): Likewise.
24390         (next_prime): Likewise.
24391         (is_prime): Likewise.
24392         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
24393         (xmalloc): Likewise.
24394         (xrealloc): Likewise.
24395         * locale/programs/xstrdup.c (xstrdup): Likewise.
24396         * localedata/collate-test.c (xstrcoll): Likewise.
24397         * localedata/xfrm-test.c (xstrcmp): Likewise.
24398         * login/getlogin_r.c (__getlogin_r): Likewise.
24399         * login/getpt.c (__posix_openpt): Likewise.
24400         * login/login_tty.c (login_tty): Likewise.
24401         * login/setlogin.c (setlogin): Likewise.
24402         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
24403         (mach_msg_destroy_port): Likewise.
24404         (mach_msg_destroy_memory): Likewise.
24405         * malloc/mcheck.c (flood): Likewise.
24406         * misc/acct.c (acct): Likewise.
24407         * misc/brk.c (__brk): Likewise.
24408         * misc/chflags.c (chflags): Likewise.
24409         * misc/chroot.c (chroot): Likewise.
24410         * misc/fchflags.c (fchflags): Likewise.
24411         * misc/fstab.c (getfsspec): Likewise.
24412         (getfsfile): Likewise.
24413         * misc/fsync.c (fsync): Likewise.
24414         * misc/ftruncate.c (__ftruncate): Likewise.
24415         * misc/ftruncate64.c (__ftruncate64): Likewise.
24416         * misc/getdomain.c (getdomainname): Likewise.
24417         (getdomainname): Likewise.
24418         * misc/gethostname.c (__gethostname): Likewise.
24419         * misc/getpass.c (getpass): Likewise.
24420         * misc/getttyent.c (skip): Likewise.
24421         (value): Likewise.
24422         * misc/gtty.c (gtty): Likewise.
24423         * misc/hsearch.c (hsearch): Likewise.
24424         (hcreate): Likewise.
24425         * misc/hsearch_r.c (__hcreate_r): Likewise.
24426         (__hdestroy_r): Likewise.
24427         * misc/ioctl.c (__ioctl): Likewise.
24428         * misc/mkdtemp.c (mkdtemp): Likewise.
24429         * misc/mkostemp.c (mkostemp): Likewise.
24430         * misc/mkostemp64.c (mkostemp64): Likewise.
24431         * misc/mkostemps.c (mkostemps): Likewise.
24432         * misc/mkostemps64.c (mkostemps64): Likewise.
24433         * misc/mkstemp.c (mkstemp): Likewise.
24434         * misc/mkstemp64.c (mkstemp64): Likewise.
24435         * misc/mkstemps.c (mkstemps): Likewise.
24436         * misc/mkstemps64.c (mkstemps64): Likewise.
24437         * misc/mktemp.c (__mktemp): Likewise.
24438         * misc/preadv.c (preadv): Likewise.
24439         * misc/preadv64.c (preadv64): Likewise.
24440         * misc/pwritev.c (pwritev): Likewise.
24441         * misc/pwritev64.c (pwritev64): Likewise.
24442         * misc/readv.c (__readv): Likewise.
24443         * misc/revoke.c (revoke): Likewise.
24444         * misc/setdomain.c (setdomainname): Likewise.
24445         * misc/setegid.c (setegid): Likewise.
24446         * misc/seteuid.c (seteuid): Likewise.
24447         * misc/sethostid.c (sethostid): Likewise.
24448         * misc/sethostname.c (sethostname): Likewise.
24449         * misc/setregid.c (__setregid): Likewise.
24450         * misc/setreuid.c (__setreuid): Likewise.
24451         * misc/sstk.c (sstk): Likewise.
24452         * misc/stty.c (stty): Likewise.
24453         * misc/syscall.c (syscall): Likewise.
24454         * misc/syslog.c (setlogmask): Likewise.
24455         * misc/truncate.c (__truncate): Likewise.
24456         * misc/truncate64.c (truncate64): Likewise.
24457         * misc/ualarm.c (ualarm): Likewise.
24458         * misc/usleep.c (usleep): Likewise.
24459         * misc/ustat.c (ustat): Likewise.
24460         * misc/writev.c (__writev): Likewise.
24461         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
24462         * nptl/old_pthread_cond_broadcast.c
24463         (__pthread_cond_broadcast_2_0): Likewise.
24464         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
24465         Likewise.
24466         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
24467         Likewise.
24468         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
24469         Likewise.
24470         * nptl/pt-raise.c (raise): Likewise.
24471         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
24472         Likewise.
24473         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
24474         * nptl/pthread_barrierattr_destroy.c
24475         (pthread_barrierattr_destroy): Likewise.
24476         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24477         Likewise.
24478         * nptl/pthread_barrierattr_setpshared.c
24479         (pthread_barrierattr_setpshared): Likewise.
24480         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
24481         Likewise.
24482         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
24483         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24484         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
24485         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
24486         Likewise.
24487         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
24488         Likewise.
24489         * nptl/pthread_condattr_getpshared.c
24490         (pthread_condattr_getpshared): Likewise.
24491         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
24492         Likewise.
24493         * nptl/pthread_condattr_setpshared.c
24494         (pthread_condattr_setpshared): Likewise.
24495         * nptl/pthread_detach.c (pthread_detach): Likewise.
24496         * nptl/pthread_equal.c (__pthread_equal): Likewise.
24497         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
24498         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
24499         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
24500         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
24501         Likewise.
24502         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
24503         Likewise.
24504         * nptl/pthread_mutex_getprioceiling.c
24505         (pthread_mutex_getprioceiling): Likewise.
24506         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
24507         Likewise.
24508         * nptl/pthread_mutexattr_getprotocol.c
24509         (pthread_mutexattr_getprotocol): Likewise.
24510         * nptl/pthread_mutexattr_getpshared.c
24511         (pthread_mutexattr_getpshared): Likewise.
24512         * nptl/pthread_mutexattr_getrobust.c
24513         (pthread_mutexattr_getrobust): Likewise.
24514         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24515         Likewise.
24516         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
24517         Likewise.
24518         * nptl/pthread_mutexattr_setprioceiling.c
24519         (pthread_mutexattr_setprioceiling): Likewise.
24520         * nptl/pthread_mutexattr_setprotocol.c
24521         (pthread_mutexattr_setprotocol): Likewise.
24522         * nptl/pthread_mutexattr_setpshared.c
24523         (pthread_mutexattr_setpshared): Likewise.
24524         * nptl/pthread_mutexattr_setrobust.c
24525         (pthread_mutexattr_setrobust): Likewise.
24526         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
24527         Likewise.
24528         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
24529         Likewise.
24530         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
24531         Likewise.
24532         * nptl/pthread_rwlockattr_getkind_np.c
24533         (pthread_rwlockattr_getkind_np): Likewise.
24534         * nptl/pthread_rwlockattr_getpshared.c
24535         (pthread_rwlockattr_getpshared): Likewise.
24536         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
24537         Likewise.
24538         * nptl/pthread_rwlockattr_setkind_np.c
24539         (pthread_rwlockattr_setkind_np): Likewise.
24540         * nptl/pthread_rwlockattr_setpshared.c
24541         (pthread_rwlockattr_setpshared): Likewise.
24542         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
24543         Likewise.
24544         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
24545         Likewise.
24546         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
24547         Likewise.
24548         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
24549         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
24550         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
24551         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
24552         * nptl/sem_close.c (sem_close): Likewise.
24553         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
24554         * nptl/sem_init.c (__old_sem_init): Likewise.
24555         * nptl/sigaction.c (__sigaction): Likewise.
24556         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
24557         * posix/_exit.c (_exit): Likewise.
24558         * posix/alarm.c (alarm): Likewise.
24559         * posix/confstr.c (confstr): Likewise.
24560         * posix/fpathconf.c (__fpathconf): Likewise.
24561         * posix/getgroups.c (__getgroups): Likewise.
24562         * posix/getpgid.c (__getpgid): Likewise.
24563         * posix/group_member.c (__group_member): Likewise.
24564         * posix/pathconf.c (__pathconf): Likewise.
24565         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
24566         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
24567         * posix/setgid.c (__setgid): Likewise.
24568         * posix/setpgid.c (__setpgid): Likewise.
24569         * posix/setuid.c (__setuid): Likewise.
24570         * posix/sleep.c (__sleep): Likewise.
24571         * posix/sysconf.c (__sysconf): Likewise.
24572         * posix/times.c (__times): Likewise.
24573         * posix/uname.c (__uname): Likewise.
24574         * posix/waitid.c (__waitid): Likewise.
24575         * pwd/getpw.c (__getpw): Likewise.
24576         * resolv/base64.c (b64_pton): Likewise.
24577         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
24578         * resolv/gethnamaddr.c (Dprintf): Likewise.
24579         (gethostbyname): Likewise.
24580         (gethostbyname2): Likewise.
24581         (gethostbyaddr): Likewise.
24582         (_sethtent): Likewise.
24583         (_gethtbyname): Likewise.
24584         (_gethtbyname2): Likewise.
24585         (_gethtbyaddr): Likewise.
24586         (map_v4v6_address): Likewise.
24587         (map_v4v6_hostent): Likewise.
24588         (addrsort): Likewise.
24589         (ht_sethostent): Likewise.
24590         (ht_gethostbyname): Likewise.
24591         (ht_gethostbyaddr): Likewise.
24592         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
24593         (inet_net_ntop_ipv4): Likewise.
24594         * resolv/inet_neta.c (inet_neta): Likewise.
24595         * resolv/inet_ntop.c (inet_ntop): Likewise.
24596         (inet_ntop4): Likewise.
24597         (inet_ntop6): Likewise.
24598         * resolv/inet_pton.c (__inet_pton): Likewise.
24599         (inet_pton4): Likewise.
24600         (inet_pton6): Likewise.
24601         * resolv/res_debug.c (loc_aton): Likewise.
24602         (loc_ntoa): Likewise.
24603         * resource/getpriority.c (__getpriority): Likewise.
24604         * resource/getrusage.c (__getrusage): Likewise.
24605         * resource/nice.c (nice): Likewise.
24606         * resource/setpriority.c (__setpriority): Likewise.
24607         * resource/setrlimit64.c (setrlimit64): Likewise.
24608         * resource/vlimit.c (vlimit): Likewise.
24609         * resource/vtimes.c (vtimes): Likewise.
24610         * rt/aio_error.c (aio_error): Likewise.
24611         * rt/aio_return.c (aio_return): Likewise.
24612         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
24613         * signal/kill.c (__kill): Likewise.
24614         * signal/killpg.c (killpg): Likewise.
24615         * signal/raise.c (raise): Likewise.
24616         * signal/sigaction.c (__sigaction): Likewise.
24617         * signal/sigaddset.c (sigaddset): Likewise.
24618         * signal/sigaltstack.c (sigaltstack): Likewise.
24619         * signal/sigandset.c (sigandset): Likewise.
24620         * signal/sigblock.c (__sigblock): Likewise.
24621         * signal/sigdelset.c (sigdelset): Likewise.
24622         * signal/sigempty.c (sigemptyset): Likewise.
24623         * signal/sigfillset.c (sigfillset): Likewise.
24624         * signal/sighold.c (sighold): Likewise.
24625         * signal/sigignore.c (sigignore): Likewise.
24626         * signal/sigintr.c (siginterrupt): Likewise.
24627         * signal/sigisempty.c (sigisemptyset): Likewise.
24628         * signal/sigismem.c (sigismember): Likewise.
24629         * signal/signal.c (signal): Likewise.
24630         * signal/sigorset.c (sigorset): Likewise.
24631         * signal/sigpause.c (__sigpause): Likewise.
24632         * signal/sigpending.c (sigpending): Likewise.
24633         * signal/sigprocmask.c (__sigprocmask): Likewise.
24634         * signal/sigrelse.c (sigrelse): Likewise.
24635         * signal/sigreturn.c (__sigreturn): Likewise.
24636         * signal/sigset.c (sigset): Likewise.
24637         * signal/sigsetmask.c (__sigsetmask): Likewise.
24638         * signal/sigstack.c (sigstack): Likewise.
24639         * signal/sigsuspend.c (__sigsuspend): Likewise.
24640         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
24641         * signal/sysv_signal.c (__sysv_signal): Likewise.
24642         * socket/accept.c (accept): Likewise.
24643         * socket/accept4.c (__libc_accept4): Likewise.
24644         * socket/bind.c (__bind): Likewise.
24645         * socket/connect.c (__connect): Likewise.
24646         * socket/getpeername.c (getpeername): Likewise.
24647         * socket/getsockname.c (__getsockname): Likewise.
24648         * socket/getsockopt.c (getsockopt): Likewise.
24649         * socket/listen.c (__listen): Likewise.
24650         * socket/recv.c (__recv): Likewise.
24651         * socket/recvmsg.c (__recvmsg): Likewise.
24652         * socket/send.c (__send): Likewise.
24653         * socket/sendmsg.c (__sendmsg): Likewise.
24654         * socket/shutdown.c (shutdown): Likewise.
24655         * socket/sockatmark.c (sockatmark): Likewise.
24656         * socket/socket.c (__socket): Likewise.
24657         * stdio-common/ctermid.c (ctermid): Likewise.
24658         * stdio-common/cuserid.c (cuserid): Likewise.
24659         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
24660         * stdio-common/remove.c (remove): Likewise.
24661         * stdio-common/rename.c (rename): Likewise.
24662         * stdio-common/renameat.c (renameat): Likewise.
24663         * stdio-common/tempname.c (__gen_tempname): Likewise.
24664         * stdio-common/xbug.c (InitBuffer): Likewise.
24665         (AppendToBuffer): Likewise.
24666         (ReadFile): Likewise.
24667         * stdlib/a64l.c (a64l): Likewise.
24668         * stdlib/drand48_r.c (drand48_r): Likewise.
24669         * stdlib/getcontext.c (getcontext): Likewise.
24670         * stdlib/getenv.c (getenv): Likewise.
24671         * stdlib/l64a.c (l64a): Likewise.
24672         * stdlib/llabs.c (llabs): Likewise.
24673         * stdlib/lldiv.c (lldiv): Likewise.
24674         * stdlib/lrand48_r.c (lrand48_r): Likewise.
24675         * stdlib/mrand48_r.c (mrand48_r): Likewise.
24676         * stdlib/putenv.c (putenv): Likewise.
24677         * stdlib/random.c (__srandom): Likewise.
24678         (__initstate): Likewise.
24679         (__setstate): Likewise.
24680         * stdlib/random_r.c (__srandom_r): Likewise.
24681         (__setstate_r): Likewise.
24682         (__random_r): Likewise.
24683         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
24684         * stdlib/setcontext.c (setcontext): Likewise.
24685         * stdlib/setenv.c (setenv): Likewise.
24686         (unsetenv): Likewise.
24687         * stdlib/srand48.c (srand48): Likewise.
24688         * stdlib/srand48_r.c (__srand48_r): Likewise.
24689         * stdlib/swapcontext.c (swapcontext): Likewise.
24690         * stdlib/system.c (__libc_system): Likewise.
24691         * stdlib/tst-strtod.c (expand): Likewise.
24692         * stdlib/tst-strtol.c (expand): Likewise.
24693         * stdlib/tst-strtoll.c (expand): Likewise.
24694         * streams/fattach.c (fattach): Likewise.
24695         * streams/fdetach.c (fdetach): Likewise.
24696         * streams/getmsg.c (getmsg): Likewise.
24697         * streams/isastream.c (isastream): Likewise.
24698         * string/ffs.c (__ffs): Likewise.
24699         * string/ffsll.c (ffsll): Likewise.
24700         * string/memcmp.c (memcmp_common_alignment): Likewise.
24701         (memcmp_not_common_alignment): Likewise.
24702         (MEMCMP): Likewise.
24703         * string/memcpy.c (memcpy): Likewise.
24704         * string/memmove.c (MEMMOVE): Likewise.
24705         * string/memset.c (memset): Likewise.
24706         * string/rawmemchr.c (RAWMEMCHR): Likewise.
24707         * string/strchrnul.c (STRCHRNUL): Likewise.
24708         * string/strerror.c (strerror): Likewise.
24709         * string/strndup.c (__strndup): Likewise.
24710         * string/strverscmp.c (__strverscmp): Likewise.
24711         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
24712         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
24713         (clnttcp_freeres): Likewise.
24714         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
24715         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
24716         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
24717         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
24718         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
24719         (xdr_callhdr): Likewise.
24720         * sunrpc/rpcinfo.c (udpping): Likewise.
24721         (tcpping): Likewise.
24722         (pstatus): Likewise.
24723         (pmapdump): Likewise.
24724         (brdcst): Likewise.
24725         (deletereg): Likewise.
24726         (getprognum): Likewise.
24727         (getvers): Likewise.
24728         (get_inet_address): Likewise.
24729         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
24730         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24731         (svcudp_stat): Likewise.
24732         (svcudp_recv): Likewise.
24733         (svcudp_reply): Likewise.
24734         (svcudp_getargs): Likewise.
24735         (svcudp_freeargs): Likewise.
24736         (svcudp_destroy): Likewise.
24737         * sunrpc/xdr.c (xdr_bytes): Likewise.
24738         (xdr_netobj): Likewise.
24739         (xdr_string): Likewise.
24740         (xdr_wrapstring): Likewise.
24741         * sunrpc/xdr_float.c (xdr_float): Likewise.
24742         (xdr_double): Likewise.
24743         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
24744         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
24745         * sysvipc/ftok.c (ftok): Likewise.
24746         * sysvipc/msgctl.c (msgctl): Likewise.
24747         * sysvipc/msgget.c (msgget): Likewise.
24748         * sysvipc/msgrcv.c (msgrcv): Likewise.
24749         * sysvipc/msgsnd.c (msgsnd): Likewise.
24750         * sysvipc/semget.c (semget): Likewise.
24751         * sysvipc/semop.c (semop): Likewise.
24752         * sysvipc/shmat.c (shmat): Likewise.
24753         * sysvipc/shmctl.c (shmctl): Likewise.
24754         * sysvipc/shmdt.c (shmdt): Likewise.
24755         * sysvipc/shmget.c (shmget): Likewise.
24756         * termios/cfmakeraw.c (cfmakeraw): Likewise.
24757         * termios/speed.c (cfgetospeed): Likewise.
24758         (cfgetispeed): Likewise.
24759         (cfsetospeed): Likewise.
24760         (cfsetispeed): Likewise.
24761         * termios/tcflow.c (tcflow): Likewise.
24762         * termios/tcflush.c (tcflush): Likewise.
24763         * termios/tcgetattr.c (__tcgetattr): Likewise.
24764         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
24765         * termios/tcgetsid.c (tcgetsid): Likewise.
24766         * termios/tcsendbrk.c (tcsendbreak): Likewise.
24767         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
24768         * time/adjtime.c (__adjtime): Likewise.
24769         * time/dysize.c (dysize): Likewise.
24770         * time/ftime.c (ftime): Likewise.
24771         * time/getitimer.c (__getitimer): Likewise.
24772         * time/gettimeofday.c (__gettimeofday): Likewise.
24773         * time/gmtime.c (__gmtime_r): Likewise.
24774         (gmtime): Likewise.
24775         * time/localtime.c (__localtime_r): Likewise.
24776         (localtime): Likewise.
24777         * time/offtime.c (__offtime): Likewise.
24778         * time/settimeofday.c (__settimeofday): Likewise.
24779         * time/stime.c (stime): Likewise.
24780         * time/strftime_l.c (tm_diff): Likewise.
24781         (iso_week_days): Likewise.
24782         * time/strptime.c (strptime): Likewise.
24783         * time/time.c (time): Likewise.
24784         * time/timespec_get.c (timespec_get): Likewise.
24785         * time/tzset.c (tzset_internal): Likewise.
24786         (compute_change): Likewise.
24787         (__tz_compute): Likewise.
24788         * wcsmbs/btowc.c (__btowc): Likewise.
24789         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
24790         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
24791         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
24792         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
24793         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
24794         * wcsmbs/wcscat.c (__wcscat): Likewise.
24795         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24796         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
24797         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
24798         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24799         * wcsmbs/wcsdup.c (wcsdup): Likewise.
24800         * wcsmbs/wcslen.c (__wcslen): Likewise.
24801         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
24802         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
24803         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
24804         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
24805         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24806         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
24807         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24808         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24809         * wcsmbs/wcstok.c (wcstok): Likewise.
24810         * wcsmbs/wctob.c (wctob): Likewise.
24811         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
24812         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24813         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
24814         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
24815         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
24816         * wcsmbs/wmemset.c (__wmemset): Likewise.
24817         * wctype/wcfuncs.c (__towlower): Likewise.
24818         (__towupper): Likewise.
24820         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
24821         (lll_unlock_elision): Add adapt_count parameter.
24823 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
24825         * sysdeps/nptl/configure.ac: Do not give errors based on the
24826         results of top-level configure tests.
24827         * sysdeps/nptl/configure: Regenerated.
24829         * configure.ac (libc_cv_Bgroup): Remove configure test.
24830         * configure: Regenerated.
24831         * config.make.in (have-Bgroup): Remove variable.
24833         * configure.ac (sizeof_long_double): Remove configure test.
24834         * configure: Regenerated.
24835         * config.make.in (sizeof-long-double): Remove variable.
24837         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
24838         * configure: Regenerated.
24839         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
24840         variable.
24841         (exceptions): Likewise.
24842         * sysdeps/arm/configure: Regenerated.
24843         * config.make.in (exceptions): Remove variable.
24844         * Makeconfig (uses-callbacks): Use -fexceptions instead of
24845         $(exceptions).
24846         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
24847         (CFLAGS-vdprintf_chk.c): Likewise.
24848         (CFLAGS-printf_chk.c): Likewise.
24849         (CFLAGS-fprintf_chk.c): Likewise.
24850         (CFLAGS-vprintf_chk.c): Likewise.
24851         (CFLAGS-vfprintf_chk.c): Likewise.
24852         (CFLAGS-gets_chk.c): Likewise.
24853         (CFLAGS-fgets_chk.c): Likewise.
24854         (CFLAGS-fgets_u_chk.c): Likewise.
24855         (CFLAGS-fread_chk.c): Likewise.
24856         (CFLAGS-fread_u_chk.c): Likewise.
24857         (CFLAGS-wprintf_chk.c): Likewise.
24858         (CFLAGS-fwprintf_chk.c): Likewise.
24859         (CFLAGS-vwprintf_chk.c): Likewise.
24860         (CFLAGS-vfwprintf_chk.c): Likewise.
24861         (CFLAGS-fgetws_chk.c): Likewise.
24862         (CFLAGS-fgetws_u_chk.c): Likewise.
24863         * libio/Makefile (CFLAGS-fileops.c): Likewise.
24864         (CFLAGS-fputc.c): Likewise.
24865         (CFLAGS-fputwc.c): Likewise.
24866         (CFLAGS-freopen64.c): Likewise.
24867         (CFLAGS-freopen.c): Likewise.
24868         (CFLAGS-fseek.c): Likewise.
24869         (CFLAGS-fseeko64.c): Likewise.
24870         (CFLAGS-fseeko.c): Likewise.
24871         (CFLAGS-ftello64.c): Likewise.
24872         (CFLAGS-ftello.c): Likewise.
24873         (CFLAGS-fwide.c): Likewise.
24874         (CFLAGS-genops.c): Likewise.
24875         (CFLAGS-getc.c): Likewise.
24876         (CFLAGS-getchar.c): Likewise.
24877         (CFLAGS-getwc.c): Likewise.
24878         (CFLAGS-getwchar.c): Likewise.
24879         (CFLAGS-iofclose.c): Likewise.
24880         (CFLAGS-iofflush.c): Likewise.
24881         (CFLAGS-iofgetpos64.c): Likewise.
24882         (CFLAGS-iofgetpos.c): Likewise.
24883         (CFLAGS-iofgets.c): Likewise.
24884         (CFLAGS-iofgetws.c): Likewise.
24885         (CFLAGS-iofputs.c): Likewise.
24886         (CFLAGS-iofputws.c): Likewise.
24887         (CFLAGS-iofread.c): Likewise.
24888         (CFLAGS-iofsetpos64.c): Likewise.
24889         (CFLAGS-iofsetpos.c): Likewise.
24890         (CFLAGS-ioftell.c): Likewise.
24891         (CFLAGS-iofwrite.c): Likewise.
24892         (CFLAGS-iogetdelim.c): Likewise.
24893         (CFLAGS-iogetline.c): Likewise.
24894         (CFLAGS-iogets.c): Likewise.
24895         (CFLAGS-iogetwline.c): Likewise.
24896         (CFLAGS-ioputs.c): Likewise.
24897         (CFLAGS-ioseekoff.c): Likewise.
24898         (CFLAGS-ioseekpos.c): Likewise.
24899         (CFLAGS-iosetbuffer.c): Likewise.
24900         (CFLAGS-iosetvbuf.c): Likewise.
24901         (CFLAGS-ioungetc.c): Likewise.
24902         (CFLAGS-ioungetwc.c): Likewise.
24903         (CFLAGS-oldfileops.c): Likewise.
24904         (CFLAGS-oldiofclose.c): Likewise.
24905         (CFLAGS-oldiofgetpos64.c): Likewise.
24906         (CFLAGS-oldiofgetpos.c): Likewise.
24907         (CFLAGS-oldiofsetpos64.c): Likewise.
24908         (CFLAGS-oldiofsetpos.c): Likewise.
24909         (CFLAGS-peekc.c): Likewise.
24910         (CFLAGS-putc.c): Likewise.
24911         (CFLAGS-putchar.c): Likewise.
24912         (CFLAGS-putwc.c): Likewise.
24913         (CFLAGS-putwchar.c): Likewise.
24914         (CFLAGS-rewind.c): Likewise.
24915         (CFLAGS-wfileops.c): Likewise.
24916         (CFLAGS-wgenops.c): Likewise.
24917         (CFLAGS-oldiofopen.c): Likewise.
24918         (CFLAGS-iofopen.c): Likewise.
24919         (CFLAGS-iofopen64.c): Likewise.
24920         (CFLAGS-oldtmpfile.c): Likewise.
24921         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24922         (CFLAGS-fprintf.c): Likewise.
24923         (CFLAGS-printf.c): Likewise.
24924         (CFLAGS-vfwprintf.c): Likewise.
24925         (CFLAGS-vfscanf.c): Likewise.
24926         (CFLAGS-vfwscanf.c): Likewise.
24927         (CFLAGS-fscanf.c): Likewise.
24928         (CFLAGS-scanf.c): Likewise.
24929         (CFLAGS-isoc99_vfscanf.c): Likewise.
24930         (CFLAGS-isoc99_vscanf.c): Likewise.
24931         (CFLAGS-isoc99_fscanf.c): Likewise.
24932         (CFLAGS-isoc99_scanf.c): Likewise.
24933         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
24934         (CFLAGS-isoc99_fwscanf.c): Likewise.
24935         (CFLAGS-isoc99_vwscanf.c): Likewise.
24936         (CFLAGS-isoc99_vfwscanf.c): Likewise.
24938         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
24939         after mkstemp64.
24940         * login/tst-utmp.c (do_prepare): Likewise.
24941         * rt/tst-aio.c (do_prepare): Likewise.
24942         * rt/tst-aio64.c (do_prepare): Likewise.
24944 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24946         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24947         (__lll_lock_elision): Remove adapt_count decrement...
24948         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24949         (__lll_trylock_elision): Likewise.
24950         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
24951         (__lll_unlock_elision): ... to here. And utilize
24952         new adapt_count parameter.
24953         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24954         (__lll_unlock_elision): Update to include adapt_count
24955         parameter.
24956         (lll_unlock_elision): Pass pointer to adapt_count
24957         variable.
24959 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24961         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
24962         Add elision adapt_count parameter to list of arguments.
24963         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24964         (lll_unlock_elision): Update with new parameter list
24965         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
24966         (lll_unlock_elision): Likewise.
24967         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
24968         (lll_unlock_elision): Likewise.
24970 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24972         [BZ #19122]
24973         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
24974         attribute_hidden.
24976         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
24977         attribute_hidden.
24978         [IS_IN (rtld)] (__strdup): Likewise.
24979         [IS_IN (rtld)] (__strerror_r): Likewise.
24980         [IS_IN (rtld)] (__strsep_g): Likewise.
24981         [IS_IN (rtld)] (memchr): Likewise.
24982         [IS_IN (rtld)] (memcmp): Likewise.
24983         [IS_IN (rtld)] (memcpy): Likewise.
24984         [IS_IN (rtld)] (memmove): Likewise.
24985         [IS_IN (rtld)] (memset): Likewise.
24986         [IS_IN (rtld)] (rawmemchr): Likewise.
24987         [IS_IN (rtld)] (stpcpy): Likewise.
24988         [IS_IN (rtld)] (strchr): Likewise.
24989         [IS_IN (rtld)] (strcmp): Likewise.
24990         [IS_IN (rtld)] (strlen): Likewise.
24991         [IS_IN (rtld)] (strnlen): Likewise.
24992         [IS_IN (rtld)] (strsep): Likewise.
24994         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
24995         attribute_hidden.
24996         [IS_IN (rtld)] (__strtoul_internal): Likewise.
24998         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
24999         attribute_hidden.
25000         [IS_IN (rtld)] (__libc_sigaction): Likewise.
25002         * include/setjmp.h (__longjmp): Add attribute_hidden.
25003         [IS_IN (rtld)] (__sigsetjmp): Likewise.
25005         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
25006         Add attribute_hidden.
25008         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25009         [IS_IN (rtld)] (__open): Likewise.
25010         [IS_IN (rtld)] (__fcntl): Likewise.
25012         * include/dirent.h (__opendirat): Add attribute_hidden.
25013         (__getdents): Likewise.
25014         (__getdents64): Likewise.
25015         (__alloc_dir): Likewise.
25016         [IS_IN (rtld)] (__closedir): Likewise.
25017         [IS_IN (rtld)] (__fdopendir): Likewise.
25018         [IS_IN (rtld)] (__readdir): Likewise.
25019         [IS_IN (rtld)] (__readdir64): Likewise.
25020         [IS_IN (rtld)] (__rewinddir): Likewise.
25022         * include/dlfcn.h (_dl_catch_error): Moved to ...
25023         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25024         attribute_hidden.
25026         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25027         (_itoa_word): Likewise.
25029         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25030         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25031         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25032         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25033         (_dl_higher_prime_number): Likewise.
25034         (_dl_debug_printf_c): Likewise.
25035         (_dl_signal_cerror): Likewise.
25036         (_dl_receive_error): Likewise.
25037         (_dl_reloc_bad_type): Likewise.
25038         (_dl_resolve_conflicts): Likewise.
25039         (_dl_check_all_versions): Likewise.
25040         (_dl_check_map_versions): Likewise.
25041         (_dl_sort_fini): Likewise.
25042         (_dl_debug_initialize): Likewise.
25043         (_dl_init_paths): Likewise.
25044         (_dl_show_auxv): Likewise.
25045         (_dl_next_ld_env_entry): Likewise.
25046         (_dl_important_hwcaps): Likewise.
25047         (_dl_load_cache_lookup): Likewise.
25048         (_dl_update_slotinfo): Likewise.
25049         (_dl_show_scope): Likewise.
25051         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
25052         attribute_hidden.
25053         (_wordcopy_fwd_dest_aligned): Likewise.
25054         (_wordcopy_bwd_aligned): Likewise.
25055         (_wordcopy_bwd_dest_aligned): Likewise.
25057         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25058         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25059         Likewise.
25060         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25061         Likewise.
25062         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25064 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25066         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
25067         GCC 5 requirement.
25069 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25071         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
25072         test.
25073         * sysdeps/i386/configure: Regenerated.
25074         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
25075         code unconditional.
25077         * configure.ac (libc_cv_asm_previous_directive): Remove configure
25078         test.
25079         (libc_cv_asm_popsection_directive): Likewise.
25080         * configure: Regenerated.
25081         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
25082         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
25083         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
25084         (__make_section_unallocated): Make definition unconditional.
25085         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
25086         Remove conditional definition.
25087         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
25088         (__make_section_unallocated): Likewise.
25090         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
25091         * configure: Regenerated.
25092         * config.make.in (static-libgcc): Remove variable.
25093         * Makerules (build-shlib-helper): Use -static-libgcc instead of
25094         $(static-libgcc).
25095         (build-module-helper): Likewise.
25097         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
25098         * configure: Regenerated.
25100 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25102         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
25103         (struct char_buffer): New type.
25104         (char_buffer_start, char_buffer_size, char_buffer_error)
25105         (char_buffer_rewind, char_buffer_add): New functions.
25106         (ADDW): Remove macro, replaced by the char_buffer_add function.
25107         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
25108         of extend_alloca.  Make control flow more explicit.
25110 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25112         [BZ #19137]
25113         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25114         Add -fomit-frame-pointer.
25115         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
25117 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25119         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
25120         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
25121         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
25122         only if !__GNUC_PREREQ (5,0).
25123         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
25124         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
25125         (INTERNAL_SYSCALL_NCS): Likewise.
25126         (LOADREGS_0): New macro for GCC 5.
25127         (ASMARGS_0): Likewise.
25128         (LOADREGS_1): Likewise.
25129         (ASMARGS_1): Likewise.
25130         (LOADREGS_2): Likewise.
25131         (ASMARGS_2): Likewise.
25132         (LOADREGS_3): Likewise.
25133         (ASMARGS_3): Likewise.
25134         (LOADREGS_4): Likewise.
25135         (ASMARGS_4): Likewise.
25136         (LOADREGS_5): Likewise.
25137         (ASMARGS_5): Likewise.
25138         (LOADREGS_6): Likewise.
25139         (ASMARGS_6): Likewise.
25141 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25143         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
25144         -fomit-frame-pointer.
25145         (CFLAGS-mmap64.c): Likewise.
25146         (CFLAGS-semtimedop.c): Likewise.
25147         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
25148         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
25149         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25150         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25152 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25154         [BZ #18928]
25155         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
25156         _dl_pointer_guard member.
25157         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
25158         initializer.
25159         (security_init): Always set up pointer guard.
25160         (process_envvars): Do not process LD_POINTER_GUARD.
25162 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
25164         [BZ #19134]
25165         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
25166         (.LC2): Likewise.
25167         (.LC3): Likewise.
25168         (__lround): Do not add 0.5 to integer or out-of-range arguments.
25170 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25172         [BZ #19129]
25173         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
25174         r0 and r1.
25176 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
25178         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
25180 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
25182         * include/stap-probe.h: Fix macro definition formatting.
25184 2015-10-14  Florian Weimer  <fweimer@redhat.com>
25186         [BZ #19074]
25187         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
25188         load and store num_ifs.
25190 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25192         [BZ #18822]
25193         * sysdeps/unix/sysv/linux/sched_getaffinity.c
25194         (__sched_getaffinity_new): Add libc_hidden_proto and
25195         libc_hidden_def.
25197 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25199         [BZ #19007]
25200         * scripts/localplt.awk: Also allow GOT references.
25201         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
25202         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
25203         with "+ REL R_386_GLOB_DAT".
25204         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
25205         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
25207 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25209         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
25210         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25211         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
25212         Likewise.
25213         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25214         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
25215         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25216         INTERNAL_SYSCALLINTERNAL_SYSCALL and
25217         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25218         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25219         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25220         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25221         Likewise.
25222         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25224 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25226         [BZ #19125]
25227         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
25228         <math_private.h> and <stdint.h>.
25229         (__llround): Avoid conversions to and from long long int, and
25230         subtractions, where those might raise spurious exceptions.
25231         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25232         <math_private.h> and <stdint.h>.
25233         (__llroundf): Avoid conversions to and from long long int, and
25234         subtractions, where those might raise spurious exceptions.
25236 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25238         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
25239         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25240         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25241         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
25242         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25243         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25244         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
25245         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
25246         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
25247         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25248         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25249         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25250         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
25251         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25252         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25253         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
25254         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
25255         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25256         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
25257         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
25258         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25259         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
25260         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
25261         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25262         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
25263         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25264         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
25265         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25266         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25267         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
25268         (__xstat64_conv): Likewise.
25269         (__xstat32_conv): Likewise.
25271 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25273         * sysdeps/unix/sysv/linux/sysdep.h: New file.
25274         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
25275         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
25276         <sysdeps/unix/sysv/linux/sysdep.h>.
25277         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25278         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
25279         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
25280         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25281         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25282         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
25283         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
25284         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
25285         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
25286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25288         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25289         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25290         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25291         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25293         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
25294         (sysdep-dl-routines): Add sysdep.
25295         [$(subdir) == nptl] (libpthread-routines): Likewise.
25296         [$(subdir) == rt] (librt-routines): Likewise.
25297         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
25298         PIC when branching to SYSCALL_ERROR_LABEL.
25299         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
25300         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
25301         <sysdeps/unix/sysv/linux/sysdep.h>.
25302         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
25303         (SYSCALL_ERROR_ERRNO): Removed.
25304         (SYSCALL_ERROR_HANDLER): Changed to empty.
25305         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
25306         (__syscall_error): New prototype.
25307         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
25308         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
25310 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25312         [BZ #19124]
25313         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
25314         (_dl_runtime_resolve_avx512): Make it a hidden alias of
25315         _dl_runtime_resolve_avx.
25316         (_dl_runtime_profile_avx512): Make it a hidden alias of
25317         _dl_runtime_profile_avx.
25319 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25321         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
25322         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
25323         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
25324         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
25326         [BZ #16422]
25327         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
25328         New configure test.
25329         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
25330         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
25331         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
25332         <math_private.h> and <stdint.h>.
25333         (__llrint): Avoid conversions to long long int where those might
25334         raise spurious exceptions.
25335         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25336         <math_private.h> and <stdint.h>.
25337         (__llrintf): Avoid conversions to long long int where those might
25338         raise spurious exceptions.
25340 2015-10-12  Andreas Schwab  <schwab@suse.de>
25342         [BZ #18969]
25343         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
25344         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
25345         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
25346         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
25347         $(gen-locales).
25348         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
25349         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
25350         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
25351         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
25352         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
25353         $(gen-locales).
25354         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
25355         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
25356         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
25357         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
25358         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
25359         ($(objpfx)tst-ftell-active-handler.out)
25360         ($(objpfx)tst-ftell-append.out)
25361         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
25362         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
25363         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
25364         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
25365         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
25366         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
25367         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
25368         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
25369         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
25370         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
25371         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
25372         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
25373         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
25374         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
25375         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
25376         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
25377         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
25378         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
25379         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
25380         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
25381         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
25382         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
25383         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
25384         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
25385         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
25386         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
25387         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
25388         $(gen-locales).
25389         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
25390         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
25391         $(gen-locales).
25392         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
25393         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
25394         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
25395         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
25396         $(gen-locales).
25397         * libio/tst_wprintf2.c (main): Use explicit locale.
25398         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
25400 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25402         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
25403         __msg_sig_post.
25404         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
25406 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25408         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25409         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25411         * sysdeps/arm/libm-test-ulps: Regenerated.
25413         [BZ #15470]
25414         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
25416         [BZ #16399]
25417         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
25418         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
25419         and <fix-fp-int-convert-overflow.h>.
25420         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25421         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25422         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
25423         and <fix-fp-int-convert-overflow.h>.
25424         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
25425         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25426         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
25427         <fix-fp-int-convert-overflow.h>.
25428         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25429         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25430         * sysdeps/ieee754/dbl-64/s_lround.c: Include
25431         <fix-fp-int-convert-overflow.h>.
25432         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
25433         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25434         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
25435         and <fix-fp-int-convert-overflow.h>.
25436         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25437         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25438         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
25439         <limits.h> and <fix-fp-int-convert-overflow.h>.
25440         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25441         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25442         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
25443         and <fix-fp-int-convert-overflow.h>.
25444         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25445         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25446         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
25447         and <fix-fp-int-convert-overflow.h>.
25448         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25449         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25450         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
25452 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
25454         [BZ #18589]
25455         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
25456         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
25457         $(gen-locales).
25459 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25460             Phil Blundell <pb@pbcl.net>
25462         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
25463         * nptl/tst-cancel26.c: New file.
25464         * nptl/tst-cancel27.c: Likewise.
25466 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
25468         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
25469         __ILP32__ isn't defined.
25470         (lrint): Likewise.
25471         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
25472         (lrintf): Likewise.
25473         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
25474         (lrintl): Likewise.
25475         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
25476         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
25477         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
25479 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25481         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
25482         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
25484         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
25485         file.
25486         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
25487         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
25489 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25491         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
25492         configure test.
25493         * sysdeps/i386/configure: Regenerated.
25494         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
25495         configure test.
25496         * sysdeps/x86_64/configure: Regenerated.
25497         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
25498         Make code unconditional.
25500         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
25501         test.
25502         * sysdeps/i386/configure: Regenerated.
25503         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
25504         test.
25505         * sysdeps/x86_64/configure: Regenerated.
25506         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
25507         Make code unconditional.
25508         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25509         Likewise.
25510         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
25511         Likewise.
25512         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25513         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
25514         code unconditional.
25515         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25516         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
25517         code unconditional.
25518         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25519         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
25520         code unconditional.
25521         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
25522         code unconditional.
25523         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25524         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
25525         code unconditional.
25526         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25527         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
25528         code unconditional.
25529         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25530         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
25531         code unconditional.
25532         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25533         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
25534         code unconditional.
25535         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25536         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
25538         [BZ #19095]
25539         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
25540         mantissa to long int before shifting left.
25542 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25544         [BZ #19094]
25545         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
25546         <limits.h>.
25547         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25548         when result overflows but exception would not result from cast.
25549         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
25550         <limits.h>.
25551         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25552         when result overflows but exception would not result from cast.
25553         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
25554         <limits.h>.
25555         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25556         when result overflows but exception would not result from cast.
25557         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
25558         <limits.h>.
25559         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25560         when result overflows but exception would not result from cast.
25561         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
25562         <limits.h>.
25563         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25564         when result overflows but exception would not result from cast.
25565         * math/libm-test.inc (lrint_test_data): Add more tests.
25566         (llrint_test_data): Likewise.
25568 2015-10-08  Roland McGrath  <roland@hack.frob.com>
25570         [BZ #18872]
25571         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
25572         Move out from under [$(run-built-tests) = yes] conditional.
25573         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
25574         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
25576 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
25578         [BZ #18589]
25579         * string/Makefile (tests): Add bug-strcoll2.
25580         (LOCALES): Add cs_CZ.UTF-8.
25581         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
25583         [BZ #18589]
25584         * string/bug-strcoll2.c: New file.
25585         * locale/categories.def: Revert commit
25586         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
25587         * locale/langinfo.h: Likewise.
25588         * locale/localeinfo.h: Likewise.
25589         * locale/C-collate.c: Likewise.
25590         * locale/programs/ld-collate.c (collate_output): Likewise.
25591         * string/strcoll_l.c (STRDIFF): Likewise.
25592         (STRCOLL): Likewise.
25593         * wcsmbs/wcscoll_l.c: Likewise.
25595 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25597         * math/libm-test.inc (lround_test_data): Do not expect the absence
25598         of "inexact" for some tests with non-integer arguments.
25599         (llround_test_data): Likewise.
25601         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
25602         test.
25603         (libc_cv_cc_sse2avx): Likewise.
25604         * sysdeps/i386/configure: Regenerated.
25605         * sysdeps/i386/i686/multiarch/Makefile
25606         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
25607         [$(subdir) = math].
25608         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
25609         code unconditional.
25610         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25611         Likewise.
25612         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
25613         Likewise.
25614         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25615         Likewise.
25616         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
25617         test.
25618         (libc_cv_cc_sse2avx): Likewise.
25619         * sysdeps/x86_64/configure: Regenerated.
25620         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
25621         unconditional.
25622         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
25623         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
25624         unconditional.
25625         (_dl_runtime_profile)
25626         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
25627         conditional code.
25628         * sysdeps/x86_64/fpu/multiarch/Makefile
25629         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
25630         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25631         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25632         * sysdeps/x86_64/fpu/multiarch/e_exp.c
25633         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25634         * sysdeps/x86_64/fpu/multiarch/e_log.c
25635         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25636         * sysdeps/x86_64/fpu/multiarch/s_atan.c
25637         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25638         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25639         Likewise.
25640         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25641         Likewise.
25642         * sysdeps/x86_64/fpu/multiarch/s_sin.c
25643         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25644         * sysdeps/x86_64/fpu/multiarch/s_tan.c
25645         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25646         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
25647         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
25648         (HAVE_SSE2AVX_SUPPORT): Likewise.
25650 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
25652         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
25653         instead of #pragma optimize.
25655 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25657         [BZ #17195]
25658         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
25659         as is similarly done in systrim and _int_free already.
25661 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25663         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
25665 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25667         [BZ #19088]
25668         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
25669         <limits.h>.
25670         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25671         overflows but exception would not result from cast.
25672         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
25673         and <limits.h>.
25674         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25675         overflows but exception would not result from cast.
25676         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
25677         <limits.h>.
25678         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25679         overflows but exception would not result from cast.
25680         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
25681         <limits.h>.
25682         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25683         overflows but exception would not result from cast.
25684         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
25685         <limits.h>.
25686         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25687         overflows but exception would not result from cast.
25688         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
25689         <limits.h>.
25690         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25691         overflows but exception would not result from cast.
25692         * math/libm-test.inc (lround_test_data): Add more tests.
25693         (llround_test_data): Likewise.
25695 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
25697         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
25698         (CFLAGS-ialloc.c): Ditto.
25699         (CFLAGS-scheck.c): Ditto.
25701 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25703         [BZ #19086]
25704         * manual/filesys.texi (Storage Allocation): Fix argument order for
25705         posix_fallocate64.
25707 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25709         [BZ #19085]
25710         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
25711         exponent below 48 inside case for non-overflowing exponent.
25712         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
25714 2015-10-07  Florian Weimer  <fweimer@redhat.com>
25716         * iconvdata/cp737.h (from_idx): Add const.
25717         * iconvdata/cp775.h (from_idx): Likewise.
25719 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25721         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
25722         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
25723         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
25725         [BZ #19079]
25726         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
25727         file, conditioned on [!_LP64].
25728         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
25729         [!_LP64] (__lround): Do not define as function or alias.
25730         [!_LP64] (lround): Likewise.
25731         [!_LP64] (__lroundl): Likewise.
25732         [!_LP64] (lroundl): Likewise.
25733         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
25734         macro.
25735         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25736         Likewise.
25738 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25740         * math/libm-test.inc (lrint_test_data): Add more tests.
25741         (llrint_test_data): Likewise.
25742         (lround_test_data): Likewise.
25743         (llround_test_data): Likewise.
25745         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
25746         (llrint_test_data): Add tests used for lrint.
25748         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
25749         test.
25750         * sysdeps/i386/configure: Regenerated.
25751         * sysdeps/i386/i686/multiarch/Makefile
25752         [$(config-cflags-sse4) = yes]: Make code unconditional.
25753         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25754         Likewise.
25755         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
25756         Likewise.
25757         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
25758         test.
25759         * sysdeps/x86_64/configure: Regenerated.
25760         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
25761         Make code unconditional.
25762         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25763         Likewise.
25764         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
25765         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
25767         * scripts/rpm2dynsym.sh: Remove file.
25769 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25771         * configure.ac (libc_cv_cxx_thread_local): Define.
25772         * configure: Regenerate.
25773         * config.make.in (have-cxx-thread_local): Define.
25774         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
25775         (LDLIBS-tst-thread_local1): Define.
25776         (tests): Add tst-thread_local1.
25777         [have-cxx-thread_local != yes] (tests-unsupported): Add
25778         tst-thread_local1.
25779         * nptl/tst-thread_local1.cc: New file.
25781 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25783         [BZ #19078]
25784         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
25785         (u_thres): Likewise.
25786         (__expl): Determine whether to call __kernel_standard_l based on
25787         value of result, not argument.
25789         * math/libm-test.inc (scalb_test_data): Add more expectations for
25790         the "inexact" exception.
25792         [BZ #19077]
25793         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
25794         0.0L for argument 1.0L.
25796         [BZ #19076]
25797         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
25798         constant 0.0L when computing infinite result.
25800 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25802         [BZ #10432]
25803         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
25804         malloc_usable_size.
25806 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25808         [BZ #19018]
25809         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25810         Mangle function pointer before storing it.
25811         (__call_tls_dtors): Demangle function pointer before calling it.
25813 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25815         [BZ #19012]
25816         * iconv/gconv_db.c (gen_steps): Check for additional errors.
25817         Clean up on failure.
25819 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
25821         [BZ #19071]
25822         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
25823         long int variable to store possibly incremented high part of
25824         mantissa.
25825         * math/libm-test.inc (lround_test_data): Add tests used for
25826         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
25827         for tests requiring 64-bit long.  Do not condition tests on
25828         [TEST_FLOAT] unnecessarily.
25829         (llround_test_data): Add tests used for lround.  Add another
25830         expectation for the "inexact" exception.  Do not condition tests
25831         on [TEST_FLOAT] unnecessarily.
25833         [BZ #887]
25834         [BZ #19049]
25835         [BZ #19050]
25836         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
25837         * sysdeps/ieee754/dbl-64/e_log10.c: Include
25838         <fix-int-fp-convert-zero.h>.
25839         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25840         * sysdeps/ieee754/dbl-64/e_log2.c: Include
25841         <fix-int-fp-convert-zero.h>.
25842         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25843         * sysdeps/ieee754/dbl-64/s_erf.c: Include
25844         <fix-int-fp-convert-zero.h>.
25845         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25846         * sysdeps/ieee754/dbl-64/s_logb.c: Include
25847         <fix-int-fp-convert-zero.h>.
25848         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25849         * sysdeps/ieee754/flt-32/e_log10f.c: Include
25850         <fix-int-fp-convert-zero.h>.
25851         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25852         * sysdeps/ieee754/flt-32/e_log2f.c: Include
25853         <fix-int-fp-convert-zero.h>.
25854         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25855         * sysdeps/ieee754/flt-32/s_erff.c: Include
25856         <fix-int-fp-convert-zero.h>.
25857         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25858         * sysdeps/ieee754/flt-32/s_logbf.c: Include
25859         <fix-int-fp-convert-zero.h>.
25860         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25861         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
25862         <fix-int-fp-convert-zero.h>.
25863         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25864         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
25865         <fix-int-fp-convert-zero.h>.
25866         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25867         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
25868         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
25869         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
25870         file.
25871         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
25873 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
25875         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25877 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
25879         [BZ #19059]
25880         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
25881         overflowing computation.
25882         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25883         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25884         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25885         Likewise.
25886         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25887         Likewise.
25888         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25889         Likewise.
25890         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25891         Likewise.
25892         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25893         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25894         Likewise.
25895         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25896         Likewise.
25897         * math/libm-test.inc (nexttoward_test_data): Add more tests.
25899         * nss/rewrite_field.c (__nss_rewrite_field): Use
25900         internal_function.
25901         * nss/valid_field.c (__nss_valid_field): Likewise.
25902         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
25904 2015-10-02  Florian Weimer  <fweimer@redhat.com>
25906         [BZ #18724]
25907         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
25908         (__nss_invalid_field_characters, __nss_valid_field)
25909         (__nss_valid_list_field, __nss_rewrite_field): Declare.
25910         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
25911         tst-field.c: New file.
25912         * nss/Makefile (routines): Add valid_field, rewrite_field.
25913         (tests-static): Define unconditionally.
25914         (tests): Include tests-static.
25915         [build-static-nss] (tests-static): Use append.
25916         [build-static-nss] (tests): Remove modification.
25917         * nss/getent.c (print_group): Call putgrent.  Report error.
25918         (print_gshadow): Call putsgent.  Report error.
25919         (print_passwd): Call putpwent.  Report error.
25920         (print_shadow): Call putspent.  Report error.
25921         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
25922         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
25923         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
25924         name, password, directory, shell fields for valid syntax.  Rewrite
25925         GECOS field to match syntax.
25926         * pwd/Makefile (tests): Add tst-putpwent.
25927         * pwd/tst-putpwent.c: New file.
25928         * grp/putgrent.c (putgrent): Convert to ISO function definition.
25929         Check grName, grpasswd, gr_mem fields for valid syntax.
25930         Change loop variable i to size_t.
25931         * grp/Makefile (tests): Add tst-putgrent.
25932         * grp/tst-putgrent.c: New file.
25933         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
25934         valid syntax.
25935         * shadow/Makefile (tests): Add tst-putspent.
25936         * shadow/tst-putspent.c: New file.
25937         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
25938         sg_mem fields for valid syntax.
25939         * gshadow/Makefile (tests): Add tst-putsgent.
25940         * gshadow/tst-putsgent.c: New file.
25942 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25944         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
25945         assembly instructions.
25947 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25949         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
25950         prefix from operands.
25952 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
25954         [BZ #16347]
25955         [BZ #19046]
25956         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
25957         <libc-internal.h>.
25958         (MAXLGM): Do not use diagnostic control macros.
25959         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
25960         threshold for ldbl-128ibm.
25961         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
25962         instead of multiplying by log then subtracting.
25963         * math/auto-libm-test-in: Add more tests of lgamma.
25964         * math/auto-libm-test-out: Regenerated.
25966         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
25967         (TYPE_HEX_DIG): Likewise.
25968         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
25969         precisions when printing floating-point numbers.
25970         (check_float_internal): Likewise.
25972 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
25974         [BZ #16620]
25975         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
25976         of log (10) rounded downward to 48 bits.
25977         (log10_low): Use corresponding low part of log (10).
25979         [BZ #19032]
25980         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
25981         compute result as (x - x) / (x - x) not as 0 / 0.
25982         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25983         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
25985         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25986         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
25987         and expm1.
25988         * math/auto-libm-test-out: Regenerated.
25989         * math/libm-test.inc (acos_test_data): Add more tests.
25990         (asin_test_data): Likewise.
25991         (asinh_test_data): Likewise.
25992         (atan_test_data): Likewise.
25993         (atanh_test_data): Likewise.
25994         (atan2_test_data): Likewise.
25995         (cbrt_test_data): Likewise.
25996         (ceil_test_data): Likewise.
25997         (copysign_test_data): Likewise.
25998         (cos_test_data): Likewise.
25999         (cosh_test_data): Likewise.
26000         (erf_test_data): Likewise.
26001         (erfc_test_data): Likewise.
26002         (exp_test_data): Likewise.
26003         (exp10_test_data): Likewise.
26004         (exp2_test_data): Likewise.
26005         (expm1_test_data): Likewise.
26006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26008 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
26010         [BZ #19006]
26011         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26012         to ...
26013         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26014         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26015         to ...
26016         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26017         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26018         to ...
26019         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26020         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26021         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26022         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26023         to ...
26024         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26025         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26026         Moved to ...
26027         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26028         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26029         Moved to ...
26030         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26031         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26032         to ...
26033         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26034         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26035         Moved to ...
26036         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26037         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26038         to ...
26039         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26040         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26041         Removed.
26042         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26043         Likewise.
26044         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26045         Likewise.
26046         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26047         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26048         Likewise.
26049         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26050         Likewise.
26051         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26052         Likewise.
26053         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26054         Likewise.
26055         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26056         Likewise.
26057         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
26058         Likewise.
26059         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
26060         Likewise.
26061         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
26062         Likewise.
26063         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
26064         Likewise.
26065         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
26066         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
26067         Likewise.
26068         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26069         Likewise.
26070         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26071         Likewise.
26072         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26073         Likewise.
26074         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
26075         Likewise.
26076         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26077         Replace ../i486/pthread_cond_timedwait.S with
26078         ../pthread_cond_timedwait.S.
26080 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26082         * math/libm-test.inc (acos_test_data): Refine expectations for
26083         errno and "inexact" exceptions.
26084         (acosh_test_data): Likewise.
26085         (asin_test_data): Likewise.
26086         (asinh_test_data): Likewise.
26087         (atan_test_data): Likewise.
26088         (atanh_test_data): Likewise.
26089         (atan2_test_data): Likewise.
26090         (cbrt_test_data): Likewise.
26091         (ceil_test_data): Likewise.
26092         (copysign_test_data): Likewise.
26093         (cosh_test_data): Likewise.
26094         (erf_test_data): Likewise.
26095         (erfc_test_data): Likewise.
26096         (exp_test_data): Likewise.
26097         (exp10_test_data): Likewise.
26098         (exp2_test_data): Likewise.
26099         (expm1_test_data): Likewise.
26100         (fabs_test_data): Likewise.
26101         (floor_test_data): Likewise.
26102         (fma_test_data): Likewise.
26103         (fmax_test_data): Likewise.
26104         (fmin_test_data): Likewise.
26105         (fmod_test_data): Likewise.
26106         (fpclassify_test_data): Likewise.
26107         (frexp_test_data): Likewise.
26108         (hypot_test_data): Likewise.
26109         (ilogb_test_data): Likewise.
26110         (isgreater_test_data): Likewise.
26111         (isgreaterequal_test_data): Likewise.
26112         (isinf_test_data): Likewise.
26113         (isless_test_data): Likewise.
26114         (islessequal_test_data): Likewise.
26115         (islessgreater_test_data): Likewise.
26116         (isnan_test_data): Likewise.
26117         (isnormal_test_data): Likewise.
26118         (issignaling_test_data): Likewise.
26119         (isunordered_test_data): Likewise.
26120         (j0_test_data): Likewise.
26121         (j1_test_data): Likewise.
26122         (jn_test_data): Likewise.
26123         (lgamma_test_data): Likewise.
26124         (lrint_test_data): Likewise.
26125         (llrint_test_data): Likewise.
26126         (log_test_data): Likewise.
26127         (log10_test_data): Likewise.
26128         (log1p_test_data): Likewise.
26129         (log2_test_data): Likewise.
26130         (logb_test_data): Likewise.
26131         (lround_test_data): Likewise.
26132         (llround_test_data): Likewise.
26133         (modf_test_data): Likewise.
26134         (nearbyint_test_data): Likewise.
26135         (nextafter_test_data): Likewise.
26136         (nexttoward_test_data): Likewise.
26137         (pow_test_data): Likewise.
26138         (remainder_test_data): Likewise.
26139         (remquo_test_data): Likewise.
26140         (rint_test_data): Likewise.
26141         (round_test_data): Likewise.
26142         (signbit_test_data): Likewise.
26143         (sinh_test_data): Likewise.
26144         (sqrt_test_data): Likewise.
26145         (tanh_test_data): Likewise.
26146         (tgamma_test_data): Likewise.
26147         (trunc_test_data): Likewise.
26148         (y0_test_data): Likewise.
26149         (y1_test_data): Likewise.
26150         (yn_test_data): Likewise.
26151         (significand_test_data): Likewise.
26153 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
26155         * manual/filesys.texi (Storage Allocation): Document that
26156         posix_fallocate emulation fails when fd is open with O_WRONLY.
26158 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
26160         [BZ #19016]
26161         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
26162         allow more cases with X^2 + Y^2 >= 0.5.
26163         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
26164         normal element in sum instead of special-casing based on values of
26165         arguments.
26166         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
26167         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
26168         -1 as normal element in sum instead of special-casing based on
26169         values of arguments.
26170         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
26171         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
26172         (__x2y2m1): Update comment.
26173         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
26174         as normal element in sum instead of special-casing based on values
26175         of arguments.
26176         * math/s_clog.c (__clog): Handle more cases using log1p without
26177         hypot.
26178         * math/s_clog10.c (__clog10): Likewise.
26179         * math/s_clog10f.c (__clog10f): Likewise.
26180         * math/s_clog10l.c (__clog10l): Likewise.
26181         * math/s_clogf.c (__clogf): Likewise.
26182         * math/s_clogl.c (__clogl): Likewise.
26183         * math/auto-libm-test-in: Add more tests of clog and clog10.
26184         * math/auto-libm-test-out: Regenerated.
26185         * sysdeps/i386/fpu/libm-test-ulps: Update.
26186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26188 2015-09-28  Martin Sebor  <msebor@redhat.com>
26190         [BZ #18969]
26191         * string/Makefile (LOCALES): Define.
26192         (gen-locales.mk): Include.
26193         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
26194         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
26195         * string/tst-strxfrm2.c (do_test): Print the name of the locale
26196         on setlocale failure.
26198 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26200         [BZ #18985]
26201         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
26202         (__strftime_internal): Likewise.
26203         * time/tst-strftime.c (do_bz18985): New test.
26204         (do_test): Call it.
26206 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
26208         [BZ #18956]
26209         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
26210         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
26211         extracting high part.
26212         * math/auto-libm-test-in: Add another test of pow.
26213         * math/auto-libm-test-out: Regenerated.
26214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26216 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26218         [BZ #18825]
26219         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
26220         New macro.
26221         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
26222         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26223         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
26224         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
26225         DBL_NARROW_EVAL, reloading the PIC register as needed.
26226         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
26227         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
26228         FLT_NARROW_EVAL.  Use separate return path for case when first
26229         argument is NaN.
26230         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
26231         DEFINE_LDBL_MIN.
26232         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
26233         PIC register.
26234         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
26235         math_check_force_underflow_nonneg.
26236         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
26237         underflow for subnormal result.
26238         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
26239         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
26240         math_check_force_underflow_nonneg.
26241         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
26242         math_check_force_underflow.
26243         * sysdeps/x86_64/fpu/x86_64-math-asm.h
26244         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
26245         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
26246         DEFINE_LDBL_MIN.
26247         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
26248         * math/auto-libm-test-in: Add more tests of pow.
26249         * math/auto-libm-test-out: Regenerated.
26251 2015-09-25  Florian Weimer  <fweimer@redhat.com>
26253         * nss/bug17079.c (init_test_items): Add diagnostic for
26254         inconsistent entries.
26255         (test_buffer_size): Skip inconsistent entries.
26257 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26259         [BZ #13304]
26260         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
26261         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
26262         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
26264         [BZ #13304]
26265         * sysdeps/microblaze/s_fma.c: New file.
26266         * sysdeps/microblaze/s_fmaf.c: Likewise.
26267         * sysdeps/microblaze/sfp-machine.h: Likewise.
26269 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
26271         [BZ #17250]
26272         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
26273         member.
26275 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26277         [BZ #18803]
26278         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
26279         (MO): New macro.
26280         (__ieee754_hypot) [PIC]: Load PIC register.
26281         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
26282         DBL_NARROW_EVAL.
26283         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
26284         math_check_force_underflow_nonneg in case where result might be
26285         tiny.
26286         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26287         Likewise.
26288         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26289         Likewise.
26290         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
26291         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
26292         * math/auto-libm-test-in: Add more tests of hypot.
26293         * math/auto-libm-test-out: Regenerated.
26295 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
26297         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
26299 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26301         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
26302         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
26303         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26304         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26305         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
26306         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26307         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26309         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
26310         LOAD_PIC_REG.
26312         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
26313         (FLT_CHECK_FORCE_UFLOW): Likewise.
26314         (DBL_CHECK_FORCE_UFLOW): Likewise.
26315         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
26316         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
26317         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
26318         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26319         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26320         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26321         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26322         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26323         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
26324         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26325         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
26326         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
26327         (flt_min): Replace with use of DEFINE_FLT_MIN.
26328         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
26329         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
26330         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26331         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
26332         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
26333         (flt_min): Replace with use of DEFINE_FLT_MIN.
26334         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
26335         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
26336         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26337         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
26338         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
26339         (flt_min): Replace with use of DEFINE_FLT_MIN.
26340         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
26341         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
26342         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26343         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26344         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
26345         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26346         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26347         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
26348         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26349         (__atan): Use DBL_CHECK_FORCE_UFLOW.
26350         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
26351         (flt_min): Replace with use of DEFINE_FLT_MIN.
26352         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
26353         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
26354         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26355         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
26356         main computation.
26357         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
26358         (flt_min): Replace with use of DEFINE_FLT_MIN.
26359         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
26360         main computation.
26361         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
26362         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26363         (MO): New macro.
26364         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
26365         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
26366         (flt_min): Replace with use of DEFINE_FLT_MIN.
26367         (MO): New macro.
26368         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
26369         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
26370         (__log1pl): Use MO.
26372         [BZ #19003]
26373         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
26374         $(config-cflags-nofma).
26376 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26378         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26380 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
26382         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
26383         (TWO127): Likewise.
26385         * sysdeps/generic/math_private.h (fabs_tg): New macro.
26386         (min_of_type): Likewise.
26387         (math_check_force_underflow): Likewise.
26388         (math_check_force_underflow_nonneg): Likewise.
26389         (math_check_force_underflow_complex): Likewise.
26390         * math/e_exp2l.c (__ieee754_exp2l): Use
26391         math_check_force_underflow_nonneg.
26392         * math/k_casinh.c (__kernel_casinh): Likewise.
26393         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26394         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26395         * math/s_catan.c (__catan): Use
26396         math_check_force_underflow_complex.
26397         * math/s_catanf.c (__catanf): Likewise.
26398         * math/s_catanh.c (__catanh): Likewise.
26399         * math/s_catanhf.c (__catanhf): Likewise.
26400         * math/s_catanhl.c (__catanhl): Likewise.
26401         * math/s_catanl.c (__catanl): Likewise.
26402         * math/s_ccosh.c (__ccosh): Likewise.
26403         * math/s_ccoshf.c (__ccoshf): Likewise.
26404         * math/s_ccoshl.c (__ccoshl): Likewise.
26405         * math/s_cexp.c (__cexp): Likewise.
26406         * math/s_cexpf.c (__cexpf): Likewise.
26407         * math/s_cexpl.c (__cexpl): Likewise.
26408         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
26409         * math/s_clog10.c (__clog10): Likewise.
26410         * math/s_clog10f.c (__clog10f): Likewise.
26411         * math/s_clog10l.c (__clog10l): Likewise.
26412         * math/s_clogf.c (__clogf): Likewise.
26413         * math/s_clogl.c (__clogl): Likewise.
26414         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
26415         * math/s_csinf.c (__csinf): Likewise.
26416         * math/s_csinh.c (__csinh): Likewise.
26417         * math/s_csinhf.c (__csinhf): Likewise.
26418         * math/s_csinhl.c (__csinhl): Likewise.
26419         * math/s_csinl.c (__csinl): Likewise.
26420         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
26421         * math/s_csqrtf.c (__csqrtf): Likewise.
26422         * math/s_csqrtl.c (__csqrtl): Likewise.
26423         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
26424         * math/s_ctanf.c (__ctanf): Likewise.
26425         * math/s_ctanh.c (__ctanh): Likewise.
26426         * math/s_ctanhf.c (__ctanhf): Likewise.
26427         * math/s_ctanhl.c (__ctanhl): Likewise.
26428         * math/s_ctanl.c (__ctanl): Likewise.
26429         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
26430         instead of volatile.
26431         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
26432         math_check_force_underflow.
26433         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26434         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
26435         volatile when forcing underflow.
26436         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26437         math_check_force_underflow_nonneg.
26438         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
26439         Likewise.
26440         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
26441         math_check_force_underflow.
26442         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26443         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26444         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26445         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
26446         math_check_force_underflow_nonneg.
26447         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
26448         math_check_force_underflow.
26449         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
26450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
26451         instead of volatile.
26452         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
26453         math_check_force_underflow.
26454         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26455         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26456         math_check_force_underflow_nonneg.
26457         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
26458         math_check_force_underflow.
26459         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
26460         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26461         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
26462         math_check_force_underflow_nonneg.
26463         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26464         Likewise.
26465         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
26466         math_check_force_underflow.
26467         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26468         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26469         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
26470         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
26471         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
26472         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
26473         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
26474         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
26475         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
26476         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
26477         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
26478         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
26479         Likewise.
26480         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
26481         math_check_force_underflow_nonneg.
26482         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26483         Likewise.
26484         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
26485         math_check_force_underflow.
26486         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26487         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
26488         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26489         Likewise.
26490         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
26491         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
26492         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
26493         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
26494         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
26495         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
26496         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
26497         instead of volatile.
26498         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
26499         math_check_force_underflow.
26500         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
26501         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
26502         math_check_force_underflow.
26503         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
26504         Likewise.
26505         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26506         Use math_check_force_underflow_nonneg.
26507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
26508         math_check_force_underflow.
26509         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
26510         Likewise.
26511         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26512         Likewise.
26513         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26514         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26515         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26516         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26517         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
26518         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26519         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
26520         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
26521         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
26522         math_check_force_underflow_nonneg.
26523         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
26524         math_check_force_underflow.
26525         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26526         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
26527         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
26528         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
26529         math_check_force_underflow_nonneg.
26530         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
26531         math_check_force_underflow.
26532         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
26533         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
26534         instead of volatile.
26535         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
26536         math_check_force_underflow.
26538         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
26539         * stdlib/strtod_l.c: Include <math_private.h>.
26540         (overflow_value): Use math_narrow_eval.
26541         (underflow_value): Likewise.
26542         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26543         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26544         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
26545         (__ieee754_gamma_r): Likewise.
26546         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
26547         Likewise.
26548         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
26549         Likewise.
26550         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
26551         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
26552         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
26553         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
26554         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
26555         (__ieee754_gammaf_r): Likewise.
26556         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
26557         Likewise.
26558         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
26559         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
26560         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
26561         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
26562         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
26563         volatile.
26564         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
26565         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
26566         math_narrow_eval.
26567         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26568         Likewise.
26569         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26570         Likewise.
26571         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
26572         Likewise.
26573         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
26574         volatile.
26575         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
26576         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
26577         math_narrow_eval.
26578         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26579         Likewise.
26580         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26581         Likewise.
26583 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
26585         * nptl/Versions: Remove ignored symbols.
26587 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26589         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
26590         * nss/Makefile (tests): Update.
26592 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26594         * nss/bug18287.c: New file.
26595         * nss/Makefile (tests): Add bug18287.
26597 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26599         * mach/Versions (__mach_host_self_): Add symbol.
26601 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26603         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
26604         vm_page_size.
26606 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26608         Really fix sysdeps/i386/fpu/s_scalbn.S build
26610         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
26611         (libc: GLIBC_2_22): Remove unused version set.
26613 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26615         * config.make.in (enable-timezone-tools): New variable.
26616         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
26617         (enable_timezone_tools): Export to generated files.
26618         * configure: Regenerate.
26619         * INSTALL: Regenerate.
26620         * manual/install.texi (--disable-timezone-tools): Document new flag.
26621         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
26622         ifeq ($(enable-timezone-tools),yes) check.
26624 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26626         * timezone/Makefile: Revert previous change.
26628         [BZ #18980]
26629         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
26630         (DEFINE_DBL_MIN): Likewise.
26631         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26632         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26633         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26634         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26635         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
26636         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26637         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26638         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
26639         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
26640         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26641         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26642         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
26643         (flt_min): Replace with use of DEFINE_FLT_MIN.
26644         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26645         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
26646         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26647         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26648         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
26649         (flt_min): Replace with use of DEFINE_FLT_MIN.
26650         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26651         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
26652         (flt_min): Replace with use of DEFINE_FLT_MIN.
26653         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26654         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
26655         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
26656         (__ieee754_hypot): Use DBL_NARROW_EVAL.
26657         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
26658         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
26659         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
26660         (__ieee754_pow): Use DBL_NARROW_EVAL.
26661         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
26662         (__ieee754_powf): Use FLT_NARROW_EVAL.
26663         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
26664         (__ieee754_expf_sse2): Convert double-precision result to single
26665         precision.
26666         * sysdeps/i386/fpu/libm-test-ulps: Update.
26668 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26670         * timezone/Makefile: Ignore unused variable errors due to private.h
26671         (time_t_min) and (time_t_max).
26672         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
26673         Likewise.
26675 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26677         [BZ #18981]
26678         * sysdeps/i386/fpu/i386-math-asm.h: New file.
26679         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
26680         (__ieee754_scalb): Use DBL_NARROW_EVAL.
26681         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
26682         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
26683         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
26684         (__scalbn): Use DBL_NARROW_EVAL.
26685         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
26686         (__scalbnf): Use FLT_NARROW_EVAL.
26688 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26690         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
26691         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
26692         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
26693         * stdio-common/printf_fp.c (___printf_fp):
26694         Use signbit to get the sign. Use isinf macro to allow inlining.
26695         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
26696         * stdio-common/printf_size.c (__printf_size): Likewise.
26698 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26700         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
26702 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26704         [BZ #18980]
26705         * sysdeps/generic/math_private.h: Include <float.h>.
26706         (math_narrow_eval): New macro.
26707         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
26708         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
26709         math_narrow_eval on overflowing return value.
26710         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
26711         Likewise.
26712         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26713         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
26714         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
26715         Likewise.
26716         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26718 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26720         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
26721         * math/Makefile: Remove isinf_ns.c.
26722         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
26723         * math/multc3.c (__multc3): Likewise.
26724         * math/s_casin.c (__casin): Likewise.
26725         * math/s_casinf.c (__casinf): Likewise.
26726         * math/s_casinl.c (__casinl): Likewise.
26727         * math/s_cproj.c (__cproj): Likewise.
26728         * math/s_cprojf.c (__cprojf): Likewise.
26729         * math/s_cprojl.c (__cprofl): Likewise.
26730         * math/s_ctan.c (__ctan): Likewise.
26731         * math/s_ctanf.c (__ctanf): Likewise.
26732         * math/s_ctanh.c (__ctanh): Likewise.
26733         * math/s_ctanhf.c (__ctanhf): Likewise.
26734         * math/s_ctanhl.c (__ctanhl): Likewise.
26735         * math/s_ctanl.c (__ctanl): Likewise.
26736         * math/w_fmod.c (__fmod): Likewise.
26737         * math/w_fmodf.c (__fmodf): Likewise.
26738         * math/w_fmodl.c (_fmodl): Likewise.
26739         * math/w_remainder.c (__remainder): Likewise.
26740         * math/w_remainderf.c (__remainderf): Likewise.
26741         * math/w_remainderl.c (__remainderl): Likewise.
26742         * math/w_scalb.c (__scalb): Likewise.
26743         * math/w_scalbf.c (__scalbf): Likewise.
26744         * math/w_scalbl.c (__scalbl): Likewise.
26745         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
26746         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
26747         with isinf.
26748         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
26749         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
26750         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
26751         __isinf_nsf with isinf.
26752         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
26753         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
26754         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
26755         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
26756         with isinf.
26757         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
26758         __isinf_nsl with isinf.
26759         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
26760         with isinf.
26761         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
26762         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
26763         __isinf_nsl with isinf.
26764         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
26765         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
26766         with isinf.
26768 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26770         * resolv/base64.c (rcsid): Remove unused static.
26771         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
26772         static.  (tqpi1): Likewise.
26773         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
26774         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
26775         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
26776         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
26777         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
26778         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
26779         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
26780         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
26781         Likewise.
26783 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
26785         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
26786         <nptl/pthreadP.h>.
26787         (_longjmp_unwind): Use __libc_ptf_call.
26788         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
26790 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
26792         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
26793         * sysdeps/arm/__longjmp.S: Likewise.
26795 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26797         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
26798         Use __builtin_signbit.
26799         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
26800         Use __builtin_signbitf.
26801         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
26802         Use __builtin_signbitl.
26803         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26804         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
26806 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26808         [BZ #15367]
26809         [BZ #17441]
26811         * math/Makefile: Build test-snan.c with -fsignaling-nans.
26812         * math/math.h (fpclassify): Use __builtin_fpclassify when
26813         available.  (signbit): Use __builtin_signbit(f/l).
26814         (isfinite): Use__builtin_isfinite.  (isnormal): Use
26815         __builtin_isnormal.  (isnan): Use __builtin_isnan.
26816         (isinf): Use __builtin_isinf_sign.
26818 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26820         * benchtests/Makefile: Add bench-math-inlines, link with libm.
26821         * benchtests/bench-math-inlines.c: New benchmark.
26822         * benchtests/bench-util.h: New file.
26823         * benchtests/bench-util.c: New file.
26824         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
26826 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
26828         * elf/tst-dlmopen1.c: Define TEST_SO.
26829         (do_test): Use TEST_SO.
26831         * elf/dl-load.c: Include libc-internal.h.
26832         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
26834 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26836         [BZ #17887]
26837         * time/strptime_l.c (__strptime_internal): Make %z accept
26838         [+-]HH:MM time zones.
26840 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26842         [BZ #17886]
26843         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
26844         valid time zone.
26846 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
26848         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
26849         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
26850         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26851         (__ASSUME_FDATASYNC): Delete.
26853 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26855         * conform/linknamespace.pl: Require weak undefined symbols to be
26856         in the standard namespace.
26857         (%strong_syms): Rename to %seen_syms.
26858         (%strong_seen): Rename to %seen_where.
26860 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
26862         [BZ #18970]
26863         * misc/error.c (error): Replace pthread_setcancelstate with
26864         __pthread_setcancelstate.
26865         (error_at_line): Likewise.
26866         * posix/wordexp.c (parse_comm): Likewise.
26867         * stdlib/fmtmsg.c (fmtmsg): Likewise.
26868         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
26869         (__pthread_setcancelstate): This.
26870         (pthread_setcancelstate): Add an alias.
26871         * nptl/nptl-init.c (pthread_functions): Replace
26872         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
26873         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
26874         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
26875         hidden_proto.
26876         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
26877         it with hidden_def.
26878         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
26879         (pthread_setcancelstate): Renamed to ...
26880         (__pthread_setcancelstate): This.
26881         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
26882         __libc_ptf_call with __pthread_setcancelstate.
26884 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26885             Andreas Schwab  <schwab@suse.de>
26887         [BZ #17118]
26888         * math/s_ctan.c (__ctan): Determine sign of zero real part of
26889         result when imaginary part of argument is infinite using sine and
26890         cosine.
26891         * math/s_ctanf.c (__ctanf): Likewise.
26892         * math/s_ctanl.c (__ctanl): Likewise.
26893         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
26894         of result when real part of argument is infinite using sine and
26895         cosine.
26896         * math/s_ctanhf.c (__ctanhf): Likewise.
26897         * math/s_ctanhl.c (__ctanhl): Likewise.
26898         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
26899         (ctanh_test_data): Add more tests of ctanh.
26901 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26903         [BZ #15384]
26904         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
26905         bit-mask as in subtraction.
26906         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
26907         Likewise.
26908         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
26909         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
26910         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
26912         [BZ #18951]
26913         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
26914         underflow exception for small results.
26915         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26916         Likewise.
26917         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26918         Likewise.
26919         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26920         Likewise.
26921         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26922         Likewise.
26923         * math/auto-libm-test-in: Add more tests of tgamma.
26924         * math/auto-libm-test-out: Regenerated.
26926 2015-09-17  Andreas Schwab  <schwab@suse.de>
26928         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
26930 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
26932         [BZ #18977]
26933         * math/bits/mathcalls.h
26934         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
26935         not declare.
26936         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
26937         Likewise.
26938         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
26939         Likewise.
26940         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
26941         Likewise.
26942         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
26943         Likewise.
26944         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
26945         Likewise.
26946         * conform/data/math.h-data
26947         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
26948         function.
26949         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
26950         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
26951         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
26952         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
26953         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
26954         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
26955         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
26956         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
26957         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
26958         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
26959         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
26961         [BZ #6803]
26962         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
26963         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
26964         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
26965         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
26966         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
26967         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
26968         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
26969         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
26970         [NO_LONG_DOUBLE] (scalbnl): Likewise.
26971         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
26972         Likewise.
26973         [NO_LONG_DOUBLE] (scalbnl): Likewise.
26974         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
26975         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
26976         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
26977         long_double_symbol calls.
26978         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
26979         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
26980         strong alias of __ldexpl.
26981         (scalbnl): Define using long_double_symbol.
26982         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
26983         Remove alias.
26984         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
26985         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
26986         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
26987         (scalbln_test_data): Add more errno expectations.
26989 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
26991         Cache the host port like we cache the task port.  This way we do not
26992         need to call the kernel just to get the port.  Furthermore, we no
26993         longer increase the reference count on every invocation of
26994         `mach_host_self'.
26996         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
26997         Protect declarations against the macro expansion.
26998         * mach/mach_init.c (__mach_host_self_): New variable.
26999         (mach_init): Initialize `__mach_host_self_'.
27000         * mach/mach_init.h (__mach_host_self_): New declaration.
27001         (__mach_host_self, mach_host_self): New macros.
27002         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
27003         Release reference.
27005 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27007         [BZ #4404]
27008         * po/de.po: Update from Translation Project.
27010         [BZ #16415]
27011         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27012         (__expm1l): Remove code to handle positive infinity and overflow.
27013         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27014         variable.
27015         (__expm1l): Remove code to handle positive infinity and overflow.
27017 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
27018             Paul Pluzhnikov  <ppluzhnikov@google.com>
27020         [BZ #18872]
27021         * stdio-common/Makefile (tst-printf-bz18872): New test.
27022         (tst-printf-bz18872-mem.out): Likewise.
27023         * stdio-common/tst-printf-bz18872.sh: Generate new test.
27024         * stdio-common/vfprintf.c: Fix memory leaks.
27026 2015-09-16  Andreas Schwab  <schwab@suse.de>
27028         [BZ #17244]
27029         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27030         Remove extra va_start/va_end calls.
27032         [BZ #17243]
27033         * posix/execl.c (execl): Add missing va_end.
27034         * posix/execle.c (execle): Likewise.
27035         * posix/execlp.c (execlp): Likewise.
27037 2015-09-15  Roland McGrath  <roland@hack.frob.com>
27039         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27040         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27042 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
27044         [BZ #18967]
27045         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
27046         undefine around includes of <bits/mathcalls.h>.
27047         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27048         not declare function.
27049         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
27050         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
27051         (scalb): Likewise.
27052         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
27053         not define macro.
27054         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
27055         variable.
27056         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27057         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27058         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27060         [BZ #18857]
27061         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
27062         return non-finite argument without doing ordered comparisons on
27063         it.
27065         [BZ #16296]
27066         * math/fenv.h (fegetround): Use __attribute_pure__.
27067         * include/fenv.h (__fegetround): Likewise.
27069         [BZ #18595]
27070         * math/s_ctan.c (__ctan): Force underflow exception for results
27071         whose real or imaginary part has small absolute value.
27072         * math/s_ctanf.c (__ctanf): Likewise.
27073         * math/s_ctanh.c (__ctanh): Likewise.
27074         * math/s_ctanhf.c (__ctanhf): Likewise.
27075         * math/s_ctanhl.c (__ctanhl): Likewise.
27076         * math/s_ctanl.c (__ctanl): Likewise.
27077         * math/auto-libm-test-in: Do not allow missing underflow for ctan
27078         and ctanh.  Add more tests of ctan and ctanh.
27080         [BZ #15918]
27081         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
27082         handling of cases where one argument is an infinity.
27084         [BZ #18875]
27085         [BZ #18966]
27086         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
27087         (MO): New macro.
27088         (__ieee754_exp10): For small results, force underflow exception
27089         and remove excess range and precision from return value.
27090         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
27091         (MO): New macro.
27092         (__ieee754_exp10f): For small results, force underflow exception
27093         and remove excess range and precision from return value.
27094         * math/auto-libm-test-in: Add more tests of exp10.
27095         * math/auto-libm-test-out: Regenerated.
27097 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
27099         [BZ #18875]
27100         [BZ #18961]
27101         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
27102         (MO): New macro.
27103         (__ieee754_exp): For small results, force underflow exception and
27104         remove excess range and precision from return value.
27105         (__exp_finite): Likewise.
27106         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
27107         (MO): New macro.
27108         (__ieee754_expf): For small results, force underflow exception and
27109         remove excess range and precision from return value.
27110         (__expf_finite): Likewise.
27111         * math/auto-libm-test-in: Add more tests of exp.
27112         * math/auto-libm-test-out: Regenerated.
27114         [BZ #16521]
27115         [BZ #18875]
27116         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
27117         small results.
27118         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
27119         (MO): New macro.
27120         (__ieee754_exp2): For small results, force underflow exception and
27121         remove excess range and precision from return value.
27122         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
27123         (MO): New macro.
27124         (__ieee754_exp2f): For small results, force underflow exception
27125         and remove excess range and precision from return value.
27126         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
27127         (MO): New macro.
27128         (__ieee754_exp2l): Force underflow exception for small results.
27129         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27130         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27131         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
27132         (MO): New macro.
27133         (__ieee754_exp2l): Force underflow exception for small results.
27134         * math/auto-libm-test-in: Add more tests or exp2.
27135         * math/auto-libm-test-out: Regenerated.
27137 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
27139         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
27141         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
27142         /dev/null.
27144 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27146         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27147         io fs process)): Drop spurious backslash.
27149 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27151         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
27152         Use sysinfo system call instead of parsing /proc/meminfo.
27153         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
27154         Likewise.
27156 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
27158         [BZ #16985]
27159         * programs/localedef.c (main): Display argv[remaining] when
27160         output_path is NULL.
27162 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27164         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27165         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
27166         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
27167         tanh.
27168         * math/auto-libm-test-out: Regenerated.
27169         * sysdeps/i386/fpu/libm-test-ulps: Update.
27170         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27171         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27174 2015-09-11  Roland McGrath  <roland@hack.frob.com>
27176         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
27177         Use 'override' keyword to freeze the value here, preventing
27178         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
27180 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27182         [BZ #14912]
27183         * sysdeps/aarch64/bits/atomic.h: Move to ...
27184         * sysdeps/aarch64/atomic-machine.h: ...here.
27185         (_AARCH64_BITS_ATOMIC_H): Rename macro to
27186         _AARCH64_ATOMIC_MACHINE_H.
27187         * sysdeps/alpha/bits/atomic.h: Move to ...
27188         * sysdeps/alpha/atomic-machine.h: ...here.
27189         * sysdeps/arm/bits/atomic.h: Move to ...
27190         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
27191         * bits/atomic.h: Move to ...
27192         * sysdeps/generic/atomic-machine.h: ...here.
27193         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27194         * sysdeps/i386/bits/atomic.h: Move to ...
27195         * sysdeps/i386/atomic-machine.h: ...here.
27196         * sysdeps/ia64/bits/atomic.h: Move to ...
27197         * sysdeps/ia64/atomic-machine.h: ...here.
27198         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
27199         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
27200         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27201         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
27202         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
27203         * sysdeps/microblaze/bits/atomic.h: Move to ...
27204         * sysdeps/microblaze/atomic-machine.h: ...here.
27205         * sysdeps/mips/bits/atomic.h: Move to ...
27206         * sysdeps/mips/atomic-machine.h: ...here.
27207         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
27208         * sysdeps/powerpc/bits/atomic.h: Move to ...
27209         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
27210         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
27211         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
27212         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
27213         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
27214         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
27215         <atomic-machine.h> instead of <bits/atomic.h>.
27216         * sysdeps/s390/bits/atomic.h: Move to ...
27217         * sysdeps/s390/atomic-machine.h: ...here.
27218         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
27219         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
27220         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27221         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
27222         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
27223         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
27224         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
27225         * sysdeps/tile/bits/atomic.h: Move to ...
27226         * sysdeps/tile/atomic-machine.h: ...here.
27227         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
27228         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
27229         <sysdeps/tile/atomic-machine.h> instead of
27230         <sysdeps/tile/bits/atomic.h>.
27231         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27232         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
27233         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
27234         <sysdeps/tile/atomic-machine.h> instead of
27235         <sysdeps/tile/bits/atomic.h>.
27236         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27237         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
27238         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
27239         <sysdeps/arm/atomic-machine.h> instead of
27240         <sysdeps/arm/bits/atomic.h>.
27241         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
27242         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
27243         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27244         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
27245         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
27246         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27247         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
27248         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
27249         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
27250         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
27251         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
27252         * sysdeps/x86_64/bits/atomic.h: Move to ...
27253         * sysdeps/x86_64/atomic-machine.h: ...here.
27254         * include/atomic.h: Include <atomic-machine.h> instead of
27255         <bits/atomic.h>.
27257         * sysdeps/mips/mips32/libm-test-ulps: Update.
27258         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27260         [BZ #18952]
27261         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
27262         not convert non-integer negative arguments to int to determine the
27263         value of signgam.
27264         * math/auto-libm-test-in: Add more tests of lgamma.
27265         * math/auto-libm-test-out: Regenerated.
27267         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
27268         cosh, csqrt, erfc, expm1 and lgamma.
27269         * math/auto-libm-test-out: Regenerated.
27270         * sysdeps/i386/fpu/libm-test-ulps: Update.
27271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27273 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
27275         [BZ #2542]
27276         [BZ #2543]
27277         [BZ #2558]
27278         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
27279         __lgamma_neg for arguments from -28.0 to -2.0.
27280         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
27281         __lgamma_negf for arguments from -15.0 to -2.0.
27282         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27283         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
27284         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
27285         Call __lgamma_negl for arguments from -33.0 to -2.0.
27286         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
27287         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
27288         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
27289         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
27290         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
27291         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
27292         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
27293         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
27294         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
27295         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
27296         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
27297         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
27298         (__lgamma_neg): Likewise.
27299         (__lgamma_negl): Likewise.
27300         (__lgamma_product): Likewise.
27301         (__lgamma_productl): Likewise.
27302         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
27303         * math/auto-libm-test-in: Add more tests of lgamma.
27304         * math/auto-libm-test-out: Regenerated.
27305         * sysdeps/i386/fpu/libm-test-ulps: Update.
27306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27308 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
27310         [BZ #18675]
27311         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
27313 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
27315         [BZ #14912]
27316         * bits/libc-lock.h: Move to ...
27317         * sysdeps/generic/libc-lock.h: ...here.
27318         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27319         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
27320         * sysdeps/mach/hurd/libc-lock.h: ...here.
27321         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27322         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
27323         * sysdeps/mach/bits/libc-lock.h: Move to ...
27324         * sysdeps/mach/libc-lock.h: ...here.
27325         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27326         * sysdeps/nptl/bits/libc-lock.h: Move to ...
27327         * sysdeps/nptl/libc-lock.h: ...here.
27328         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27329         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
27330         * sysdeps/nptl/libc-lockP.h: ...here.
27331         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
27332         * crypt/crypt_util.c: Include <libc-lock.h> instead of
27333         <bits/libc-lock.h>.
27334         * dirent/scandir-tail.c: Likewise.
27335         * dlfcn/dlerror.c: Likewise.
27336         * elf/dl-close.c: Likewise.
27337         * elf/dl-iteratephdr.c: Likewise.
27338         * elf/dl-lookup.c: Likewise.
27339         * elf/dl-open.c: Likewise.
27340         * elf/dl-support.c: Likewise.
27341         * elf/dl-writev.h: Likewise.
27342         * elf/rtld.c: Likewise.
27343         * grp/fgetgrent.c: Likewise.
27344         * gshadow/fgetsgent.c: Likewise.
27345         * gshadow/sgetsgent.c: Likewise.
27346         * iconv/gconv_conf.c: Likewise.
27347         * iconv/gconv_db.c: Likewise.
27348         * iconv/gconv_dl.c: Likewise.
27349         * iconv/gconv_int.h: Likewise.
27350         * iconv/gconv_trans.c: Likewise.
27351         * include/link.h: Likewise.
27352         * inet/getnameinfo.c: Likewise.
27353         * inet/getnetgrent.c: Likewise.
27354         * inet/getnetgrent_r.c: Likewise.
27355         * intl/bindtextdom.c: Likewise.
27356         * intl/dcigettext.c: Likewise.
27357         * intl/finddomain.c: Likewise.
27358         * intl/gettextP.h: Likewise.
27359         * intl/loadmsgcat.c: Likewise.
27360         * intl/localealias.c: Likewise.
27361         * intl/textdomain.c: Likewise.
27362         * libidn/idn-stub.c: Likewise.
27363         * libio/libioP.h: Likewise.
27364         * locale/duplocale.c: Likewise.
27365         * locale/freelocale.c: Likewise.
27366         * locale/newlocale.c: Likewise.
27367         * locale/setlocale.c: Likewise.
27368         * login/getutent_r.c: Likewise.
27369         * login/getutid_r.c: Likewise.
27370         * login/getutline_r.c: Likewise.
27371         * login/utmp-private.h: Likewise.
27372         * login/utmpname.c: Likewise.
27373         * malloc/mtrace.c: Likewise.
27374         * misc/efgcvt.c: Likewise.
27375         * misc/error.c: Likewise.
27376         * misc/fstab.c: Likewise.
27377         * misc/getpass.c: Likewise.
27378         * misc/mntent.c: Likewise.
27379         * misc/syslog.c: Likewise.
27380         * nis/nis_call.c: Likewise.
27381         * nis/nis_callback.c: Likewise.
27382         * nis/nss-default.c: Likewise.
27383         * nis/nss_compat/compat-grp.c: Likewise.
27384         * nis/nss_compat/compat-initgroups.c: Likewise.
27385         * nis/nss_compat/compat-pwd.c: Likewise.
27386         * nis/nss_compat/compat-spwd.c: Likewise.
27387         * nis/nss_nis/nis-alias.c: Likewise.
27388         * nis/nss_nis/nis-ethers.c: Likewise.
27389         * nis/nss_nis/nis-grp.c: Likewise.
27390         * nis/nss_nis/nis-hosts.c: Likewise.
27391         * nis/nss_nis/nis-network.c: Likewise.
27392         * nis/nss_nis/nis-proto.c: Likewise.
27393         * nis/nss_nis/nis-pwd.c: Likewise.
27394         * nis/nss_nis/nis-rpc.c: Likewise.
27395         * nis/nss_nis/nis-service.c: Likewise.
27396         * nis/nss_nis/nis-spwd.c: Likewise.
27397         * nis/nss_nisplus/nisplus-alias.c: Likewise.
27398         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
27399         * nis/nss_nisplus/nisplus-grp.c: Likewise.
27400         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
27401         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
27402         * nis/nss_nisplus/nisplus-network.c: Likewise.
27403         * nis/nss_nisplus/nisplus-proto.c: Likewise.
27404         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
27405         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
27406         * nis/nss_nisplus/nisplus-service.c: Likewise.
27407         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
27408         * nis/ypclnt.c: Likewise.
27409         * nptl/libc_pthread_init.c: Likewise.
27410         * nss/getXXbyYY.c: Likewise.
27411         * nss/getXXent.c: Likewise.
27412         * nss/getXXent_r.c: Likewise.
27413         * nss/nss_db/db-XXX.c: Likewise.
27414         * nss/nss_db/db-netgrp.c: Likewise.
27415         * nss/nss_db/nss_db.h: Likewise.
27416         * nss/nss_files/files-XXX.c: Likewise.
27417         * nss/nss_files/files-alias.c: Likewise.
27418         * nss/nsswitch.c: Likewise.
27419         * posix/regex_internal.h: Likewise.
27420         * posix/wordexp.c: Likewise.
27421         * pwd/fgetpwent.c: Likewise.
27422         * resolv/res_hconf.c: Likewise.
27423         * resolv/res_libc.c: Likewise.
27424         * shadow/fgetspent.c: Likewise.
27425         * shadow/lckpwdf.c: Likewise.
27426         * shadow/sgetspent.c: Likewise.
27427         * socket/opensock.c: Likewise.
27428         * stdio-common/reg-modifier.c: Likewise.
27429         * stdio-common/reg-printf.c: Likewise.
27430         * stdio-common/reg-type.c: Likewise.
27431         * stdio-common/vfprintf.c: Likewise.
27432         * stdio-common/vfscanf.c: Likewise.
27433         * stdlib/abort.c: Likewise.
27434         * stdlib/cxa_atexit.c: Likewise.
27435         * stdlib/fmtmsg.c: Likewise.
27436         * stdlib/random.c: Likewise.
27437         * stdlib/setenv.c: Likewise.
27438         * string/strsignal.c: Likewise.
27439         * sunrpc/auth_none.c: Likewise.
27440         * sunrpc/bindrsvprt.c: Likewise.
27441         * sunrpc/create_xid.c: Likewise.
27442         * sunrpc/key_call.c: Likewise.
27443         * sunrpc/rpc_thread.c: Likewise.
27444         * sysdeps/arm/backtrace.c: Likewise.
27445         * sysdeps/generic/ldsodefs.h: Likewise.
27446         * sysdeps/generic/stdio-lock.h: Likewise.
27447         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
27448         * sysdeps/i386/backtrace.c: Likewise.
27449         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27450         * sysdeps/m68k/backtrace.c: Likewise.
27451         * sysdeps/mach/hurd/cthreads.c: Likewise.
27452         * sysdeps/mach/hurd/dirstream.h: Likewise.
27453         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27454         * sysdeps/nptl/malloc-machine.h: Likewise.
27455         * sysdeps/nptl/stdio-lock.h: Likewise.
27456         * sysdeps/posix/dirstream.h: Likewise.
27457         * sysdeps/posix/getaddrinfo.c: Likewise.
27458         * sysdeps/posix/system.c: Likewise.
27459         * sysdeps/pthread/aio_suspend.c: Likewise.
27460         * sysdeps/s390/s390-32/backtrace.c: Likewise.
27461         * sysdeps/s390/s390-64/backtrace.c: Likewise.
27462         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27463         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27464         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
27465         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
27466         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
27467         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27468         * sysdeps/unix/sysv/linux/system.c: Likewise.
27469         * sysdeps/x86_64/backtrace.c: Likewise.
27470         * time/alt_digit.c: Likewise.
27471         * time/era.c: Likewise.
27472         * time/tzset.c: Likewise.
27473         * wcsmbs/wcsmbsload.c: Likewise.
27474         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
27475         instead of <bits/libc-lock.h> in comment.
27477 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
27479         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
27480         Only use .set mips2 if the current ISA is below mips2.
27481         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
27482         Likewise.
27483         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
27484         mips32r2 if the current ISA is below mips32r2.
27485         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
27486         (TLS_IE): Updated to use the TLD_RDHWR macro.
27487         (TLS_LE): Likewise.
27488         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
27489         __ASSEMBLER__ condition.
27491 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27493         Fix parallel build of before-compile targets.
27495         * sysdeps/mach/Makefile ($(patsubst
27496         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
27497         mach-before-compile target.
27498         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27499         io fs process)): Move rule to dedicated hurd-before-compile target.
27501 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27503         Fix rules generating headers in hurd/ and mach/ when initial make call
27504         has subdir= explicitly set.
27506         * sysdeps/mach/Makefile ($(patsubst
27507         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
27508         calling $(MAKE).
27509         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27510         io fs process)): Force subdir to hurd when calling $(MAKE).
27511         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
27512         subdir to mach when calling $(MAKE).
27514 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
27516         Check sysheaders when looking for Mach and Hurd headers
27518         * sysdeps/mach/configure.ac: Add sysheaders check.
27519         * sysdeps/mach/configure: Regenerate.
27520         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
27521         * sysdeps/mach/hurd/configure: Regenerate.
27523 2015-09-04  Roland McGrath  <roland@hack.frob.com>
27525         [BZ #18921]
27526         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
27527         Fix inverted sense of test of 'o_directory_works' value.
27528         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
27529         Bernhard Voelker <mail@bernhard-voelker.de>.
27531 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27533         [BZ #14912]
27534         * bits/linkmap.h: Move to ...
27535         * sysdeps/generic/linkmap.h: ...here.
27536         * sysdeps/aarch64/bits/linkmap.h: Move to ...
27537         * sysdeps/aarch64/linkmap.h: ...here.
27538         * sysdeps/arm/bits/linkmap.h: Move to ...
27539         * sysdeps/arm/linkmap.h: ...here.
27540         * sysdeps/hppa/bits/linkmap.h: Move to ...
27541         * sysdeps/hppa/linkmap.h: ...here.
27542         * sysdeps/ia64/bits/linkmap.h: Move to ...
27543         * sysdeps/ia64/linkmap.h: ...here.
27544         * sysdeps/mips/bits/linkmap.h: Move to ...
27545         * sysdeps/mips/linkmap.h: ...here.
27546         * sysdeps/s390/bits/linkmap.h: Move to ...
27547         * sysdeps/s390/linkmap.h: ...here.
27548         * sysdeps/sh/bits/linkmap.h: Move to ...
27549         * sysdeps/sh/linkmap.h: ...here.
27550         * sysdeps/x86/bits/linkmap.h: Move to ...
27551         * sysdeps/x86/linkmap.h: ...here.
27552         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
27554 2015-09-04  Andreas Schwab  <schwab@suse.de>
27556         [BZ #18635]
27557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
27558         (__makecontext): Terminate FDE before return label.
27559         (__novec_makecontext): Likewise.
27561 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27563         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
27564         first member of struct sv in syscall macro.
27566 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27568         [BZ #14912]
27569         * bits/stdio-lock.h: Move to ...
27570         * sysdeps/generic/stdio-lock.h: ...here.
27571         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27572         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
27573         * sysdeps/nptl/stdio-lock.h: ...here.
27574         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27575         * include/libio.h: Include <stdio-lock.h> instead of
27576         <bits/stdio-lock.h>.
27577         * sysdeps/nptl/fork.c: Likewise.
27578         * sysdeps/pthread/flockfile.c: Likewise.
27579         * sysdeps/pthread/ftrylockfile.c: Likewise.
27580         * sysdeps/pthread/funlockfile.c: Likewise.
27582         [BZ #14912]
27583         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
27584         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
27585         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
27586         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
27587         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
27588         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27589         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
27591 2015-09-03  Roland McGrath  <roland@hack.frob.com>
27593         * elf/Makefile (test-xfail-tst-protected1a): New variable.
27594         (test-xfail-tst-protected1b): New variable.
27596 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
27598         [BZ #14912]
27599         * bits/libc-tsd.h: Move to ...
27600         * sysdeps/generic/libc-tsd.h: ...here.
27601         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
27602         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
27603         * sysdeps/mach/hurd/libc-tsd.h: ...here.
27604         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
27605         * include/ctype.h: Include <libc-tsd.h> instead of
27606         <bits/libc-tsd.h>.
27607         * include/rpc/rpc.h: Likewise.
27608         * locale/localeinfo.h: Likewise.
27609         * sunrpc/rpc_thread.c: Likewise.
27610         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27611         * sysdeps/nptl/malloc-machine.h: Likewise.
27613         * Makefile (headers): Remove bits/libc-lock.h.
27614         * libio/Makefile (headers): Remove bits/stdio-lock.h.
27616         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
27617         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
27618         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
27619         <bits/stdio-lock.h>.
27620         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
27621         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
27623 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27625         [BZ #18757]
27626         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
27627         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
27628         BZ #18757.
27630 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27632         * malloc/mtrace.pl: Filter out NULL entries.
27634 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
27636         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
27637         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
27638         macro.
27640         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
27641         (TCP_CC_INFO): Likewise.
27642         (TCP_SAVE_SYN): Likewise.
27643         (TCP_SAVED_SYN): Likewise.
27645 2015-08-31  Brett Neumeier <brett@neumeier.us>
27647         [BZ #18870]
27648         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
27650 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
27652         [BZ #18873]
27653         Fix broken overflow check in posix_fallocate
27654         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
27655         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27656         Fix parenthesization typo.
27658 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
27660         [BZ #18887]
27661         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
27662         tst-mntent-blank-passno.
27663         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
27664         * misc/tst-mntent-blank-corrupt.c: New test.
27665         * misc/tst-mntent-blank-passno.c: New test ripped from ...
27666         * misc/tst-mntent.c (do_test): ... here.
27668 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
27670         [BZ #4404]
27671         * po/de.po: Fix SIGALRM typo.
27673 2015-08-28  James Perkins  <james@loowit.net>
27675         * time/tst-strptime2.c (tests): Replace short list of test
27676         strings for strptime %z specifier with code which exhaustively
27677         tests every combination of sign and 0 to 5 digits. Tests for
27678         rejection of invalid strings.
27680 2015-08-28  James Perkins  <james@loowit.net>
27682         [BZ #16141]
27683         * time/strptime_l.c (__strptime_internal): Fix %z minutes
27684         calculation, removing incorrect decimal time rounding, so that
27685         all minute values result in a valid seconds value.
27686         * time/strptime_l.c (__strptime_internal): Extend %z time zone
27687         offset range limits to UTC-99:59 through UTC+99:59 to parse
27688         current and historical use cases.
27689         * time/tst-strptime2.c (tests): Modify and add tests for the
27690         strptime %z input field descriptor, specifically conversion of
27691         minutes to seconds and validating an offset range of -9959 to
27692         +9959.
27694 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27695             Dmitry V. Levin  <ldv@altlinux.org>
27697         [BZ #18877]
27698         * posix/Makefile (tests): Add tst-mmap-offset.
27699         * posix/tst-mmap.c: New file.
27700         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
27701         offset calculation for negative values.
27703 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27705         * sysdeps/i386/init-arch.h: New file.
27706         * sysdeps/i386/i586/init-arch.h: Likewise.
27707         * sysdeps/i386/i686/init-arch.h: Likewise.
27708         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
27709         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
27710         * sysdeps/x86/cpu-features.h (bit_I586): New.
27711         (bit_I686): Likewise.
27712         (bit_CX8): Likewise.
27713         (bit_CMOV): Likewise.
27714         (index_CX8): Likewise.
27715         (index_CMOV): Likewise.
27716         (index_I586): Likewise.
27717         (index_I686): Likewise.
27718         (reg_CX8): Likewise.
27719         (reg_CMOV): Likewise.
27720         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
27721         available at compile-time.
27722         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
27723         available at compile-time.
27724         * sysdeps/x86/init-arch.h (USE_I586): New macro.
27725         (USE_I686): Likewise.
27727 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27729         * sysdeps/i386/bcopy.S: New file.
27730         * sysdeps/i386/bzero.S: Likewise.
27731         * sysdeps/i386/memcpy.S: Likewise.
27732         * sysdeps/i386/memmove.S: Likewise.
27733         * sysdeps/i386/mempcpy.S: Likewise.
27734         * sysdeps/i386/memset.S: Likewise.
27735         * sysdeps/i386/bzero.c: Removed.
27736         * sysdeps/i386/memset.c: Likewise.
27737         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
27738         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
27739         * sysdeps/i386/i586/memset_chk.S: Likewise.
27740         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
27741         * sysdeps/i386/memcpy_chk.S: Here.
27742         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
27743         * sysdeps/i386/memmove_chk.S: Here.
27744         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
27745         * sysdeps/i386/mempcpy_chk.S: Likewise.
27746         * sysdeps/i386/i686/memset_chk.S: Moved to ...
27747         * sysdeps/i386/memset_chk.S: Likewise.
27749 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
27751         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
27752         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
27753         file, move DIAG_POP_NEEDS_COMMENT to end of file.
27754         * soft-fp/fmadf4.c: Ditto.
27755         * soft-fp/fmatf4.c: Ditto.
27757 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27759         * sysdeps/i386/i586/Implies: Removed.
27760         * sysdeps/i386/i686/Implies: Likewise.
27762 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27764         * sysdeps/i386/i486/strlen.S: Moved to ...
27765         * sysdeps/i386/strlen.S: Here.
27767 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27769         * sysdeps/i386/i486/strcat.S: Moved to ...
27770         * sysdeps/i386/strcat.S: Here.
27772 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27774         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
27775         * sysdeps/i386/pthread_spin_trylock.S: Here.
27776         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
27777         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
27779 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27781         * sysdeps/i386/i486/string-inlines.c: Moved to ...
27782         * sysdeps/i386/string-inlines.c: Here.
27784 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27786         * sysdeps/i386/i486/htonl.S: Moved ...
27787         * sysdeps/i386/htonl.S: here.
27789 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27791         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
27792         * sysdeps/i386/bits/atomic.h: Here.
27794 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27796         * sysdeps/i386/i486/Versions: Removed.
27798 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27800         [BZ #2898]
27801         * misc/mktemp.c: Add mkdtemp to the link_warning message.
27802         Based on patch by Aurelien Jarno.
27804 2015-08-26  Stan Shebs  <stanshebs@google.com>
27806         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
27807         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27809 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27811         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
27812         * sysdeps/powerpc/dl-procinfo.c:
27813         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
27814         feature so it shows when LD_SHOW_AUXV=1.
27816 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27818         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27819         (__arch_compare_and_exchange_val_32_acq): Remove and use common
27820         definition.  ISA 2.07B no longer requires full sync.
27822 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
27824         [BZ #18863]
27825         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
27826         (si_call_addr): Define.
27827         (si_syscall): Define.
27828         (si_arch): Define.
27830 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27832         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
27833         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
27834         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
27835         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27836         (__memset_zero_constant_len_parameter): New.
27837         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
27838         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27839         (__memset_zero_constant_len_parameter): Don't define if
27840         __memset_chk or USE_AS_BZERO are defined.
27842         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
27843         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
27844         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
27846         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
27847         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
27848         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
27849         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
27850         comments.
27851         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
27852         -mno-mmx for $(all-rtld-routines).
27853         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
27854         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
27855         i386.
27857 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27859         * sysdeps/generic/unwind.h
27860         (_Unwind_Word): Use __mode__(__unwind_word__)
27861         instead of __mode__(__word__).
27862         (_Unwind_Sword): Likewise.
27864         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27865         (MAX_NEEDED_INPUT): New define.
27866         (MAX_NEEDED_OUTPUT): New define.
27868         * NEWS: New item for IBM z13 string optimizations.
27870         * sysdeps/s390/multiarch/memrchr-c.c: New File.
27871         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
27872         * sysdeps/s390/multiarch/memrchr.c: Likewise.
27873         * sysdeps/s390/multiarch/Makefile
27874         (sysdep_routines): Add memrchr functions.
27875         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27876         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
27878         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
27879         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
27880         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
27881         * sysdeps/s390/multiarch/Makefile
27882         (sysdep_routines): Add wmemcmp functions.
27883         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27884         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
27885         * benchtests/bench-wmemcmp.c: New File.
27886         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
27888         * sysdeps/s390/multiarch/wmemset-c.c: New File.
27889         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
27890         * sysdeps/s390/multiarch/wmemset.c: Likewise.
27891         * sysdeps/s390/multiarch/Makefile
27892         (sysdep_routines): Add wmemset functions.
27893         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27894         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
27895         * wcsmbs/wmemset.c: Use WMEMSET if defined.
27896         * string/test-memset.c: Add wmemset support.
27897         * wcsmbs/test-wmemset.c: New File.
27898         * wcsmbs/Makefile (strop-tests): Add wmemset.
27899         * benchtests/bench-memset.c: Add wmemset support.
27900         * benchtests/bench-wmemset.c: New File.
27901         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
27903         * sysdeps/s390/multiarch/memccpy-c.c: New File.
27904         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
27905         * sysdeps/s390/multiarch/memccpy.c: Likewise.
27906         * sysdeps/s390/multiarch/Makefile
27907         (sysdep_routines): Add memccpy functions.
27908         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27909         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
27910         * string/memccpy.c: Use MEMCCPY if defined.
27912         * sysdeps/s390/multiarch/memchr-vx.S: New File.
27913         * sysdeps/s390/multiarch/memchr.c: Likewise.
27914         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
27915         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
27916         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
27917         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
27918         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
27919         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
27920         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
27921         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
27922         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
27923         and rawmemchr functions.
27924         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27925         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
27926         and wmemchr.
27927         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
27928         * string/test-memchr.c: Add wmemchr support.
27929         * wcsmbs/test-wmemchr.c: New File.
27930         * wcsmbs/Makefile (strop-tests): Add wmemchr.
27931         * benchtests/bench-memchr.c: Add wmemchr support.
27932         * benchtests/bench-wmemchr.c: New File.
27933         * benchtests/Makefile (wcsmbs-bench): wmemchr.
27935         * sysdeps/s390/multiarch/strcspn-c.c: New File.
27936         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
27937         * sysdeps/s390/multiarch/strcspn.c: Likewise.
27938         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
27939         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
27940         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
27941         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
27942         wcscspn functions.
27943         * sysdeps/s390/multiarch/ifunc-impl-list.c
27944         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
27945         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
27946         * string/test-strcspn.c: Add wcscspn support.
27947         * wcsmbs/test-wcscspn.c: New File.
27948         * wcsmbs/Makefile (strop-tests): Add wcscspn.
27949         * benchtests/bench-strcspn.c: Add wcscspn support.
27950         * benchtests/bench-wcscspn.c: New File.
27951         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
27953         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
27954         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
27955         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
27956         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
27957         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
27958         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
27959         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
27960         wcspbrk functions.
27961         * sysdeps/s390/multiarch/ifunc-impl-list.c
27962         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
27963         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
27964         * string/test-strpbrk.c: Add wcspbrk support.
27965         * wcsmbs/test-wcspbrk.c: New File.
27966         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
27967         * benchtests/bench-strpbrk.c: Add wcspbrk support.
27968         * benchtests/bench-wcspbrk.c: New File.
27969         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
27971         * sysdeps/s390/multiarch/strspn-c.c: New File.
27972         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
27973         * sysdeps/s390/multiarch/strspn.c: Likewise.
27974         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
27975         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
27976         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
27977         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
27978         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
27979         wcsspn functions.
27980         * sysdeps/s390/multiarch/ifunc-impl-list.c
27981         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
27982         * string/test-strspn.c: Add wcsspn support.
27983         * wcsmbs/test-wcsspn.c: New File.
27984         * wcsmbs/Makefile (strop-tests): Add wcsspn.
27985         * benchtests/bench-strspn.c: Add wcsspn support.
27986         * benchtests/bench-wcsspn.c: New File.
27987         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
27989         * sysdeps/s390/multiarch/strrchr-c.c: New File.
27990         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
27991         * sysdeps/s390/multiarch/strrchr.c: Likewise.
27992         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
27993         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
27994         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
27995         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
27996         wcsrchr functions.
27997         * sysdeps/s390/multiarch/ifunc-impl-list.c
27998         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
27999         * benchtests/bench-wcsrchr.c: New File.
28000         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
28002         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
28003         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
28004         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
28005         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
28006         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
28007         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
28008         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28009         wcschrnul functions.
28010         * sysdeps/s390/multiarch/ifunc-impl-list.c
28011         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28012         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28013         * string/test-strchr.c: Add wcschrnul support.
28014         * wcsmbs/test-wcschrnul.c: New File.
28015         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28016         * benchtests/bench-strchr.c: Add wcschrnul support.
28017         * benchtests/bench-wcschrnul.c: New File.
28018         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28020         * sysdeps/s390/multiarch/strchr-c.c: New File.
28021         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28022         * sysdeps/s390/multiarch/strchr.c: Likewise.
28023         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28024         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28025         * sysdeps/s390/multiarch/wcschr.c: Likewise.
28026         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28027         wcschr functions.
28028         * sysdeps/s390/multiarch/ifunc-impl-list.c
28029         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28030         * string/strchr.c (STRCHR): Define and use macro.
28031         * benchtests/bench-wcschr.c: New File.
28032         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28034         * sysdeps/s390/multiarch/strncmp-c.c: New File.
28035         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28036         * sysdeps/s390/multiarch/strncmp.c: Likewise.
28037         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28038         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28039         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28040         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28041         wcsncmp functions.
28042         * sysdeps/s390/multiarch/ifunc-impl-list.c
28043         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28044         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28045         * benchtests/bench-strncmp.c: Add wcsncmp support.
28046         * benchtests/bench-wcsncmp.c: New File.
28047         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
28049         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
28050         * sysdeps/s390/multiarch/strcmp.c: Likewise.
28051         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
28052         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
28053         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
28054         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
28055         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
28056         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28057         wcscmp functions.
28058         * sysdeps/s390/multiarch/ifunc-impl-list.c
28059         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
28060         * string/strcmp.c (STRCMP): Define and use macro.
28061         * benchtests/bench-wcscmp.c: New File.
28062         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
28063         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
28064         instead of _HAVE_STRING_ARCH_memchr.
28066         * sysdeps/s390/multiarch/strncat-c.c: New File.
28067         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
28068         * sysdeps/s390/multiarch/strncat.c: Likewise.
28069         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
28070         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
28071         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
28072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
28073         wcsncat functions.
28074         * sysdeps/s390/multiarch/ifunc-impl-list.c
28075         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
28076         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
28077         * string/test-strncat.c: Add wcsncat support.
28078         * wcsmbs/test-wcsncat.c: New File.
28079         * wcsmbs/Makefile (strop-tests): Add wcsncat.
28080         * benchtests/bench-strncat.c: Add wcsncat support.
28081         * benchtests/bench-wcsncat.c: New File.
28082         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
28084         * sysdeps/s390/multiarch/strcat-c.c: New File.
28085         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
28086         * sysdeps/s390/multiarch/strcat.c: Likewise.
28087         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
28088         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
28089         * sysdeps/s390/multiarch/wcscat.c: Likewise.
28090         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
28091         wcscat functions.
28092         * sysdeps/s390/multiarch/ifunc-impl-list.c
28093         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
28094         * string/strcat.c (STRCAT): Define and use macro.
28095         * wcsmbs/wcscat.c: Use WCSCAT if defined.
28096         * string/test-strcat.c: Add wcscat support.
28097         * wcsmbs/test-wcscat.c: New File.
28098         * wcsmbs/Makefile (strop-tests): Add wcscat.
28099         * benchtests/bench-strcat.c: Add wcscat support.
28100         * benchtests/bench-wcscat.c: New File.
28101         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
28103         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
28104         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
28105         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
28106         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
28107         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
28108         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
28109         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
28110         wcpncpy functions.
28111         * sysdeps/s390/multiarch/ifunc-impl-list.c
28112         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
28113         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
28114         * string/test-stpncpy.c: Add wcpncpy support.
28115         * wcsmbs/test-wcpncpy.c: New File.
28116         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
28117         * benchtests/bench-stpncpy.c: Add wcpncpy support.
28118         * benchtests/bench-wcpncpy.c: New File.
28119         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
28121         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
28122         * sysdeps/s390/multiarch/strncpy.c: Likewise.
28123         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
28124         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
28125         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
28126         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
28127         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
28128         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
28129         wcsncpy functions.
28130         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
28131         * sysdeps/s390/multiarch/ifunc-impl-list.c
28132         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
28133         * string/test-strncpy.c: Add wcsncpy support.
28134         * wcsmbs/test-wcsncpy.c: New File.
28135         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
28136         * benchtests/bench-strncpy.c: Add wcsncpy support.
28137         * benchtests/bench-wcsncpy.c: New File.
28138         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
28140         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
28141         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
28142         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
28143         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
28144         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
28145         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
28146         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
28147         wcpcpy functions.
28148         * string/stpcpy.c: Use STPCPY if defined.
28149         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
28150         * sysdeps/s390/multiarch/ifunc-impl-list.c
28151         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
28152         * string/test-stpcpy.c: Add wcpcpy support.
28153         * wcsmbs/test-wcpcpy.c: New File.
28154         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
28155         * benchtests/bench-stpcpy.c: Add wcpcpy support.
28156         * benchtests/bench-wcpcpy.c: New File.
28157         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
28159         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
28160         * sysdeps/s390/multiarch/strcpy.c: Likewise.
28161         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
28162         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
28163         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
28164         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
28165         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
28166         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
28167         wcscpy functions.
28168         * sysdeps/s390/multiarch/ifunc-impl-list.c
28169         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
28170         * benchtests/bench-wcscpy.c: New File.
28171         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
28173         * sysdeps/s390/multiarch/strnlen-c.c: New File.
28174         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
28175         * sysdeps/s390/multiarch/strnlen.c: Likewise.
28176         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
28177         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
28178         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
28179         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
28180         wcsnlen functions.
28181         * sysdeps/s390/multiarch/ifunc-impl-list.c
28182         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
28183         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
28184         * string/test-strnlen.c: Add wcsnlen support.
28185         * wcsmbs/test-wcsnlen.c: New File.
28186         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
28187         * benchtests/bench-strnlen.c: Add wcsnlen support.
28188         * benchtests/bench-wcsnlen.c: New File.
28189         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
28191         * sysdeps/s390/multiarch/Makefile: New File.
28192         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
28193         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
28194         * sysdeps/s390/multiarch/strlen.c: Likewise.
28195         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
28196         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
28197         * sysdeps/s390/multiarch/wcslen.c: Likewise.
28198         * string/strlen.c (STRLEN): Define and use macro.
28199         * sysdeps/s390/multiarch/ifunc-impl-list.c
28200         (IFUNC_VX_IMPL): New macro function.
28201         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
28202         * benchtests/Makefile (wcsmbs-bench): New variable.
28203         (string-bench-all): Added wcsmbs-bench.
28204         * benchtests/bench-wcslen.c: New File.
28206         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
28207         s390_vx_libc_ifunc2): New macro function.
28209         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
28210         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
28211         assembler support.
28212         * sysdeps/s390/configure: Regenerated.
28214         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
28215         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28217         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
28218         * sysdeps/s390/dl-procinfo.h: Add vector capability.
28219         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
28221         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
28222         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
28223         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
28224         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
28225         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
28226         (memcmp, bcmp): Use __memcmp_default as alias source.
28227         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
28228         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
28229         Rename to __memcmp_default.
28230         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
28231         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
28232         (memcpy): Use __memcpy_default as alias source.
28233         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
28234         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
28235         Rename to __memcpy_default.
28236         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
28237         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
28238         (memset): Use __memset_default as alias source.
28239         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
28240         * sysdeps/s390/s390-32/memset.S (__memset_g5):
28241         Rename to __memset_default.
28242         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
28243         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
28244         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
28245         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
28246         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
28247         (memcmp, bcmp): Use __memcmp_default as alias source.
28248         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
28249         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
28250         Rename to __memcmp_default.
28251         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
28252         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
28253         (memcpy): Use __memcpy_default as alias source.
28254         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
28255         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
28256         Rename to __memcpy_default.
28257         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
28258         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
28259         (memset): Use __memset_default as alias source.
28260         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
28261         * sysdeps/s390/s390-64/memset.S (__memset_z900):
28262         Rename to __memset_default.
28263         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
28264         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
28266         [BZ #18610]
28267         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
28268         __ieee_instruction_pointer to __unused.
28269         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
28270         __ieee_instruction_pointer.
28271         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
28272         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
28273         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28274         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28275         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
28276         Mark dxc-field as reserved.
28278 2015-08-25  Roland McGrath  <roland@hack.frob.com>
28280         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
28281         if the weak reference is not null.
28283 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28285         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
28287         [BZ #11214]
28288         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
28290 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28292         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
28293         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
28294         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
28295         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
28296         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
28297         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
28298         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
28299         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
28300         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
28301         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
28302         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
28303         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
28304         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
28305         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
28306         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
28307         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
28308         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
28309         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
28311 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28313         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
28314         register other than r0 for tabort, it has special meaning.
28315         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
28316         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
28317         transaction before starting syscall.
28319 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28321         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
28323 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28325         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
28327         * sysdeps/x86_64/rtld-memcmp.c: Removed.
28328         * sysdeps/x86_64/rtld-memset.S: Likewise.
28329         * sysdeps/x86_64/rtld-strchr.S: Likewise.
28330         * sysdeps/x86_64/rtld-strlen.S: Likewise.
28331         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
28332         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28334         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
28336 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
28338         * debug/strcpy_chk.c: Improve performance.
28339         * debug/stpcpy_chk.c: Likewise.
28340         * sysdeps/x86_64/strcpy_chk.S: Remove.
28341         * sysdeps/x86_64/stpcpy_chk.S: Remove.
28343         [BZ #18240]
28344         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
28346 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28348         [BZ #15128]
28349         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
28350         ifuncmain8.
28351         (modules-names): Add ifuncmod8.
28352         ($(objpfx)ifuncmain8): New rule.
28353         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
28354         <cpuid.h>.
28355         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
28356         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
28357         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
28358         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
28359         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
28360         * sysdeps/x86_64/dl-trampoline.h: Likewise.
28361         * sysdeps/x86_64/ifuncmain8.c: New file.
28362         * sysdeps/x86_64/ifuncmod8.c: Likewise.
28363         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
28364         Removed.
28365         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
28366         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
28367         Change rtld_savespace_sse to __glibc_unused2.
28368         (RTLD_CHECK_FOREIGN_CALL): Removed.
28369         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
28370         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
28371         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
28373 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28375         * sysdeps/aarch64/bzero.S (__bzero): Remove.
28377 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28379         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
28380         Unconditionally set __fpcr to avoid uninialized warning.
28381         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
28383 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28385         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
28386         is corrupt.
28388         * malloc/arena.c (arena_get2): Drop unused argument.
28389         (arena_lock): Adjust.
28390         (arena_get_retry): Likewise.
28392 2015-08-24  Andreas Schwab  <schwab@suse.de>
28394         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
28395         Don't define.
28396         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
28397         (__ASSUME_IPC64): Don't undef.
28398         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
28399         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28400         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28401         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
28402         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
28403         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
28404         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
28405         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
28406         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
28407         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
28408         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
28409         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
28410         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
28411         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
28412         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
28413         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
28414         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
28415         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
28416         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
28417         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
28418         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
28420 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
28422         * manual/Makefile (install): Only build manual when perl is available.
28424 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28426         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
28427         '#undef memcpy' by '#undef memchr'.
28429 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28431         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
28432         memchr not point to the internal __GI_memchr implementation.
28434 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28436         * timezone/Makefile (CFLAGS-zdump.c): Remove
28437         -Wno-strict-prototypes.
28438         (CFLAGS-zic.c): Likewise.
28439         (CFLAGS-ialloc.c): Likewise.
28440         (CFLAGS-scheck.c): Likewise.
28442         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
28443         -Wno-error=undef.
28445 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28447         * i386/i686/multiarch/strcasestr-c.c: Removed.
28448         * x86_64/multiarch/strcasestr.c: Likewise.
28449         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28450         Remove strcasestr.
28452 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28454         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
28456         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
28457         variables for high and low parts before possibly modifying them.
28459 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28461         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
28462         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
28463         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
28464         of "multiarch/init-arch.h".
28465         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
28466         * sysdeps/x86/init-arch.h: This.
28468 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28470         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
28471         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
28473 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
28475         [BZ #17787]
28476         * manual/macros.texi: Add twoexp macro.
28477         * manual/filesys.texi: Fix exponents.
28478         * manual/llio.texi: Likewise.
28479         * manual/stdio.texi: Likewise.
28481 2015-08-20  Florian Weimer  <fweimer@redhat.com>
28483         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
28484         incorrect use.
28486 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28488         [BZ #18370]
28489         * math/s_csqrt.c (__csqrt): Force underflow exception for results
28490         whose real or imaginary part has small absolute value.
28491         * math/s_csqrtf.c (__csqrtf): Likewise.
28492         * math/s_csqrtl.c (__csqrtl): Likewise.
28493         * math/auto-libm-test-in: Add more tests of csqrt.
28494         * math/auto-libm-test-out: Regenerated.
28495         * sysdeps/i386/fpu/libm-test-ulps: Update.
28497 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28499         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
28500         __ppc_set_ppr_very_low): New functions.
28501         * manual/platform.texi: Add documentation about
28502         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
28504 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
28506         * string/stpncpy.c (stpncpy): Improve performance using
28507         __strnlen/memcpy/memset.
28509 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28511         [BZ #18796]
28512         * scripts/test-installation.pl: Don't add -lmvec to build options if
28513         libmvec wasn't built.
28515 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28517         [BZ #14341]
28518         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
28519         case when there is a gap between DT_REL and DT_JMPREL sections.
28520         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
28521         (LDFLAGS-tst-split-dynreloc): New.
28522         (tst-split-dynreloc-ENV): Likewise.
28523         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
28524         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
28526 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28528         [BZ #18822]
28529         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
28530         attribute_hidden.
28531         (__xstat64_conv): Likewise.
28532         (__xstat32_conv): Likewise.
28534 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28536         [BZ #18822]
28537         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
28538         Don't load %ebx when calling __setcontext.  Call __setcontext
28539         with HIDDEN_JUMPTARGET.
28540         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
28541         libc_hidden_def.
28543 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28545         * sysdeps/i386/i686/Makefile
28546         [$(subdir) == string] (sysdep_routines): Moved to ...
28547         * sysdeps/i386/Makefile: Here.
28548         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
28549         * sysdeps/i386/cacheinfo.c: Here.
28550         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
28551         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
28552         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
28553         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
28555 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28557         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
28558         __i586__ is defined.
28559         (HAS_I686): Defined to 1 if __i686__ is defined.
28561 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28563         * elf/Makefile [$(have-z-execstack) = yes]
28564         (CPPFLAGS-tst-execstack.c): New variable.
28566         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
28567         conditional to [defined UTMPX || _HAVE_UT_TYPE].
28568         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
28569         UTMPX || _HAVE_UT_TV].
28570         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
28571         UTMPX || _HAVE_UT_TV - 0].
28573 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
28575         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
28576         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
28577         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
28579 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28581         * sysdeps/powerpc/dl-procinfo.c:
28582         (_dl_powerpc_cap_flags): Added missing strings for some
28583         hwcap features.
28584         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
28586 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
28588         Port the 0x7efe...feff pattern to GCC 6.
28589         See Steve Ellcey's bug report in:
28590         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
28591         * string/memrchr.c (MEMRCHR):
28592         * string/rawmemchr.c (RAWMEMCHR):
28593         * string/strchr.c (strchr):
28594         * string/strchrnul.c (STRCHRNUL):
28595         Rewrite code to avoid issues with signed shift overflow.
28597 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
28599         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
28600         whether cpuid is available only if HAS_CPUID is 0.
28601         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
28602         (HAS_I586): Likewise.
28603         (HAS_I686): Likewise.
28605 2015-08-18  Zack Weinberg  <zackw@panix.com>
28607         * misc/Versions (libc): Add GLIBC_2.23.
28609 2015-08-18  Alan Modra  <amodra@gmail.com>
28611         [BZ #18421]
28612         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
28613         .Lp__global.
28614         (_start): Load %dp via .Lp__global.
28615         [!SHARED]: Use .section .rodata.
28617 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28619         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
28620         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
28622 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28624         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
28625         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
28627 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28629         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
28630         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
28632 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28634         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
28635         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
28637 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28639         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
28640         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
28642 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28644         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
28645         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
28647 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28649         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
28651 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28653         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
28654         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
28655         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28656         (__ASSUME_LWS_CAS): Delete.
28658 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28660         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
28661         * sysdeps/hppa/configure: Regenerated.
28662         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
28663         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
28664         * sysdeps/hppa/nptl/tls.h: Likewise.
28666 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
28668         [BZ #18823]
28669         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
28670         for scaling up small arguments.
28671         * math/s_csqrtf.c (__csqrtf): Likewise.
28672         * math/s_csqrtl.c (__csqrtl): Likewise.
28673         * math/auto-libm-test-in: Add more tests of csqrt.
28674         * math/auto-libm-test-out: Regenerated.
28676 2015-08-17  Andreas Schwab  <schwab@suse.de>
28678         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
28679         version set GLIBC_2.19.
28681 2015-08-16  Zack Weinberg  <zackw@panix.com>
28683         [BZ #18681]
28684         * misc/regexp.h: This interface is no longer supported.
28685         Remove all contents, leaving only an #error directive.
28686         * misc/regexp.c (loc1, loc2, locs, step, advance):
28687         Demote to compatibility symbols.
28689 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
28691         [BZ #18084]
28692         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
28693         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
28694         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28695         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
28696         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
28697         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
28698         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
28699         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
28700         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28702 2015-08-15  Zack Weinberg  <zackw@panix.com>
28704         [BZ #18795]
28705         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
28706         buffer length is known to be too large, not if it's known to be
28707         small enough.
28708         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
28709         overflow at runtime, involving a length parameter, twice: once
28710         with a compile-time constant length parameter, once without.
28712 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
28714         [BZ #18824]
28715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
28716         scaling x * y up instead of down.
28717         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28718         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28719         * math/auto-libm-test-in: Add more tests of fma.
28720         * math/auto-libm-test-out: Regenerated.
28722 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28724         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28726 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28728         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
28729         unnecessary movq.
28730         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
28731         Likewise.
28733 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
28735         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28736         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
28737         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
28738         and tgamma.
28739         * math/auto-libm-test-out: Regenerated.
28740         * sysdeps/i386/fpu/libm-test-ulps: Update.
28741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28743         [BZ #16520]
28744         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
28745         (__tanh): Force underflow exception for arguments with small
28746         absolute value.
28747         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
28748         (__tanhf): Force underflow exception for arguments with small
28749         absolute value.
28750         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
28751         (__tanhl): Force underflow exception for arguments with small
28752         absolute value.
28753         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
28754         (__tanhl): Force underflow exception for arguments with small
28755         absolute value.
28756         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
28757         (__tanhl): Force underflow exception for arguments with small
28758         absolute value.
28759         * math/auto-libm-test-in: Add more tests of tanh.
28760         * math/auto-libm-test-out: Regenerated.
28761         * sysdeps/i386/fpu/libm-test-ulps: Update.
28763 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28765         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
28766         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
28768 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28770         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
28771         <cpuid.h>.
28773 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28775         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
28776         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
28778 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28780         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
28781         Remove $(objpfx)init-arch.o.
28782         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
28783         init-arch.
28784         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
28785         (INIT_ARCH_EXT): Defined as empty.
28786         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
28787         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
28788         __init_cpu_features call.  Replace HAS_XXX with
28789         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28790         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
28791         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
28792         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
28793         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
28794         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28795         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
28796         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
28797         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28798         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
28799         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
28800         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28801         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
28802         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
28803         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28804         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
28805         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
28806         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28807         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28808         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
28809         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
28810         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28811         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
28812         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
28813         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28814         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
28815         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
28816         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28817         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
28818         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
28819         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28820         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
28821         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
28822         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28823         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
28824         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
28826 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28828         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
28829         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28830         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28831         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28832         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
28833         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
28834         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
28835         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
28836         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
28837         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
28838         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
28839         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
28840         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28841         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28842         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28843         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28844         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28845         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28846         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28847         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28848         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28849         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28850         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28851         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28852         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28853         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28854         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28855         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28856         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28857         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28858         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28859         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28860         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28861         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28862         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28863         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28864         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28865         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28866         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28867         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28868         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28869         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28870         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28872 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28874         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
28875         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28876         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28877         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28878         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28879         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
28880         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28881         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
28882         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28883         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28884         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28885         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
28886         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
28887         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
28888         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
28889         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
28890         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
28891         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
28892         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
28893         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
28894         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
28895         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
28896         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
28897         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28898         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28899         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
28900         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
28901         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
28902         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28903         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28904         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28905         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28906         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28907         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28908         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28909         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28910         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28911         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28912         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28913         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28914         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28915         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28916         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28918 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28920         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
28921         (dl_platform_init): Call init_cpu_features.
28922         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
28923         * sysdeps/i386/i686/cacheinfo.c
28924         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
28925         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
28926         * sysdeps/i386/i686/multiarch/Versions: Removed.
28927         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
28928         Removed.
28929         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
28930         * sysdeps/unix/sysv/linux/x86/Makefile
28931         (libpthread-sysdep_routines): Remove init-arch.
28932         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
28933         <sysdeps/x86_64/dl-procinfo.c> instead of
28934         sysdeps/generic/dl-procinfo.c>.
28935         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
28936         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
28937         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
28938         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
28939         [$(subdir) == elf] (tests-static): Add
28940         tst-get-cpu-features-static.
28941         * sysdeps/x86/Versions: New file.
28942         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
28943         * sysdeps/x86/cpu-features.c: Likewise.
28944         * sysdeps/x86/cpu-features.h: Likewise.
28945         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
28946         * sysdeps/x86/libc-start.c: Likewise.
28947         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
28948         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
28949         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
28950         * sysdeps/x86_64/dl-procinfo.c: Likewise.
28951         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
28952         Assume USE_MULTIARCH is defined and don't check it.
28953         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
28954         (is_amd): Likewise.
28955         (max_cpuid): Likewise.
28956         (intel_check_word): Likewise.
28957         (__cache_sysconf): Don't call __init_cpu_features.
28958         (__x86_preferred_memory_instruction): Removed.
28959         (init_cacheinfo): Don't call __init_cpu_features. Replace
28960         __cpu_features with GLRO(dl_x86_cpu_features).
28961         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
28962         (dl_platform_init): Call init_cpu_features.
28963         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
28964         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
28965         * sysdeps/x86_64/multiarch/Versions: Removed.
28966         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
28967         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
28968         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
28969         Removed.
28970         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
28972 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28974         [BZ #18820]
28975         * libio/Makefile (test-fmemopen-mem): New test.
28976         * libio/test-fmemopen.c (do_bz18820): New test.
28977         * libio/fmemopen.c (__fmemopen): Fix memory leak.
28978         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
28980 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28982         [BZ #16734]
28983         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
28984         (FREE_BUF): Delete.
28985         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
28986         * libio/genops.c (_IO_setb): Use malloc and free directly.
28987         (_IO_default_doallocate, _IO_default_finish): Likewise.
28988         ( _IO_unbuffer_all): Likewise.
28989         ( libc_freeres_fn): Likewise.
28990         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28991         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28992         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
28993         (_IO_wdefault_doallocate): Likewise.
28995 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28997         [BZ #18086]
28998         * sysdeps/posix/nice.c (nice): Restore old errno.
28999         * posix/tst-nice.c (do_test): Add test for BZ #18086.
29001 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
29003         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
29005 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29007         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
29008         __bcopy and add a weak_alias to bcopy.
29009         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29010         for static build.
29012         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29013         cleanup macro usage.
29014         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29015         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29016         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29017         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29018         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29019         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29020         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29021         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29022         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29023         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29024         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29025         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29026         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29027         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29028         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29029         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29030         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29031         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29032         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29034         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29035         libc_hidden_def.
29036         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29038         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29039         (sysdep_routines): Add strstr-ppc64.
29040         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29042 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
29044         [BZ #18778]
29045         * elf/Makefile (tests): Add Add tst-nodelete2.
29046         (modules-names): Add tst-nodelete2mod.
29047         (tst-nodelete2mod.so-no-z-defs): New.
29048         ($(objpfx)tst-nodelete2): Likewise.
29049         ($(objpfx)tst-nodelete2.out): Likewise.
29050         (LDFLAGS-tst-nodelete2): Likewise.
29051         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
29052         out of loop through all loaded libraries.
29053         * elf/tst-nodelete2.c: New file.
29054         * elf/tst-nodelete2mod.c: Likewise.
29055         * elf/tst-znodelete-zlib.cc: Delete.
29057 2015-08-11  Andreas Schwab  <schwab@suse.de>
29059         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
29060         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
29061         (__openat64_nocancel): Likewise.
29063 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
29065         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
29066         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
29067         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
29068         * math/auto-libm-test-out: Regenerated.
29069         * sysdeps/i386/fpu/libm-test-ulps: Update.
29070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29072 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29074         [BZ #18790]
29075         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
29076         threshold for returning +/- 1.
29077         * math/auto-libm-test-in: Add more tests of tanh.
29078         * math/auto-libm-test-out: Regenerated.
29079         * sysdeps/i386/fpu/libm-test-ulps: Update.
29081 2015-08-10  Andreas Schwab  <schwab@suse.de>
29083         [BZ #18781]
29084         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
29085         MORE_OFLAGS to oflag.
29086         * io/test-lfs.c (do_test): Test openat64.
29088 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29090         [BZ #18789]
29091         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
29092         smaller threshold for returning the argument.
29093         * math/auto-libm-test-in: Add more tests of sinh.
29094         * math/auto-libm-test-out: Regenerated.
29095         * sysdeps/i386/fpu/libm-test-ulps: Update.
29097 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29099         [BZ #18674]
29100         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
29101         break.
29103 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
29105         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
29106         (generated): Don't add $(addprefix z.,$(tzfiles)).
29108 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29110         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
29111         * scripts/sysd-rules.awk: Likewise.
29113 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29115         * iconvdata/tst-tables.sh: Change echo -n to printf.
29116         * nss/db-Makefile: Likewise.
29117         * posix/tst-getconf.sh: Likewise.
29118         * stdio-common/tst-unbputc.sh: Likewise.
29120 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29122         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
29123         MADV_*_PAGES defines behind this feature check.
29125 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
29127         [BZ #18480]
29128         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
29129         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
29130         Define.
29131         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
29132         LOAD_REGS_5, LOAD_REGS_6): Update.
29133         (INTERNAL_SYSCALL): Update using new LOAD defines.
29134         (INTERNAL_SYSCALL_NCS): Likewise.
29135         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
29137 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29139         [BZ #16734]
29140         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
29142 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29144         [BZ #17905]
29145         * catgets/Makefile (tst-catgets-mem): New test.
29146         * catgets/catgets.c (catopen): Don't use unbounded alloca.
29147         * catgets/open_catalog.c (__open_catalog): Likewise.
29148         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
29150 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
29152         [BZ #18787]
29153         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
29154         clobber registers.
29155         (atomic_compare_and_exchange_val_acq): Use register asms to assign
29156         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
29157         Cast return to __typeof (oldval).
29159 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
29161         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
29162         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
29163         and delete sys/syscall.h include.
29165 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
29167         [BZ #16517]
29168         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
29169         (tan): Force underflow exception for arguments with small absolute
29170         value.
29171         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
29172         (__kernel_tanf): Force underflow exception for arguments with
29173         small absolute value.
29174         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
29175         (__kernel_tanl): Force underflow exception for arguments with
29176         small absolute value.
29177         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
29178         (__kernel_tanl): Force underflow exception for arguments with
29179         small absolute value.
29180         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
29181         (__kernel_tanl): Force underflow exception for arguments with
29182         small absolute value.
29183         * math/auto-libm-test-in: Add more tests of tan.
29184         * math/auto-libm-test-out: Regenerated.
29186 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29188         Fix sysdeps/i386/fpu/s_scalbn.S build
29190         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
29192 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
29194         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29196 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29198         Fix gcrt0.o compilation
29200         When static-start-installed-name is different from
29201         start-installed-name, we must not use the shared objects.
29203         * csu/Makefile
29204         (extra-objs): Add gmon-start.o when building shared library and
29205         $(static-start-installed-name) is different from
29206         $(start-installed-name).
29207         $(objpfx)g$(static-start-installed-name): When building shared
29208         library and $(static-start-installed-name) is different from
29209         $(static-start-installed-name), revert to non-shared rule,
29210         i.e. using $(objpfx)% and gmon-start.o.
29212 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
29214         [BZ #16519]
29215         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
29216         (__ieee754_sinh): Force underflow exception for arguments with
29217         small absolute value.
29218         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
29219         (__ieee754_sinhf): Force underflow exception for arguments with
29220         small absolute value.
29221         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
29222         (__ieee754_sinhl): Force underflow exception for arguments with
29223         small absolute value.
29224         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
29225         (__ieee754_sinhl): Force underflow exception for arguments with
29226         small absolute value.
29227         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
29228         (__ieee754_sinhl): Force underflow exception for arguments with
29229         small absolute value.
29230         * math/auto-libm-test-in: Add more tests of sinh.
29231         * math/auto-libm-test-out: Regenerated.
29232         * sysdeps/i386/fpu/libm-test-ulps: Update.
29234 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29236         * libio/oldfileops.c: Include unistd.h.
29238 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
29240         * stdlib/isomac.c: Include ctype.h.
29242 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
29244         * dirent/tst-seekdir.c (main): Converted to ...
29245         (do_test): ... this.
29246         (TEST_FUNCTION): New macro.
29247         Include test-skeleton.c.
29248         * elf/tst-dlmodcount.c (main): Converted to ...
29249         (do_test): ... this.
29250         (TEST_FUNCTION): New macro.
29251         Include test-skeleton.c.
29252         * elf/tst-order-main.c (main): Converted to ...
29253         (do_test): ... this.
29254         (TEST_FUNCTION): New macro.
29255         Include test-skeleton.c.
29256         * elf/tst-pie2.c (main): Converted to ...
29257         (do_test): ... this.
29258         (TEST_FUNCTION): New macro.
29259         Include test-skeleton.c.
29260         * inet/tst-ether_aton.c (main): Converted to ...
29261         (do_test): ... this.
29262         (TEST_FUNCTION): New macro.
29263         Include test-skeleton.c.
29264         * misc/tst-mntent.c (main): Converted to ...
29265         (do_test): ... this.
29266         (TEST_FUNCTION): New macro.
29267         Include test-skeleton.c.
29268         * misc/tst-tsearch.c (main): Converted to ...
29269         (do_test): ... this.
29270         (TEST_FUNCTION): New macro.
29271         Include test-skeleton.c.
29272         * posix/tst-regexloc.c (main): Converted to ...
29273         (do_test): ... this.
29274         (TEST_FUNCTION): New macro.
29275         Include test-skeleton.c.
29276         * resolv/tst-aton.c (main): Converted to ...
29277         (do_test): ... this.
29278         (TEST_FUNCTION): New macro.
29279         Include test-skeleton.c.
29280         * stdio-common/test-fwrite.c (main): Converted to ...
29281         (do_test): ... this.
29282         (TEST_FUNCTION): New macro.
29283         Include test-skeleton.c.
29284         * stdio-common/tst-ferror.c (main): Converted to ...
29285         (do_test): ... this.
29286         (TEST_FUNCTION): New macro.
29287         Include test-skeleton.c.
29288         * stdio-common/tst-printf.c (main): Converted to ...
29289         (do_test): ... this.
29290         (TEST_FUNCTION): New macro.
29291         Include test-skeleton.c.
29292         * stdio-common/tst-printfsz.c (main): Converted to ...
29293         (do_test): ... this.
29294         (TEST_FUNCTION): New macro.
29295         Include test-skeleton.c.
29296         * stdlib/tst-strtod.c (main): Converted to ...
29297         (do_test): ... this.
29298         (TEST_FUNCTION): New macro.
29299         Include test-skeleton.c.
29300         * string/tst-strlen.c (main): Converted to ...
29301         (do_test): ... this.
29302         (TEST_FUNCTION): New macro.
29303         Include test-skeleton.c.
29304         * string/tst-svc.c (main): Converted to ...
29305         (do_test): ... this.
29306         (TEST_FUNCTION): New macro.
29307         Include test-skeleton.c.
29308         * time/tst-strptime.c (main): Converted to ...
29309         (do_test): ... this.
29310         (TEST_FUNCTION): New macro.
29311         Include test-skeleton.c.
29312         * timezone/tst-timezone.c (main): Converted to ...
29313         (do_test): ... this.
29314         (TEST_FUNCTION): New macro.
29315         Include test-skeleton.c.
29317 2015-08-05  Zack Weinberg  <zackw@panix.com>
29319         * misc/regexp.h: Update comments.
29321 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
29323         [BZ #18635]
29324         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
29325         before return label.
29327 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29329         [BZ #18661]
29330         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
29331         when calling __errno_location.
29332         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
29333         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
29335 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29337         [BZ #18661]
29338         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
29339         (__lll_timedwait_tid): Align stack to 16 bytes when calling
29340         __gettimeofday.
29342 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29344         [BZ #18661]
29345         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29346         (__start_context): Don't use pop to restore %rdi so that stack
29347         is aligned to 16 bytes when calling __setcontext.
29349 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29351         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
29352         only for libc.
29353         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29355 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29357         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
29358         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
29359         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
29361 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29363         * string/memccpy.c (memccpy):
29364         Improve performance by using memchr/memcpy/__mempcpy.
29366 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29368         * string/strncpy.c (strncpy):
29369         Improve performance by using __strnlen/memcpy.
29371 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29373         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29374         Optimize to avoid an unnecessary FPCR read.
29376 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29378         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29379         Optimize to reduce FPCR/FPSR accesses.
29381 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29383         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
29384         dead->data[category] != NULL.
29386 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
29388         [BZ #18647]
29389         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
29390         and |x| close to 1, use absolute value of x when computing log.
29391         * math/auto-libm-test-in: Add more tests of pow.
29392         * math/auto-libm-test-out: Regenerated.
29394 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29396         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
29397         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
29398         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
29400 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
29402         [BZ #18525]
29403         * locales/km_KH: Remove timezone definition.
29404         * locales/lo_LA: Likewise.
29405         * locales/my_MM: Likewise.
29406         * locales/nan_TW@latin: Likewise.
29407         * locales/th_TH: Likewise.
29408         * locales/uk_UA: Likewise.
29410 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29412         [BZ #18265]
29413         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
29414         (wcsncat): Likewise.
29415         (wcscmp): Likewise.
29416         (wcsncmp): Likewise.
29418 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29420         * test-skeleton.c (usage): New function.
29421         (main): Call usage when opt is '?'.
29423 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29425         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
29426         before first use.
29428 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29430         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
29431         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
29432         in there too.
29434 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
29436         * version.h (RELEASE): Set to "development".
29437         (VERSION): Set to "2.22.90"
29439         * version.h (RELEASE): Set to "stable".
29440         (VERSION): Set to "2.22"
29441         * include/features.h (__GLIBC_MINOR__): Set to 22.
29443 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
29445         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
29446         Restructure macro to avoid "value computed is not used" warning.
29447         (atomic_compare_and_exchange_val_acq): Likewise.
29449 2015-08-04  Andreas Schwab  <schwab@suse.de>
29451         [BZ #18635]
29452         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
29453         ret.
29454         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
29456 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
29458         * po/pl.po: Updated translation.
29459         * po/uk.po: Likewise.
29460         * po/fi.po: Likewise.
29461         * po/ko.po: Likewise.
29462         * po/ru.po: Likewise.
29463         * po/vi.po: Likewise.
29465 2015-07-31  Zack Weinberg  <zackw@panix.com>
29467         [BZ #18681]
29468         * regexp.h: Add unconditional #warning stating that this header
29469         will be removed soon.  Revise banner comment to match.
29470         (compile): Consistently use ERROR instead of RETURN to report
29471         errors (partial fix for BZ #18681).
29472         * regexp.c: Don't include regexp.h. Remove some unnecessary
29473         declarations.
29475 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
29477         * po/libc.pot: Regenerated.
29479 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29481         [BZ #18740]
29482         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
29483         float-vlen4-arch-ext-cflags): Removed.
29484         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
29485         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
29487 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29489         [BZ #14113]
29490         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
29491         aligned to __aligned__.
29492         (pthread_cond_t, pthread_rwlock_t): Likewise.
29494 2015-07-30  Torvald Riegel  <triegel@redhat.com>
29496         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
29498 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29500         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
29501         (struct sigaction): Change sa_flags from a long to an int, and add
29502         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
29504 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29506         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
29507         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
29508         sysdeps/generic/sysdep.h include.
29509         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
29510         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
29511         sysdeps/hppa/sysdep.h.
29512         (ENTRY, PSEUDO): Undefine before defining.
29514 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29516         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
29517         from scratch to use INTERNAL_SYSCALL.
29519 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
29521         [BZ #18078]
29522         * scripts/check-localplt.awk: Support alternate relocations.
29523         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
29524         sections.
29525         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
29526         malloc entries with + REL R_386_GLOB_DAT.
29527         * sysdeps/x86_64/localplt.data: New file.
29529 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
29531         [BZ #18731]
29532         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
29533         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29534         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29536 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29538         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
29540 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29542         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
29543         directly in terms of __sync_fetch_and_add and delete (int) cast.
29545 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29547         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
29548         the -D_ASM_IA64_CURRENT_H flag.
29550 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29552         [BZ #18641]
29553         * pwd/pwd.h (putpwent): Delete __nonnull markings.
29555 2015-07-27  Andreas Schwab  <schwab@suse.de>
29557         * conform/conformtest.pl (checknamespace): Filter out string
29558         literals while tokenizing.
29560 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29562         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29563         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
29564         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29566 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29568         * nptl/tst-join7mod.c: Add #include <string.h>.
29570 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29572         * sysdeps/nios2/libm-test-ulps: Update.
29574 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29576         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
29577         Fix order of arguments to the rt_sigprocmask syscall.
29578         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
29579         Likewise.
29581 2015-07-24  Roland McGrath  <roland@hack.frob.com>
29583         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
29585 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29587         [BZ #18457]
29588         * nptl/Makefile (tests): New test case tst-join7.
29589         (modules-names): New test case module tst-join7mod.
29590         * nptl/tst-join7.c: New file.
29591         * nptl/tst-join7mod.c: New file.
29592         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
29593         all translation units in libc.so, libpthread.so and rtld.
29595 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29599 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29601         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
29602         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29603         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29604         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29605         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29606         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29607         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29608         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29609         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29610         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29612         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29613         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
29614         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29615         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
29616         implementation.
29618 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29620         [BZ #17711]
29621         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29622         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
29623         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29624         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29625         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
29626         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29628 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29630         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
29631         instead of just saying load lock in the comments.
29633 2015-07-23  Roland McGrath  <roland@hack.frob.com>
29635         * sysdeps/unix/Subdirs: Moved ...
29636         * sysdeps/posix/Subdirs: ... here.
29637         * login/pty.h (struct termios, struct winsize): Add forward decls.
29638         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
29639         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
29640         * sysdeps/arm/nacl/libc.abilist: Updated.
29641         * sysdeps/nacl/libutil.abilist: New file.
29643         * bits/signum.h: Update comments to mention 1003.1-2013 too.
29644         (SIGWINCH): New macro.
29646         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
29647         * sysdeps/arm/nacl/libc.abilist: Add it.
29649 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29651         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
29653 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29655         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29656         Swap __glibc_reserved0 and sa_flags order.
29658 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29660         [BZ #18657]
29661         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
29662         are pending TLS destructor calls.
29663         * include/link.h (struct link_map): Add concurrency note for
29664         L_TLS_DTOR_COUNT.
29665         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29666         Don't touch the link map flag.  Atomically increment
29667         l_tls_dtor_count.
29668         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
29669         Avoid taking the load lock and don't touch the link map flag.
29670         * stdlib/tst-tls-atexit-nodelete.c: New test case.
29671         * stdlib/Makefile (tests): Use it.
29672         * stdlib/tst-tls-atexit.c (do_test): dlopen
29673         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
29674         to allow tst-tls-atexit-nodelete test case to use it.
29676 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29678         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
29679         to bits/types.h.
29680         (msgqnum_t): New typedef.
29681         (msglen_t): Likewise.
29682         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
29683         and msg_qbytes type to msglen_t.
29685 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29687         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
29688         pad0 to __glibc_reserved0.
29689         (struct stat64): Likewise.
29691 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29693         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29694         Change sa_flags from a long to an int and add __glibc_reserved0 before
29695         it for padding.
29697 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29699         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
29700         anonymous by deleting "siginfo" name.
29702 2015-07-21  Roland McGrath  <roland@hack.frob.com>
29704         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
29705         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
29706         rather than __nacl_irt_filename.
29707         * sysdeps/nacl/xstat.c (__xstat): Likewise.
29709         * NEWS: New item for arm-nacl port.
29710         * sysdeps/arm/nacl/libc.abilist: New file.
29711         * sysdeps/nacl/ld.abilist: New file.
29712         * sysdeps/nacl/libBrokenLocale.abilist: New file.
29713         * sysdeps/nacl/libanl.abilist: New file.
29714         * sysdeps/nacl/libcrypt.abilist: New file.
29715         * sysdeps/nacl/libdl.abilist: New file.
29716         * sysdeps/nacl/libm.abilist: New file.
29717         * sysdeps/nacl/libpthread.abilist: New file.
29718         * sysdeps/nacl/libresolv.abilist: New file.
29719         * sysdeps/nacl/librt.abilist: New file.
29721 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
29723         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
29724         __startcontext to initialize the new context.
29725         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
29726         up CFI directive to forbid further backtracing.
29728 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
29730         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
29731         reference.
29732         * charmaps/ANSI_X3.4-1968: Likewise.
29733         * charmaps/BS_4730: Likewise.
29734         * charmaps/BS_VIEWDATA: Likewise.
29735         * charmaps/CP1250: Likewise.
29736         * charmaps/CP1251: Likewise.
29737         * charmaps/CP1252: Likewise.
29738         * charmaps/CP1253: Likewise.
29739         * charmaps/CP1254: Likewise.
29740         * charmaps/CP1255: Likewise.
29741         * charmaps/CP1256: Likewise.
29742         * charmaps/CSN_369103: Likewise.
29743         * charmaps/EBCDIC-DK-NO: Likewise.
29744         * charmaps/GB_1988-80: Likewise.
29745         * charmaps/GREEK-CCITT: Likewise.
29746         * charmaps/GREEK7: Likewise.
29747         * charmaps/INIS-8: Likewise.
29748         * charmaps/ISIRI-3342: Likewise.
29749         * charmaps/ISO_2033-1983: Likewise.
29750         * charmaps/ISO_5427-EXT: Likewise.
29751         * locales/POSIX: Likewise.
29752         * locales/ar_SA: Likewise.
29753         * locales/be_BY: Likewise.
29754         * locales/be_BY@latin: Likewise.
29755         * locales/ca_ES: Likewise.
29756         * locales/cs_CZ: Likewise.
29757         * locales/da_DK: Likewise.
29758         * locales/de_BE: Likewise.
29759         * locales/de_CH: Likewise.
29760         * locales/de_LU: Likewise.
29761         * locales/en_AU: Likewise.
29762         * locales/en_BW: Likewise.
29763         * locales/en_CA: Likewise.
29764         * locales/en_DK: Likewise.
29765         * locales/en_GB: Likewise.
29766         * locales/en_IE: Likewise.
29767         * locales/en_NZ: Likewise.
29768         * locales/en_ZA: Likewise.
29769         * locales/en_ZW: Likewise.
29770         * locales/es_AR: Likewise.
29771         * locales/es_BO: Likewise.
29772         * locales/es_CL: Likewise.
29773         * locales/es_CO: Likewise.
29774         * locales/es_DO: Likewise.
29775         * locales/es_EC: Likewise.
29776         * locales/es_ES: Likewise.
29777         * locales/es_HN: Likewise.
29778         * locales/es_MX: Likewise.
29779         * locales/es_PA: Likewise.
29780         * locales/es_PE: Likewise.
29781         * locales/es_PY: Likewise.
29782         * locales/es_SV: Likewise.
29783         * locales/es_US: Likewise.
29784         * locales/es_UY: Likewise.
29785         * locales/es_VE: Likewise.
29786         * locales/et_EE: Likewise.
29787         * locales/fa_IR: Likewise.
29788         * locales/fo_FO: Likewise.
29789         * locales/fr_CA: Likewise.
29790         * locales/fr_CH: Likewise.
29791         * locales/gv_GB: Likewise.
29792         * locales/he_IL: Likewise.
29793         * locales/hr_HR: Likewise.
29794         * locales/id_ID: Likewise.
29795         * locales/is_IS: Likewise.
29796         * locales/it_CH: Likewise.
29797         * locales/iw_IL: Likewise.
29798         * locales/kl_GL: Likewise.
29799         * locales/ko_KR: Likewise.
29800         * locales/kw_GB: Likewise.
29801         * locales/lg_UG: Likewise.
29802         * locales/lt_LT: Likewise.
29803         * locales/lv_LV: Likewise.
29804         * locales/mi_NZ: Likewise.
29805         * locales/nhn_MX: Likewise.
29806         * locales/nl_BE: Likewise.
29807         * locales/pl_PL: Likewise.
29808         * locales/sk_SK: Likewise.
29809         * locales/sl_SI: Likewise.
29810         * locales/sv_FI: Likewise.
29811         * locales/tl_PH: Likewise.
29812         * locales/tr_TR: Likewise.
29813         * locales/vi_VN: Likewise.
29815 2015-07-21  Khem Raj  <raj.khem@gmail.com>
29817         [BZ #17475]
29818         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
29819         of tu_IN and bh_IN.
29821 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
29823         [BZ #18694]
29824         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
29825         bits/wordsize.h.
29826         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
29828 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29830         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
29831         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
29832         (spawn_thread): New function.
29833         (load): Rename to reg_dtor_and_close.  Move dlopen to...
29834         (do_test): ... here.  Use IS_LOADED to test for its
29835         availability.
29837 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
29839         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29841 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
29843         [BZ #18696]
29844         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
29845         si_addr_bnd.
29846         (si_lower): New.
29847         (si_upper): Likewise.
29849 2015-07-16  David S. Miller  <davem@davemloft.net>
29851         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
29853 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29855         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
29856         buffer.
29857         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
29858         fail output information.
29860 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
29863         and strstr-ppc64..
29864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29865         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
29866         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
29867         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
29868         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
29870 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29872         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29873         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29874         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29875         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29877 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29879         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29880         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
29881         rtld_hidden_proto.
29882         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
29884 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29886         * tst-nodelete-opened.c (do_test): Add comment to clarify how
29887         the test can fail.
29889         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
29891         [BZ #18676]
29892         * elf/tst-nodelete-opened.c: New test case.
29893         * elf/tst-nodelete-opened-lib.c: New test case module.
29894         * elf/Makefile (tests, modules-names): Use them.
29895         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
29896         early.
29898 2015-07-15  David S. Miller  <davem@davemloft.net>
29900         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
29901         futex-intenal.h
29902         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
29903         * sysdeps/sparc/sparc64/Makefile: Likewise.
29904         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29905         Remove space from macro define.
29906         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
29908 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
29910         [BZ #17475]
29911         * locale/iso-639.def: Update Bhili and Tulu language codes as
29912         per iso639-3.
29914 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
29916         * elf/tst-leaks1.c (main): Converted to ...
29917         (do_test): ... this.
29918         (TEST_FUNCTION): New macro.
29919         Include test-skeleton.c.
29920         * localedata/tst-langinfo.c (main): Converted to ...
29921         (do_test): ... this.
29922         (TEST_FUNCTION): New macro.
29923         Include test-skeleton.c.
29924         * math/test-fpucw.c (main): Converted to ...
29925         (do_test): ... this.
29926         (TEST_FUNCTION): New macro.
29927         Include test-skeleton.c.
29928         * math/test-tgmath.c (main): Converted to ...
29929         (do_test): ... this.
29930         (TEST_FUNCTION): New macro.
29931         Include test-skeleton.c.
29932         * math/test-tgmath2.c (main): Converted to ...
29933         (do_test): ... this.
29934         (TEST_FUNCTION): New macro.
29935         Include test-skeleton.c.
29936         * setjmp/tst-setjmp.c (main): Converted to ...
29937         (do_test): ... this.
29938         (TEST_FUNCTION): New macro.
29939         Include test-skeleton.c.
29940         * stdio-common/tst-sscanf.c (main): Converted to ...
29941         (do_test): ... this.
29942         (TEST_FUNCTION): New macro.
29943         Include test-skeleton.c.
29944         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
29945         (do_test): ... this.
29946         (TEST_FUNCTION): New macro.
29947         Include test-skeleton.c.
29949         * elf/tst-audit9.c (main): Converted to ...
29950         (do_test): ... this.
29951         (TEST_FUNCTION): New macro.
29952         Include test-skeleton.c.
29954 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
29956         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
29958 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29960         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
29961         New variable.
29963 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29965         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29967 2015-07-14  Roland McGrath  <roland@hack.frob.com>
29969         * sysdeps/generic/dl-fileid.h: New file.
29970         * sysdeps/posix/dl-fileid.h: New file.
29971         * sysdeps/nacl/dl-fileid.h: New file.
29972         * include/link.h: Include <dl-fileid.h>.
29973         (struct link_map): Replace l_dev and l_ino with l_file_id.
29974         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
29975         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
29976         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
29978 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29980         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
29982 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29984         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
29985         Add iff $CXX is set.
29986         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
29987         Likewise.
29988         (tst-nodelete-zmodiff): Likewise.
29989         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
29991 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29993         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
29995 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
29997         * sysdeps/aarch64/fpu/math_private.h
29998         (define math_opt_barrier): Add AArch64 version.
29999         (math_force_eval): Likewise.
30001 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30003         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
30005 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
30007         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
30008         %ld with %jd and cast to intmax_t.
30009         (do_test_length_zero): Likewise.
30011 2015-07-10  Roland McGrath  <roland@hack.frob.com>
30013         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30015 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
30017         * sysdeps/tile/libm-test-ulps: Regenerated.
30019         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30020         Comment out the whole function, not just its body.
30022 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30024         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30025         locks.
30027         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30029 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30031         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30032         (sem_assume_only_signals_cause_futex_EINTR): Remove.
30034 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30036         * sysdeps/nptl/futex-internal.h: New file.
30037         * sysdeps/nacl/futex-internal.h: New file.
30038         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30039         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30040         error checking.
30041         (setxid_unmark_thread): Likewise.
30042         (__nptl_setxid): Likewise.
30043         (__wait_lookup_done): Likewise.
30044         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30045         * nptl/nptl-init.c (sighandler_setxid): Likewise.
30046         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30047         * nptl/pthread_once.c (clear_once_control): Likewise.
30048         (__pthread_once_slow): Likewise.
30049         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
30050         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
30051         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
30052         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
30053         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
30054         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
30055         Likewise.
30056         (__pthread_rwlock_rdlock): Likewise.
30057         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30058         Likewise.
30059         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30060         Likewise.
30061         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30062         Likewise.
30063         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
30064         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
30065         Likewise.
30066         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
30067         __ASSUME_PRIVATE_FUTEX check.
30068         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
30069         Check that shared futexes are supported.
30070         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
30071         wrappers with error checking.
30072         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
30073         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
30074         * nptl/pthread_barrierattr_setpshared.c
30075         (pthread_barrierattr_setpshared): Check that shared futexes are
30076         supported.
30077         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
30078         Likewise.
30079         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
30080         Likewise.
30081         * nptl/sem_init.c (futex_private_if_supported): Remove.
30082         (__new_sem_init): Adapt and check that shared futexes are supported.
30083         * nptl/sem_open.c (sem_open): Likewise.
30084         * nptl/sem_post.c (futex_wake): Remove.
30085         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
30086         (do_futex_wait): Use futex wrappers with error checking.
30087         * nptl/sem_wait.c: Include lowlevellock.h.
30088         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
30089         Use futex_supports_pshared.
30090         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
30091         Use futex wrappers with error checking.
30092         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
30093         Likewise.
30094         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
30095         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
30096         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
30097         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
30098         (futex_wake): Likewise.
30099         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
30100         (do_futex_wait): Use futex wrappers with error checking.
30101         (__new_sem_wait_slow): Update EINTR handling.
30102         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
30104 2015-07-09  Martin Sebor  <msebor@redhat.com>
30106         [BZ #18435]
30107         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30108         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
30109         * nptl/Makefile (test-xfail-tst-once5): Define.
30111 2015-07-09  Roland McGrath  <roland@hack.frob.com>
30113         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
30114         * elf/dl-minimal.c: For readability, reorder some definitions and
30115         introduce more page breaks.  Include <stdio.h>.
30116         (__libc_fatal): New function.
30118         * include/unistd.h: Add rtld_hidden_proto for _exit.
30119         * posix/_exit.c: Add rtld_hidden_def.
30120         * sysdeps/mach/hurd/_exit.c: Likewise.
30121         * sysdeps/nacl/_exit.c: Likewise.
30122         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
30123         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
30125 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
30127         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
30128         bndmov encoding with zero displacement.
30130 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30131             H.J. Lu  <hongjiu.lu@intel.com>
30133         [BZ #18134]
30134         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
30135         * sysdeps/i386/configure: Regenerated.
30136         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30137         (_dl_runtime_profile): Save and restore Intel MPX return bound
30138         registers when calling _dl_call_pltexit.  Add
30139         PRESERVE_BND_REGS_PREFIX before return.
30140         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
30141         (LRV_BND1_OFFSET): Likewise.
30142         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
30143         lrv_bnd1.
30144         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
30145         typo in bndmov encoding.
30146         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
30147         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
30148         branch instructions to preserve bounds.
30150 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
30153         [GLIBC_2.22]: Add fmemopen.
30155 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30157         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
30158         returns an error, also try to use host port from __mach_host_self for
30159         the __vm_wire call.
30160         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
30162 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30164         [BZ #18400]
30165         [BZ #18648]
30166         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
30167         Fix pr_uid and pr_gid members.
30168         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
30169         definition to elf_greg_t.
30171 2015-07-08  Roland McGrath  <roland@hack.frob.com>
30173         [BZ #18383]
30174         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
30175         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
30176         * sysdeps/arm/configure: Regenerated.
30177         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
30178         (test-xfail-tst-tlsalign-static): Variable removed.
30180         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
30181         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
30182         rather than explicit 'ln -s'.
30184         * resolv/rpc/netdb.h: New file.
30185         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
30187 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30189         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
30190         length buffers.
30191         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30192         test-skeleton.c.
30194         [BZ #6544]
30195         [BZ #11216]
30196         [BZ #12836]
30197         [BZ #13151]
30198         [BZ #13152]
30199         [BZ #14292]
30200         * include/stdio.h (fmemopen): Remove hidden prototype.
30201         (__fmemopen): Add new hidden prototype.
30202         * libio/Makefile: Add oldfmemopen object.
30203         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
30204         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
30205         compliance.
30206         * libio/oldfmemopen.c: New file: old fmemopen implementation for
30207         symbol compatibility.
30208         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
30209         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
30210         fmemopen.
30211         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
30212         on append and read mode.
30213         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
30214         fmemopen.
30215         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
30216         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
30217         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
30218         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
30219         Likewise.
30220         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
30221         [GLIBC_2.22]: Likewise.
30222         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
30223         Likewise.
30224         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
30225         Likewise.
30226         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
30227         [GLIBC_2.22]: Likewise.
30228         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
30229         [GLIBC_2.22]: Likewise.
30230         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
30231         [GLIBC_2.22]: Likewise.
30232         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
30233         [GLIBC_2.22]: Likewise.
30234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
30235         [GLIBC_2.22]: Likewise.
30236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
30237         [GLIBC_2.22]: Likewise.
30238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
30239         [GLIBC_2.22]: Likewise.
30240         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
30241         Likewise.
30242         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
30243         Likewise.
30244         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
30245         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
30246         [GLIBC_2.22]: Likewise.
30247         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
30248         [GLIBC_2.22]: Likewise.
30249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
30250         [GLIBC_2.22]: Likewise.
30251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
30252         [GLIBC_2.22]: Likewise.
30253         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
30254         Likewise.
30255         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
30256         Likewise.
30257         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
30258         Likewise.
30259         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
30260         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
30262 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30264         [BZ #18643]
30265         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
30266         IPV6_PATHMTU, and IPV6_DONTFRAG.
30268 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
30270         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
30271         and _IO_UNBUFFERED.
30272         * libio/oldfileops.c: Likewise.
30273         * libio/wfileops.c: Likewise.
30275 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30277         * nscd/selinux.c: Delete selinux/flask.h include.
30279 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30281         [BZ #18641]
30282         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
30283         (putpwent): Likewise.
30284         (getpwnam): Likewise.
30285         (getpwent_r): Likewise.
30286         (getpwuid_r): Likewise.
30287         (getpwnam_r): Likewise.
30288         (fgetpwent_r): Likewise.
30290 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30292         [BZ #18557]
30293         * inet/rcmd.c (__validuser2_sa): Check user first to
30294         short-circuit host check.
30296 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
30297             Mikhail Ilin  <m.ilin@samsung.com>
30299         [BZ #17833]
30300         * elf/Makefile (tests): Add tst-nodelete.
30301         (modules-names): Add tst-nodelete-uniquemod.
30302         (tst-nodelete-uniquemod.so-no-z-defs): New.
30303         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
30304         (tst-nodelete-zmod.so-no-z-defs): Likewise.
30305         ($(objpfx)tst-nodelete): Likewise.
30306         ($(objpfx)tst-nodelete.out): Likewise.
30307         (LDFLAGS-tst-nodelete): Likewise.
30308         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
30309         * elf/dl-close.c (_dl_close_worker): Add a parameter to
30310         implement forced object deletion.
30311         (_dl_close): Pass false to _dl_close_worker.
30312         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
30313         * elf/tst-nodelete.cc: New file.
30314         * elf/tst-nodeletelib.cc: Likewise.
30315         * elf/tst-znodeletelib.cc: Likewise.
30316         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
30318 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30320         [BZ #18508]
30321         * stdlib/Makefile ($(objpfx)tst-makecontext3):
30322         Depend on $(libdl).
30323         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
30324         is not called infinitely times.
30325         (backtrace_helper): New function.
30326         (trace_arg): New struct.
30327         (st1): Enlarge stack size.
30328         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30329         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
30330         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30331         Likewise.
30333 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30335         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30337 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30339         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
30340         Include sys/types.h instead of bits/types.h.
30341         Remove inclusion of bits/wordsize.h.
30343 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30345         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
30346         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
30347         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
30348         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
30349         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
30350         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
30352 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30354         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
30355         link-defines.sym.
30356         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
30357         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
30358         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
30359         and LR_SIZE.
30360         * sysdeps/i386/link-defines.sym: New file.
30362 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30364         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
30365         (modules-names): Add tst-auditmod3a tst-auditmod3b.
30366         ($(objpfx)tst-audit3): New rule.
30367         ($(objpfx)tst-audit3.out): Likewise.
30368         * sysdeps/i386/tst-audit3.c: New file.
30369         * sysdeps/i386/tst-audit3.h: Likewise.
30370         * sysdeps/i386/tst-auditmod3a.c: Likewise.
30371         * sysdeps/i386/tst-auditmod3b.c: Likewise.
30373 2015-07-07  Torvald Riegel  <triegel@redhat.com>
30375         [BZ #18633]
30376         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
30377         pointer in C code.
30378         (__strcat_c): Likewise.
30379         (__strcat_g): Likewise.
30381 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
30383         [BZ #18592]
30384         * misc/sbrk.c: Set errno to ENOMEM on overflow.
30386 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30388         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
30389         New function.  (__ieee754_sqrtf): New function.
30390         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
30391         New function.
30392         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
30393         New function.
30395 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30397         * sysdeps/ieee754/support.c: Remove unused file.
30399 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30401         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
30402         registers instead of d ones so the layout is kernel abi compatible.
30403         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
30404         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
30405         Likewise.
30407 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30409         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30411 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30413         [BZ #18619]
30414         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
30415         and return argument in case of subnormal argument.
30417 2015-07-01  Martin Sebor  <msebor@redhat.com>
30419         [BZ #18435]
30420         * nptl/Makefile: Add tst-once5.cc.
30421         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30422         Remove macro redefinitions.
30423         * nptl/tst-once5.cc: New test.
30425 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30427         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30429         * sysdeps/arm/libm-test-ulps: Regenerated.
30431         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30432         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30434 2015-06-30  Torvald Riegel  <triegel@redhat.com>
30436         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
30437         lll_lock_wait_private and lll_futex_wake probes.
30439         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30440         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
30441         Likewise.
30442         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
30443         atomic_spin_nop.
30444         * sysdeps/x86_64/bits/atomic.h: Likewise.
30445         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
30446         to atomic_spin_nop and move ...
30447         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30448         ... here and ...
30449         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
30450         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
30451         atomic_spin_nop instead of BUSY_WAIT_NOP.
30452         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
30453         Likewise.
30454         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
30455         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30456         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
30457         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
30458         instead of atomic_delay.
30460 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
30462         [BZ #18613]
30463         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
30464         X_ADJ not X when adjusting exponent.
30465         (__ieee754_gamma_r): Do intermediate computations in
30466         round-to-nearest then adjust overflowing and underflowing results
30467         as needed.
30468         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
30469         of X_ADJ not X when adjusting exponent.
30470         (__ieee754_gammaf_r): Do intermediate computations in
30471         round-to-nearest then adjust overflowing and underflowing results
30472         as needed.
30473         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
30474         log of X_ADJ not X when adjusting exponent.
30475         (__ieee754_gammal_r): Do intermediate computations in
30476         round-to-nearest then adjust overflowing and underflowing results
30477         as needed.  Use 1.0L not 1.0f as numerator of division.
30478         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
30479         log of X_ADJ not X when adjusting exponent.
30480         (__ieee754_gammal_r): Do intermediate computations in
30481         round-to-nearest then adjust overflowing and underflowing results
30482         as needed.  Use 1.0L not 1.0f as numerator of division.
30483         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
30484         of X_ADJ not X when adjusting exponent.
30485         (__ieee754_gammal_r): Do intermediate computations in
30486         round-to-nearest then adjust overflowing and underflowing results
30487         as needed.  Use 1.0L not 1.0f as numerator of division.
30488         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
30489         to auto-libm-test-in.
30490         (tgamma_test): Use ALL_RM_TEST.
30491         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
30492         tests of tgamma with spurious-overflow.
30493         * math/auto-libm-test-out: Regenerated.
30494         * math/gen-libm-have-vector-test.sh: Do not check for START.
30495         * sysdeps/i386/fpu/libm-test-ulps: Update.
30496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30498         [BZ #18612]
30499         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
30500         arguments, just return 0.5 times the argument, with underflow
30501         forced as needed.
30502         * math/auto-libm-test-in: Add more tests of j1.
30503         * math/auto-libm-test-out: Regenerated.
30505         [BZ #16559]
30506         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
30507         (__ieee754_j1): Force underflow exception for small results.
30508         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30509         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
30510         (__ieee754_j1f): Force underflow exception for small results.
30511         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30512         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30513         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30514         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
30515         (__ieee754_j1l): Force underflow exception for small results.
30516         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30517         * math/auto-libm-test-in: Add more tests of j1 and jn.
30518         * math/auto-libm-test-out: Regenerated.
30520         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
30521         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
30522         (PF_MPLS): Likewise.
30523         (AF_IB): Likewise.
30524         (AF_MPLS): Likewise.
30525         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
30526         value and macro.
30527         (MS_RMT_MASK): Include MS_LAZYTIME.
30529 2015-06-26  Mel Gorman  <mgorman@suse.de>
30531         [BZ #18502]
30532         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
30533         already minimal.
30535 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
30537         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
30538         (DT_MIPS_NUM): Update.
30539         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
30540         DT_MIPS_RLD_MAP_REL.
30542 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
30544         [BZ #16559]
30545         [BZ #18602]
30546         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
30547         round-to-nearest internally then recompute results that
30548         underflowed to zero in the original rounding mode.
30549         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30550         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30551         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30552         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30553         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
30554         * sysdeps/i386/fpu/libm-test-ulps: Update.
30555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30557 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30559         * NEWS: Fixed description of link with vector math library.
30561 2015-06-25  Andreas Schwab  <schwab@suse.de>
30563         [BZ #18549]
30564         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
30565         * libio/test-fmemopen.c (do_test): Add test for it.
30567 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
30569         [BZ #17841]
30570         * Makeconfig (no-pie-ldflag): New.
30571         (+link): Set to $(+link-pie) if default to PIE.
30572         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
30573         * config.make.in (build-pie-default): New.
30574         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
30575         is default.  AC_SUBST.
30576         * configure: Regenerated.
30577         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
30579 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30581         * nptl/descr.h (struct pthread): Change type of field setxid_futex
30582         to 'unsigned int'.
30584         * resolv/gai_misc.h (struct waitlist): Change type of field
30585         counterp to 'volatile unsigned int *'.
30586         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
30587         FUTEXADDR and OLDVAL.
30588         * resolv/getaddrinfo_a.c (getaddrinfo_a):
30589         Give local variable TOTAL type 'volatile unsigned int'.
30590         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30591         * resolv/gai_suspend.c (gai_suspend):
30592         Give local variable CNTR type 'unsigned int'.
30594         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
30595         counterp to 'volatile unsigned int *'.
30596         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
30597         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
30598         (aio_suspend): Give local variable CNTR type 'unsigned int'.
30599         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
30600         Give local variable TOTAL type 'volatile unsigned int'.
30601         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30603 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30605         [BZ #18383]
30606         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
30607         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
30608         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
30609         comment for i386/x86-64.
30610         (test-xfail-tst-tlsalign-extern-static): Removed.
30612 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30614         * math/test-double.h: New file.
30615         * math/test-float.h: Likewise.
30616         * math/test-ldouble.h: Likewise.
30617         * math/test-math-inline.h: Likewise.
30618         * math/test-math-no-inline.h: Likewise.
30619         * math/test-math-scalar.h: Likewise.
30620         * math/test-math-vector.h: Likewise.
30621         * math/test-vec-loop.h: Remove file.  Contents moved into
30622         test-math-vector.h.
30623         * math/libm-test.inc (MATHCONST): Do not document macro.
30624         * math/test-double.c: Include test-double.h, test-math-no-inline.h
30625         and test-math-scalar.h.
30626         (FUNC): Remove macro.
30627         (FUNC_TEST): Likewise.
30628         (FLOAT): Likewise.
30629         (MATHCONST): Likewise.
30630         (PRINTF_EXPR): Likewise.
30631         (PRINTF_XEXPR): Likewise.
30632         (PRINTF_NEXPR): Likewise.
30633         (TEST_DOUBLE): Likewise.
30634         (TEST_MATHVEC): Likewise.
30635         (__NO_MATH_INLINES): Likewise.
30636         * math/test-float.c: Include test-float.h, test-math-no-inline.h
30637         and test-math-scalar.h.
30638         (FUNC): Remove macro.
30639         (FUNC_TEST): Likewise.
30640         (FLOAT): Likewise.
30641         (MATHCONST): Likewise.
30642         (PRINTF_EXPR): Likewise.
30643         (PRINTF_XEXPR): Likewise.
30644         (PRINTF_NEXPR): Likewise.
30645         (TEST_FLOAT): Likewise.
30646         (TEST_MATHVEC): Likewise.
30647         (__NO_MATH_INLINES): Likewise.
30648         * math/test-idouble.c: Include test-double.h, test-math-inline.h
30649         and test-math-scalar.h.
30650         (FUNC): Remove macro.
30651         (FUNC_TEST): Likewise.
30652         (FLOAT): Likewise.
30653         (MATHCONST): Likewise.
30654         (PRINTF_EXPR): Likewise.
30655         (PRINTF_XEXPR): Likewise.
30656         (PRINTF_NEXPR): Likewise.
30657         (TEST_DOUBLE): Likewise.
30658         (TEST_MATHVEC): Likewise.
30659         (TEST_INLINE): Likewise.
30660         (__NO_MATH_INLINES): Likewise.
30661         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
30662         test-math-scalar.h.
30663         (FUNC): Remove macro.
30664         (FUNC_TEST): Likewise.
30665         (FLOAT): Likewise.
30666         (MATHCONST): Likewise.
30667         (PRINTF_EXPR): Likewise.
30668         (PRINTF_XEXPR): Likewise.
30669         (PRINTF_NEXPR): Likewise.
30670         (TEST_FLOAT): Likewise.
30671         (TEST_MATHVEC): Likewise.
30672         (TEST_INLINE): Likewise.
30673         (__NO_MATH_INLINES): Likewise.
30674         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
30675         and test-math-scalar.h.
30676         (FUNC): Remove macro.
30677         (FUNC_TEST): Likewise.
30678         (FLOAT): Likewise.
30679         (MATHCONST): Likewise.
30680         (PRINTF_EXPR): Likewise.
30681         (PRINTF_XEXPR): Likewise.
30682         (PRINTF_NEXPR): Likewise.
30683         (TEST_LDOUBLE): Likewise.
30684         (TEST_MATHVEC): Likewise.
30685         (TEST_INLINE): Likewise.
30686         (__NO_MATH_INLINES): Likewise.
30687         * math/test-ldouble.c: Include test-ldouble.h,
30688         test-math-no-inline.h and test-math-scalar.h.
30689         (FUNC): Remove macro.
30690         (FUNC_TEST): Likewise.
30691         (FLOAT): Likewise.
30692         (MATHCONST): Likewise.
30693         (PRINTF_EXPR): Likewise.
30694         (PRINTF_XEXPR): Likewise.
30695         (PRINTF_NEXPR): Likewise.
30696         (TEST_LDOUBLE): Likewise.
30697         (TEST_MATHVEC): Likewise.
30698         (__NO_MATH_INLINES): Likewise.
30699         * math/test-double-vlen2.h: Include test-double.h,
30700         test-math-no-inline.h and test-math-vector.h.
30701         (FLOAT): Remove macro.
30702         (FUNC): Likewise.
30703         (MATHCONST): Likewise.
30704         (PRINTF_EXPR): Likewise.
30705         (PRINTF_XEXPR): Likewise.
30706         (PRINTF_NEXPR): Likewise.
30707         (TEST_DOUBLE): Likewise.
30708         (TEST_MATHVEC): Likewise.
30709         (__NO_MATH_INLINES): Likewise.
30710         (CNCT): Likewise.
30711         (CONCAT): Likewise.
30712         (WRAPPER_NAME): Likewise.
30713         (WRAPPER_DECL): Likewise.
30714         (WRAPPER_DECL_ff): Likewise.
30715         (WRAPPER_DECL_fFF): Likewise.
30716         (VECTOR_WRAPPER): Likewise.
30717         (VECTOR_WRAPPER_ff): Likewise.
30718         (VECTOR_WRAPPER_fFF): Likewise.
30719         (VEC_LEN): New macro.
30720         * math/test-double-vlen4.h: Include test-double.h,
30721         test-math-no-inline.h and test-math-vector.h.
30722         (FLOAT): Remove macro.
30723         (FUNC): Likewise.
30724         (MATHCONST): Likewise.
30725         (PRINTF_EXPR): Likewise.
30726         (PRINTF_XEXPR): Likewise.
30727         (PRINTF_NEXPR): Likewise.
30728         (TEST_DOUBLE): Likewise.
30729         (TEST_MATHVEC): Likewise.
30730         (__NO_MATH_INLINES): Likewise.
30731         (CNCT): Likewise.
30732         (CONCAT): Likewise.
30733         (WRAPPER_NAME): Likewise.
30734         (WRAPPER_DECL): Likewise.
30735         (WRAPPER_DECL_ff): Likewise.
30736         (WRAPPER_DECL_fFF): Likewise.
30737         (VECTOR_WRAPPER): Likewise.
30738         (VECTOR_WRAPPER_ff): Likewise.
30739         (VECTOR_WRAPPER_fFF): Likewise.
30740         (VEC_LEN): New macro.
30741         * math/test-double-vlen8.h: Include test-double.h,
30742         test-math-no-inline.h and test-math-vector.h.
30743         (FLOAT): Remove macro.
30744         (FUNC): Likewise.
30745         (MATHCONST): Likewise.
30746         (PRINTF_EXPR): Likewise.
30747         (PRINTF_XEXPR): Likewise.
30748         (PRINTF_NEXPR): Likewise.
30749         (TEST_DOUBLE): Likewise.
30750         (TEST_MATHVEC): Likewise.
30751         (__NO_MATH_INLINES): Likewise.
30752         (CNCT): Likewise.
30753         (CONCAT): Likewise.
30754         (WRAPPER_NAME): Likewise.
30755         (WRAPPER_DECL): Likewise.
30756         (WRAPPER_DECL_ff): Likewise.
30757         (WRAPPER_DECL_fFF): Likewise.
30758         (VECTOR_WRAPPER): Likewise.
30759         (VECTOR_WRAPPER_ff): Likewise.
30760         (VECTOR_WRAPPER_fFF): Likewise.
30761         (VEC_LEN): New macro.
30762         * math/test-float-vlen4.h: Include test-float.h,
30763         test-math-no-inline.h and test-math-vector.h.
30764         (FLOAT): Remove macro.
30765         (FUNC): Likewise.
30766         (MATHCONST): Likewise.
30767         (PRINTF_EXPR): Likewise.
30768         (PRINTF_XEXPR): Likewise.
30769         (PRINTF_NEXPR): Likewise.
30770         (TEST_FLOAT): Likewise.
30771         (TEST_MATHVEC): Likewise.
30772         (__NO_MATH_INLINES): Likewise.
30773         (CNCT): Likewise.
30774         (CONCAT): Likewise.
30775         (WRAPPER_NAME): Likewise.
30776         (WRAPPER_DECL): Likewise.
30777         (WRAPPER_DECL_ff): Likewise.
30778         (WRAPPER_DECL_fFF): Likewise.
30779         (VECTOR_WRAPPER): Likewise.
30780         (VECTOR_WRAPPER_ff): Likewise.
30781         (VECTOR_WRAPPER_fFF): Likewise.
30782         (VEC_LEN): New macro.
30783         * math/test-float-vlen8.h: Include test-float.h,
30784         test-math-no-inline.h and test-math-vector.h.
30785         (FLOAT): Remove macro.
30786         (FUNC): Likewise.
30787         (MATHCONST): Likewise.
30788         (PRINTF_EXPR): Likewise.
30789         (PRINTF_XEXPR): Likewise.
30790         (PRINTF_NEXPR): Likewise.
30791         (TEST_FLOAT): Likewise.
30792         (TEST_MATHVEC): Likewise.
30793         (__NO_MATH_INLINES): Likewise.
30794         (CNCT): Likewise.
30795         (CONCAT): Likewise.
30796         (WRAPPER_NAME): Likewise.
30797         (WRAPPER_DECL): Likewise.
30798         (WRAPPER_DECL_ff): Likewise.
30799         (WRAPPER_DECL_fFF): Likewise.
30800         (VECTOR_WRAPPER): Likewise.
30801         (VECTOR_WRAPPER_ff): Likewise.
30802         (VECTOR_WRAPPER_fFF): Likewise.
30803         (VEC_LEN): New macro.
30804         * math/test-float-vlen16.h: Include test-float.h,
30805         test-math-no-inline.h and test-math-vector.h.
30806         (FLOAT): Remove macro.
30807         (FUNC): Likewise.
30808         (MATHCONST): Likewise.
30809         (PRINTF_EXPR): Likewise.
30810         (PRINTF_XEXPR): Likewise.
30811         (PRINTF_NEXPR): Likewise.
30812         (TEST_FLOAT): Likewise.
30813         (TEST_MATHVEC): Likewise.
30814         (__NO_MATH_INLINES): Likewise.
30815         (CNCT): Likewise.
30816         (CONCAT): Likewise.
30817         (WRAPPER_NAME): Likewise.
30818         (WRAPPER_DECL): Likewise.
30819         (WRAPPER_DECL_ff): Likewise.
30820         (WRAPPER_DECL_fFF): Likewise.
30821         (VECTOR_WRAPPER): Likewise.
30822         (VECTOR_WRAPPER_ff): Likewise.
30823         (VECTOR_WRAPPER_fFF): Likewise.
30824         (VEC_LEN): New macro.
30825         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
30826         test-vec-loop.h.
30827         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30828         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30829         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30830         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30831         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30832         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30833         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30835 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30837         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
30838         (__getlogin_r): ... this.
30840 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30842         [BZ #18594]
30843         * math/s_ccosh.c (__ccosh): Compare with least normal value
30844         instead of comparing class with FP_SUBNORMAL.
30845         * math/s_ccoshf.c (__ccoshf): Likewise.
30846         * math/s_ccoshl.c (__ccoshl): Likewise.
30847         * math/s_cexp.c (__cexp): Likewise.
30848         * math/s_cexpf.c (__cexpf): Likewise.
30849         * math/s_cexpl.c (__cexpl): Likewise.
30850         * math/s_csin.c (__csin): Likewise.
30851         * math/s_csinf.c (__csinf): Likewise.
30852         * math/s_csinh.c (__csinh): Likewise.
30853         * math/s_csinhf.c (__csinhf): Likewise.
30854         * math/s_csinhl.c (__csinhl): Likewise.
30855         * math/s_csinl.c (__csinl): Likewise.
30856         * math/s_ctan.c (__ctan): Likewise.
30857         * math/s_ctanf.c (__ctanf): Likewise.
30858         * math/s_ctanh.c (__ctanh): Likewise.
30859         * math/s_ctanhf.c (__ctanhf): Likewise.
30860         * math/s_ctanhl.c (__ctanhl): Likewise.
30861         * math/s_ctanl.c (__ctanl): Likewise.
30862         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
30863         csin, csinh, ctan and ctanh.
30864         * math/auto-libm-test-out: Regenerated.
30865         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
30866         * sysdeps/i386/fpu/libm-test-ulps: Update.
30867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30869 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30871         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
30872         return value is wrong, print the expected value too.
30874 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30876         [BZ #18585]
30877         * elf/readlib.c (is_gdb_python_file): New.
30878         (process_file): Don't issue errors on filenames with -gdb.py
30879         suffix.
30881 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30883         * math/auto-libm-test-in: Add more tests of csin and csinh.
30884         * math/auto-libm-test-out: Regenerated.
30885         * math/libm-test.inc (csin_test_data): Remove tests moved to
30886         auto-libm-test-in.
30887         (csinh_test_data): Likewise.
30889         [BZ #18593]
30890         * math/s_csin.c (__csin): Negate before rather than after possibly
30891         overflowing multiplication.
30892         * math/s_csinf.c (__csinf): Likewise.
30893         * math/s_csinh.c (__csinh): Likewise.
30894         * math/s_csinhf.c (__csinhf): Likewise.
30895         * math/s_csinhl.c (__csinhl): Likewise.
30896         * math/s_csinl.c (__csinl): Likewise.
30897         * math/auto-libm-test-in: Add some tests of csin and csinh.
30898         * math/auto-libm-test-out: Regenerated.
30899         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
30900         (csinh_test_data): Likewise.
30901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30903         [BZ #18586]
30904         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
30905         underflow exception for small results.
30907 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30909         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30910         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
30911         variable and included header.
30912         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
30913         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
30914         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
30915         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
30916         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
30917         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
30918         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
30919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
30920         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
30921         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
30922         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
30923         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
30924         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
30925         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
30926         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
30927         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
30929 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30931         [BZ #16526]
30932         [BZ #16538]
30933         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
30934         (__sin): Force underflow exception for arguments with small
30935         absolute value.
30936         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
30937         (__kernel_sinf): Force underflow exception for arguments with
30938         small absolute value.
30939         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
30940         (__kernel_sincosl): Force underflow exception for arguments with
30941         small absolute value.
30942         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
30943         (__kernel_sinl): Force underflow exception for arguments with
30944         small absolute value.
30945         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
30946         (__kernel_sincosl): Force underflow exception for arguments with
30947         small absolute value.
30948         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
30949         (__kernel_sinl): Force underflow exception for arguments with
30950         small absolute value.
30951         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
30952         (__kernel_sinl): Force underflow exception for arguments with
30953         small absolute value.
30954         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
30955         (__kernel_sinf): Force underflow exception for arguments with
30956         small absolute value.
30957         * math/auto-libm-test-in: Add more tests of sin and sincos.
30958         * math/auto-libm-test-out: Regenerated.
30960         [BZ #18245]
30961         [BZ #18583]
30962         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
30963         (__kernel_standard_l): Use feholdexcept and fesetenv around
30964         conversion to double instead of special-casing overflow and
30965         underflow.
30966         * math/libm-test.inc (fmod_test_data): Add more tests.
30967         (remainder_test_data): Likewise.
30968         (sqrt_test_data): Likewise.
30970 2015-06-23  Torvald Riegel  <triegel@redhat.com>
30972         [BZ #17403]
30973         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
30974         atomic_read_barrier, atomic_write_barrier): Define.
30975         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
30976         atomic_read_barrier, atomic_write_barrier): Define.
30978 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30980         * math/Makefile [$(PERL) != no]
30981         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
30982         dependency on libm-test.stmp below the inclusion of Rules.
30984 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
30986         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30987         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
30988         and included header.
30989         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
30990         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
30991         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
30992         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
30993         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
30994         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
30995         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
30996         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
30997         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
30998         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
30999         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
31000         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
31001         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
31002         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
31003         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
31004         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
31005         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
31006         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
31007         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31009 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31011         [BZ #18371]
31012         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31013         intermediate but not final result might underflow.
31014         * math/s_csqrtf.c (__csqrtf): Likewise.
31015         * math/s_csqrtl.c (__csqrtl): Likewise.
31016         * math/auto-libm-test-in: Add more tests of csqrt.
31017         * math/auto-libm-test-out: Regenerated.
31018         * sysdeps/i386/fpu/libm-test-ulps: Update.
31020         [BZ #18219]
31021         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31022         threshold on absolute value of exponent for which scaling is used.
31023         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31024         * math/auto-libm-test-in: Add more tests of exp2.
31025         * math/auto-libm-test-out: Regenerated.
31027 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
31029         [BZ #17977]
31030         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31031         when initializing interface list, based on the bug analysis
31032         and the patch proposed by Eric Newton.
31033         * resolv/tst-res_hconf_reorder.c: New test.
31034         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31035         tst-res_hconf_reorder.
31036         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31037         and $(shared-thread-library).
31038         (tst-res_hconf_reorder-ENV): New variable.
31040         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31041         in comment.
31043 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
31045         [BZ #16353]
31046         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31047         (__expm1): Force underflow exception for arguments with small
31048         absolute value.
31049         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
31050         (__expm1f): Force underflow exception for arguments with small
31051         absolute value.
31052         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
31053         (__expm1): Force underflow exception for arguments with small
31054         absolute value.
31055         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
31056         (__expm1f): Force underflow exception for arguments with small
31057         absolute value.
31058         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31059         Check for small arguments before calling __expm1.
31060         * math/auto-libm-test-in: Do not mark underflow exceptions as
31061         possibly missing for bug 16353.
31062         * math/auto-libm-test-out: Regenerated.
31064 2015-06-22  Andreas Schwab  <schwab@suse.de>
31066         [BZ #18513]
31067         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
31068         PTR queries.
31070 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
31072         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
31074         * string/strcoll_l.c: Remove unused struct element idxnow.
31076 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
31078         [BZ #18569]
31079         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
31080         underflow and return argument in case of subnormal argument.
31081         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31082         Likewise.
31083         * math/auto-libm-test-in: Add more tests of expm1.
31084         * math/auto-libm-test-out: Regenerated.
31086         [BZ #16361]
31087         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31088         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31089         tiny results.
31090         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31091         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31092         tiny results.
31093         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
31094         mark underflow exceptions as possibly missing for bug 16361.
31095         * math/auto-libm-test-out: Regenerated.
31097 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
31099         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
31100         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
31101         Remove variable.
31102         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31103         (test-xfail-XOPEN2K8/utmpx.h/conform).
31105         * conform/conformtest.pl ($xerrors): New variable.
31106         (note_error): New function.
31107         (compiletest): New argument $xfail.  Use not_error.
31108         (runtest): Likewise.
31109         (top level): Handle xfail- lines.  Update calls to compiletest and
31110         runtest.  Handle xfail- and optional- in headers listed with
31111         allow-header.
31112         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
31113         (O_EXEC): Likewise.
31114         (O_SEARCH): Likewise.
31115         * conform/data/stropts.h-data (ioctl): Likewise.
31116         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
31117         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
31118         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
31119         (msghdr.msg_controllen): Likewise.
31120         (cmsghdr.cmsg_len): Likewise.
31121         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
31122         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
31123         variable.
31124         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31125         (test-xfail-XPG4/stropts.h/conform): Likewise.
31126         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31127         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31128         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31129         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31130         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31131         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31132         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31133         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31134         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31135         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31136         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31137         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31138         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31139         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31140         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31141         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31142         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31143         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31144         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31146 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31148         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
31149         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
31150         definitions for proper unfolding of __MATHDECL_VEC.
31152 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31154         * benchtests/bench-strcoll.c:
31155         Include string.h.
31156         (main): Remove unused variable res.
31158 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31160         * timezone/Makefile (%/UTC %/Universal):
31161         Generate test-result files for UTC and Universal.
31163 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31165         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31167 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
31169         [BZ #16350]
31170         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
31171         for arguments with small absolute value.
31172         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
31173         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
31174         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
31175         (__asinh): Force underflow exception for arguments with small
31176         absolute value.
31177         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
31178         (__asinhf): Force underflow exception for arguments with small
31179         absolute value.
31180         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
31181         (__asinhl): Force underflow exception for arguments with small
31182         absolute value.
31183         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
31184         (__asinhl): Force underflow exception for arguments with small
31185         absolute value.
31186         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
31187         (__asinhl): Force underflow exception for arguments with small
31188         absolute value.
31189         * math/auto-libm-test-in: Do not mark underflow exceptions as
31190         possibly missing for bug 16350.
31191         * math/auto-libm-test-out: Regenerated.
31193         * include/bits/ipc.h: Remove file.
31194         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
31195         variable.
31196         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31197         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31198         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31199         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31200         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31201         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31202         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31203         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31204         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31206         * math/auto-libm-test-in: Remove spurious underflow allowance for
31207         tests of cexp.
31208         * math/auto-libm-test-out: Regenerated.
31210         [BZ #18558]
31211         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
31212         unconditional definition.
31213         (MCAST_BLOCK_SOURCE): Likewise.
31214         (MCAST_UNBLOCK_SOURCE): Likewise.
31215         (MCAST_LEAVE_GROUP): Likewise.
31216         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31217         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31218         (MCAST_MSFILTER): Likewise.
31219         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
31220         Remove variable.
31221         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31222         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31223         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31224         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31225         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31227 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
31229         * NEWS: Mention addition of x86_64 vector sincosf.
31230         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
31231         * math/test-float-vlen4.h: Likewise.
31232         * math/test-float-vlen8.h: Likewise.
31233         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31234         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
31235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31236         * sysdeps/x86_64/fpu/Versions: New versions added.
31237         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31238         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31239         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31240         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
31241         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
31242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
31243         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
31244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
31245         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
31246         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
31247         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
31248         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
31249         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
31250         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
31251         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
31252         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
31253         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
31254         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31255         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31256         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31257         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31258         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31259         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31260         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31262         * NEWS: Mention addition of x86_64 vector sincos.
31263         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
31264         * math/math.h (__MATHDECL_VEC): New macro.
31265         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
31266         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
31267         declaration under condition.
31268         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
31269         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
31270         TEST_VEC_LOOP change.
31271         * math/test-double-vlen4.h: Likewise.
31272         * math/test-double-vlen8.h: Likewise.
31273         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
31274         * math/test-float-vlen4.h: Likewise.
31275         * math/test-float-vlen8.h: Likewise.
31276         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31277         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
31278         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31279         * sysdeps/x86_64/fpu/Versions: New versions added.
31280         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31281         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31282         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31283         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
31284         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
31285         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
31286         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
31287         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
31288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
31289         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
31290         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
31291         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
31292         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
31293         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
31294         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
31295         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
31296         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
31297         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31298         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31299         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31300         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31301         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31302         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31303         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31305         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31306         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31307         redirections for powf.
31308         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31309         * sysdeps/x86_64/fpu/Versions: New versions added.
31310         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31311         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31312         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31313         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
31314         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
31315         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
31316         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
31317         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
31318         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
31319         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
31320         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
31321         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
31322         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
31323         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
31324         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
31325         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
31326         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
31327         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31328         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31329         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31330         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31331         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31332         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31333         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31334         * math/test-float-vlen16.h: Fixed 2 argument macro.
31335         * math/test-float-vlen4.h: Likewise.
31336         * math/test-float-vlen8.h: Likewise.
31337         * NEWS: Mention addition of x86_64 vector powf.
31339 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
31341         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31342         and redefine.
31343         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31344         and redefine.
31345         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
31346         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31347         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31349         [BZ #18553]
31350         * resource/getpriority.c (getpriority): Rename to __getpriority
31351         and define as weak alias of __getpriority.
31352         * resource/setpriority.c (setpriority): Rename to __setpriority
31353         and define as weak alias of __setpriority.
31354         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
31355         __getpriority and define as weak alias of __getpriority.
31356         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
31357         __setpriority and define as weak alias of __setpriority.
31358         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
31359         strong name.
31360         (setpriority): Use __setpriority as strong name.
31361         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
31362         __getpriority and define as weak alias of __getpriority.
31363         * include/sys/resource.h (__getpriority): Declare.  Use
31364         libc_hidden_proto.
31365         (__setpriority): Likewise.
31366         (getpriority): Don't use libc_hidden_proto.
31367         (setpriority): Likewise.
31368         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
31369         getpriority.  Call __setpriority instead of setpriority.
31370         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
31371         Remove variable.
31373         [BZ #18547]
31374         * misc/getttyent.c (getttynam): Rename to __getttynam and define
31375         as weak alias of __getttynam.  Use prototype function definition.
31376         Call __setttyent, __getttyent and __endttyent instead of
31377         setttyent, getttyent and endttyent.
31378         (getttyent): Rename to __getttyent and define as weak alias of
31379         __getttyent.  Call __setttyent instead of setttyent.  Call
31380         __fgets_unlocked instead of fgets_unlocked.
31381         (setttyent): Rename to __setttyent and define as weak alias of
31382         __setttyent.
31383         (endttyent): Rename to __endttyent and define as weak alias of
31384         __endttyent.
31385         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
31386         (__setttyent): Likewise.
31387         (__endttyent): Likewise.
31388         (getttyent): Don't use libc_hidden_proto.
31389         (setttyent): Likewise.
31390         (endttyent): Likewise.
31391         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
31392         __endttyent instead of setttyent, getttyent and endttyent.
31393         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
31394         Remove variable.
31396         [BZ #18546]
31397         * socket/recv.c (__recv): Use libc_hidden_def.
31398         * socket/socket.c (__socket): Likewise.
31399         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
31400         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
31401         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
31402         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
31403         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
31404         libc_hidden_def.
31405         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
31406         libc_hidden_weak.
31407         * include/sys/socket.h (__socket): Do not use attribute_hidden.
31408         Use libc_hidden_proto.
31409         (__recv): Likewise.
31410         * socket/Versions (libc): Export __recv and __socket at version
31411         GLIBC_PRIVATE.
31412         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
31413         instead of recv.
31414         (init_mq_netlink): Call __socket instead of socket.
31415         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
31416         Remove variable.
31418         [BZ #18545]
31419         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
31420         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
31421         hidden_weak.
31422         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
31423         define as alias of __mq_timedsend.  Use hidden_weak.
31424         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
31425         __mq_timedsend as strong name.
31426         (mq_timedreceive): Use __mq_timedreceive as strong name.
31427         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
31428         (__mq_timedreceive): Likewise.
31429         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
31430         __mq_timedreceive instead of mq_timedreceive.
31431         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
31432         instead of mq_timedsend.
31433         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
31434         Remove variable.
31436         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
31437         hidden_def and hidden_weak instead of libc_hidden_def and
31438         libc_hidden_weak.
31439         (top level): Refer to hidden_def in comment.
31440         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
31441         macro.  Use it instead of libc_hidden_def.
31442         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
31443         specify __GI_* name explicitly.
31444         (mq_timedreceive): Likewise.
31445         (mq_setattr): Likewise.
31447         [BZ #18544]
31448         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
31449         __pthread_barrier_init and define as weak alias of
31450         __pthread_barrier_init.
31451         * sysdeps/sparc/nptl/pthread_barrier_init.c
31452         (pthread_barrier_init): Likewise.
31453         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
31454         __pthread_barrier_wait and define as weak alias of
31455         __pthread_barrier_wait.
31456         * sysdeps/sparc/nptl/pthread_barrier_wait.c
31457         (pthread_barrier_wait): Likewise.
31458         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
31459         (pthread_barrier_wait): Likewise.
31460         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
31461         (pthread_barrier_wait): Likewise.
31462         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
31463         (pthread_barrier_wait): Likewise.
31464         * nptl/Versions (libpthread): Export __pthread_barrier_init and
31465         __pthread_barrier_wait at version GLIBC_PRIVATE.
31466         * include/pthread.h (__pthread_barrier_init): Declare.
31467         (__pthread_barrier_wait): Likewise.
31468         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
31469         Call __pthread_barrier_wait instead of pthread_barrier_wait.
31470         (helper_thread): Likewise.
31471         (init_mq_netlink): Call __pthread_barrier_init instead of
31472         pthread_barrier_init.
31474         [BZ #18542]
31475         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
31476         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
31477         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
31478         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
31479         vswscanf.
31480         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
31481         Remove variable.
31483         [BZ #18540]
31484         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
31485         strong alias of _IO_fflush.  Use libc_hidden_def.
31486         * libio/iofflush_u.c (fflush_unlocked): Rename to
31487         __fflush_unlocked and define as weak alias of __fflush_unlocked.
31488         Use libc_hidden_weak.
31489         * include/stdio.h (__fflush_unlocked): Declare.  Use
31490         libc_hidden_proto.
31491         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
31492         fflush_unlocked.
31493         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
31494         Remove variable.
31496         [BZ #18539]
31497         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
31498         define as weak alias of __addseverity.
31499         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
31500         Remove variable.
31501         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31502         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31503         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31505         [BZ #18536]
31506         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
31507         (__tfind): Likewise.
31508         (__tdelete): Likewise.
31509         (__twalk): Likewise.
31510         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
31511         __twalk to GLIBC_PRIVATE.
31512         * include/search.h (__tsearch): Use libc_hidden_proto.
31513         (__tfind): Likewise.
31514         (__tdelete): Likewise.
31515         (__twalk): Likewise.
31516         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
31517         Call __tdelete instead of tdelete.
31518         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
31519         tfind.  Call __tsearch instead of tsearch.
31520         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
31521         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
31522         Remove variable.
31523         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31525         [BZ #18534]
31526         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
31527         (dprintf): Define as a weak alias of __dprintf, not a strong
31528         alias.
31529         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
31530         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
31531         dprintf.
31532         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
31533         Remove variable.
31534         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31535         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31537         [BZ #18533]
31538         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
31539         not a strong alias.
31540         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
31541         Remove variable.
31543         [BZ #18532]
31544         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
31545         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
31546         (in6addr_loopback): Rename to __in6addr_loopback and define as
31547         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
31548         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
31549         libc_hidden_proto.
31550         (__in6addr_any): Likewise.
31551         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
31552         in6addr_any.
31553         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
31554         variable.
31555         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31557 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
31559         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
31560         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
31561         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31562         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31563         redirections for pow.
31564         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31565         * sysdeps/x86_64/fpu/Versions: New versions added.
31566         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31567         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31568         build of SSE, AVX2 and AVX512 IFUNC versions.
31569         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
31570         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
31571         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
31572         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
31573         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
31574         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
31575         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
31576         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
31577         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
31578         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
31579         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
31580         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
31581         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
31582         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
31583         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31584         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31585         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31586         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31587         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31588         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31589         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31590         * NEWS: Mention addition of x86_64 vector pow.
31592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31593         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31594         redirections for expf.
31595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31596         * sysdeps/x86_64/fpu/Versions: New versions added.
31597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31599         build of SSE, AVX2 and AVX512 IFUNC versions.
31600         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
31601         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
31602         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
31603         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
31604         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
31605         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
31606         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
31607         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
31608         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
31609         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
31610         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
31611         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
31612         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
31613         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31614         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31615         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31616         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31617         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31618         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31619         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31620         * NEWS: Mention addition of x86_64 vector expf.
31622         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
31623         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
31624         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31625         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31626         redirections for exp.
31627         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31628         * sysdeps/x86_64/fpu/Versions: New versions added.
31629         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31630         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31631         build of SSE, AVX2 and AVX512 IFUNC versions.
31632         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
31633         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
31634         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
31635         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
31636         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
31637         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
31638         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
31639         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
31640         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
31641         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
31642         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
31643         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
31644         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
31645         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31646         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31647         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31648         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31649         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31650         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31651         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31652         * NEWS: Mention addition of x86_64 vector exp.
31654         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31655         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31656         redirections for logf.
31657         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31658         * sysdeps/x86_64/fpu/Versions: New versions added.
31659         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31660         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31661         build of SSE, AVX2 and AVX512 IFUNC versions.
31662         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
31663         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
31664         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
31665         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
31666         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
31667         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
31668         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
31669         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
31670         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
31671         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
31672         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
31673         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
31674         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
31675         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31676         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31677         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31678         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31679         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31680         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31681         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31682         * NEWS: Mention addition of x86_64 vector logf.
31684         * bits/libm-simd-decl-stubs.h: Added stubs for log.
31685         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
31686         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31687         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31688         redirections for log.
31689         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31690         * sysdeps/x86_64/fpu/Versions: New versions added.
31691         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31692         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31693         build of SSE, AVX2 and AVX512 IFUNC versions.
31694         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
31695         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
31696         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
31697         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
31698         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
31699         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
31700         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
31701         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
31702         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
31703         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
31704         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
31705         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
31706         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
31707         test.
31708         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31709         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31710         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31711         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31712         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31713         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31714         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31715         * NEWS: Mention addition of x86_64 vector log.
31717 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31719         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
31720         cfi_adjust_cfa_offset argument.
31721         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
31722         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
31724         [BZ #18034]
31725         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
31726         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
31727         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
31728         ordering using ldar.
31729         (_dl_tlsdesc_dynamic): Likewise.
31730         (_dl_tlsdesc_return_lazy): Likewise.
31731         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
31732         relaxed atomics instead of volatile and synchronize with release store.
31733         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
31734         volatile.
31735         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31737 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
31739         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31740         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
31741         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31742         * sysdeps/x86_64/fpu/Versions: New versions added.
31743         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31744         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31745         build of SSE, AVX2 and AVX512 IFUNC versions.
31746         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
31747         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
31748         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
31749         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
31750         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
31751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
31752         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
31753         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
31754         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
31755         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
31756         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
31757         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
31758         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
31759         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31760         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31761         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31762         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31763         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31764         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31765         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31766         * NEWS: Mention addition of x86_64 vector sinf.
31768 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
31770         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
31771         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
31772         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
31773         Remove variable.
31774         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31775         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31777 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31779         [BZ #18530]
31780         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
31781         strong alias of _IO_fputs.  Use libc_hidden_def.
31782         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
31783         and define as weak alias of __fputs_unlocked.  Use
31784         libc_hidden_weak.
31785         * include/stdio.h (__fputs_unlocked): Declare.  Use
31786         libc_hidden_proto.
31787         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
31788         fputs_unlocked.
31790         [BZ #18529]
31791         * resolv/netdb.h [__USE_POSIX]: Change condition to
31792         [__USE_XOPEN2K].
31793         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
31794         not expect.
31795         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
31796         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
31797         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
31798         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
31799         [XPG4 || UNIX98] (AI_ALL): Likewise.
31800         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
31801         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
31802         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
31803         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
31804         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
31805         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
31806         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
31807         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
31808         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
31809         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
31810         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
31811         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
31812         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
31813         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
31814         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
31815         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31816         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31817         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
31818         [XPG4 || UNIX98] (gai_strerror): Likewise.
31819         [XPG4 || UNIX98] (getaddrinfo): Likewise.
31820         [XPG4 || UNIX98] (getnameinfo): Likewise.
31822         [BZ #18528]
31823         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
31824         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
31825         __USE_XOPEN2K8].
31826         (getgrent): Likewise.
31827         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
31828         expect.
31829         [XPG3 || POSIX2008] (endgrent): Likewise.
31830         [XPG3] (setgrent): Likewise.
31831         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
31832         variable.
31833         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31835         [BZ #18527]
31836         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
31837         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
31838         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
31839         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
31840         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
31841         * include/unistd.h (__getlogin_r): Declare.  Use
31842         libc_hidden_proto.
31843         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
31844         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
31845         variable.
31846         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31847         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31848         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31850 2015-06-12  Martin Sebor  <msebor@redhat.com>
31852         [BZ #18512]
31853         * Makerules (check-install-supported): New target.
31854         (install): Add check-install-supported as a dependency.
31855         * manual/install.texi (Installing the C Library): Document
31856         that overriding prefix and exec_prefix is not supported.
31857         Mention DESTDIR.
31858         * INSTALL: Regenerate from the above.
31860 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31862         [BZ #18519]
31863         * posix/Versions (libc): Export __libc_pread at version
31864         GLIBC_PRIVATE.
31865         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
31866         instead of pread.
31867         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
31868         variable.
31870         [BZ #18522]
31871         * misc/efgcvt_r.c
31872         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
31873         (cvt_symbol): Use weak_alias instead of strong_alias.
31874         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
31875         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
31876         Remove variable.
31877         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31878         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31880         [BZ #18520]
31881         * inet/herrno.c (h_errno): Rename to __h_errno.
31882         (__libc_h_errno): Define as alias of __h_errno not h_errno.
31883         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
31884         to __h_errno instead of h_errno.
31885         * nptl/herrno.c (h_errno): Rename to __h_errno.
31886         (__h_errno_location): Refer to __h_errno not h_errno.
31887         * resolv/Versions (h_errno): Rename to __h_errno.
31888         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
31889         Remove variable.
31890         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31892 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
31894         * configure.ac: More strict check for AVX512 assembler support.
31895         * configure: Regenerated.
31897         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
31898         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
31899         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31900         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
31901         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31902         * sysdeps/x86_64/fpu/Versions: New versions added.
31903         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31904         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31905         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31906         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
31907         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
31908         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
31909         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
31910         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
31911         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
31912         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
31913         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
31914         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
31915         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
31916         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
31917         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
31918         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
31919         test.
31920         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31921         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31922         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31923         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31924         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31925         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31926         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31927         * NEWS: Mention addition of x86_64 vector sin.
31929 2015-06-11  Florian Weimer  <fweimer@redhat.com>
31931         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
31932         comment.
31934 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31936         [BZ #18479]
31937         * nptl/pt-interp.c: New file.
31938         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
31939         Add pt-interp.
31940         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
31941         $(common-objpfx)runtime-linker.h.
31943 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
31945         * Makeconfig (+interp): Remove unused variable.
31946         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
31947         only.  Depend on $(common-objpfx)runtime-linker.h instead of
31948         $(elf-objpfx)runtime-linker.h.
31949         ($(elf-objpfx)runtime-linker.h): Rename to
31950         $(common-objpfx)runtime-linker.h and move ...
31951         * Makerules [$(build-shared) = yes]: ... here.
31952         * elf/interp.c: Include <runtime-linker.h> instead of
31953         <elf/runtime-linker.h>.
31955 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31957         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
31958         (__gettimeofday_syscall): Remove vsyscall fallback.
31959         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
31960         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
31961         Add syscall fallback function.
31962         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
31963         if vDSO is not present.
31964         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
31965         fallback function.
31966         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
31967         present.
31968         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
31969         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31971 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
31973         [BZ #18497]
31974         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
31975         of wcscmp.
31976         (wcscmp): Define as weak alias of WCSCMP.
31977         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
31978         wcscoll.
31979         (USE_HIDDEN_DEF): Define.
31980         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
31981         __wcscoll.  Don't use libc_hidden_weak.
31982         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
31983         wcscmp.
31984         * sysdeps/i386/i686/multiarch/wcscmp-c.c
31985         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
31986         __GI_wcscmp.
31987         (weak_alias): Undefine and redefine.
31988         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
31989         __wcscmp and define as weak alias of __wcscmp.
31990         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
31991         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
31992         (__wcscoll): Likewise.
31993         (wcscmp): Don't use libc_hidden_proto.
31994         (wcscoll): Likewise.
31995         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
31996         wcscoll.
31997         * posix/regexec.c (check_node_accept_bytes): Likewise.
31998         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
31999         variable.
32000         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32001         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32003         [BZ #18507]
32004         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
32005         __fstatvfs and define as weak alias of __fstatvfs.  Use
32006         libc_hidden_weak.
32007         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
32008         and define as weak alias of __statvfs.  Use libc_hidden_weak.
32009         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32010         Define as alias of __fstatvfs, not fstatvfs.
32011         (fstatvfs64): Likewise.
32012         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32013         Define as alias of __statvfs, not statvfs.
32014         (statvfs64): Likewise.
32015         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32016         Remove variable.
32018 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32021         (HAVE_GETCPU_VSYSCALL): Define.
32022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32023         (HAVE_GETCPU_VSYSCALL): Likewise.
32024         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32025         * sysdeps/unix/sysv/linux/sched_getcpu.c
32026         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32027         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32028         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32029         prototype.
32030         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32031         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32032         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32034         Define.
32035         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32036         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32037         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32038         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32040 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
32042         * sysdeps/x86_64/fpu/Makefile: New file.
32043         * sysdeps/x86_64/fpu/Versions: New file.
32044         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32045         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32046         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32047         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32048         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
32049         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
32050         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
32051         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
32052         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
32053         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
32054         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
32055         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
32056         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
32057         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32058         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32059         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
32060         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
32061         * sysdeps/x86_64/configure.ac: Options for libmvec build.
32062         * sysdeps/x86_64/configure: Regenerated.
32063         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
32064         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
32065         * manual/install.texi (Configuring and compiling): Document
32066         --disable-mathvec.
32067         * INSTALL: Regenerated.
32068         * NEWS: Mention addition of libmvec and x86_64 vector cos.
32070         * math/Makefile: Added rules for vector tests.
32071         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
32072         declaration under condition.
32073         * math/test-double-vlen2.h: New file.
32074         * math/test-double-vlen4.h: New file.
32075         * math/test-double-vlen8.h: New file.
32076         * math/test-vec-loop.h: Added initialization macro.
32077         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
32078         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
32079         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
32080         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
32081         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
32082         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
32083         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
32084         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
32085         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
32086         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
32087         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
32089         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32090         * sysdeps/x86_64/fpu/Versions: New versions added.
32091         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
32092         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
32093         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
32094         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
32095         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
32096         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
32097         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
32098         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
32099         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
32100         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
32101         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
32102         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
32103         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
32104         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32105         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32106         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32107         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
32108         * NEWS: Mention addition of x86_64 vector cosf.
32110         * math/Makefile: Added CFLAGS for new tests.
32111         * math/test-float-vlen16.h: New file.
32112         * math/test-float-vlen4.h: New file.
32113         * math/test-float-vlen8.h: New file.
32114         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
32115         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
32116         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32117         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
32118         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
32119         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
32120         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
32121         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
32122         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
32123         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
32124         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
32126 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
32128         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
32129         * locale/programs/ld-ctype.c: Likewise.
32131 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
32133         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
32134         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
32135         bit_ZMM16_31_state): New macro.
32136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32137         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
32139 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
32141         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
32143 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
32145         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
32147 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
32149         [BZ #18498]
32150         * libio/memstream.c (open_memstream): Rename to __open_memstream
32151         and define as weak alias of __open_memstream.
32152         * include/stdio.h (__open_memstream): Declare.  Use
32153         libc_hidden_proto.
32154         (open_memstream): Don't use libc_hidden_proto.
32155         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
32156         open_memstream.
32157         * posix/getopt.c (_getopt_internal_r): Likewise.
32158         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
32159         variable.
32160         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32161         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32162         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32164         [BZ #18496]
32165         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
32166         instead of wcrtomb.
32168         [BZ #18483]
32169         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
32170         [__USE_XOPEN2K8].  Remove redundant #endif.
32171         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
32172         Remove redundant #if.
32173         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
32174         Remove variable.
32175         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32176         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32178         [BZ #18495]
32179         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
32180         (__iswlower): Likewise.
32181         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
32182         (__iswlower): Likewise.
32183         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
32184         instead of towlower.
32185         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
32186         instead of iswlower.  Call __towupper instead of towupper.
32187         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
32188         instead of iswalnum.
32190 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32192         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
32193         errors to stderr.
32195 2015-06-05  Florian Weimer  <fweimer@redhat.com>
32197         [BZ #15661]
32198         [BZ #17322]
32199         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32200         Check for overflow properly.  Check for O_APPEND.  Ignore large
32201         file system block sizes.  Add comments about problems.
32202         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
32203         * manual/filesys.texi (Storage Allocation): New node.
32205 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32207         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
32208         cancellable syscalls.
32209         (SYS_ify): Add guard to no redefine it.
32210         (INLINE_SYSCALL): Likewise.
32211         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
32212         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
32213         SYSCALL_CANCEL instead.
32214         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
32215         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32216         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32217         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32218         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32219         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
32220         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
32221         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
32222         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32223         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32224         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
32225         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
32226         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
32227         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
32228         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
32229         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32230         Likewise.
32231         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32232         (__libc_pread64): Likewise.
32233         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
32234         (__libc_preadv): Likewise.
32235         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
32236         (__libc_readv64): Likewise.
32237         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32238         (__libc_pwrite): Likewise.
32239         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32240         (__libc_pwrite64): Likewise.
32241         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
32242         (__libc_pwritev): Likewise.
32243         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
32244         (__libc_pwritev64): Likewise.
32245         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
32246         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
32247         (sync_file_range): Likewise.
32248         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
32249         Likewise.
32250         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
32251         Likewise.
32252         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32253         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32254         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32255         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32256         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32257         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32258         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32259         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
32260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32261         Likewise.
32262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32263         (__libc_read64): Likewise.
32264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
32265         Likewise.
32266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
32267         Likewise.
32268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
32269         Likewise.
32270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
32271         Likewise.
32272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32273         (__libc_pread64): Likewise.
32274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
32275         Likewise.
32276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32277         (__libc_pwrite64): Likewise.
32278         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
32279         (sync_file_range): Likewise.
32280         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
32281         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32282         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32283         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
32284         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
32285         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32286         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32287         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
32288         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
32289         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32290         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32291         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32292         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32293         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32294         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
32295         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32296         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32297         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32298         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32299         Likewise.
32300         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
32301         Likewise.
32302         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
32303         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
32304         Likewise.
32305         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
32306         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
32307         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
32308         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
32309         Likewise.
32310         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
32311         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
32312         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
32313         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
32314         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
32316 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
32318         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
32319         Include dl-vdso.
32320         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
32321         Use VDSO routines for gettimeofday, clock_gettime if
32322         available.
32323         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
32324         Declare VDSO symbols.
32325         * sysdeps/unix/sysv/linux/arm/sysdep.h:
32326         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
32327         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32328         * sysdeps/unix/sysv/linux/arm/Versions: Add
32329         __vdso_clock_gettime.
32331 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32333         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
32334         be an inline implementation regardless of library is built within.
32335         (open_not_cancel_2): Likewise.
32336         (__read_nocancel): Likewise.
32337         (__write_nocancel): Likewise.
32338         (openat_not_cancel): Likewise.
32339         (openat_not_cancel_3): Likewise.
32340         (openat64_not_cancel): Likewise.
32341         (openat64_not_cancel_3): Likewise.
32342         (__close_nocancel): Likewise.
32343         (pause_not_cancel): Likewise.
32344         (nanosleep_not_cancel): Likewise.
32345         (sigsuspend_not_cancel): Likewise.
32347 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32349         [BZ #14958]
32350         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
32351         wake-up.
32352         (__pthread_rwlock_rdlock_slow): Likewise.
32353         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32354         Likewise.
32355         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32356         Likewise.
32357         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
32358         * nptl/tst-rwlock16.c: New file.
32359         * nptl/Makefile (tests): Add new test.
32361 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32363         [BZ #18324]
32364         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
32365         missing wake-up of readers.
32366         * nptl/tst-rwlock15.c: New file.
32367         * nptl/Makefile (tests): Add new test.
32369 2015-06-03  Roland McGrath  <roland@hack.frob.com>
32371         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
32372         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
32373         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
32374         and __nacl_supply_interface_rtld.
32375         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
32376         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
32377         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
32378         Add __nacl_supply_interface_rtld.
32379         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
32381 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32383         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
32384         isfinite.
32385         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32386         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
32388 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32390         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
32391         __signbit* with standard C99 macros.
32392         * math/e_exp10l.c: Likewise.
32393         * math/e_exp2l.c: Likewise.
32394         * math/e_scalb.c: Likewise.
32395         * math/e_scalbf.c: Likewise.
32396         * math/e_scalbl.c: Likewise.
32397         * math/s_ldexp.c: Likewise.
32398         * math/s_ldexpf.c: Likewise.
32399         * math/s_ldexpl.c: Likewise.
32400         * math/w_atan2.c: Likewise.
32401         * math/w_atan2f.c: Likewise.
32402         * math/w_atan2l.c: Likewise.
32403         * math/w_cosh.c: Likewise.
32404         * math/w_coshf.c: Likewise.
32405         * math/w_coshl.c: Likewise.
32406         * math/w_exp10.c: Likewise.
32407         * math/w_exp10f.c: Likewise.
32408         * math/w_exp10l.c: Likewise.
32409         * math/w_exp2.c: Likewise.
32410         * math/w_exp2f.c: Likewise.
32411         * math/w_exp2l.c: Likewise.
32412         * math/w_fmod.c: Likewise.
32413         * math/w_fmodf.c: Likewise.
32414         * math/w_fmodl.c: Likewise.
32415         * math/w_hypot.c: Likewise.
32416         * math/w_hypotf.c: Likewise.
32417         * math/w_hypotl.c: Likewise.
32418         * math/w_jnl.c: Likewise.
32419         * math/w_lgamma.c: Likewise.
32420         * math/w_lgamma_r.c: Likewise.
32421         * math/w_lgammaf.c: Likewise.
32422         * math/w_lgammaf_r.c: Likewise.
32423         * math/w_lgammal.c: Likewise.
32424         * math/w_lgammal_r.c: Likewise.
32425         * math/w_pow.c: Likewise.
32426         * math/w_powf.c: Likewise.
32427         * math/w_powl.c: Likewise.
32428         * math/w_remainder.c: Likewise.
32429         * math/w_remainderf.c: Likewise.
32430         * math/w_remainderl.c: Likewise.
32431         * math/w_scalb.c: Likewise.
32432         * math/w_scalbf.c: Likewise.
32433         * math/w_scalbl.c: Likewise.
32434         * math/w_scalbln.c: Likewise.
32435         * math/w_scalblnf.c: Likewise.
32436         * math/w_scalblnl.c: Likewise.
32437         * math/w_sinh.c: Likewise.
32438         * math/w_sinhf.c: Likewise.
32439         * math/w_sinhl.c: Likewise.
32440         * math/w_tgamma.c: Likewise.
32441         * math/w_tgammaf.c: Likewise.
32442         * math/w_tgammal.c: Likewise.
32443         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32444         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
32445         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32446         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32447         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32448         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32449         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32450         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32451         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32452         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32453         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32454         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32455         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32456         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32457         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32458         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32459         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32460         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32461         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32462         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32463         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32464         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32465         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32466         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32467         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32468         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32469         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
32470         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32471         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32472         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32473         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
32474         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
32475         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
32476         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
32477         * stdio-common/printf_fp.c: Likewise.
32478         * stdio-common/printf_fphex.c: Likewise.
32479         * stdio-common/printf_size.c: Likewise.
32481 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
32483         [BZ #18470]
32484         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
32485         strnlen.
32486         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
32487         Remove variable.
32488         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32489         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32490         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32491         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32492         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32493         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32494         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
32495         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
32496         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
32497         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
32499         [BZ #18468]
32500         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
32501         weak alias of __wmemchr.  Use libc_hidden_weak.
32502         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
32503         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
32504         instead of wmemchr.
32506 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32508         [BZ #18383]
32509         * elf/tst-tlsalign-extern.c: New file.
32510         * elf/tst-tlsalign-extern-static.c: New file.
32511         * elf/tst-tlsalign-vars.c: New file.
32512         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
32513         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
32514         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
32515         ($(objpfx)tst-tlsalign-extern-static): Likewise.
32516         (test-xfail-tst-tlsalign-extern-static): New variable.
32518 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
32520         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
32521         Use variable name _sc_err instead of err.
32522         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
32523         instead of ret.
32524         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
32525         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
32526         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
32527         (INLINE_SYSCALL): Likewise.
32529         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
32530         * include/string.h (__strnlen): Use libc_hidden_proto.
32531         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
32532         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
32533         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
32534         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
32535         (libc_hidden_def): Undefine and redefine.
32536         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
32537         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
32538         __GI_strnlen.
32539         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
32540         libc_hidden_def.
32541         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
32543         [BZ #18469]
32544         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
32545         weak alias of __towlower.  Use libc_hidden_weak.
32546         (towupper): Rename to __towupper and define as weak alias of
32547         __towupper.  Use libc_hidden_weak.
32548         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
32549         (__towupper): Likewise.
32550         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
32551         __towlower instead of towlower.
32553 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32555         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
32556         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
32558 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32560         * sysdeps/aarch64/libm-test-ulps: Update.
32562 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32564         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
32565         Define.
32566         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32568         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32569         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32570         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
32571         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
32572         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
32574 2015-06-01  Martin Sebor  <msebor@redhat.com>
32576         [BZ #18116]
32577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32578         (__setcontext): Use extended four-operand version of mtsf whenever
32579         possible.
32580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32581         (__novec_swapcontext): Likewise.
32583 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32585         * benchtests/scripts/compare_bench.py: New file.
32586         * benchtests/scripts/import_bench.py (mean): New function.
32587         (split_list): Likewise.
32588         (do_for_all_timings): Likewise.
32589         (compress_timings): Likewise.
32591         * benchtests/scripts/import_bench.py: New file.
32592         * benchtests/scripts/validate_benchout.py: Import import_bench
32593         instead of jsonschema.
32594         (validate_bench): Remove function.
32595         (main): Use import_bench.
32597 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
32599         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
32600         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
32602 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32606 2015-05-28  Roland McGrath  <roland@hack.frob.com>
32608         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
32609         set THREAD_SELF->tid to a magic value and futex-wake it.
32610         Pass its address to the thread_exit system call.
32611         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
32612         bit is clear.
32613         * sysdeps/nacl/lowlevellock.h: New file.
32614         * sysdeps/nacl/lll_timedwait_tid.c: New file.
32616         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
32617         Add TIMEOUT to current time, don't subtract it.
32619 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
32621         [BZ #2981]
32622         [BZ #18422]
32623         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
32624         ($(objpfx)tst-audit2.out): Also depend on
32625         $(objpfx)tst-auditmod9b.so.
32626         * elf/tst-audit2.c: Include <dlfcn.h>.
32627         (calloc_called): New.
32628         (calloc): Allow to be called more than once.
32629         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
32631 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
32633         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
32634         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
32636 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
32638         * stdlib/monetary.h: Fix comment.
32640 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
32642         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
32643         Avoid using variables in #defines that might cause shadowing.
32644         (INTERNAL_VSYSCALL_CALL): Likewise.
32646 2015-05-26  Roland McGrath  <roland@hack.frob.com>
32648         * sysdeps/nacl/lll_timedlock_wait.c: New file.
32650         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
32651         * nptl/lll_timedlock_wait.c: ... to this new file.
32652         * nptl/Makefile (libpthread-routines): Add it.
32653         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
32654         * nptl/lll_timedwait_tid.c: ... to this new file.
32655         * nptl/Makefile (libpthread-routines): Add it.
32656         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
32657         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
32658         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
32659         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
32660         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
32661         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
32662         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
32663         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
32664         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
32665         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
32667 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32669         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
32670         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32671         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
32673         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
32674         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32675         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32677         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32678         * sysdeps/unix/sysv/linux/tile/sysdep.h
32679         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32680         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
32681         using vDSO syscall macro.
32683 2015-05-26  Andriy Rysin  <arysin@gmail.com>
32685         [BZ #17293]
32686         * uk_UA: Fix sorting order for Ukrainian locale
32688 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
32690         * stdlib/monetary.h: Fix comment.
32692 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32694         [BZ #18234]
32695         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
32696         st_mtim and st_ctim members.
32697         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
32698         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
32699         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
32700         (struct stat64): Likewise.
32701         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
32702         (struct stat64): Likewise.
32703         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
32704         (struct stat64): Likewise.
32706 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32708         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
32709         Define and include sysdep-vdso.h.
32710         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
32711         Likewise.
32712         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
32713         Likewise.
32714         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
32715         Define with VDSO_SYMBOL and use PTR_MANGLE.
32716         (__vdso_clock_gettime): Likewise.
32717         (__vdso_clock_getres): Likewise.
32718         (_libc_vdso_platform_setup): Likewise.
32719         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32720         Likewise.
32721         (_libc_vdso_platform_setup): Likewise.
32722         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
32723         Likewise.
32724         (__vdso_clock_gettime): Likewise.
32725         (__vdso_clock_getres): Likewise.
32726         (__vdso_get_tbfreq): Likewise.
32727         (__vdso_getcpu): Likewise.
32728         (__vdso_time): Likewise.
32729         (__vdso_sigtramp_rt64): Likewise.
32730         (__vdso_signtramp32): Likewise.
32731         (__vdso_sigtramp_rt32): Likewise.
32732         (_libc_vdso_platform_setup): Likewise.
32733         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
32734         Likewise.
32735         (__vdso_clock_gettime): Likewise.
32736         (__vdso_clock_getres): Likewise.
32737         (_libc_vdso_platform_setup): Likewise.
32738         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
32739         Likewise.
32740         (__vdso_clock_gettime): Likewise.
32741         (_libc_vdso_platform_setup): Likewise.
32742         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32743         Likewise.
32744         (__vdso_getcpu): Likewise.
32745         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
32746         Use VDSO_SYMBOL macro to define.
32747         (__vdso_clock_gettime): Likewise.
32748         (__vdso_clock_getres): Likewise.
32749         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
32750         Likewise.
32751         (__vdso_clock_gettime): Likewise.
32752         (__vdso_clock_getres): Likewise.
32753         (__vdso_get_tbfreq): Likewise.
32754         (__vdso_getcpu): Likewise.
32755         (__vdso_time): Likewise.
32756         (__vdso_sigtramp_rt64): Likewise.
32757         (__vdso_signtramp32): Likewise.
32758         (__vdso_sigtramp_rt32): Likewise.
32759         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
32760         Likewise.
32761         (__vdso_clock_gettime): Likewise.
32762         (__vdso_clock_getres): Likewise.
32763         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
32764         Likewise.
32765         (__vdso_clock_gettime): Likewise.
32766         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32767         Likewise.
32768         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
32769         macro.
32770         (INTERNAL_VSYSCALL): Likewise.
32771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
32772         Remove macro.
32773         (INTERNAL_VSYSCALL): Likewise.
32774         (INTERNAL_VSYSCALL_NCS): Likewise.
32775         (INTERNAL_VSYSCALL_CALL): New macro.
32776         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32777         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
32778         Likewise.
32779         (INTERNAL_VSYSCALL): Likewise.
32780         (INTERNAL_VSYSCALL_NCS): Likewise.
32781         (INTERNAL_VSYSCALL_CALL): New macro.
32782         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32784         (INLINE_VSYSCALL): Remove macro.
32785         (INTERNAL_VSYSCALL): Remove macro.
32786         (INTERNAL_VSYSCALL_NCS): Remove macro.
32787         (INTERNAL_VSYSCALL_CALL): New macro.
32788         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
32789         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
32790         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32791         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
32792         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32794         (INLINE_VSYSCALL): Remove macro.
32795         (INTERNAL_VSYSCALL): Likewise.
32796         (INTERNAL_VSYSCALL_NCS): Likewise.
32797         (INTERNAL_VSYSCALL_CALL): New macro.
32798         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
32799         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
32800         PTR_DEMANGLE on vDSO pointer.
32801         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32802         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
32803         macro.
32804         (INTERNAL_SYSCALL): Likewise.
32805         (INTERNAL_VSYSCALL_NCS): Remove macro.
32806         (INTERNAL_VSYSCALL_CALL): New macro.
32807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
32808         Remove macro.
32809         (INTERNAL_VSYSCALL): Likewise.
32810         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
32811         sysdep-vdso.h instead of libc-vdso.h.
32812         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
32813         definition.
32814         (INLINE_VSYSCALL): Likewise.
32815         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
32816         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
32817         definition.
32818         (INLINE_VSYSCALL): Likewise.
32819         (INTERNAL_VSYSCALL): Likewise.
32820         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32821         * sysdeps/unix/sysv/linux/timespec_get.c
32822         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32823         (timespec_get): Use ANSI prototype.
32824         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
32825         and definition for Linux.
32827 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32829         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
32830         * include/libc-symbols.h: libmvec_hidden_* macro series added.
32832 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32834         [BZ #2981]
32835         [BZ #18410]
32836         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
32837         for missing DT_PLTRELSZ.
32839 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32841         Remove obsolete aliases that broke 'locale -a'
32842         [BZ #18412]
32843         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
32844         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
32845         breaking some applications that use 'locale -a' output.
32846         Change the encoding of this file from Latin-1 to ASCII to avoid
32847         other potential problems with people grepping this file.
32849 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32851         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
32852         -fasynchronous-unwind-tables.
32853         (CFLAGS-sendto.c): Likewise.
32854         (CFLAGS-sendmsg.c): Likewise.
32855         (CFLAGS-connect.c): Likewise.
32856         (CFLAGS-recvmsg.c): Likewise.
32857         (CFLAGS-recvfrom.c): Likewise.
32858         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
32859         (SOCKETCALL): New macro: non-cancellable socketcall.
32860         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
32861         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
32862         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
32863         * sysdeps/unix/sysv/linux/accept.c: New file.
32864         * sysdeps/unix/sysv/linux/bind.c: Likewise.
32865         * sysdeps/unix/sysv/linux/connect.c: Likewise.
32866         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
32867         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
32868         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
32869         * sysdeps/unix/sysv/linux/listen.c: Likewise.
32870         * sysdeps/unix/sysv/linux/recv.c: Likewise.
32871         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
32872         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
32873         * sysdeps/unix/sysv/linux/send.c: Likewise.
32874         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
32875         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
32876         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
32877         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
32878         * sysdeps/unix/sysv/linux/socket.c: Likewise.
32879         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
32880         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
32881         prototype.
32882         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
32883         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32884         instead of __internal_xxx function.
32885         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
32886         prototype.
32887         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
32888         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32889         instead of __internal_xxx function.
32890         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
32891         prototype.
32892         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
32893         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32894         instead of __internal_xxx function.
32895         * sysdeps/unix/sysv/linux/accept.S: Remove file.
32896         * sysdeps/unix/sysv/linux/bind.S: Likewise.
32897         * sysdeps/unix/sysv/linux/connect.S: Likewise.
32898         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
32899         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
32900         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
32901         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
32902         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
32903         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
32904         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
32905         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
32906         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32907         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
32908         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
32909         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
32910         * sysdeps/unix/sysv/linux/listen.S: Likewise.
32911         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
32912         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
32913         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
32914         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
32915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
32916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
32917         * sysdeps/unix/sysv/linux/recv.S: Likewise.
32918         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
32919         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
32920         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
32921         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32922         * sysdeps/unix/sysv/linux/send.S: Likewise.
32923         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
32924         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
32925         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
32926         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
32927         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
32928         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
32929         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
32930         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
32931         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
32932         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
32933         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
32934         socketcall is implemented in GLIBC.
32936 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32938         * soft-fp/fmadf4.c: Include <libc-internal.h>.
32939         (__fma): Ignore uninitialized warnings around packing.
32940         * soft-fp/fmasf4.c: Include <libc-internal.h>.
32941         (__fmaf): Ignore uninitialized warnings around packing.
32942         * soft-fp/fmatf4.c: Include <libc-internal.h>.
32943         (__fmal): Ignore uninitialized warnings around packing.
32945         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
32946         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32947         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
32948         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32950         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
32951         switch statement into default case.
32952         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
32954         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
32955         a conditional in forcing "inexact".
32956         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32957         Likewise.
32959 2015-05-22  Roland McGrath  <roland@hack.frob.com>
32961         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32962         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
32963         for each INTERNAL_SYSCALL use.
32965 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32967         [BZ #438]
32968         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
32969         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
32970         variable.
32972         [BZ #18444]
32973         * string/basename.c (basename): Rename to __basename and define as
32974         weak alias of __basename.  Use libc_hidden_weak.
32975         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
32976         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
32977         __basename instead of basename.
32978         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
32979         Remove variable.
32980         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
32982 2015-05-18  Florian Weimer  <fweimer@redhat.com>
32984         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
32985         (_IO_JUMPS_FILE_plus): New.
32986         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
32987         _IO_CAST_FIELD_ACCESS.
32988         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
32989         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
32990         * libio/freopen.c (freopen): Likewise.
32991         * libio/freopen64.c (freopen64): Likewise.
32992         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
32993         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
32994         * libio/iofwide.c (_IO_fwide): Likewise.
32995         * libio/memstream.c (open_memstream): Likewise.
32996         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32997         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
32998         * libio/oldiopopen.c (_IO_old_popen): Likewise.
33000 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
33002         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
33003         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
33004         NADJ.
33005         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
33006         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
33007         NADJ.
33008         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33009         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33010         NADJ.
33012         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33013         (p == 4) case.
33015         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33016         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33017         Remove variable.
33018         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33019         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33020         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33022 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33024         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33025         Adjust jump table label generation macros.
33027 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33029         * stdio-common/vfprintf.c (vfprintf): Move local variables
33030         args_malloced, specs, specs_malloced, and the code after
33031         do_positional to the printf_positional function.
33032         (printf_positional): New function.
33034 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33036         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33037         function.
33038         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33039         STEP4_TABLE, process_arg): Move macro definitions
33040         out of the vfprintf function.  (Cosmetic change only.)
33042 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
33044         * benchtests/Makefile (stdio-common-bench): Define.
33045         (benchset): Add stdio-common-bench.
33046         * sprintf-inputs: New file.
33047         * sprintf-source.c: New file.
33049 2015-05-21  Andreas Schwab  <schwab@suse.de>
33051         [BZ #13028]
33052         [BZ #17053]
33053         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
33054         of struct __res_state.
33055         * resolv/res_send.c (__libc_res_nsend): Likewise.
33056         (get_nsaddr): New function.
33057         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
33058         statp directly.
33060 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
33062         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
33063         -D_POSIX_C_SOURCE=199506L.
33065         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
33067         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
33068         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
33069         Do not mention otherwise.
33070         [POSIX] (_XOPEN_VERSION): Do not expect.
33071         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
33072         [POSIX] (_POSIX2_C_BIND): Likewise.
33073         [POSIX] (_POSIX2_VERSION): Likewise.
33074         [POSIX] (_XOPEN_XPG2): Likewise.
33075         [POSIX] (_XOPEN_XPG3): Likewise.
33076         [POSIX] (_XOPEN_XPG4): Likewise.
33077         [POSIX] (_XOPEN_UNIX): Likewise.
33078         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
33079         [POSIX] (_POSIX_BARRIERS): Likewise.
33080         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
33081         [POSIX] (_POSIX_CPUTIME): Likewise.
33082         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
33083         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
33084         [POSIX] (_POSIX_SHELL): Likewise.
33085         [POSIX] (_POSIX_SPAWN): Likewise.
33086         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
33087         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
33088         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
33089         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
33090         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
33091         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
33092         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
33093         [POSIX] (_XBS5_LP64_OFF64): Likewise.
33094         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
33095         [POSIX] (_POSIX_TIMEOUTS): Likewise.
33096         [POSIX] (_POSIX2_PBS): Likewise.
33097         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
33098         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
33099         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
33100         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
33101         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
33102         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
33103         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
33104         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
33105         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
33106         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
33107         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
33108         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
33109         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
33110         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
33111         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
33112         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
33113         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
33114         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
33115         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
33116         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
33117         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
33118         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
33119         [POSIX] (_SC_2_C_BIND): Likewise.
33120         [POSIX] (_SC_2_C_VERSION): Likewise.
33121         [POSIX] (_SC_2_PBS): Likewise.
33122         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
33123         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
33124         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
33125         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
33126         [POSIX] (_SC_2_PBS_TRACK): Likewise.
33127         [POSIX] (_SC_ATEXIT_MAX): Likewise.
33128         [POSIX] (_SC_BARRIERS): Likewise.
33129         [POSIX] (_SC_BASE): Likewise.
33130         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
33131         [POSIX] (_SC_DEVICE_IO): Likewise.
33132         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
33133         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
33134         [POSIX] (_SC_FD_MGMT): Likewise.
33135         [POSIX] (_SC_FIFO): Likewise.
33136         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
33137         [POSIX] (_SC_FILE_LOCKING): Likewise.
33138         [POSIX] (_SC_FILE_SYSTEM): Likewise.
33139         [POSIX] (_SC_IOV_MAX): Likewise.
33140         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
33141         [POSIX] (_SC_NETWORKING): Likewise.
33142         [POSIX] (_SC_PAGE_SIZE): Likewise.
33143         [POSIX] (_SC_PASS_MAX): Likewise.
33144         [POSIX] (_SC_PIPE): Likewise.
33145         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
33146         [POSIX] (_SC_REGEXP): Likewise.
33147         [POSIX] (_SC_SHELL): Likewise.
33148         [POSIX] (_SC_SIGNALS): Likewise.
33149         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
33150         [POSIX] (_SC_SPIN_LOCKS): Likewise.
33151         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
33152         [POSIX] (_SC_USER_GROUPS): Likewise.
33153         [POSIX] (_SC_USER_GROUPS_R): Likewise.
33154         [POSIX] (_SC_STREAMS): Likewise.
33155         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
33156         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
33157         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
33158         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
33159         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
33160         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
33161         [POSIX] (_PC_FILESIZEBITS): Likewise.
33162         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
33163         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
33164         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
33165         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
33166         [POSIX] (uid_t): Likewise.
33167         [POSIX] (gid_t): Likewise.
33168         [POSIX] (off_t): Likewise.
33169         [POSIX] (pid_t): Likewise.
33170         [POSIX] (cuserid): Allow.
33171         (_SC_2_CHAR_TERM): Require constant.
33172         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
33173         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
33174         variable.
33176 2015-05-20  Roland McGrath  <roland@hack.frob.com>
33178         * sysdeps/nacl/pthread-pids.h: New file.
33179         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
33180         (create_thread): Use __nacl_get_tid to initialize PD->tid.
33182         * nptl/pthread-pids.h: New file.
33183         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
33184         * nptl/nptl-init.c: Include <pthread-pids.h>.
33185         (__pthread_initialize_minimal_internal):
33186         Call __pthread_initialize_pids instead of set_tid_address syscall.
33188         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
33189         * sysdeps/posix/usleep.c: ... here.
33191 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33193         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
33194         call_pselect6 object.
33195         [$(subdir) = io]: Remove call_sync_file_range object.
33196         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
33197         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
33198         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
33199         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
33201 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
33203         * math/s_cproj.c: Add include "math_private.h".
33204         * math/s_cprojf.c: Likewise.
33205         * math/s_cprojl.c: Likewise.
33207 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
33209         [BZ #18244]
33210         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
33211         high mantissa bit when testing whether P is a NaN.
33212         * math/libm-test.inc (remainder_test_data): Add more tests.
33213         (remquo_test_data): Likewise.
33215         [BZ #18049]
33216         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
33217         below -32, return the argument, with underflow if subnormal.
33218         * math/auto-libm-test-in: Add more tests of atanh.
33219         * math/auto-libm-test-out: Regenerated.
33221 2015-05-19  Roland McGrath  <roland@hack.frob.com>
33223         [BZ #18434]
33224         * nptl/tst-sem15.c: New file.
33225         * nptl/Makefile (tests): Add it.
33226         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
33227         s/<</>>/ to fix typo in EOVERFLOW check.
33228         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
33230 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33232         * manual/strings.texi (envz_remove): Fix typo in safety
33233         annotations.
33235 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
33236             Steve Ellcey  <sellcey@imgtec.com>
33238         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
33239         in order to avoid strict alias warnings.
33240         (iruserok_af): Ditto for ra.
33242 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
33244         [BZ #17581]
33245         * malloc/hooks.c
33246         (magicbyte): Convert to a function and avoid returning 0x01.
33247         (mem2mem_check): Avoid using a length byte equal to the magic byte.
33248         (mem2chunk_check): Fix unsigned comparisons to zero.
33249         Hoist defs of sz and magic.
33251 2015-05-19  Richard Henderson  <rth@redhat.com>
33253         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
33255         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33257 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33259         [BZ #16159]
33260         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
33261         * malloc/arena.c (arena_lock): Check if arena is corrupt.
33262         (reused_arena): Find a non-corrupt arena.
33263         (heap_trim): Pass arena to unlink.
33264         * malloc/hooks.c (malloc_check_get_size): Pass arena to
33265         malloc_printerr.
33266         (top_check): Likewise.
33267         (free_check): Likewise.
33268         (realloc_check): Likewise.
33269         * malloc/malloc.c (malloc_printerr): Add arena argument.
33270         (unlink): Likewise.
33271         (munmap_chunk): Adjust.
33272         (ARENA_CORRUPTION_BIT): New macro.
33273         (arena_is_corrupt): Likewise.
33274         (set_arena_corrupt): Likewise.
33275         (sysmalloc): Use mmap if there are no usable arenas.
33276         (_int_malloc): Likewise.
33277         (__libc_malloc): Don't fail if arena_get returns NULL.
33278         (_mid_memalign): Likewise.
33279         (__libc_calloc): Likewise.
33280         (__libc_realloc): Adjust for additional argument to
33281         malloc_printerr.
33282         (_int_free): Likewise.
33283         (malloc_consolidate): Likewise.
33284         (_int_realloc): Likewise.
33285         (_int_memalign): Don't touch corrupt arenas.
33286         * malloc/tst-malloc-backtrace.c: New test case.
33288         * Makefile (summarize-tests): Fix return value on success.
33290         * manual/string.texi (Envz Functions): Add envz_remove.
33292 2015-05-18  Roland McGrath  <roland@hack.frob.com>
33294         * sysdeps/posix/opendir.c: Include <stdbool.h>.
33295         (invalid_name): New function, broken out of ...
33296         (__opendirat): ... here.  Call it.
33297         (need_isdir_precheck): New function, broken out of ...
33298         (__opendirat): ... here.  Call it.
33299         Use __fxstatat64, not __xstatat64.
33300         (opendir_oflags): New function, broken out of ...
33301         (__opendirat): ... here.  Call it.
33302         (opendir_tail): New function, broken out of ...
33303         (__opendirat): ... here.  Call it.
33304         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
33305         opendir_tail, rather than punting to __opendirat.
33306         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
33308 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33310         * .gitignore: Ignore generated *.pyc.
33312 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
33314         * include/stdio.h: Define __need_wint_t.
33315         * test-skeleton.c: Avoid `for' loop initial declaration.
33316         * nptl/tst-initializers1.c: Use test-skeleton.c.
33318 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33320         [BZ #18418]
33321         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
33323 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33325         [BZ #16352]
33326         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
33327         (__ieee754_atanh): Force underflow exception for results with
33328         small absolute value.
33329         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
33330         (__ieee754_atanhf): Force underflow exception for results with
33331         small absolute value.
33332         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
33333         (__ieee754_atanh): Force underflow exception for results with
33334         small absolute value.
33335         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
33336         (__ieee754_atanhf): Force underflow exception for results with
33337         small absolute value.
33338         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
33339         (__ieee754_atanhl): Force underflow exception for results with
33340         small absolute value.
33341         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
33342         (__ieee754_atanhl): Force underflow exception for results with
33343         small absolute value.
33344         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
33345         (__ieee754_atanhl): Force underflow exception for results with
33346         small absolute value.
33347         * math/auto-libm-test-in: Do not allow missing underflow
33348         exceptions from atanh.
33349         * math/auto-libm-test-out: Regenerated.
33351         [BZ #18221]
33352         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
33353         2**-28 as threshold for returning x or +/- 1/x.
33354         * math/auto-libm-test-in: Add more tests of tan.
33355         * math/auto-libm-test-out: Regenerated.
33357         [BZ #18220]
33358         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33359         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
33360         * math/auto-libm-test-in: Add another test of lgamma.
33361         * math/auto-libm-test-out: Regenerated.
33363 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
33365         * stdio-common/printf_fp.c (___printf_fp): Use abs.
33366         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
33367         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
33368         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
33369         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
33370         (ADD2A): Use fabs.  (SUB2A): Use fabs.
33371         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
33372         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
33373         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
33374         (log1): Use fabs.  (my_log2): Use fabs.
33375         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
33376         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
33377         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
33378         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
33379         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
33380         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
33381         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
33382         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
33383         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
33384         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
33385         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
33387 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33389         [BZ #18217]
33390         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
33391         as threshold for returning 1 - x.
33392         * math/auto-libm-test-in: Add more tests of erfc.
33393         * math/auto-libm-test-out: Regenerated.
33395 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
33397         [BZ #18196]
33398         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
33399         threshold for large arguments.
33400         * math/auto-libm-test-in: Add another test of atan.
33401         * math/auto-libm-test-out: Regenerated.
33403         [BZ #16339]
33404         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
33405         (__log1p): Force underflow exception for results with small
33406         absolute value.
33407         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
33408         (__log1pf): Force underflow exception for results with small
33409         absolute value.
33410         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
33411         (__log1p): Force underflow exception for results with small
33412         absolute value.
33413         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
33414         (__log1pf): Force underflow exception for results with small
33415         absolute value.
33416         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
33417         (__log1pl): Force underflow exception for results with small
33418         absolute value.
33419         * math/auto-libm-test-in: Do not allow missing underflow
33420         exceptions from log1p.
33421         * math/auto-libm-test-out: Regenerated.
33423 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
33424             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33426         [BZ #16704]
33427         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
33429 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
33431         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
33432         (libmvec): New variable.
33433         * configure.ac: Added option for mathvec build.
33434         * configure: Regenerated.
33435         * mathvec/Depend: New file.
33436         * mathvec/Makefile: New file.
33437         * shlib-versions: Added libmvec.
33438         * math/Makefile: Added rule for libm.so installation.
33440         * bits/math-vector.h: New file.
33441         * bits/libm-simd-decl-stubs.h: New header.
33442         * math/Makefile (headers): Added new header
33443         libm-simd-decl-stubs.h.
33444         * math/math.h (__MATHCALL_VEC): New macro.
33446         * math/gen-libm-have-vector-test.sh: Script generates series of macros
33447         for conditions in testing functions.
33448         * math/Makefile: Added call of libm-have-vector-test.sh.
33449         * math/libm-test.inc (HAVE_VECTOR): New macros.
33451         * math/libm-test.inc: START refactored.
33452         * math/test-double.c (TEST_MATHVEC): Add define.
33453         * math/test-float.c: Likewise.
33454         * math/test-idouble.c: Likewise.
33455         * math/test-ifloat.c: Likewise.
33456         * math/test-ildoubl.c: Likewise.
33457         * math/test-ldouble.c: Likewise.
33458         * sysdeps/generic/math-tests-arch.h
33459         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
33460         architecture check.
33462         * math/test-double.c (FUNC_TEST): New macro.
33463         * math/test-float.c: Likewise.
33464         * math/test-idouble.c: Likewise.
33465         * math/test-ifloat.c: Likewise.
33466         * math/test-ildoubl.c: Likewise.
33467         * math/test-ldouble.c: Likewise.
33468         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
33470 2015-05-13  Roland McGrath  <roland@hack.frob.com>
33472         * sysdeps/nacl/fdopendir.c: New file.
33474         * dirent/scandir-tail.c: New file.
33475         * dirent/scandir64-tail.c: New file.
33476         * dirent/Makefile (routines): Add them.
33477         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
33478         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
33479         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
33480         [!SCANDIR] (SCANDIR_TAIL): New macro.
33481         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
33482         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
33483         (SCANDIRAT): Macro removed.
33484         (SCANDIR_TAIL): New macro.
33485         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
33486         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
33487         (SCANDIRAT): Just call __opendirat and __scandir_tail.
33488         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
33489         (READDIR): Macro removed.
33490         (SCANDIR_TAIL): New macro.
33491         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
33492         (SCANDIR_TAIL): New macro.
33494         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
33495         * dirent/scandir-cancel.c: ... to this new file.
33496         * dirent/Makefile (routines): Add it.
33497         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
33498         * sysdeps/unix/sysv/linux/i386/scandir64.c
33499         (SKIP_SCANDIR_CANCEL): Macro removed.
33500         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
33502         * dirent/tst-scandir.c: New file.
33503         * dirent/tst-scandir64.c: New file.
33504         * dirent/Makefile (tests): Add them.
33506 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
33508         [BZ #18409]
33509         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
33511 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33513         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
33514         list.
33516 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
33518         * benchtests/bench-strcoll.c: New benchmark.
33519         * benchtests/Makefile: Generate locales and run benchmark.
33520         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
33521         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
33522         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
33523         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
33524         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
33525         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
33526         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
33527         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
33528         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
33529         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
33530         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
33531         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
33532         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
33533         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
33534         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
33535         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
33536         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
33537         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
33538         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
33539         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
33540         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
33541         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
33542         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
33543         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
33545 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
33547         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
33548         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33550 2015-05-12  Roland McGrath  <roland@hack.frob.com>
33552         * posix/uname-values.h: New file.
33553         * posix/uname.c: Include that instead of <config-name.h>.
33554         * sysdeps/nacl/uname-values.h: New file.
33555         * sysdeps/arm/nacl/uname-values.h: New file.
33557 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
33559         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
33560         splitting into fields.
33562 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
33564         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
33565         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
33566         * locale/localeinfo.h: Add enum collation_encoding_type.
33567         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
33568         * programs/ld-collate.c (collate_output): Add encoding type info.
33569         * string/strcoll_l.c (STRDIFF): New function.
33570         * (STRCOLL): Use STRDIFF to skip over equal prefix.
33571         * wcsmbs/wcscoll_l.c: Define STRDIFF.
33573 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
33575         [BZ #18397]
33576         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
33577         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
33578         <fpu_control.h> instead of <math/fpu_control.c>.
33579         * sysdeps/mips/mips32/fpu/Makefile: New file.
33581 2015-05-11  Andreas Schwab  <schwab@suse.de>
33583         [BZ #18007]
33584         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
33585         nss_endgrent.
33586         (_nss_compat_endgrent): Call nss_endgrent.
33587         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
33588         nss_endpwent.
33589         (_nss_compat_endpwent): Call nss_endpwent.
33590         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
33591         needent, call nss_setspent only if non-zero.
33592         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
33593         (internal_endspent): Don't call nss_endspent.
33594         (_nss_compat_endspent): Call nss_endspent.
33595         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
33596         Remove.  All uses removed.
33597         (internal_setent): Remove parameter stayopen, add parameter
33598         stream.  Use it instead of global variable.
33599         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
33600         (internal_endent, internal_getent): Add parameter stream.  Use it
33601         instead of global variable.
33602         (CONCAT(_nss_files_end,ENTNAME))
33603         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
33604         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
33605         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
33606         uses removed.
33607         (internal_setent, internal_endent): Add parameter stream.  Use it
33608         instead of global variable.
33609         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
33610         stream.
33611         (get_next_alias): Add parameter stream.
33612         (_nss_files_getaliasent_r): Pass global stream.
33613         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
33614         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
33615         (_nss_files_gethostbyname4_r): Pass local stream to
33616         internal_setent, internal_getent and internal_endent.  Remove
33617         locking.
33619 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33621         * tst-strfmon1.c (tests): Update expected currency symbol.
33623 2015-05-08  Roland McGrath  <roland@hack.frob.com>
33625         * sysdeps/nacl/gethostname.c: New file.
33627 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
33629         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
33630         and sinh.
33631         * math/auto-libm-test-out: Regenerated.
33632         * sysdeps/i386/fpu/libm-test-ulps: Update.
33633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33635 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
33637         [BZ #18125]
33638         * stdlib/tst-setcontext3.c: New file.
33639         * stdlib/tst-setcontext3.sh: New file.
33640         * stdlib/Makefile (tests): Add tst-setcontext3.
33641         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
33642         to verify test program created output file.
33643         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
33644         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
33645         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
33646         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
33648 2015-05-06  Roland McGrath  <roland@hack.frob.com>
33650         [BZ #18383]
33651         * elf/tst-tlsalign.c: New file.
33652         * elf/tst-tlsalign-static.c: New file.
33653         * elf/tst-tlsalign-lib.c: New file.
33654         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
33655         (tests-static): Add tst-tlsalign-static.
33656         (modules-names): Add tst-tlsalign-lib.
33657         (test-xfail-tst-tlsalign): New variable.
33658         (test-xfail-tst-tlsalign-static): New variable.
33660         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
33661         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
33663 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
33665         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
33666         csqrt, erfc, sin and sincos.
33667         * math/auto-libm-test-out: Regenerated.
33668         * sysdeps/i386/fpu/libm-test-ulps: Update.
33669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33671 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33673         * sysdeps/aarch64/libm-test-ulps: Update.
33675 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
33677         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
33678         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
33679         * math/auto-libm-test-out: Regenerated.
33680         * sysdeps/i386/fpu/libm-test-ulps: Update.
33681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33683 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33685         [BZ #18265]
33686         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
33687         (wcsncpy): Likewise.
33689 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33691         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33692         Assume __ASSUME_FALLOCATE is always true.
33693         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33694         (__posix_fallocate64_l64): Likewise.
33695         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
33696         (posix_fallocate): Likewise.
33697         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
33698         (__posix_fallocate64_l64): Likewise.
33699         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33700         [!__ASSUME_FALLOCATE]: Add comment.
33702 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33704         * sysdeps/unix/sysv/linux/i386/Makefile
33705         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
33706         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
33707         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
33708         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33709         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33710         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
33711         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
33713 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
33715         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
33716         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
33717         tgamma.
33718         * math/auto-libm-test-out: Regenerated.
33719         * sysdeps/i386/fpu/libm-test-ulps: Update.
33720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33722 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33724         * math/auto-libm-test-in: Add more tests of tgamma.
33725         * math/auto-libm-test-out: Regenerated.
33726         * sysdeps/i386/fpu/libm-test-ulps: Update.
33727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33729         * math/auto-libm-test-in: Add more tests of tanh.
33730         * math/auto-libm-test-out: Regenerated.
33731         * sysdeps/i386/fpu/libm-test-ulps: Update.
33732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33734         * math/auto-libm-test-in: Add more tests of tan.
33735         * math/auto-libm-test-out: Regenerated.
33736         * sysdeps/i386/fpu/libm-test-ulps: Update.
33737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33739         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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 another test of pow.
33745         * math/auto-libm-test-out: Regenerated.
33746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33748         * math/auto-libm-test-in: Add more tests of lgamma.
33749         * math/auto-libm-test-out: Regenerated.
33750         * sysdeps/i386/fpu/libm-test-ulps: Update.
33751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33753         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
33754         log1p.
33755         * math/auto-libm-test-out: Regenerated.
33756         * sysdeps/i386/fpu/libm-test-ulps: Update.
33757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33759 2015-05-01  Mark Wielaard  <mjw@redhat.com>
33761         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
33762         Elf64_Chdr structs and ELFCOMPRESS constants.
33764 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33766         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
33767         expm1.
33768         * math/auto-libm-test-out: Regenerated.
33769         * sysdeps/i386/fpu/libm-test-ulps: Update.
33770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33772         * math/auto-libm-test-in: Add more tests of erf and erfc.
33773         * math/auto-libm-test-out: Regenerated.
33774         * sysdeps/i386/fpu/libm-test-ulps: Update.
33775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33777 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33779         * config.h.in (HAVE_AARCH64_BE): Add.
33781 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
33783         * math/auto-libm-test-in: Add more tests of csqrt.
33784         * math/auto-libm-test-out: Regenerated.
33785         * sysdeps/i386/fpu/libm-test-ulps: Update.
33786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33788         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33789         * math/auto-libm-test-out: Regenerated.
33790         * sysdeps/i386/fpu/libm-test-ulps: Update.
33791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33793         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
33795 2015-04-29  Roland McGrath  <roland@hack.frob.com>
33797         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
33798         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
33800         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
33801         (euidaccess, eaccess): Define as weak aliases.
33803         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
33804         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
33805         but __suseconds_t is often 'long int' so some sources assume that
33806         type is being used (e.g. they use %ld to print tv_usec).
33808 2015-04-29  Florian Weimer  <fweimer@redhat.com>
33810         [BZ #18007]
33811         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
33812         (CVE-2014-8121)
33813         * nss/tst-nss-getpwent.c: New file.
33814         * nss/Makefile (tests): Add new test.
33816 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
33818         [BZ #18346]
33819         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
33820         exponents less than 48 as cases where high part of mantissa needs
33821         examining to determine whether argument is integral.
33822         * math/libm-test.inc (round_test_data): Add more tests.
33824 2015-04-28  Mark Wielaard  <mjw@redhat.com>
33826         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
33828 2015-04-27  David S. Miller  <davem@davemloft.net>
33830         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
33831         __tls_get_addr.
33832         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33834 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
33836         [BZ #18333]
33837         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
33839 2015-04-27  Florian Weimer  <fweimer@redhat.com>
33841         [BZ #18333]
33842         * time/tzset.c (parse_tzname): Return error on memory allocation
33843         failure.
33844         * test-skeleton.c (struct temp_name_list): Change type of name
33845         member to non-const.
33846         (add_temp_file): Create a copy of the file name.
33847         (delete_temp_files): Deallocate memory.
33848         (create_temp_file): Add comment.
33850 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33852         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
33853         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
33855 2015-04-24  Roland McGrath  <roland@hack.frob.com>
33857         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
33858         * sysdeps/arm/configure: Regenerated.
33860 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33862         [BZ #17715]
33863         * time/tzfile.c (__tzfile_read): Check for large values of
33864         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
33865         * time/tzset.c (__tzstring_len): New function, based on the old
33866         __tzstring function.
33867         (__tzstring): Call __tzstring_len.
33868         (parse_tzname): New helper function extracted from
33869         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
33870         the input string.
33871         (parse_offset): New helper function extracted from
33872         __tzset_parse_tz.  Replace switch with fallthrough with
33873         initialization before sscanf.
33874         (parse_rule): Likewise.
33875         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
33876         new-style function definition.
33877         * timezone/Makefile (tests): Add tst-tzset.
33878         (tst-tzset.out): Dependencies on time zone files.
33879         (tst-tzset-ENV): Set TZDIR.
33880         (testdata/XT%): Copy crafted time zone files.
33881         * timezone/README: Mention crafted time zone files.
33882         * timezone/testdata/XT1, timezone/testdata/XT2,
33883         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
33884         files.
33885         * timezone/tst-tzset.c: New test.
33887 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33889         * Makeconfig (+gccwarn): Remove -Winline.
33891 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33893         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
33895 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33897         * NEWS: Mention sysconf() cache information support for s390.
33898         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
33900 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
33902         * math/k_casinh.c (__kernel_casinh): Use __copysign.
33903         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
33904         (__nearbyint): Likewise.
33905         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
33906         (copysignl): Likewise.
33908 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
33910         [BZ #18287]
33911         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
33912         based on padding.  (CVE-2015-1781)
33914 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33916         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
33917         libc-vdso.h.
33918         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
33919         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
33920         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
33921         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33922         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33923         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
33924         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
33925         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33926         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33927         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
33928         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33929         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33930         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33931         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
33932         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33933         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
33934         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
33935         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
33936         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
33937         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
33938         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
33939         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
33940         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
33942 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
33944         * stdlib/setenv.c (__add_to_environ):
33945         Dump core quickly if setenv (..., NULL, ...) is called.
33946         This time, do it the right way, and pacify GCC with a pragma.
33948 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33950         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
33951         IMAP->l_prev cannot be null, and #if out the code for the contrary
33952         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
33953         believe that NS (&_dl_ns[NSID]) could point outside the array.
33955         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
33956         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
33957         before using NSID as an index.
33959 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
33961         [BZ #17825]
33962         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
33963         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
33964         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33966 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33968         Add preliminary port to Google Native Client on ARM.
33969         * abi-tags (.*-.*-nacl.*): New entry.
33970         * sysdeps/arm/nacl: New directory.
33971         * sysdeps/nacl: New directory.
33973 2015-04-16  David S. Miller  <davem@davemloft.net>
33975         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
33976         lowlevellock-futex.h
33978 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
33980         * sysdeps/tile/configure.ac: New file.
33981         * sysdeps/tile/configure: Regenerated.
33983 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33985         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
33986         conditionals for weak_alias and libc_hidden_weak.
33987         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
33988         libc_hidden_weak and weak_alias.
33989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
33990         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
33991         and weak_alias for static one.
33993 2015-04-15  David S. Miller  <davem@davemloft.net>
33995         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33997 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33999         [BZ #18206]
34000         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
34001           Use signed comparision instead of substraction to avoid
34002           overflow bug.
34003         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
34004           Take the sign of ret.
34005         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34006           Do not expect precise return values. Only the sign matters.
34007         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
34008         * wcsmbs/test-wcsncmp.c: New File.
34009         * string/test-strncmp.c: Add wcsncmp support.
34011 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34013         [BZ #6792]
34014         * math/w_log1p.c: New file.
34015         * math/w_log1pf.c: Likewise.
34016         * math/w_log1pl.c: Likewise.
34017         * math/Makefile (libm-calls): Add w_log1p.
34018         * math/s_log1pl.c (log1pl): Remove weak_alias.
34019         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34020         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34021         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34022         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34023         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34024         [NO_LONG_DOUBLE] (log1pl): Likewise.
34025         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34026         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34027         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34028         (log1p): Remove long_double_symbol.
34029         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34030         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34031         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34032         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34033         remove weak_alias for corresponding log1p function.
34034         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34035         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34036         * sysdeps/ia64/fpu/w_log1p.c: New file.
34037         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34038         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34039         * math/libm-test.inc (log1p_test_data): Add errno expectations.
34041 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
34043         [BZ #18247]
34044         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34045         decimal exponent by 1.
34046         * stdlib/tst-strtod-round-data: Add more tests.
34047         * stdlib/tst-strtod-round.c (tests): Regenerated.
34049 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
34051         * math/auto-libm-test-in: Add more tests of clog and clog10.
34052         * math/auto-libm-test-out: Regenerated.
34053         * sysdeps/i386/fpu/libm-test-ulps: Update.
34054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34056 2015-04-09  Roland McGrath  <roland@hack.frob.com>
34058         * Makeconfig (module-cppflags): Exclude all .v.i files.
34059         (skip-module-cppflags): Variable removed.
34061         * configure.ac (libc_config_ok): Initialize before reading
34062         preconfigure scripts, not after.
34063         * configure: Regenerated.
34065         * test-skeleton.c (TIMEOUT): Move #define to top level.
34066         (main): Grok environment variable TEST_DIRECT.  If set, print
34067         test expectation details into that file and then behave as if
34068         given --direct.
34070 2015-04-09  Florian Weimer  <fweimer@redhat.com>
34072         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
34073         warning on 32-bit.
34075 2015-04-08  David S. Miller  <davem@davemloft.net>
34077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34079 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34081         * math/auto-libm-test-in: Add more tests of atanh.
34082         * math/auto-libm-test-out: Regenerated.
34083         * sysdeps/i386/fpu/libm-test-ulps: Update.
34084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34086         * math/auto-libm-test-in: Add more tests of atan.
34087         * math/auto-libm-test-out: Regenerated.
34088         * sysdeps/i386/fpu/libm-test-ulps: Update.
34089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34091 2015-04-08  Florian Weimer  <fweimer@redhat.com>
34093         * elf/pldd.c (main): Rewrite to use struct
34094         scratch_buffer instead of extend_alloca.
34095         * elf/pldd-xx.c (find_maps): Likewise.
34096         * grp/initgroups.c: Include <scratch_buffer.h> instead of
34097         <alloca.h>.
34098         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
34099         scratch_buffer instead of extend_alloca.
34100         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
34101         grp/compat-initgroups.c.
34102         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
34103         Rewrite to use struct scratch_buffer instead of extend_alloca.
34104         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
34105         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34107 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34109         * math/auto-libm-test-in: Add more tests of cbrt.
34110         * math/auto-libm-test-out: Regenerated.
34111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34113         * math/auto-libm-test-in: Add more tests of cabs.
34114         * math/auto-libm-test-out: Regenerated.
34115         * sysdeps/i386/fpu/libm-test-ulps: Update.
34116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34118         [BZ #18210]
34119         [BZ #18211]
34120         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
34121         (__ieee754_atan2): Set FE_TONEAREST mode for internal
34122         computations.
34123         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
34124         clog10.
34125         * math/auto-libm-test-out: Regenerated.
34126         * sysdeps/i386/fpu/libm-test-ulps: Update.
34127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34129         [BZ #18197]
34130         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
34131         (atan): Set FE_TONEAREST mode for internal computations.
34132         * math/auto-libm-test-in: Add more tests of atan.
34133         * math/auto-libm-test-out: Regenerated.
34135 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
34137         [BZ #17930]
34138         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
34140 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34142         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
34144 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34146         * include/scratch_buffer.h: New file.
34147         * malloc/scratch_buffer_grow.c: Likewise.
34148         * malloc/scratch_buffer_grow_preserve.c: Likewise.
34149         * malloc/scratch_buffer_set_array_size.c: Likewise.
34150         * malloc/tst-scratch_buffer.c: Likewise.
34151         * malloc/Makefile (routines): Add scratch_buffer_grow.
34152         (tests): Add test case.
34153         * malloc/Versions (GLIBC_PRIVATE): Export
34154         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
34155         __libc_scratch_buffer_set_array_size.
34157 2015-04-06  Richard Henderson  <rth@redhat.com>
34159         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
34160         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34162         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
34163         unsigned int before printing.
34165 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34167         [BZ #17596]
34168         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
34169         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34171 2015-04-02  Florian Weimer  <fweimer@redhat.com>
34173         * include/libc-internal.h (libc_max_align_t): Define.
34175 2015-04-02  Andreas Schwab  <schwab@suse.de>
34177         [BZ #16850]
34178         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
34180 2015-04-02  Mel Gorman  <mgorman@suse.de>
34182         [BZ #17195]
34183         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
34184         as well as the main arena.
34186 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34188         [BZ #18185]
34189         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
34190         sharing L2 cache to 2 for Silvermont/Knights Landing.
34192 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34194         [BZ #17711]
34195         * config.make.in (have-protected-data): New.
34196         * configure.ac: Check linker support for protected data symbol.
34197         * configure: Regenerated.
34198         * elf/Makefile (modules-names): Add tst-protected1moda and
34199         tst-protected1modb if $(have-protected-data) is yes.
34200         (tests): Add tst-protected1a and tst-protected1b if
34201         $(have-protected-data) is yes.
34202         ($(objpfx)tst-protected1a): New.
34203         ($(objpfx)tst-protected1b): Likewise.
34204         (tst-protected1modb.so-no-z-defs): Likewise.
34205         * elf/tst-protected1a.c: New file.
34206         * elf/tst-protected1b.c: Likewise.
34207         * elf/tst-protected1mod.h: Likewise.
34208         * elf/tst-protected1moda.c: Likewise.
34209         * elf/tst-protected1modb.c: Likewise.
34211 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34213         [BZ #17711]
34214         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
34215         indicates it is called from do_lookup_x on relocation against
34216         protected data, skip the data definion in the executable from
34217         copy reloc.
34218         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
34219         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
34220         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
34221         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
34222         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
34223         otherwise to 0.
34224         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34225         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
34226         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
34227         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34228         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
34229         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
34231 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
34233         * sysdeps/nptl/pthread.h: Remove duplicate definition of
34234         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
34236 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
34238         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
34239         THREAD_SETMEM_NC.
34240         * sysdeps/x86_64/nptl/tls.h: Ditto.
34242 2015-03-27  Roland McGrath  <roland@hack.frob.com>
34244         * dlfcn/tststatic.c (main): Converted to ...
34245         (do_test): ... this.
34246         (TEST_FUNCTION): New macro.
34247         Include test-skeleton.c.
34249 2015-03-26  Alan Modra  <amodra@gmail.com>
34251         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
34252         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
34253         zero for undefined weak.
34254         (elf_machine_plt_conflict): Similarly.
34256 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34258         * math/auto-libm-test-in: Add more tests of acosh, asinh and
34259         atanh.
34260         * math/auto-libm-test-out: Regenerated.
34261         * sysdeps/i386/fpu/libm-test-ulps: Update.
34262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34264         * math/auto-libm-test-in: Add another test of asin.
34265         * math/auto-libm-test-out: Regenerated.
34266         * sysdeps/i386/fpu/libm-test-ulps: Update.
34267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34269         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
34270         Remove macro.
34271         (LLL_EBX_REG): Likewise.
34272         (LLL_ENTER_KERNEL): Likewise.
34274         * math/auto-libm-test-in: Add more tests of asin.
34275         * math/auto-libm-test-out: Regenerated.
34276         * sysdeps/i386/fpu/libm-test-ulps: Update.
34277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34279         [BZ #18138]
34280         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
34281         libc_do_syscall_args): New structure.
34282         (INTERNAL_SYSCALL_MAIN_0): New macro.
34283         (INTERNAL_SYSCALL_MAIN_1): Likewise.
34284         (INTERNAL_SYSCALL_MAIN_2): Likewise.
34285         (INTERNAL_SYSCALL_MAIN_3): Likewise.
34286         (INTERNAL_SYSCALL_MAIN_4): Likewise.
34287         (INTERNAL_SYSCALL_MAIN_5): Likewise.
34288         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
34289         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
34290         Replace conditional definitions by conditional definitions of ....
34291         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
34292         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
34293         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
34294         (libpthread-sysdep_routines): Add libc-do-syscall.
34295         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
34296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
34297         to __NR_futex not 240.
34299 2015-03-25  Alan Modra  <amodra@gmail.com>
34301         * NEWS: Advertise TLS optimization.
34302         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
34303         (DT_PPC_NUM): Increment.
34304         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
34305         (CHECK_STATIC_TLS): Use here.
34306         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
34307         TLS descriptors.
34308         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34309         * sysdeps/powerpc/dl-tls.c: New file.
34310         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
34311         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
34312         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
34313         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
34314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
34315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
34316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
34318 2015-03-25  Alan Modra  <amodra@gmail.com>
34320         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
34321         for overlapping .opd entries" to "support...".
34322         * sysdeps/powerpc/powerpc64/configure: Regenerate
34324 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34326         * math/auto-libm-test-in: Add more tests of acos.
34327         * math/auto-libm-test-out: Regenerated.
34328         * sysdeps/i386/fpu/libm-test-ulps: Update.
34329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34331         * math/auto-libm-test-in: Add more tests of expm1.
34332         * math/auto-libm-test-out: Regenerated.
34333         * sysdeps/i386/fpu/libm-test-ulps: Update.
34334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34336 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
34338         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34339         * math/auto-libm-test-out: Regenerated.
34340         * sysdeps/i386/fpu/libm-test-ulps: Update.
34341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34343         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34346         * math/auto-libm-test-in: Add more tests of log2.
34347         * math/auto-libm-test-out: Regenerated.
34348         * sysdeps/i386/fpu/libm-test-ulps: Update.
34349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34351 2015-03-23  Roland McGrath  <roland@hack.frob.com>
34353         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
34354         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
34355         _IO_IS_APPENDING bit in READ_WRITE instead.
34357 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34359         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
34360         (__determine_cpumask_size): Replace extend_alloca with a
34361         variable-length array.  Do not treat res == 0 as an error.
34363 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34365         [BZ #18100]
34366         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
34367         and integer overflow.
34368         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
34369         (main): Add integer overflow tests.
34370         * manual/pattern.texi (Calling Wordexp): Document additional use
34371         for WRDE_SYNTAX.
34373 2015-03-23  Alan Modra  <amodra@gmail.com>
34375         * config.h.in: Remove HAVE_ASM_PPC_REL16.
34376         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
34377         and false branch of conditional.
34378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34379         Likewise.
34381 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
34383         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
34384         libc-modules.h
34385         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
34386         unused declaration of _hurd_intr_rpc_msg_in_trap.
34387         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
34388         defined instead of whether it is non-zero.
34389         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
34390         input constraint instead of both input and output constraint.  Use ecx
34391         clobber instead of %ecx.
34392         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
34393         mutex_unlock): Use a statement expression instead of an expression list.
34394         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
34395         type to vm_size_t instead of vm_address_t.
34396         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
34397         defined instead of whether it is non-zero.
34398         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
34399         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
34400         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
34401         comparisons with mapaddr.
34402         * nscd/nscd-client.h: Include <time.h>.
34403         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
34404         9th parameter to __vm_region instead of int.
34405         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
34406         * scripts/check-local-headers.sh (exclude): Add device/,
34407         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
34408         cthreads.h.
34410 2015-03-19  Roland McGrath  <roland@hack.frob.com>
34412         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
34413         to account for alignment padding.
34414         * sysdeps/arm/memmove.S: Likewise.
34416 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
34418         * sysdeps/unix/sysv/linux/generic/README: New file.
34420 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
34422         [BZ #18138]
34423         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
34424         (futex_abstimed_wait)
34425         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
34426         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
34427         of lll_futex_timed_wait.
34429 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
34431         [BZ #17542]
34432         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
34434 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
34436         [BZ #17090]
34437         [BZ #17620]
34438         [BZ #17621]
34439         [BZ #17628]
34440         * NEWS: Update.
34441         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
34442         entries with Static TLS too.  Skip entries past the end of the
34443         allocated DTV, from Alan Modra.
34444         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
34445         Static TLS DTV entry set up from...
34446         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
34447         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
34448         * nptl/allocatestack.c (init_one_static_tls): ... and here...
34449         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
34450         for Static TLS.
34451         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
34452         that the slot we find is associated with the given map before
34453         using its generation count.
34454         * nptl_db/db_info.c: Include ldsodefs.h.
34455         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
34456         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
34457         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
34458         (link_map::l_tls_offset): New struct field.
34459         (dtv_t::counter): Likewise.
34460         (rtld_global): New struct.
34461         (_rtld_global): New rtld variable.
34462         (dl_tls_dtv_slotinfo_list): New rtld global field.
34463         (dtv_slotinfo_list): New struct.
34464         (dtv_slotinfo): Likewise.
34465         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
34466         (td_lookup): Rename to...
34467         (td_mod_lookup): ... this.  Use new mod parameter instead of
34468         LIBPTHREAD_SO.
34469         * nptl_db/td_thr_tlsbase.c: Include link.h.
34470         (dtv_slotinfo_list, dtv_slotinfo): New functions.
34471         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
34472         addresses even if the DTV is out of date or missing them.
34473         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
34474         index zero-length arrays.
34475         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
34476         (td_lookup): Make it a macro implemented in terms of...
34477         (td_mod_lookup): ... this declaration.
34478         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
34479         (DB_MAIN_VARIABLE): Likewise.
34481 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34483         [BZ #18134]
34484         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34486 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
34488         * stdlib/setenv.c (__add_to_environ): Revert previous change.
34490 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
34492         [BZ #18128]
34493         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
34494         (atomic_add, atomic_increment_and_test)
34495         (atomic_decrement_and_test): Fix 64-bit arithmetic.
34497 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
34499         * stdlib/setenv.c (__add_to_environ):
34500         Dump core quickly if setenv (..., NULL, ...) is called.
34502 2015-03-13  Roland McGrath  <roland@hack.frob.com>
34504         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
34505         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
34506         all the necessary asm magic in one place.
34507         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
34508         using those.
34510 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
34512         [BZ #14906]
34513         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
34514         traced file mtime. Use consistent log message.
34515         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
34516         (register_traced_file): Call install_watches. Always set mtime.
34517         (invalidate_cache): Iterate over all trace files. Call install_watches.
34518         (inotify_check_files): Don't inline. Handle watching parent
34519         directories and configuration file movement in and out.
34520         (handle_inotify_events): New function.
34521         (main_loop_poll): Call handle_inotify_events.
34522         (main_loop_epoll): Likewise.
34523         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
34524         (struct traced_file): Use array of inotify fds. Add parent directory,
34525         and basename.
34526         (struct database_dyn): Remove unused file_mtime.
34527         (init_traced_file): New inline function.
34528         (define_traced_file): New macro.
34529         * nss/nss_db/db-init.c: Use define_traced_file.
34530         (_nss_db_init): Use init_traced_file.
34531         * nss/nss_files/files-init.c: Use define_traced_file.
34532         (_nss_files_init): Use init_traced_file.
34534 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
34536         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
34537         [_LIBC]: Do not include <stdlib.h>.
34538         [!_LIBC] (abort): Remove declaration.
34539         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
34540         _FP_STATIC_ASSERT instead of conditionally calling abort.
34541         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
34542         (_FP_EXTEND_CNAN): Likewise.
34543         (FP_TRUNC): Likewise.
34544         (__FP_CLZ): Likewise.
34545         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
34547 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
34549         * manual/string.texi (XPG basename): Fix prototype.
34551 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34553         [BZ #18080]
34554         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
34555         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34556         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
34557         (__setcontext): Likewise.
34558         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
34559         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34560         Call rt_sigprocmask syscall one time to set new signal mask
34561         and retrieve the current signal mask instead of two calls.
34562         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
34563         (__swapcontext): Likewise.
34564         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
34565         * stdlib/tst-setcontext2.c: New file.
34567 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34569         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34571 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
34573         [BZ #18093]
34574         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
34575         the wrong size.
34577 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34579         [BZ #18043]
34580         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
34582 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34584         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
34585         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
34586         Remove define.
34587         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
34588         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
34589         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
34590         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
34591         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
34592         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
34593         define.
34594         * nptl_db/td_symbol_list.c (td_lookup): Remove
34595         HAVE_ASM_GLOBAL_DOT_NAME code.
34596         * sysdeps/powerpc/powerpc64/configure.ac: Remove
34597         HAVE_ASM_GLOBAL_DOT_NAME check.
34598         * sysdeps/powerpc/powerpc64/configure: Regenerate.
34599         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
34600         (DOT_LABEL): Remove define.
34601         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
34602         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
34603         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
34604         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
34605         (__TLS_GET_ADDR): Likewise.
34606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
34607         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
34609 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
34611         [BZ #18111]
34612         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
34613         (_FPU_SETCW): Initialize cw from fpsr before storing.
34614         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
34615         (fesetexceptflag): Rewrite using fpu_control.h.
34616         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
34618 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
34620         [BZ #18110]
34621         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
34622         asms.
34623         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34625 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
34627         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
34628         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
34629         abort.
34630         (_FP_FMA): Likewise.
34631         (_FP_DIV): Likewise.
34633 2015-03-10  Roland McGrath  <roland@hack.frob.com>
34635         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
34636         with 0 in that case.
34637         * Makefile (summarize-tests): New canned sequence, factored out of
34638         commands for targets tests and xtests.  Display summary lines that
34639         don't start with PASS: or XFAIL: rather than ones that do start with
34640         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
34641         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
34642         do start with ERROR: or FAIL:.
34643         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
34644         (except for [$(build-shared) = yes]).
34645         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
34646         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
34647         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
34648         * nptl/Makefile: Revert 2015-03-04 changes.
34649         [$(CXX) empty] (tests-unsupported): New variable.
34650         * debug/Makefile: Likewise.
34652         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
34653         gnulib file.  Replace __attribute with __attribute__ throughout.
34655 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
34657         * sysdeps/hppa/fpu/libm-test-ulps: Update.
34659 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34661         [BZ #18104]
34662         * math/auto-libm-test-in: Add another test of pow.
34663         * math/auto-libm-test-out: Regenerated.
34665 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34667         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
34668         $(config-cflags-nofma).
34670 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34672         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
34673         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
34674         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
34675         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
34676         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
34677         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
34678         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
34679         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
34680         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
34681         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
34682         Add comment on closing #endif.
34684 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34686         * posix/wordexp.c (CHAR_IN_SET): New macro.
34687         (parse_param): Use it.
34689 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34691         * sysdeps/powerpc/fpu/libm-test-ulps: update.
34693 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34695         [BZ #18043]
34696         * posix/wordexp.c (parse_param): Fix buffer overflow.
34697         * posix/wordexp-test.c (test_case): Add test case.
34699 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34701         [BZ #18042]
34702         * posix/wordexp.c (parse_backtick): Fix off-by-one.
34703         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
34705 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34707         [BZ #18043]
34708         * posix/wordexp-test.c (test_case): Add test for BZ #18043
34709         (do_bz18043): Delete.
34710         (at_page_end): New.
34711         (testit): Refactor to have words at the edge of unreadable page.
34713 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34715         [BZ #16734]
34716         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
34717         Cleanup read-only streams as well.
34718         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
34720 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34722         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
34723         <bits/libc-lockP.h>
34725 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
34727         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
34728         on [__KERNEL__].
34729         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
34730         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
34731         * soft-fp/op-common.h (_FP_DECL): Likewise.
34733 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
34735         * elf/ifuncdep2.c (global): Replace
34736         __attribute__((visibility("protected"))) with
34737         asm (".protected global").
34738         * elf/ifuncmod1.c (global): Likewise.
34739         * elf/ifuncmod5.c (global): Likewise.
34741 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
34743         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
34744         <asm/sfp-machine.h> instead of <sfp-machine.h>.
34746 2015-03-06  Roland McGrath  <roland@hack.frob.com>
34748         * manual/install.texi (Configuring and compiling):
34749         Document test-wrapper-env-only.
34750         * INSTALL: Regenerated.
34752 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34754         [BZ #18043]
34755         * posix/wordexp.c (parse_param): Fix buffer overflow.
34756         * posix/wordexp-test.c (do_bz18043): Add test case.
34758 2015-03-06  Vincent Bernat  <vincent@bernat.im>
34760         * time/tst-strptime2.c (do_test): Ensure failing tests are
34761         reported correctly.
34762         * time/tst-strptime3.c (do_test): Likewise.
34764 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
34766         Fix aio_error thread-safety.
34767         * sysdeps/pthread/aio_error.c: New file
34768         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
34769         synchronization.
34771 2015-03-06  Florian Weimer  <fweimer@redhat.com>
34773         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
34774         (group_number, vfprintf): Use it.
34775         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
34776         (JUMP, REF): Use it.
34777         (WORK_BUFFER_SIZE): New enum constant.
34778         (process_arg, vfprintf): Use it.
34780 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
34782         * manual/errno.texi (Error Messages): Complete example function
34783         by adding missing #define.
34784         (program_invocation_name): Add statement indicating GNU
34785         extension and reference which header file declares the variable.
34786         (program_invocation_short_name): Likewise.
34788 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
34790         * manual/errno.texi (Error Messages): Delete strerror ISO C89
34791         compatibility note.
34793 2015-03-05  Roland McGrath  <roland@hack.frob.com>
34795         * Makeconfig (test-wrapper-env-only): New variable.
34796         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
34797         then use that with $(test-wrapper-env-only) rather than using
34798         $(test-wrapper-env) $(run-program-env) $($*-ENV).
34800 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34802         [BZ #18082]
34803         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
34804         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
34805         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
34806         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
34807         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
34808         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
34809         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
34810         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
34811         Likewise.
34812         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
34813         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
34814         Likewise.
34815         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
34816         Likewise.
34817         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
34818         Likewise.
34819         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
34820         Likewise.
34821         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
34822         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
34823         Likewise.
34824         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
34825         Likewise.
34826         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
34827         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
34829 2015-03-04  Roland McGrath  <roland@hack.frob.com>
34831         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
34832         (ETH_ALEN): New macro.
34833         (struct ether_addr): Use it for length of ether_addr_octet.
34835         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
34836         (setdb): Don't call __nss_configure_lookup for "rpc".
34837         (do_test): Don't call test_rpc.
34838         (output_rpcent, test_rpc): Functions moved ...
34839         * sunrpc/test-rpcent.c: ... to this new file.
34840         * sunrpc/Makefile (tests): Add it.
34842         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
34843         __xpg_sigpause.
34844         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
34845         * nptl/tst-signal6.c: Likewise.
34846         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
34847         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
34849         * configure.ac (libc_cv_cxx_link_ok): New check.
34850         Reset CXX to empty if it fails to link.
34851         * configure: Regenerated.
34852         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
34853         bug-atexit3-lib only if $(CXX) is nonempty.
34854         * nptl/Makefile (tests): Likewise for tst-cancel24.
34855         (tests, tests-static): Likewise for tst-cancel24-static.
34856         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
34857         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
34858         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
34859         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
34861 2015-03-04  Andreas Schwab  <schwab@suse.de>
34863         [BZ #17631]
34864         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
34865         for non-GCC compilers.
34866         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34867         Likewise.
34869 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34871         [BZ #17776]
34872         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
34873         integer before bitwise and assembly operations.
34874         (feclearexcept): Likewise.
34875         * math/test-fenvinline.c: New file.
34876         * math/Makefile: Add test-fenvinline test.
34878 2015-03-03  Alan Modra  <amodra@gmail.com>
34880         [BZ #16512]
34881         * scripts/localplt.awk: Strip off symbol version.
34882         * NEWS: Mention bug fix.
34884 2015-03-02  Roland McGrath  <roland@hack.frob.com>
34886         * sysdeps/pthread/timer_routines.c
34887         (timer_free_list, thread_free_list, thread_active_list): Make static.
34889 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
34891         [BZ #17779]
34892         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34893         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34894         Undefine.
34895         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34896         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34897         Likewise.
34898         * sysdeps/unix/sysv/linux/sh/kernel-features.h
34899         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34900         Likewise.
34902 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34904         [BZ #18036]
34905         * posix/fnmatch_loop.c (END): Detect invalid pattern.
34906         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
34908 2015-03-02  Andreas Schwab  <schwab@suse.de>
34910         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
34911         variable name.
34913 2015-03-02  Florian Weimer  <fweimer@redhat.com>
34915         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
34916         Return error status.
34918 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
34920         [BZ #15969]
34921         * locale/findlocale.c (_nl_find_locale): Introduce const
34922         version of loc_name and drop unsafe type casts.
34924 2015-02-27  Roland McGrath  <roland@hack.frob.com>
34926         * dlfcn/tststatic2.c (main): Converted to ...
34927         (do_test): ... this.
34928         (TEST_FUNCTION): New macro.
34929         Include test-skeleton.c.
34931 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
34933         [BZ #17711]
34934         * elf/Makefile (tests): Add vismain only if PIE is enabled.
34935         (tests-pie): Add vismain.
34936         (CFLAGS-vismain.c): New.
34937         * elf/vismain.c: Add comments for PIE requirement.
34939 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34941         [BZ #18046]
34942         [BZ #18047]
34943         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
34944         0x1p-56L as threshold for just returning the argument.
34945         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
34946         0x1p-32L as threshold for just returning the argument.
34947         * math/auto-libm-test-in: Add more tests of atanh.
34948         * math/auto-libm-test-out: Regenerated.
34949         * sysdeps/i386/fpu/libm-test-ulps: Update.
34950         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
34952 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34954         * string/bcopy.c (bcopy): Call memmove for performance.
34956 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34958         * string/bzero.c (__bzero): Call memset for performance.
34960 2015-02-27  John David Anglin  <dave.anglin@bell.net>
34962         [BZ #18068]
34963         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
34964         to 00100000.
34966 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34968         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
34970 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
34972         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
34973         (__kernel_standard): Use CSTR macro when setting exc.name.
34974         * sysdeps/ieee754/Makefile [$(subdir) = math]
34975         (CFLAGS-k_standard.c): Remove variable.
34977         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
34978         setting p and q from "else if" to "else".
34979         (qzero): Likewise.
34980         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
34981         (qone): Likewise.
34982         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
34983         (qzerof): Likewise.
34984         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
34985         (qonef): Likewise.
34986         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
34987         (qzero): Likewise.
34988         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
34989         (qone): Likewise.
34991         [BZ #18038]
34992         [BZ #18039]
34993         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
34994         return pi/2 for arguments below 0x1p-113L.
34995         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
34996         return pi/2 for arguments below 0x1p-106L.
34997         * math/auto-libm-test-in: Add more tests of acos.
34998         * math/auto-libm-test-out: Regenerated.
35000         [BZ #16351]
35001         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
35002         (MO): New macro.
35003         (__ieee754_asin): Force underflow exception for results with small
35004         absolute value.
35005         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
35006         (MO): New macro.
35007         (__ieee754_asinf): Force underflow exception for results with
35008         small absolute value.
35009         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35010         (__ieee754_asin): Force underflow exception for results with small
35011         absolute value.
35012         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35013         (__ieee754_asinf): Force underflow exception for results with
35014         small absolute value.
35015         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35016         (__ieee754_asinl): Force underflow exception for results with
35017         small absolute value.
35018         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35019         (__ieee754_asinl): Force underflow exception for results with
35020         small absolute value.
35021         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35022         (__ieee754_asinl): Force underflow exception for results with
35023         small absolute value.
35024         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35025         Include <math.h>.
35026         * math/auto-libm-test-in: Do not mark underflow exceptions as
35027         possibly missing for bug 16351.
35028         * math/auto-libm-test-out: Regenerated.
35030         [BZ #18030]
35031         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35032         of power of 2 down when low part has opposite sign.
35033         * math/libm-test.inc (logb_test_data): Add more tests.
35035 2015-02-26  Andreas Schwab  <schwab@suse.de>
35037         [BZ #18032]
35038         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35039         over collating symbol inside a bracket expression.  Minor cleanup.
35040         * posix/tst-fnmatch3.c (do_test): Add test case.
35042 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35044         [BZ #18029]
35045         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35046         Adjust exponent of power of 2 down when low part has opposite
35047         sign.
35048         * math/libm-test.inc (ilogb_test_data): Add more tests.
35050 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
35052         [BZ #15969]
35053         * locale/findlocale.c (_nl_find_locale): Fix constness error in
35054         the previous change.
35056         [BZ #15969]
35057         * locale/findlocale.c (_nl_find_locale): Retry archive search
35058         after alias expansion.
35060 2015-02-25  Roland McGrath  <roland@hack.frob.com>
35062         * iconv/tst-iconv3.c (main): Converted to ...
35063         (do_test): ... this.
35064         (TEST_FUNCTION): New macro.
35065         Include test-skeleton.c.
35067         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
35068         (convert): Make function static.
35069         (test_unalign): Likewise.  Add const to argument pointee types.
35070         (main): Replace with static function do_test.
35071         Print "Succeeded." only if RET is zero.
35072         (TEST_FUNCTION): New macro.
35073         Include test-skeleton.c.
35075         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
35076         returns a null pointer.
35078 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35080         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
35081         to __memcpy_ppc only for static builds.
35083 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
35085         [BZ #18020]
35086         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
35087         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
35088         * math/auto-libm-test-in: Add more tests of asinh.
35089         * math/auto-libm-test-out: Regenerated.
35090         * sysdeps/i386/fpu/libm-test-ulps: Update.
35091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35093 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
35095         [BZ #15850]
35096         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
35097         and ip6_mtuinfo definitions here.
35098         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
35099         in this define too.  Update comment.
35101 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
35103         * elf/sprof.c (load_shobj): Tweak error message to match others.
35105 2015-02-24  Kevin Easton  <kevin@guarana.org>
35107         [BZ #16145] (partial fix)
35108         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
35109         to reduce lock contention.
35111 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
35113         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
35114         (struct timex): Update time comment.
35115         (ADJ_SETOFFSET): Define.
35117 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35119         [BZ #18019]
35120         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35121         2**56 not 2**28 as threshold for log (2x) formula.
35122         * math/auto-libm-test-in: Add more tests of acosh.
35123         * math/auto-libm-test-out: Regenerated.
35124         * sysdeps/i386/fpu/libm-test-ulps: Update.
35125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35127 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35129         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
35130         parenthesis around the buf assignment.
35131         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
35133 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35135         [BZ #16783]
35136         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
35137         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
35138         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
35139         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35140         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35141         * math/libm-test.inc (scalb_test_data): Add more tests.
35143 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35145         [BZ #17916]
35146         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
35147         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
35149 2015-02-24  Eric Rannaud  <e@nanocritical.com>
35151         [BZ #17523]
35152         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
35153         * io/bits/fcntl2.h (open): Use it.
35154         (openat): Likewise.
35155         * io/open.c (__libc_open): Likewise.
35156         * io/open64.c (__libc_open64): Likewise.
35157         * io/open64_2.c (__open64_2): Likewise.
35158         * io/open_2.c (__open_2): Likewise.
35159         * io/openat.c (__openat): Likewise.
35160         * io/openat64.c (__openat64): Likewise.
35161         * io/openat64_2.c (__openat64_2): Likewise.
35162         * io/openat_2.c (__openat_2): Likewise.
35163         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
35164         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
35165         * sysdeps/posix/open64.c (__libc_open64): Likewise.
35166         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
35167         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35168         (__open_nocancel): Likewise.
35169         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35170         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35171         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
35173 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35175         [BZ #14841]
35176         * resolv/gethnamaddr.c (getanswer): Skip logging if
35177         RES_USE_DNSSEC is set.
35178         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35180 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35182         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
35184 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
35186         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
35187         201304L, for Unicode 7.
35189 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
35191         [BZ #17836]
35192         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
35193         shared library.  Add gmon-start.os otherwise.
35194         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
35195         $(objpfx)gmon-start.os if builing shared library.
35196         ($(objpfx)g$(static-start-installed-name)): Likewise.
35198 2015-02-23  Andreas Schwab  <schwab@suse.de>
35200         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
35202 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35204         [BZ #17269]
35205         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
35206         (enlarge_userbuf): Likewise.
35208 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
35210         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
35211         * math/atest-exp.c (TIMEOUT): Adjust to 200.
35212         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
35213         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
35215 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
35217         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
35218         expression inside statement expression.
35220 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35222         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
35223         <sysdeps/nptl/lowlevellock.h> and remove macros and
35224         functions that are now defined there.
35225         (SYS_futex): Remove.
35226         (lll_compare_and_swap): Remove.
35227         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
35229 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
35231         [BZ #17999]
35232         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
35233         instead of scandirat.
35234         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
35235         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
35236         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
35237         __scandirat.
35238         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
35239         (__scandirat): Declare.  Use libc_hidden_proto.
35240         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
35241         Remove variable.
35242         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35244 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35246         [BZ #15319]
35247         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
35248         (MO): New macro.
35249         (__ieee754_atan2): For results with small absolute value, force
35250         underflow exception and remove excess range and precision from
35251         return value.
35252         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
35253         (MO): New macro.
35254         (__ieee754_atan2f): For results with small absolute value, force
35255         underflow exception and remove excess range and precision from
35256         return value.
35257         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
35258         (MO): New macro.
35259         (__atan): For results with small absolute value, force underflow
35260         exception and remove excess range and precision from return value.
35261         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
35262         (MO): New macro.
35263         (__atanf): For results with small absolute value, force underflow
35264         exception and remove excess range and precision from return value.
35265         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
35266         <math.h>.
35267         (__ieee754_atan2): Force underflow exception for results with
35268         small absolute value.
35269         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
35270         <math_private.h>.
35271         (atan): Force underflow exception for results with small absolute
35272         value.
35273         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
35274         (__atanf): Force underflow exception for results with small
35275         absolute value.
35276         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
35277         <math.h>.
35278         (__atanl): Force underflow exception for results with small
35279         absolute value.
35280         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
35281         (__atanl): Force underflow exception for results with small
35282         absolute value.
35283         * sysdeps/x86/fpu/bits/mathinline.h
35284         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
35285         (__ieee754_atan2): Only define inline for long double.
35286         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
35287         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
35288         * math/auto-libm-test-in: Do not mark underflow exceptions as
35289         possibly missing for bug 15319.  Add more tests of atan2.
35290         * math/auto-libm-test-out: Regenerated.
35291         * math/libm-test.inc (casin_test_data): Do not mark underflow
35292         exceptions as possibly missing for bug 15319.
35293         (casinh_test_data): Likewise.
35294         * sysdeps/i386/fpu/libm-test-ulps: Update.
35296 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
35298         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
35299         * sysdeps/mips/bits/endian.h: Fix comments.
35301 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35303         [BZ #17996]
35304         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
35305         (hdestroy_r): Likewise.
35306         (hsearch_r): Likewise.
35307         (__hcreate_r): Declare and use libc_hidden_proto.
35308         (__hdestroy_r): Likewise.
35309         (__hsearch_r): Likewise.
35310         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
35311         (hcreate): Call __hcreate_r instead of hcreate_r.
35312         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
35313         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
35314         as weak alias of __hcreate_r.
35315         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
35316         __hdestroy_r.
35317         (hsearch_r): Rename to __hsearch_r and define as weak alias of
35318         __hsearch_r.
35319         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
35320         Remove variable.
35321         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35322         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35323         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35324         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35326 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35328         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
35329         arena_lock into a single arena_get.
35331 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
35333         * dl-reloc.c: Inlucde libc-internal.h.
35334         (_dl_try_allocate_static_tls): Call ALIGN_UP.
35335         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
35336         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
35337         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
35338         (grow_heap): Likewise.
35339         * malloc/malloc.c: Include libc-internal.h.
35340         (do_check_malloc): Call powerof2.
35341         (sysmalloc): Use pagesize. Call ALIGN_UP.
35342         (systrim): Use pagesize.
35343         (mremap_chunk): Use pagesize. Call ALIGN_UP.
35344         (__libc_valloc): Use pagesize.
35345         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
35347 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35349         [BZ #17991]
35350         * include/sys/resource.h (__getrlimit64): Declare.  Use
35351         libc_hidden_proto.
35352         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
35353         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
35354         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
35355         getrlimit64.
35356         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
35357         __getrlimit64.
35358         [!getrlimit64] (getrlimit64): Define as weak alias of
35359         __getrlimit64.  Use libc_hidden_weak.
35360         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
35361         using __getrlimit64 not __new_getrlimit64.
35362         (__GI_getrlimit64): Likewise.
35363         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
35364         Likewise.
35365         (__GI_getrlimit64): Likewise.
35366         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
35367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
35368         (getrlimit): Add __getrlimit64 alias.
35369         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
35370         Likewise.
35371         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
35372         Remove variable.
35373         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35374         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35376 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
35378         * libio/fileops.c: Add missing sys/mman.h
35379         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
35381 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35383         * manual/math.texi (Errors in Math Functions): Clarify goals
35384         regarding inexact and underflow exceptions.
35386 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35388         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
35389         * sysdeps/mips/memset.S: Ditto.
35391 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35393         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
35395 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35397         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
35398         (__v1longjmp): Remove versioned symbol.
35399         (__v1siglongjmp): Remove alias and versioned symbol.
35400         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
35401         (__v2siglongjmp): Likewise.
35403 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35405         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
35407 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
35409         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
35411 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35413         [BZ #17987]
35414         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
35415         zero result does not depend on the sign resulting from
35416         subtraction.
35417         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35418         Likewise.
35419         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35420         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35421         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35422         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35423         * math/libm-test.inc (remquo_test_data): Add more tests.
35425 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
35427         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
35428         Problem reported by J William Piggott.
35430 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35432         [BZ #17978]
35433         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
35434         products 4 * y and 2 * y where those would overflow.
35435         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35436         Likewise.
35437         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35438         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35439         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35440         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35441         * math/libm-test.inc (remquo_test_data): Add more tests.
35443         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
35445         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
35446         [defined _COMPILING_NEWLIB].
35447         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
35448         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
35450         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
35451         [!defined __mips_isa_rev || __mips_isa_rev < 6].
35453 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35455         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
35456         acquired.
35458 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
35460         [BZ #17792]
35461         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
35462         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
35463         HOST_STACK_END_ADDR): Likewise.
35465 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
35467         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
35468         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
35469         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
35471 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35473         * sysdeps/generic/c++-types.data: New file.
35474         * sysdeps/generic/ld.abilist: New file.
35475         * sysdeps/generic/libBrokenLocale.abilist: New file.
35476         * sysdeps/generic/libanl.abilist: New file.
35477         * sysdeps/generic/libc.abilist: New file.
35478         * sysdeps/generic/libcrypt.abilist: New file.
35479         * sysdeps/generic/libdl.abilist: New file.
35480         * sysdeps/generic/libm.abilist: New file.
35481         * sysdeps/generic/libpthread.abilist: New file.
35482         * sysdeps/generic/libresolv.abilist: New file.
35483         * sysdeps/generic/librt.abilist: New file.
35485 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35487         [BZ #17569]
35488         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35489         Compute absolute value of x as modified by fmod, not original
35490         value of x.
35491         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
35492         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
35493         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
35494         RUN_TEST_ffI_f1_mod8.
35495         (remquo_test_data): Add more tests.
35497 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35499         * sysdeps/init_array/pt-crti.S: New file.
35501 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35503         [BZ #17967]
35504         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
35505         __builtin_fmaf instead of relying on contraction of a * b + c.
35507 2015-02-12  J William Piggott  <elseifthen@gmx.com>
35509         [BZ #17969]
35510         * manual/time.texi: correct the zoneinfo path in the TZ Variable
35511         node.
35513 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35515         [BZ #17964]
35516         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
35517         __builtin_fma instead of relying on contraction of a * b + c.
35519 2015-02-12  Roland McGrath  <roland@hack.frob.com>
35521         * Makeconfig (ASFLAGS): Add -Werror=undef.
35522         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
35523         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
35524         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
35526         * Makeconfig (after-link): New variable.
35527         (+link-pie, +link-pie-tests): Use it.
35528         (+link-static, +link-static-tests): Likewise.
35529         (+link, +link-tests): Likewise.
35530         * Makerules (build-module, build-module-asneeded): Likewise.
35531         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
35532         Likewise.
35533         * elf/Makefile ($(objpfx)ld.so): Likewise.
35535 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
35537         [BZ #17965]
35538         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
35539         both struct timeval and struct timespec.
35541 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35543         [BZ #16560]
35544         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35545         and redefine.
35546         (__ieee754_exp2l): Do not multiply small fractional parts by
35547         M_LN2l.
35548         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
35549         small argument.
35550         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35551         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35552         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
35553         * math/auto-libm-test-in: Add more tests of exp2.
35554         * math/auto-libm-test-out: Regenerated.
35556 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35558         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
35559         unaligned path.
35561 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35563         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
35564         little endian.
35566 2015-02-12  Andreas Schwab  <schwab@suse.de>
35568         [BZ #15790]
35569         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
35570         Filter out elision flags from value returned in kind.
35571         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
35572         * nptl/tst-pthread-mutexattr.c: New file.
35574 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35576         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
35577         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
35578         into gnu-gnu, and update comment to refer to abi-tags.
35580 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
35582         [BZ #15467]
35583         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
35584         (__sincos): Set errno to EDOM for infinite argument.
35585         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
35586         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
35587         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
35588         (__sincosl): Set errno to EDOM for infinite argument.
35589         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
35590         (__sincosl): Set errno to EDOM for infinite argument.
35591         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
35592         (__sincosl): Set errno to EDOM for infinite argument.
35593         * math/libm-test.inc (sincos_test_data): Test errno setting.
35595 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
35597         * string/strxfrm_l.c: Remove #define STRCMP.
35598         * string/strcoll_l.c: Remove #define STRLEN.
35599         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
35600         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
35602 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
35604         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
35605         * sysdeps/mips/mips32/sfp-machine.h: ... here.
35606         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
35607         * sysdeps/mips/mips64/Makefile: ... here.
35608         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
35609         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
35610         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
35611         * sysdeps/mips/mips64/sfp-machine.h: ... here.
35612         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
35613         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
35614         * sysdeps/mips/mips64/n64/Implies: Likewise.
35616 2015-02-10  Roland McGrath  <roland@hack.frob.com>
35618         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
35619         <sys/time.h>, <string.h>, and <errno.h>.
35620         (dest_offset, dest_address, value, zero): Remove unused variables.
35621         (ldouble): Remove typedef.
35622         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
35623         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
35624         1).  Fix code style.
35625         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
35626         (check): Function removed.
35627         (CHECK): New macro.
35628         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
35629         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
35630         Don't call set_sigaction_FP and remove_sigaction_FP here.
35631         (ldouble_test): Just use 'long double' as macro argument, no need for
35632         the 'ldouble' typedef.
35633         (do_test): Set up SIGFPE handler at start, using plain signal rather
35634         than sigaction.  Fix code style.
35636 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
35638         [BZ #17949]
35639         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
35640         jump label.
35642 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35644         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
35645         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35647         * sysdeps/powerpc/configure.ac: Remove file.
35648         * sysdeps/powerpc/configure: Likewise.
35650         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35651         [sysdep_routines]: Remove wordcopy-power6 object.
35652         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35653         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
35654         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
35655         (__memmove_ppc32): Likewise.
35656         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
35657         file.
35658         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
35659         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
35660         Remove preprocessor.
35662         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35663         [sysdep_routines]: Remove wide chars objects.
35664         [wcsmbs]: New rule for wide char objects.
35666         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35667         Remove wordcopy-power6 obejct.
35668         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
35669         Use local call for wordcopy and memcpy symbols.
35670         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
35671         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
35672         implementation for loader.
35673         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
35675         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35676         Remove wordcopy-power7 object.
35677         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
35678         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
35679         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
35680         (_wordcopy_fwd_dest_aligned): Likewise.
35681         (_wordcopy_bwd_aligned): Likewise.
35682         (_wordcopy_bwd_dest_aligned): Likewise.
35684         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
35685         Rewrite to call __memmove_ppc instead of include default
35686         implementation.
35688         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35689         Remove wide chars objects.
35690         [wcsmbs]: New rule for wide char objects.
35692 2015-02-09  Andreas Schwab  <schwab@suse.de>
35694         [BZ #17912]
35695         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35696         in terms of __O_DIRECTORY.
35698 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35700         * time/getdate.c: Include <stdbool.h>.
35701         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
35702         call PTR_MANGLE.
35703         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
35704         PTR_DEMANGLE.
35706 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
35708         Add ersatz _Static_assert on older C hosts
35709         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
35710         pre-C11 C platform that is not known to support _Static_assert.
35712 2015-02-07  Richard Braun  <rbraun@sceen.net>
35714         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
35715         sigstate.
35716         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
35718 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35720         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
35721         priority against unexistent AIO_PRIO_DELTA_MAX.
35722         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
35723         instead of int.
35724         * misc/fchflags.c (fchflags): Likewise.
35725         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
35726         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
35727         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
35728         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
35729         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
35730         Declare macros.
35731         [__USE_MISC] (chflags, fchflags): Declare functions.
35732         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
35733         EINVAL when nfds is greater than FD_SETSIZE.
35734         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
35735         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
35736         45.
35737         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
35738         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
35739         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
35740         MACH_RCV_TIMED_OUT.
35741         * hurd/hurd/signal.h (_hurd_self_sigstate,
35742         _hurd_critical_section_lock, _hurd_critical_section_unlock):
35743         Explicit casts from void *.
35744         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
35745         * abi-tags: Rename gnu-gnu os into gnu.
35747         [BZ #4719]
35748         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
35749         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
35750         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
35751         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
35752         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
35753         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
35755         [BZ #17944]
35756         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
35757         duplicates ADDR->sun_path with sockaddr LEN limitation.
35758         * sysdeps/mach/hurd/connect.c: Include <string.h>
35759         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
35760         * sysdeps/mach/hurd/sendmsg.c: Likewise.
35761         * sysdeps/mach/hurd/sendto.c: Likewise.
35762         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
35763         implementing it by hand.
35765 2015-02-06  Roland McGrath  <roland@hack.frob.com>
35767         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
35768         Use sfi_breg on ldr.
35769         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
35770         Likewise.
35772         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
35773         it's defined.
35774         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
35775         Test SIGSETXID only if it's defined.
35777         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
35779         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
35780         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
35782         * nptl/tst-align2.c: Moved ...
35783         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
35784         * nptl/Makefile (tests): Remove tst-align2.
35785         * sysdeps/unix/sysv/linux/Makefile
35786         [$(subdir) = nptl] (tests): Add tst-align-clone.
35787         * nptl/tst-getpid1.c: Moved ...
35788         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
35789         * nptl/tst-getpid2.c: Moved ...
35790         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
35791         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
35792         * sysdeps/unix/sysv/linux/Makefile
35793         [$(subdir) = nptl] (tests): ... here.
35794         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
35795         * sysdeps/unix/sysv/linux/Makefile
35796         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
35798         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
35799         Drop trailing \n from perror argument.  Use return rather than exit.
35801         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
35802         on [SA_SIGINFO].
35803         * nptl/tst-cancel21.c (do_test): Likewise.
35804         * debug/tst-backtrace6.c: Include <signal.h> first thing.
35805         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
35806         [!SA_SIGINFO]: Make it a stub test.
35808         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
35809         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
35811         * posix/tst-getlogin.c: Move to ...
35812         * login/tst-getlogin.c: ... here.
35813         * posix/Makefile (tests): Move tst-getlogin to ...
35814         * login/Makefile (tests): ... here.
35816         * libio/tst-atime.c (do_test): Move local variables SV and E
35817         inside [ST_NOATIME] conditional.
35819         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
35821         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
35823         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
35824         (wait_code): New function replaces macro.
35825         Call nanosleep rather than syscall.
35827         * nptl/pt-system.c: Rewritten.  Put everything under
35828         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35829         Use IFUNC to redirect when possible.
35831         * nptl/pt-longjmp.c: Rewritten.  Put everything under
35832         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35833         Use IFUNC to redirect when possible.
35835         * nptl/pt-fork.c: Rewritten.  Put everything under
35836         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35837         Use IFUNC to redirect when possible.
35838         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
35840         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
35841         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
35842         unconditionally nowadays.  This included the only reference to
35843         __vdso_clock_gettime that appears outside libc proper.
35844         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
35845         Remove version set (containing only __vdso_clock_gettime).
35846         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35847         Add attribute_hidden.
35848         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35849         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
35850         libc_hidden_data_def.
35851         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35852         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35854         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
35855         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
35856         setrpcent, and getrpcport to ...
35857         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
35858         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
35859         getrpcbynumber_r, and getrpcent_r to ...
35860         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
35861         * inet/getrpcbyname.c: Moved ...
35862         * sunrpc/getrpcbyname.c: ... here.
35863         * inet/getrpcbyname_r.c: Moved ...
35864         * sunrpc/getrpcbyname_r.c: ... here.
35865         * inet/getrpcbynumber.c: Moved ...
35866         * sunrpc/getrpcbynumber.c: ... here.
35867         * inet/getrpcbynumber_r.c: Moved ...
35868         * sunrpc/getrpcbynumber_r.c: ... here.
35869         * inet/getrpcent.c: Moved ...
35870         * sunrpc/getrpcent.c: ... here.
35871         * inet/getrpcent_r.c: Moved ...
35872         * sunrpc/getrpcent_r.c: ... here.
35873         * inet/Makefile (routines): Move those to ...
35874         * sunrpc/Makefile (routines): ... here.
35875         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
35876         the $(subdirs) list.
35877         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
35878         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
35879         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
35880         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
35882         * elf/Makefile (routines): Include $(all-dl-routines), not just
35883         $(dl-routines).
35884         (rtld-routines): Likewise.  Use = rather than :=.
35885         * sysdeps/aarch64/Makefile [$(subdir) = elf]
35886         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
35887         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
35888         * sysdeps/arm/Makefile: Likewise.
35889         * sysdeps/i386/Makefile: Likewise.
35890         * sysdeps/x86_64/Makefile: Likewise.
35891         * sysdeps/hppa/Makefile [$(subdir) = elf]
35892         (sysdep_routines, sysdep-rtld-routines): Don't add
35893         $(sysdep-dl-routines) to these.
35894         * sysdeps/ia64/Makefile: Likewise.
35895         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
35896         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
35897         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
35898         Don't add dl-static to these; sysdep-dl-routines alone is enough.
35899         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
35900         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
35901         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
35902         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
35903         * sysdeps/powerpc/Makefile [$(subdir) = elf]
35904         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
35905         these; sysdep-dl-routines alone is enough.
35907 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
35909         [BZ #17932]
35910         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
35911         where multiplication results in zero and third argument is finite
35912         and nonzero.
35913         * math/auto-libm-test-in: Add more tests of fma.
35914         * math/auto-libm-test-out: Regenerated.
35916         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
35917         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
35918         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
35919         (_FP_CMP_EQ): Likewise.
35920         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
35922         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
35923         extra argument CHECK_NAN.  Redefine as wrapper around
35924         _FP_EXTEND_CNAN.
35926 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
35928         * version.h (RELEASE): Set to "stable".
35929         (VERSION): Set to "2.21"
35930         * include/features.h (__GLIBC_MINOR__): Set to 21.
35932         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
35934 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35935             Paul Eggert  <eggert@cs.ucla.edu>
35937         [BZ #16618]
35938         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
35939         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
35940         size in bytes. Store needed elements in wpmax. Use needed size
35941         in bytes for extend_alloca.
35943 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
35945         * manual/install.texi: Latest tested versions are GCC 4.9.2,
35946         binutls 2.25, and texinfo 5.2.
35947         * INSTALL: Regenerate.
35948         * sysdeps/nios2/configure: Regenerate.
35949         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
35950         * manual/contrib.texi: Update.
35951         * po/be.po: Update.
35952         * po/bg.po: Update.
35953         * po/ca.po: Update.
35954         * po/cs.po: Update.
35955         * po/da.po: Update.
35956         * po/de.po: Update.
35957         * po/el.po: Update.
35958         * po/eo.po: Update.
35959         * po/es.po: Update.
35960         * po/fi.po: Update.
35961         * po/fr.po: Update.
35962         * po/gl.po: Update.
35963         * po/hr.po: Update.
35964         * po/hu.po: Update.
35965         * po/ia.po: Update.
35966         * po/id.po: Update.
35967         * po/it.po: Update.
35968         * po/ja.po: Update.
35969         * po/ko.po: Update.
35970         * po/lt.po: Update.
35971         * po/nb.po: Update.
35972         * po/nl.po: Update.
35973         * po/pl.po: Update.
35974         * po/pt_BR.po: Update.
35975         * po/ru.po: Update.
35976         * po/rw.po: Update.
35977         * po/sk.po: Update.
35978         * po/sl.po: Update.
35979         * po/sv.po: Update.
35980         * po/tr.po: Update.
35981         * po/uk.po: Update.
35982         * po/vi.po: Update.
35983         * po/zh_CN.po: Update.
35984         * po/zh_TW.po: Update.
35986         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
35987         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
35988         * sysdeps/hppa/dl-irel.h: Remove #warning.
35989         * sysdeps/hppa/entry.h: Provide prototype for
35990         __canonicalize_funcptr_for_compare and cast argument.
35991         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
35992         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
35993         * sysdeps/hppa/sotruss-lib.c: New file.
35994         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
35995         (atomic_compare_and_exchange_val_acq): Use __typeof__.
35996         (atomic_compare_and_exchange_bool_acq): Likewise.
35997         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
35998         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
36000         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
36001         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
36002         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
36004 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
36006         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
36007         called function in non-PIC case.
36009 2015-01-31  David S. Miller  <davem@davemloft.net>
36011         * sysdeps/sparc/sparc32/bits/atomic.h
36012         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36013         unlock not after it.
36014         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36015         volatile register usage warnings from the compiler.
36017         * sysdeps/sparc/nptl/sem_init.c: Delete.
36018         * sysdeps/sparc/nptl/sem_post.c: Delete.
36019         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36020         * sysdeps/sparc/nptl/sem_wait.c: Delete.
36021         * sysdeps/sparc/sparc32/sem_init.c: New file.
36022         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36023         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36024         padding explicitly initialized.
36025         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36026         padding for in-semaphore spinlock.
36027         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36028         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36029         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36030         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36031         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36032         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36033         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36034         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36035         version.
36036         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36037         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36039 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
36041         [BZ #17801]
36042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36043         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36044         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36045         New.
36046         (index_AVX_Fast_Unaligned_Load): Likewise.
36047         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36048         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
36049         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
36050         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
36051         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
36052         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
36053         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
36054         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
36055         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
36057 2015-01-29  Andreas Schwab  <schwab@suse.de>
36059         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
36061 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
36063         [BZ #17892]
36064         * nscd/nscd_stat.c (send_stats): Initialize DATA.
36066 2015-01-28  Martin Sebor  <msebor@redhat.com>
36068         * math/README.libm-test: Clarify. Add "How to read the test output."
36070 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
36072         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
36073         Define to 0.
36075 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
36077         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
36078         (__HAVE_64B_ATOMICS): Define to 0.
36080 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36082         [BZ #17885]
36083         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
36084         value to set as new flag.
36086         [BZ #16576]
36087         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
36088         and use _ARCH_PPCSQ instead.
36089         (__ieee754_sqrt): Likewise.
36090         (__ieee754_sqrtf): Likewise.
36091         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
36092         _ARCH_PPCSQ is defined.
36093         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
36094         fsqrt instruction.
36095         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
36096         _ARCH_PPCSQ is defined.
36097         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
36098         fsqrts instruction.
36099         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
36101 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36103         * iconv/loop.c: Suppress array out of bound warning caused by GCC
36104         bug (GCC BZ #64739).
36106 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
36108         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
36109         Mark _retval as used.
36110         (lll_futex_wake_unlock): Likewise.
36111         (lll_futex_timed_wait_requeue_pi): Likewise.
36113         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36114         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
36115         register variables.
36117         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
36118         libm_hidden_def.
36120         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
36121         (__bswap_64): Mark as __always_inline.
36123 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
36125         [BZ #15378]
36126         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
36127         when none of the search directories exist.
36129 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36131         [BZ #17869]
36132         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
36133         power8 in .machine directive.
36135         [BZ #17868]
36136         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
36137         set dependency from opd value.
36139 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36142         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
36143         architecture.
36145 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36147         [BZ #17870]
36148         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
36149         with uint64_t.
36150         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
36151         (uint64_t) 1.
36152         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
36153         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
36154         Replace 1UL with (uint64_t) 1.
36155         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
36156         int with uint64_t.
36158 2015-01-23  Roland McGrath  <roland@hack.frob.com>
36160         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
36161         (if_freenameindex): Likewise.
36163         * resource/getrlimit64.c: Add missing libc_hidden_def.
36165 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
36167         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
36168         __label__.
36169         (_FP_FMA): Likewise.
36170         (_FP_TO_INT_ROUND): Likewise.
36171         (_FP_FROM_INT): Likewise.
36173 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36175         [BZ #16418]
36176         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36177         Make code racy and cancel safe.
36179 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
36181         * sysdeps/arm/unwind-resume.h: Fix copyright year.
36182         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
36183         attribution.
36185         * pwd/tst-getpw.c: Rewrite.
36187         [BZ #17702]
36188         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
36189         (modules-names): Add moddummy1 and moddummy2.
36190         ($(objpfx)tst-rec-dlopen): Define.
36191         * dlfcn/moddummy1.c: New file.
36192         * dlfcn/moddummy2.c: New file.
36193         * dlfcn/tst-rec-dlopen.c: New file.
36194         * elf/dl-cache.c (_dl_load_cache_lookup):
36195         Return char*. Copy result with alloca/strcpy/strdup.
36196         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
36197         returns char*. Free cached. If not saving realname
36198         free cached.
36199         * elf/dl-open.c (dl_open_worker): Do not assert that
36200         _r_debug->r_state is RT_CONSISTENT.
36201         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
36202         returns char*.
36204 2015-01-21  Torvald Riegel  <triegel@redhat.com>
36205             Carlos O'Donell  <carlos@redhat.com>
36207         [BZ #12674]
36208         * nptl/sem_waitcommon.c: New file.
36209         * nptl/sem_wait.c: Include sem_waitcommon.c.
36210         (__sem_wait_cleanup, do_futex_wait): Remove.
36211         (__new_sem_wait): Adapt.
36212         (__new_sem_trywait): New function.
36213         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
36214         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
36215         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
36216         (sem_timedwait): Adapt.
36217         * nptl/sem_post.c (__new_sem_post): Adapt.
36218         (futex_wake): New function.
36219         (__old_sem_post): Add release MO fence.
36220         * nptl/sem_open.c (sem_open): Adapt.
36221         * nptl/sem_init.c (__new_sem_init): Adapt.
36222         (futex_private_if_supported): New function.
36223         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
36224         (__old_sem_getvalue): Add using previous code.
36225         * sysdeps/nptl/internaltypes.h: Adapt.
36226         * nptl/tst-sem13.c (do_test): Adapt.
36227         * nptl/tst-sem11.c (main): Adapt.
36228         * nptl/sem_trywait.c: Remove.
36229         * nptl/DESIGN-sem.txt: Remove.
36230         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
36231         (gen-as-const-headers): Remove structsem.sym.
36232         * nptl/structsem.sym: Remove.
36233         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
36234         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
36235         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
36236         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
36237         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
36238         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
36239         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
36240         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
36241         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
36242         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
36243         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
36244         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
36245         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
36246         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
36247         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
36248         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
36249         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
36250         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
36251         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
36252         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
36253         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
36254         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
36256 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
36258         * INSTALL: Regenerated.
36260         * po/libc.pot: Regenerated.
36262 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
36263             Sandra Loosemore  <sandra@codesourcery.com>
36264             Andrew Jenner  <andrew@codesourcery.com>
36265             Joseph Myers  <joseph@codesourcery.com>
36266             Nathan Sidwell  <nathan@codesourcery.com>
36268         * NEWS: Mention new Nios II port.
36269         * sysdeps/nios2/Implies: New file.
36270         * sysdeps/nios2/Makefile: New file.
36271         * sysdeps/nios2/Subdirs: New file.
36272         * sysdeps/nios2/Versions: New file.
36273         * sysdeps/nios2/__longjmp.S: New file.
36274         * sysdeps/nios2/abort-instr.h: New file.
36275         * sysdeps/nios2/backtrace.c: New file.
36276         * sysdeps/nios2/bits/endian.h: New file.
36277         * sysdeps/nios2/bits/fenv.h: New file.
36278         * sysdeps/nios2/bits/link.h: New file.
36279         * sysdeps/nios2/bits/setjmp.h: New file.
36280         * sysdeps/nios2/bsd-_setjmp.S: New file.
36281         * sysdeps/nios2/bsd-setjmp.S: New file.
36282         * sysdeps/nios2/configure: New generated file.
36283         * sysdeps/nios2/configure.ac: New file.
36284         * sysdeps/nios2/crti.S: New file.
36285         * sysdeps/nios2/crtn.S: New file.
36286         * sysdeps/nios2/dl-init.c: New file.
36287         * sysdeps/nios2/dl-machine.h: New file.
36288         * sysdeps/nios2/dl-sysdep.h: New file.
36289         * sysdeps/nios2/dl-tls.h: New file.
36290         * sysdeps/nios2/dl-trampoline.S: New file.
36291         * sysdeps/nios2/gccframe.h: New file.
36292         * sysdeps/nios2/gmp-mparam.h: New file.
36293         * sysdeps/nios2/jmpbuf-offsets.h: New file.
36294         * sysdeps/nios2/jmpbuf-unwind.h: New file.
36295         * sysdeps/nios2/ldsodefs.h: New file.
36296         * sysdeps/nios2/libc-tls.c: New file.
36297         * sysdeps/nios2/libm-test-ulps: New file.
36298         * sysdeps/nios2/machine-gmon.h: New file.
36299         * sysdeps/nios2/math-tests.h: New file.
36300         * sysdeps/nios2/math_private.h: New file.
36301         * sysdeps/nios2/memusage.h: New file.
36302         * sysdeps/nios2/nptl/Makefile: New file.
36303         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
36304         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
36305         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
36306         * sysdeps/nios2/nptl/pthreaddef.h: New file.
36307         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
36308         * sysdeps/nios2/nptl/tls.h: New file.
36309         * sysdeps/nios2/preconfigure: New file.
36310         * sysdeps/nios2/s_fma.c: New file.
36311         * sysdeps/nios2/s_fmaf.c: New file.
36312         * sysdeps/nios2/setjmp.S: New file.
36313         * sysdeps/nios2/sfp-machine.h: New file.
36314         * sysdeps/nios2/sotruss-lib.c: New file.
36315         * sysdeps/nios2/stackguard-macros.h: New file.
36316         * sysdeps/nios2/stackinfo.h: New file.
36317         * sysdeps/nios2/start.S: New file.
36318         * sysdeps/nios2/sysdep.h: New file.
36319         * sysdeps/nios2/tls-macros.h: New file.
36320         * sysdeps/nios2/tst-audit.h: New file.
36321         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
36322         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
36323         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
36324         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
36325         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
36326         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
36327         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
36328         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
36329         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
36330         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
36331         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
36332         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
36333         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
36334         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
36335         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
36336         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
36337         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
36338         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
36339         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
36340         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
36341         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
36342         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
36343         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
36344         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
36345         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
36346         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
36347         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
36348         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
36349         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
36350         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
36351         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
36352         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
36353         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
36354         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
36355         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
36356         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
36357         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
36358         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
36359         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
36360         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
36361         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
36362         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
36363         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
36364         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
36366 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36368         [BZ #17844]
36369         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
36370         (getutent): Use weak_alias in non SHARED case
36371         and default_symbol_version in SHARED case.
36372         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
36373         (getutent_r, pututline): Likewise.
36374         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
36375         (getutid): Likewise.
36376         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
36377         (getutid_r): Likewise.
36378         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
36379         (getutline): Likewise.
36380         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
36381         (getutline_r): Likewise.
36382         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
36383         (updwtmp): Likewise.
36385 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36387         [BZ #17848]
36388         * sysdeps/s390/s390-32/memcmp.S
36389         (memcmp_g5): Rename to __memcmp_g5.
36390         * sysdeps/s390/s390-32/memcpy.S
36391         (memcpy_g5): Rename to __memcpy_g5.
36392         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36393         (memcpy_mvcle) Rename to __memcpy_mvcle.
36394         * sysdeps/s390/s390-32/memset.S
36395         (memset_g5): Rename to __memset_g5.
36396         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36397         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36398         and use prefixed functions.
36399         * sysdeps/s390/s390-32/multiarch/memcmp.S
36400         (memcmp_z196): Rename to __memcmp_z196.
36401         (memcmp_z10): Rename to __memcmp_z10.
36402         (memcmp): Set alias to __memcmp_g5.
36403         (bcmp): Set alias to __memcmp_g5.
36404         * sysdeps/s390/s390-32/multiarch/memcpy.S
36405         (memcpy_z196): Rename to __memcpy_z196.
36406         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36407         (memcpy_z10): Rename to __memcpy_z10.
36408         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36409         (memcpy): Set alias to __memcpy_g5.
36410         * sysdeps/s390/s390-32/multiarch/memset.S
36411         (memset_z196): Rename to __memset_z196.
36412         Jump to __memset_mvcle instead of memset_mvcle.
36413         (memset_z10): Rename to __memset_z10.
36414         Jump to __memset_mvcle instead of memset_mvcle.
36415         (memset_mvcle) Rename to __memset_mvcle.
36416         (memset): Set alias to __memset_g5.
36417         * sysdeps/s390/s390-64/memcmp.S
36418         (memcmp_z900): Rename to __memcmp_z900.
36419         * sysdeps/s390/s390-64/memcpy.S
36420         (memcpy_z900): Rename to __memcpy_z900.
36421         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36422         (memcpy_mvcle) Rename to __memcpy_mvcle.
36423         * sysdeps/s390/s390-64/memset.S
36424         (memset_z900): Rename to __memset_z900.
36425         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
36426         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36427         and use prefixed functions.
36428         * sysdeps/s390/s390-64/multiarch/memcmp.S
36429         (memcmp_z196): Rename to __memcmp_z196.
36430         (memcmp_z10): Rename to __memcmp_z10.
36431         (memcmp): Set alias to __memcmp_z900.
36432         (bcmp): Set alias to __memcmp_z900.
36433         * sysdeps/s390/s390-64/multiarch/memcpy.S
36434         (memcpy_z196): Rename to __memcpy_z196.
36435         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36436         (memcpy_z10): Rename to __memcpy_z10.
36437         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36438         (memcpy): Set alias to __memcpy_z900.
36439         * sysdeps/s390/s390-64/multiarch/memset.S
36440         (memset_z196): Rename to __memset_z196.
36441         Jump to __memset_mvcle instead of memset_mvcle.
36442         (memset_z10): Rename to __memset_z10.
36443         Jump to __memset_mvcle instead of memset_mvcle.
36444         (memset_mvcle) Rename to __memset_mvcle.
36445         (memset): Set alias to __memset_z900.
36447 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
36449         [BZ #17748]
36450         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
36451         __fesetenv instead of fesetenv.
36453 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36455         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
36456         macro.
36458 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36460         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
36461         regression on LE.
36463         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
36464         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
36465         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36466         strncmp-power8 object.
36467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36468         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
36469         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
36470         * NEWS: Update.
36472 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36473             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36475         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
36476         trailing byte check.
36478 2015-01-13  David S. Miller  <davem@davemloft.net>
36480         * include/signal.h (__sigreturn): Guard with __USE_MISC.
36482 2015-01-13  Roland McGrath  <roland@hack.frob.com>
36484         * login/logout.c (logout): Use memset rather than bzero.
36485         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
36486         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
36487         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
36488         (_gethtbyaddr): Likewise.
36489         * locale/programs/simple-hash.c (bcopy): Macro removed.
36491 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36493         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36494         Add strcmp-power8 object.
36495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36496         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
36497         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
36498         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
36499         __strcmp_power8 implementation.
36500         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
36501         * NEWS: Update.
36503         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36504         Add strncpy-power8 and stpncpy-power8 objects.
36505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36506         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
36507         implementations.
36508         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
36509         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
36510         __stpncpy_power8 implementation.
36511         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
36512         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
36513         __strncpy_power8 implementation.
36514         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
36515         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
36516         * NEWS: Update.
36518         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
36519         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
36520         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
36522         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36523         strncat-power8 object.
36524         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
36525         __strcat_power8 implementation.
36526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36527         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
36528         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
36529         optimized strcat for power8.
36531         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36532         strcpy-power8 and stpcpy-power8 objects.
36533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36534         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
36535         implementations.
36536         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
36537         multiarch stpcpy implementation for POWER8.
36538         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
36539         multiarch strcpy implementation for POWER8.
36540         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
36541         __strcpy_power8 function.
36542         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
36543         stpcpy for POWER8.
36544         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
36545         strcpy for POWER8.
36546         * NEWS: Update.
36548 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
36550         [BZ #16009]
36551         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
36552         weights and rules. Use do_xfrm_cached if data fits in cache,
36553         do_xfrm otherwise.  Moved former main loop to...
36554         * (do_xfrm_cached): New function.
36555         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
36556         find_idx, find_position and stack_push.
36557         * (find_idx): New function.
36558         * (find_position): Likewise.
36559         * localedata/sort-test.sh: Added test run for do_xfrm.
36560         * localedata/xfrm-test.c (main): Added command line option
36561         -nocache to run the test with strings that are too large for
36562         the STRXFRM cache.
36564 2015-01-13  Torvald Riegel  <triegel@redhat.com>
36566         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
36567         variable to lll_futex_wake call, not the value itself.
36569 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
36571         [BZ #17803]
36572         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
36573         twom64.  Adjust value to 0x1p-64L.
36574         (__scalblnl): Only return standard underflowing result for K <=
36575         -64 not K <= -63; adjust exponent for underflowing result by 64
36576         not 63.
36577         * math/libm-test.inc (scalbn_test_data): Add more tests.
36578         (scalbln_test_data): Likewise.
36580         [BZ #17834]
36581         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
36582         0x1p63L.
36583         (__scalblnl): Get new exponent of adjusted subnormal value from ES
36584         not HX.
36585         * math/libm-test.inc (scalbn_test_data): Add more tests.
36586         (scalbln_test_data): Likewise.
36588 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36589             Stefani Seibold  <stefani@seibold.net>
36591         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
36592         (sysdep_routines): Add dl-vdso here, ...
36593         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
36594         (sysdep_routines): ... not here.
36595         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
36596         fallback when vDSO is not presented.
36597         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36598         Define with libc_hidden_proto/libc_hidden_data_def definitions.
36599         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
36600         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
36601         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
36602         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
36603         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
36604         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
36605         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
36606         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
36607         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
36608         fallback configurable symbol when vDSO is not available.
36609         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
36610         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
36611         be able to redefine fallback symbol when vDSO is not available.
36612         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
36613         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
36615 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36617         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
36618         (TLS_INIT_TP): Add tm_capable initialization.
36619         (TLS_DEFINE_INIT_TP): Likewise.
36620         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
36621         TCB.
36622         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
36623         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
36624         calculation.
36625         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
36626         transactoion is lock elision is built and TCB tm_capable is set.
36627         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
36628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36629         (INTERNAL_SYSCALL_NCS): Likewise.
36630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36631         (INTERNAL_SYSCALL_NCS): Likewise.
36632         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
36634         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
36635         for powerpc.
36636         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36637         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
36638         and remove it for 32 bits case.
36639         [pthread_rwlock_t] (__rwelision): New field for lock elision.
36640         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
36641         initialization.
36642         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
36643         Disable lock elision with rdlocks if elision is not available.
36645         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
36646         (sysdep_routines): Add lock elision objects.
36647         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36648         [pthread_mutex_t] (__spins): Rework to add lock elision field.
36649         [pthread_mutex_t] (__elision): Add field.
36650         [__PTHREAD_SPINS]: Adjust to init lock elision field.
36651         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
36652         elision definitions for powerpc.
36653         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
36654         implementation of lock elision for powerpc.
36655         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
36656         implementation of timed lock elision for powerpc.
36657         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
36658         implementation of trylock with lock elision for powerpc.
36659         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
36660         implementaion of unlock for lock elision for powerpc.
36661         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
36662         automatic enable lock elision for mutexes.
36663         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
36664         transaction execution definitions for powerpc.
36665         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
36666         definitions.
36667         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
36668         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
36669         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
36670         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
36671         * NEWS: Update.
36673 2015-01-09  Roland McGrath  <roland@hack.frob.com>
36675         * sysdeps/posix/shm-directory.c: Use <> rather than ""
36676         for #include of <shm-directory.h>.
36678 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
36680         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
36681         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
36683 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
36685         [BZ #17791]
36686         * NEWS: Mention bug fix.
36687         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
36688         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
36689         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
36691 2015-01-09  Torvald Riegel <triegel@redhat.com>
36693         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
36695 2015-01-09  Torvald Riegel <triegel@redhat.com>
36697         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
36699 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36701         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
36702         pointer and cast to uintptr_t.
36704 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36706         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
36707         removed.
36708         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
36710 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36712         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
36713         of 0.
36715 2015-01-08  Roland McGrath  <roland@hack.frob.com>
36717         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
36718         <nptl/pthreadP.h> instead.
36719         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
36721         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
36722         already defined.
36723         [__SIGRTMIN] (init): Function removed.
36724         [__SIGRTMIN] (initialized): Variable removed.
36725         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
36726         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
36727         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
36728         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
36729         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
36730         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
36731         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
36732         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
36733         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
36734         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
36735         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
36736         * sysdeps/nptl/allocrtsig.c: New file.
36737         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
36738         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
36739         * sysdeps/generic/testrtsig.h: File removed.
36741         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
36742         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
36744         * nptl/nptl-init.c (pthread_functions): Conditionalize
36745         .ptr__nptl_setxid initialization on [SIGSETXID].
36747         * sysdeps/nptl/sys/procfs.h: New file.
36748         * nptl_db/Makefile (headers): Add it.
36749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
36751         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
36752         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
36753         * nptl/pthread_attr_setaffinity.c: Include it.
36754         * nptl/pthread_setattr_default_np.c: Likewise.
36755         * nptl/check-cpuset.h: New file.
36757 2015-01-08  Richard Henderson  <rth@redhat.com>
36759         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
36760         (CFLAGS-tst-execstack-prog.c): Likewise.
36761         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
36763 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
36764             Sandra Loosemore  <sandra@codesourcery.com>
36765             Andrew Jenner  <andrew@codesourcery.com>
36766             Joseph Myers  <joseph@codesourcery.com>
36767             Nathan Sidwell  <nathan@codesourcery.com>
36769         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
36770         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
36771         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
36772         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
36773         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
36774         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
36775         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
36776         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
36777         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
36778         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
36779         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
36780         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
36781         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
36782         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
36783         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
36784         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
36785         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
36787 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36789         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
36790         timespec struct member in syscall macro.
36791         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
36792         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
36793         first timeval struct member in syscall macro.
36794         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
36796 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
36798         [BZ #17748]
36799         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
36800         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
36801         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
36802         __feupdateenv and define as weak alias of __feupdateenv.  Use
36803         libm_hidden_weak.
36804         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
36805         libm_hidden_def.
36806         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
36807         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
36808         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36809         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
36810         libm_hidden_def.
36811         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
36812         __feupdateenv and define as weak alias of __feupdateenv.  Use
36813         libm_hidden_weak.
36814         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
36815         libm_hidden_def.
36816         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
36817         __feupdateenv and define as weak alias of __feupdateenv.  Use
36818         libm_hidden_weak.
36819         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
36820         libm_hidden_def.
36821         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36822         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36823         (__feupdateenv): Likewise.
36824         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
36825         __feupdateenv and define as weak alias of __feupdateenv.  Use
36826         libm_hidden_weak.
36827         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36828         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
36829         libm_hidden_def.
36830         * sysdeps/tile/math_private.h (__feupdateenv): New inline
36831         function.
36832         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
36833         libm_hidden_def.
36834         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
36835         __feupdateenv instead of feupdateenv.
36836         (default_libc_feupdateenv_test): Likewise.
36837         (libc_feresetround_ctx): Likewise.
36839 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36841         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
36842         prototype.
36844 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
36846         * posix/regcomp.c (parse_bracket_exp): Initialize type to
36847         COLL_SYM in a couple of places to avoid uninitialized variable
36848         wanings on tilegx gcc 4.8.2.
36850 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36852         * sysdeps/aarch64/strcpy.S: New file.
36853         * sysdeps/aarch64/stpcpy.S: New file.
36854         * NEWS: Updated.
36856 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36858         * sysdeps/aarch64/strrchr.S: New file.
36859         * NEWS: Updated.
36861 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
36863         [BZ #17658]
36864         * stdlib/setenv.c: Fix memory leak when setting large,
36865         duplicate string.
36867 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
36869         [BZ #17273]
36870         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
36871         and tabs from buffer before parsing fstab entry.
36872         * misc/tst-mntent.c (main): Add test for mount entry with
36873         trailing spaces and tabs.
36875 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
36877         [BZ #17748]
36878         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
36879         * math/fesetround.c (fesetround): Rename to __fesetround and
36880         define as weak alias of __fesetround.  Use libm_hidden_weak.
36881         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
36882         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
36883         * sysdeps/arm/fesetround.c (fesetround): Likewise.
36884         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
36885         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
36886         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
36887         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
36888         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
36889         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
36890         __fesetround_inline.
36891         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
36892         __fesetround_inline instead of __fesetround.
36893         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
36894         __fesetround and define as weak alias of __fesetround.  Use
36895         libm_hidden_weak.  Call __fesetround_inline instead of
36896         __fesetround.
36897         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
36898         __fesetround and define as weak alias of __fesetround.  Use
36899         libm_hidden_weak.
36900         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
36901         Likewise.
36902         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
36903         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36904         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
36905         * sysdeps/tile/math_private.h (__fesetround): New inline function.
36906         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
36907         __fesetround and define as weak alias of __fesetround.  Use
36908         libm_hidden_weak.
36909         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
36910         __fesetround instead of fesetround.
36911         (default_libc_feholdexcept_setround): Likewise.
36912         (libc_feholdsetround_ctx): Likewise.
36913         (libc_feholdsetround_noex_ctx): Likewise.
36915         [BZ #17748]
36916         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
36917         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
36918         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36919         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36920         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36921         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
36922         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36923         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36924         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36925         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36926         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36927         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36928         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36929         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36930         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
36931         libm_hidden_def.
36932         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
36933         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
36934         Likewise.
36935         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36936         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36937         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36938         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36939         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
36940         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36941         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36942         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
36943         __fesetenv instead of fesetenv.
36944         (libc_feresetround_noex_ctx): Likewise.
36945         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36946         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36947         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
36948         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36949         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36950         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36951         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36952         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36953         (__feupdateenv): Likewise.
36954         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36955         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36956         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36957         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
36959 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36961         [BZ #17806]
36962         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
36963         addresses have been freed.
36965 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36967         * resolv/res_init.c (__res_vinit): Improve comments about nserv
36968         and nservall.
36970 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
36972         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
36973         Clean up check_pf allocation pattern. addresses
36975 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36977         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
36978         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
36979         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
36980         * nptl/pthread_exit.c (__pthread_exit): Likewise.
36981         * nptl/pthread_join.c (pthread_join): Likewise.
36982         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
36983         * sysdeps/posix/waitid.c (__waitid): Likewise.
36984         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36985         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36986         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36987         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36988         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36989         Likewise.
36990         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36991         (__libc_pread64): Likewise.
36992         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36993         (__libc_pwrite): Likewise.
36994         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36995         (__libc_pwrite64): Likewsie.
36996         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36997         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36998         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36999         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37000         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
37001         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
37002         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
37004         Likewise.
37005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37006         (__libc_pread64): Likewise.
37007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
37008         Likewise.
37009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37010         (__libc_pwrite64): Likewise.
37011         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37012         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37013         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37014         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37015         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37016         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37017         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37018         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37019         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37020         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37021         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37022         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37023         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37024         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37025         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37026         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37027         Likewise.
37029 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37031         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37032         (CFLAGS-test-double.c): Likewise.
37033         (CFLAGS-test-ldouble.c): Likewise.
37034         (CPPFLAGS-test-ifloat.c): Likewise.
37035         (CPPFLAGS-test-idouble.c): Likewise.
37036         (CPPFLAGS-test-ildoubl.c): Likewise.
37037         (CFLAGS-test-test-fenv.c): Remove variable.
37038         (CFLAGS-test-misc.c): Likewise.
37040 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
37042         [BZ #17797]
37043         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37044         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37045         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37046         CLOCKS_PER_SEC == 1000000.
37047         * time/clocktest.c (main): Replace %ld with %jd and cast to
37048         intmax_t.
37050 2015-01-05  Roland McGrath  <roland@hack.frob.com>
37052         * sysdeps/generic/unwind-resume.h: New file.
37053         * sysdeps/gnu/unwind-resume.c: Include it.
37054         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
37055         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
37056         argument list.
37057         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
37058         global rather than static.
37059         (_Unwind_Resume): Update user.
37060         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
37061         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
37062         rather than static.  Add __attribute__ ((cold)).
37063         (_Unwind_Resume, __gcc_personality_v0): Update callers.
37064         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
37065         * sysdeps/arm/arm-unwind-resume.S: New file.
37066         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
37067         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
37068         * sysdeps/arm/Makefile [$(subdir) = csu]
37069         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
37070         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37071         Add rt-arm-unwind-resume.
37072         [$(subdir) = nptl]
37073         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37074         Add pt-arm-unwind-resume.
37075         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
37076         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
37078 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37080         [BZ #17748]
37081         * include/fenv.h (__feholdexcept): Declare.  Use
37082         libm_hidden_proto.
37083         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
37084         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
37085         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37086         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
37087         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
37088         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
37089         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
37090         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37091         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
37092         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
37093         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37094         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
37095         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
37096         (feholdexcept): Likewise.
37097         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37098         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37099         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37100         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37101         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
37102         __feholdexcept instead of feholdexcept.
37103         (default_libc_feholdexcept_setround): Likewise.
37105 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37107         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
37108         to avoid using stl/str to align destination.
37110 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37112         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
37114 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37116         [BZ #17796]
37117         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
37118         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
37119         Define as weak alias not strong alias.
37121 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37123         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
37124         bltzal with addiupc.
37125         (RTLD_START): Ditto.
37127 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
37129         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
37130         for __vdso_* functions in declarations.
37131         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
37132         definitions.
37133         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
37134         INTERNAL_VSYSCALL): Use struct return types to check for error.
37136         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
37137         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
37138         function with cast from llround().
37139         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
37140         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
37141         Define.
37143 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37145         [BZ #17793]
37146         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
37147         Define as weak alias not strong alias.
37149         [BZ #17635]
37150         * ctype/ctype-c99.c: New file.  isblank implementation moved from
37151         ...
37152         * ctype/ctype-extn.c: ... here.
37153         (__isblank_l): Move to ...
37154         * ctype/ctype-c99_l.c: ... here.  New file.
37155         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
37156         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
37157         Remove variable.
37158         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37159         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37160         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37161         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37162         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37164         [BZ #17777]
37165         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
37166         (posix_fadvise64): Define as weak alias not strong alias.
37167         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37168         (posix_fallocate64): Likewise.
37169         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
37170         Remove variable.
37171         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37172         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37173         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37174         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37175         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37177 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
37179         [BZ #16191]
37180         * NEWS: Mention bug fix.
37181         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
37182         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
37183         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
37184         (HOST_STACK_END_ADDR): Likewise.
37186 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37188         [BZ #17748]
37189         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
37190         * math/fegetround.c (fegetround): Rename to __fegetround and
37191         define as weak alias of __fegetround.  Use libm_hidden_weak.
37192         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
37193         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
37194         * sysdeps/arm/fegetround.c (fegetround): Likewise.
37195         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
37196         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37197         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
37198         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
37199         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
37200         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37201         Undefine after rather than before function definition; use
37202         parentheses around function name in definition.
37203         (__fegetround): Also undefine macro after function definition.
37204         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
37205         __fegetround and define as weak alias of __fegetround.  Use
37206         libm_hidden_weak.  Do not undefine as macro.
37207         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37208         Likewise.
37209         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
37210         __fegetround and define as weak alias of __fegetround.  Use
37211         libm_hidden_weak.
37212         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37213         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37214         * sysdeps/tile/math_private.h (__fegetround): New inline function.
37215         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
37216         __fegetround and define as weak alias of __fegetround.  Use
37217         libm_hidden_weak.
37218         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
37219         __fegetround instead of fegetround.
37221         [BZ #17782]
37222         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
37223         Condition macro definition on [__USE_MISC].
37225         [BZ #17781]
37226         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37227         (struct sigaction): Change type of sa_flags field to int.
37229         [BZ #17780]
37230         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
37231         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
37232         __glibc_reserved0.
37234         * nptl/version.c (banner): Use single year in copyright notice.
37236         * NEWS: Update copyright dates.
37237         * catgets/gencat.c (print_version): Likewise.
37238         * csu/version.c (banner): Likewise.
37239         * debug/catchsegv.sh: Likewise.
37240         * debug/pcprofiledump.c (print_version): Likewise.
37241         * debug/xtrace.sh (do_version): Likewise.
37242         * elf/ldconfig.c (print_version): Likewise.
37243         * elf/ldd.bash.in: Likewise.
37244         * elf/pldd.c (print_version): Likewise.
37245         * elf/sotruss.sh: Likewise.
37246         * elf/sprof.c (print_version): Likewise.
37247         * iconv/iconv_prog.c (print_version): Likewise.
37248         * iconv/iconvconfig.c (print_version): Likewise.
37249         * locale/programs/locale.c (print_version): Likewise.
37250         * locale/programs/localedef.c (print_version): Likewise.
37251         * login/programs/pt_chown.c (print_version): Likewise.
37252         * malloc/memusage.sh (do_version): Likewise.
37253         * malloc/memusagestat.c (print_version): Likewise.
37254         * malloc/mtrace.pl: Likewise.
37255         * manual/libc.texinfo: Likewise.
37256         * nptl/version.c (banner): Likewise.
37257         * nscd/nscd.c (print_version): Likewise.
37258         * nss/getent.c (print_version): Likewise.
37259         * nss/makedb.c (print_version): Likewise.
37260         * posix/getconf.c (main): Likewise.
37261         * scripts/test-installation.pl: Likewise.
37262         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
37264 2015-01-02  Will Newton  <will.newton@linaro.org>
37266         * sysdeps/arm/armv7/configure: Removed.
37267         * sysdeps/arm/armv7/configure.ac: Likewise.
37269 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37271         * All files with FSF copyright notices: Update copyright dates
37272         using scripts/update-copyrights.
37273         * intl/plural.c: Regenerated.
37274         * locale/programs/charmap-kw.h: Likewise.
37275         * locale/programs/locfile-kw.h: Likewise.
37277 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37279         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
37281 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37283         [BZ #17748]
37284         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
37285         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
37286         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37287         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37288         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37289         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
37290         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37291         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
37292         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37293         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37294         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37295         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37296         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37297         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37298         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
37299         libm_hidden_def.
37300         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
37301         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
37302         Likewise.
37303         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37304         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37305         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37306         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37307         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
37308         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37309         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37310         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
37311         __fegetenv instead of fegetenv.
37312         (libc_feholdsetround_noex_ctx): Likewise.
37314 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37316         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
37317         (Elf_MIPS_ABIFlags_v0): New structure.
37318         (EF_MIPS_FP64): Define.
37319         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
37320         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
37321         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
37322         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
37323         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
37324         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
37325         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
37326         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
37327         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
37328         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
37329         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
37330         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
37331         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
37332         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
37333         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
37334         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
37335         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
37336         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
37337         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
37338         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
37339         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
37340         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
37341         field.
37342         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
37343         EF_MIPS_FP64.
37344         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
37345         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
37346         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
37347         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
37348         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
37349         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
37350         * sysdeps/mips/tst-abi-interlink.c: Likewise.
37351         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
37352         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
37353         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
37354         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
37355         record the current FP ABI extension.
37356         (mips-mode-switch): Define to show if kernel headers support mode
37357         switching.
37358         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
37359         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
37360         supported SYSV ABI version to 3.
37361         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
37362         feature.
37364 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37365             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37367         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
37368         path.
37369         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
37371 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37373         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
37374         __fegetround and redefine to call __fegetround.  Remove condition
37375         on [!__NO_MATH_INLINES].
37376         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
37377         function.
37378         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
37379         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37380         Remove macro.
37381         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
37382         instead of <fenv_libc.h>.
37383         (__llrintl): Call fegetround instead of __fegetround.
37384         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
37385         instead of <fenv_libc.h>.
37386         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37387         (__lrintl): Call fegetround instead of __fegetround.
37388         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
37389         instead of <fenv_libc.h>.
37390         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37391         (__rintl): Call fegetround instead of __fegetround.
37393 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37395         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
37396         arrays.
37398 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37400         [BZ #17775]
37401         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
37402         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
37403         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
37405 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37407         * sysdeps/i386/tls-macros.h: Include <features.h>.
37408         (TLS_LE): Use non-PIC version for GCC >= 5.0.
37409         (TLS_IE): Likewise.
37410         (TLS_LD): Likewise.
37411         (TLS_GD): Likewise.
37412         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
37413         define for GCC >= 5.0.
37415 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
37417         * math/test-fenv.c (test_single_exception, set_single_exc,
37418         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
37419         feexcp_mask_test, feenable_test, fe_single_test): Add
37420         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
37421         case where they are not used.
37422         * math/libm-test.inc: Likewise.
37423         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
37424         unused in the absence of FP rounding/exception support.
37425         * stdio-common/tst-printf-round.c: Likewise.
37426         * stdlib/tst-strtod-round.c: Likewise.
37427         * stdlib/tst-strtod-underflow.c: Likewise.
37429 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
37431         [BZ #17723]
37432         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
37433         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
37434         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37435         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37436         libm_hidden_weak.
37437         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
37438         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37439         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
37440         libm_hidden_def.
37441         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37442         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37443         libm_hidden_weak.
37444         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
37445         Likewise.
37446         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
37447         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37448         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37449         libm_hidden_weak.
37450         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37451         libm_hidden_def.
37452         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37453         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
37454         (__feraiseexcept): Likewise.
37455         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37456         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37457         libm_hidden_weak.
37458         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37459         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37460         libm_hidden_def.
37461         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
37462         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
37463         Use libm_hidden_def.
37464         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
37465         libm_hidden_def.
37466         (feraiseexcept): Define as weak not strong alias.  Use
37467         libm_hidden_weak.
37468         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
37469         New inline function.  Factored out of ...
37470         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
37471         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
37472         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
37473         feraiseexcept.
37474         * math/w_acos.c (__acos): Likewise.
37475         * math/w_asin.c (__asin): Likewise.
37476         * math/w_ilogb.c (__ilogb): Likewise.
37477         * math/w_j0.c (y0): Likewise.
37478         * math/w_j1.c (y1): Likewise.
37479         * math/w_jn.c (yn): Likewise.
37480         * math/w_log.c (__log): Likewise.
37481         * math/w_log10.c (__log10): Likewise.
37482         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
37483         * sysdeps/aarch64/fpu/math_private.h
37484         (libc_feupdateenv_test_aarch64): Likewise.
37485         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37486         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
37487         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
37488         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37489         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37490         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37491         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
37492         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37493         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37494         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37496 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37498         [BZ #17732]
37499         * io/test-utime.c (main): Replace %ld with %jd and cast to
37500         intmax_t.
37501         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
37502         * nptl/tst-mutex5.c: Include <stdint.h>.
37503         (do_test): Replace %ld with %jd and cast to intmax_t.
37504         * posix/tst-regex.c (run_test): Likewise.
37505         (run_test_backwards): Likewise.
37506         * rt/tst-clock.c: Include <stdint.h>.
37507         (clock_test): Replace %ld with %jd and cast to intmax_t.
37508         * rt/tst-cpuclock1.c: Include <stdint.h>.
37509         (do_test): Replace %lu with %ju and cast to uintmax_t.
37510         * rt/tst-cpuclock2.c: Include <stdint.h>.
37511         (do_test): Replace %lu with %ju and cast to uintmax_t.
37512         * rt/tst-mqueue1.c: Include <stdint.h>.
37513         (check_attrs): Replace %ld with %jd and cast to intmax_t.
37514         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
37515         intmax_t.
37516         * rt/tst-mqueue4.c (do_test): Likewise.
37517         * rt/tst-timer4.c: Include <stdint.h>.
37518         (check_ts): Replace %ld with %jd and cast to intmax_t.
37519         (do_test): Likewise.
37520         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
37521         and cast to intmax_t.
37522         * sysdeps/pthread/tst-timer.c (main): Likewise.
37523         * time/clocktest.c (main): Likewise.
37524         * time/tst-posixtz.c (do_test): Likewise.
37525         * timezone/tst-timezone.c (main): Likewise.
37527 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37528             H.J. Lu  <hongjiu.lu@intel.com>
37530         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
37531         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37532         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
37533         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
37534         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
37535         version if bit_Fast_Unaligned_Load is set.
37536         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37537         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37538         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37539         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37540         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37541         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37542         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37543         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
37544         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
37545         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
37546         to 4.
37547         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
37548         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
37549         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
37550         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
37552 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
37554         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
37555         instead of #if to avoid a Wundef warning.
37556         * stdlib/tst-limits.c (do_test): Likewise.
37558         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
37559         parallel other exception macros.
37560         (fegetenv): Convert from macro to extern inline so that it applies
37561         retroactively to inline functions already seen by the compiler.
37562         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
37564         * posix/Makefile (before-compile): Use $(objpfx) for
37565         posix-conf-vars-def.h.
37567 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37569         * posix/getconf.c (main): Use size_t for type of I.
37570         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
37571         NSPEC.
37573         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
37574         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
37575         * posix/posix-envs.def: Likewise.
37576         * sysdeps/posix/sysconf.c: Likewise.
37577         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
37578         (specs): Remove array.
37579         * scripts/gen-posix-conf-vars.awk: Support generation of specs
37580         array.
37582         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
37583         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
37584         (__sysconf): Use CONF_IS_* macros.
37586         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
37587         ($(objpfx)posix-conf-vars-def.h): New target.
37588         * posix/posix-conf-vars.list: New file.
37589         * posix/posix-conf-vars.h: New file.
37590         * posix/confstr.c: Include posix-conf-vars.h.
37591         (confstr): Use CONF_IS_* macros.
37592         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
37593         CONF_IS_* macros.
37594         * scripts/gen-posix-conf-vars.awk: New file.
37596 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
37598         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
37599         fegetround): Add no-op macros to avoid linknamespace issues.
37601         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
37602         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
37604         * sysdeps/unix/sysv/linux/tile/sysdep.h
37605         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
37606         assembly-specific section to avoid a redefinition warning.
37608         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
37609         long before casting to pointer to avoid a cast warning.
37611 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
37613         * sysdeps/tile/tilegx/Implies: New file.
37615 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
37617         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
37619 2014-12-23  Florian Weimer  <fweimer@redhat.com>
37621         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
37623 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37625         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
37626         not define.
37627         * sysdeps/unix/sysv/linux/utimes.c: Do not include
37628         <kernel-features.h>.
37629         (__utimes) [__NR_utimes]: Make code unconditional.
37630         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
37631         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37632         (__ASSUME_UTIMES): Do not undefine.
37633         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37634         (__ASSUME_UTIMES): Likewise.
37635         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37636         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
37637         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
37638         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
37640 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37642         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
37644 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
37646         [BZ #17747]
37647         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
37648         alias to weak alias for j0l, y0l.
37649         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
37650         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
37652         [BZ #17746]
37653         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
37654         conversion.
37656 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37658         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
37659         to zero if not already defined.
37661 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37663         [BZ #17724]
37664         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
37665         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
37666         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
37667         (char *) casts added.
37668         * sysdeps/ieee754/k_standardf.c: New file.
37669         * sysdeps/ieee754/k_standardl.c: Likewise.
37670         * math/Makefile (libm-support): Remove k_standard.
37671         (libm-calls): Add k_standard.
37673 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37675         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37676         Optimize to avoid an unnecessary FPCR read.
37678 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37680         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
37681         Optimize to reduce FPCR/FPSR accesses.
37683 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37685         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
37686         Call libc_fetestexcept_aarch64.
37688 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37690         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
37691         Call libc_fesetround_aarch64.
37693 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37695         [BZ #17733]
37696         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
37697         (__bind): Do not define as weak alias.
37698         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
37699         define.
37700         (__getsockname): Do not define as weak alias.
37702 2014-12-22  Will Newton  <will.newton@linaro.org>
37704         * manual/install.texi: Document that we require bison 2.7
37705         or above.
37706         * INSTALL: Regenerate.
37707         * configure.ac: Use AC_CHECK_PROG_VER instead of
37708         AC_PATH_PROG when checking for bison and check for
37709         version 2.7 or above.
37710         * configure: Regenerate.
37712 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
37714         [BZ #17745]
37715         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
37716         * sysdeps/tile/ffsll.c (ffsll): To here.
37718         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
37720 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37722         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
37723         if not defined.
37724         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
37725         definition.
37726         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37727         hidden ___tls_get_addr.
37728         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37729         hidden __tls_get_addr.
37730         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
37731         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
37732         Likewise.
37734 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37736         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
37737         _dl_init call.
37739 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37741         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
37742         from "call _dl_init@PLT".
37743         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
37745 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
37747         * manual/search.texi: (Array Sort Function): Clarify stable sorting
37748         guarantees.
37750 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
37752         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
37754 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37756         [BZ #17744]
37757         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
37758         strnlen.
37760 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37762         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
37763         of multu on MIPSr6.
37764         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
37765         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
37766         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
37767         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
37768         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
37770 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37772         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
37773         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
37774         (PTR_SUBU): Use subu for mips32r6/mips64r6.
37775         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
37776         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
37777         mips32r6/mips64r6.
37778         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
37780 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
37782         * string/strncat.c (STRNCAT): Simplify implementation.
37784 2014-12-19  David S. Miller  <davem@davemloft.net>
37786         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
37787         access the quad as both a long double and as a series of 4 words.
37789         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
37790         link_map->l_info array access.
37792 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37794         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
37796         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
37797         * math/atest-exp2.c (TIMEOUT): Likewise.
37798         * math/atest-sincos.c (TIMEOUT): Likewise.
37800 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37802         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
37803         -Wno-error with -fno-builtin-lround.
37805 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37807         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
37808         Contains futex constants and functions moved over from ...
37809         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
37810         <lowlevellock-futex.h>.
37811         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37812         (lll_timedwait_tid): Add comments and parentheses around macro
37813         arguments.
37815 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37817         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
37818         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
37819         (__lll_private_flag): Remove.
37820         (lll_futex_wait): Likewise.
37821         (lll_futex_timed_wait): Likewise.
37822         (lll_futex_wake): Likewise.
37823         (lll_futex_requeue): Likewise.
37824         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37825         (__lll_timedwait_tid): Spell out argument names.
37826         (lll_timedwait_tid): Add comments and parentheses around macro
37827         arguments.
37828         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
37829         LLL_SHARED and LLL_PRIVATE usable from assembly code.
37831 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37833         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
37834         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37835         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37836         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
37837         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
37838         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
37839         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
37840         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
37841         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
37842         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
37843         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
37844         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
37845         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
37846         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
37847         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
37848         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
37849         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
37850         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
37851         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
37853 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37855         * sysdeps/x86_64/x32/Makefile: New file.
37857 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37859         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
37860         1L with (mp_limb_t) 1.
37862 2014-12-17  Roland McGrath  <roland@hack.frob.com>
37864         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
37865         * nptl/libc_pthread_init.c: ... here.
37866         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
37867         * nptl/register-atfork.c: ... here.
37869         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
37870         Use pthread_sigmask rather than INTERNAL_SYSCALL.
37871         Use assert_perror to check its return value.
37872         (__gai_create_helper_thread): Likewise.
37874         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
37876         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
37878 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
37880         [BZ #17725]
37881         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
37882         __profil_counter.
37883         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
37884         Likewise.
37885         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
37886         Likewise.
37887         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
37888         Likewise.
37889         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
37890         (profil_counter): Likewise.
37891         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
37892         (profil_counter): Likewise.
37893         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
37894         Likewise.
37895         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
37896         Likewise.
37897         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
37898         (profil_counter): Likewise.
37899         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
37900         Likewise.
37901         [!__profil_counter] (profil_counter): Define as weak alias of
37902         __profil_counter.
37903         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
37904         (profil_counter): Rename to __profil_counter.
37905         [!__profil_counter] (profil_counter): Define as weak alias of
37906         __profil_counter.
37907         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
37908         (profil_counter): Rename to __profil_counter.
37909         [!__profil_counter] (profil_counter): Define as weak alias of
37910         __profil_counter.
37911         * sysdeps/posix/profil.c: Update comment referring to
37912         profil_counter.
37913         (__profil): Use __profil_counter instead of profil_counter.
37914         * sysdeps/posix/sprofil.c (profil_counter): Rename to
37915         __profil_counter.  Use __profil_counter_ushort and
37916         __profil_counter_uint in definitions.
37917         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
37918         instead of profil_counter_uint and profil_counter_ushort.
37920         [BZ #17722]
37921         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
37922         define as weak alias of __inet_makeaddr.
37923         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
37924         as weak alias of __inet_addr.
37925         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
37926         as weak alias of __inet_pton.  Use libc_hidden_weak.
37927         * include/arpa/inet.h (__inet_pton): Declare.  Use
37928         libc_hidden_proto.
37929         (inet_makeaddr): Don't use libc_hidden_proto.
37930         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
37931         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
37932         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
37933         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
37934         Remove variable.
37935         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37936         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37938 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
37940         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
37942 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37944         * stdio-common/bug-vfprintf-nargs.c (do_test):
37945         Cast value to intptr_t to avoid format warning
37946         for usage with PRIdPTR printing macro.
37948 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37950         * libio/tst-widetext.c (do_test):
37951         Use format type %td instead of %Zd for ptrdiff_t
37952         in order to avoid format warning.
37954 2014-12-17  Andreas Schwab  <schwab@suse.de>
37956         * nscd/mem.c (gc): Add size_t cast to match printf format.
37958 2014-12-16  Roland McGrath  <roland@hack.frob.com>
37960         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
37961         (init): Apply PTR_MANGLE to pointers before storing them.
37962         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
37963         before using them.
37965 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
37967         [BZ #17719]
37968         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
37969         define as weak alias of __memrchr.
37970         (__memrchr): Do not define as strong alias of memrchr.
37971         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
37972         Remove variable.
37973         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37974         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37975         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37977         [BZ #17717]
37978         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
37979         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
37980         (if_indextoname): Rename to __if_indextoname and define as weak
37981         alias of __if_indextoname.  Use libc_hidden_weak.
37982         (if_freenameindex): Rename to __if_freenameindex and define as
37983         weak alias of __if_freenameindex.
37984         (if_nameindex): Rename to __if_nameindex and define as weak alias
37985         of __if_nameindex.
37986         * sysdeps/mach/hurd/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.
37991         (if_nameindex): Rename to __if_nameindex and define as weak alias
37992         of __if_nameindex.
37993         (if_indextoname): Rename to __if_indextoname and define as weak
37994         alias of __if_indextoname.  Use libc_hidden_weak.
37995         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
37996         __if_nametoindex and define as weak alias of __if_nametoindex.
37997         Use libc_hidden_weak.
37998         (if_freenameindex): Rename to __if_freenameindex and define as
37999         weak alias of __if_freenameindex.  Use libc_hidden_weak.
38000         (if_nameindex_netlink): Use __if_freenameindex instead of
38001         if_freenameindex.
38002         (if_nameindex): Rename to __if_nameindex and define as weak alias
38003         of __if_nameindex.  Use libc_hidden_weak.
38004         (if_indextoname): Rename to __if_indextoname and define as weak
38005         alias of __if_indextoname.  Use libc_hidden_weak.
38006         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
38007         libc_hidden_proto.
38008         [!_ISOMAC] (__if_freenameindex): Likewise.
38009         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38010         if_nametoindex.
38011         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38012         variable.
38013         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38014         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38015         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38016         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38017         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38018         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38019         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38021         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38022         Remove variable.
38023         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38024         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38026 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38028         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38029         subscript above bounds'
38031         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38032         bounds.
38034 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
38036         * libio/tst-fopenloc.c: Use test-skeleton.c.
38038         * stdlib/tst-bsearch.c: Use test-skeleton.c.
38039         (entry): Rename to ITEM.
38040         (do_test, comp): Adjust.
38042         * stdio-common/tst-fseek.c: Use test-skeleton.c.
38044 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38046         * string/tester.c: Include <libc-internal.h>.
38047         (test_memset): Ignore -Wmemset-transposed-args.
38049 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38051         * misc/tst-mntent2.c (do_test): Fix warning.
38053 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38055         * elf/tst-unique4lib.cc(a): Mark as used.
38057 2014-12-16  Florian Weimer  <fweimer@redhat.com>
38059         [BZ #17630]
38060         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
38061         names.
38063 2014-12-16  Allan McRae  <allan@archlinux.org>
38065         * stdio-common/Makefile (tests): Re-add bug26.
38067 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
38069         [BZ #17657]
38070         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
38071         static array.
38073 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
38075         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
38076         (__lll_lock_wait): Likewise.
38077         (__lll_timedlock_wait): Likewise.
38078         (__lll_timedwait_tid): Likewise.
38079         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
38080         (__lll_robust_timedlock_wait): Likewise.
38081         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
38082         (lll_cond_trylock): Likewise.
38083         (__lll_lock): Likewise.
38084         (__lll_robust_lock): Likewise.
38085         (__lll_cond_lock): Likewise.
38086         (lll_robust_cond_lock): Likewise.
38087         (__lll_timedlock): Likewise.
38088         (__lll_robust_timedlock): Likewise.
38089         (__lll_unlock): Likewise.
38090         (__lll_robust_unlock): Likewise.
38091         (lll_wait_tid): Likewise.
38092         (lll_timedwait_tid): Likewise.
38094 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38096         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
38098 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38100         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
38102 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38104         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
38105         * stdio-common/tst-sprintf.c: Likewise.
38107 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38109         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
38111 2014-12-15  Jeff Law  <law@redhat.com>
38113         [BZ #16617]
38114         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
38115         on the heap.  (CVE-2012-3406)
38116         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
38117         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
38118         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
38120 2014-12-15  Will Newton  <will.newton@linaro.org>
38122         * manual/install.texi: Bump required version of texinfo
38123         to 4.7 from 4.5.
38124         * INSTALL: Regenerated.
38125         * configure.ac: Check for makeinfo version 4.7 and above.
38126         * configure: Regenerated.
38128 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38130         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
38131         PREFIX, string constant to insert between directory and name.
38132         * sysdeps/posix/shm_open.c: Update caller.
38133         * sysdeps/posix/shm_unlink.c: Likewise.
38134         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
38135         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
38136         (SEM_SHM_PREFIX): New macro.
38137         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
38138         [$(have-thread-library) = no].
38139         * nptl/Makefile (libpthread-routines): Add shm-directory.
38140         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
38141         * sysdeps/nptl/shm-directory.h: New file.
38142         * sysdeps/posix/shm-directory.c
38143         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
38144         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
38145         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
38146         INTERNAL_SYSCALL.
38147         (__where_is_shmfs): Function removed.
38148         (mountpoint, defaultmount, defaultdir, __namedsem_once):
38149         Variables removed.
38150         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
38151         Use SHM_GET_NAME.
38152         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
38154         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
38155         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
38156         unconditional for use inside libpthread.
38157         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
38159 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38161         * nptl/pthread_getaffinity.c: New file.
38162         * nptl/pthread_setaffinity.c: New file.
38163         * nptl/pthread_getname.c: New file.
38164         * nptl/pthread_setname.c: New file.
38166         * nptl/pthread_create.c (START_THREAD_DEFN)
38167         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
38169 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38170             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38172         * resolv/res_send.c (send_vc): Disable warning resplen may
38173         be used uninitialized.
38175 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38177         * nptl/tst-mutex6.c
38178         (ATTR_NULL): New define checks ATTR against NULL.
38179         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
38180         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
38182 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
38184         [BZ #17581]
38185         * malloc/hooks.c
38186         (mem2mem_check): Revert my previous change.
38187         (malloc_check_get_size): Revert my previous change.
38188         (mem2chunk_check): Revert my previous change.
38190 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38192         * sysdeps/posix/shm-directory.c: New file.
38193         * sysdeps/posix/shm-directory.h: New file.
38194         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
38195         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
38196         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
38197         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
38198         Transmute EPERM to EACCES.
38199         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
38200         from ...
38201         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
38202         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
38204 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38206         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
38207         pointer and cast to uintptr_t.
38208         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
38209         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
38210         Add cast to avoid warning.
38211         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
38213 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38215         * nptl/semaphore.h: Move to ...
38216         * sysdeps/pthread/semaphore.h: ... here.
38217         * Makefile (installed-headers): Change nptl/semaphore.h to
38218         sysdeps/pthread/semaphore.h.
38220 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38222         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
38223         generated error format strings.
38225         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
38226         -Wformat-extra-args warnings for scanf formats.
38227         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
38228         test of zero-length format (duh).
38229         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
38230         corner-case scanf format test.
38231         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
38232         generated fprintf format string.
38233         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
38234         corner-case sprintf format tests.
38235         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
38236         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
38237         -Wformat-extra-args warnings throughout.
38238         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
38239         (CFLAGS-scanf4.c): Likewise.
38240         (CFLAGS-scanf7.c): Likewise.
38241         (CFLAGS-tst-sprintf.c): Likewise.
38242         (CFLAGS-tst-printf.c): Likewise.
38243         (CFLAGS-tst-printfsz.c): Likewise.
38245 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38247         * include/cpio.h: New file.
38248         * include/fmtmsg.h: Likewise.
38250         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
38251         corresponding format argument to size_t.
38252         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
38253         arguments.
38254         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
38255         corresponding format argument to size_t.
38256         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
38257         arguments.
38258         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
38259         corresponding format argument to size_t.
38260         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
38261         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
38262         (CFLAGS-tst-mbswcs2.c): Likewise.
38263         (CFLAGS-tst-mbswcs3.c): Likewise.
38264         (CFLAGS-tst-mbswcs4.c): Likewise.
38265         (CFLAGS-tst-mbswcs5.c): Likewise.
38266         (CFLAGS-tst-trans.c): Likewise.
38268 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38270         * posix/regexbug1.c (main): Use "%s" format with regerror results,
38271         rather than assuming they won't contain any '%'s.
38273 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
38275         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
38276         inhibit_loop_to_libcall to avoid recursive calls.
38277         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
38278         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
38280 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38282         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
38283         prototype.
38285 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38287         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
38288         integer value instead of boolean.
38290 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38292         * malloc/malloc.c: Fix powerof2 check.
38294 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38296         * locale/programs/locfile.h (maybe_swap_uint32):
38297         Remove inline and add unused attribute.
38299 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38301         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38302         Truncating assembler expression to a .long expression.
38304 2014-12-11  Andreas Schwab  <schwab@suse.de>
38306         * elf/rtld.c (struct map_args): Constify str member.
38307         (do_preload): Constify fname argument.
38309 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38311         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
38312         constants definition.
38314 2014-12-11  Andreas Schwab  <schwab@suse.de>
38316         [BZ #16657]
38317         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
38318         FORCE_ELISION instead of DO_ELISION.
38319         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
38320         Remove.
38321         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
38322         Likewise.
38324         * iconvdata/gconv-modules: Remove duplicate entry.
38326 2014-12-11  Will Newton  <will.newton@linaro.org>
38328         Merge gettext 0.19.3 into intl/.
38330         This involves a number of cosmetic changes to comments
38331         and ANSI function definitions and prototypes throughout
38332         all the files. The gettext copyright header is used but
38333         with the date ranges taken from the glibc copy.
38335         * NEWS: Add gettext merge to 2.21.
38336         * intl/bindtextdom.c: Switch to gettext copyright.
38337         Use ANSI definitions and prototypes.
38338         Use gl_* locking primitives rather than __libc_* ones.
38339         Use __builtin_expect rather than __glibc_likely/unlikely.
38340         * intl/dcgettext.c: Switch to gettext copyright.
38341         Use ANSI definitions and prototypes.
38342         * intl/dcigettext.c: Switch to gettext copyright.
38343         Use ANSI definitions and prototypes.
38344         (INTDIV0_RAISES_SIGFPE): New define.
38345         Use gl_* locking primitives rather than __libc_* ones.
38346         Include eval-plural.h instead of plural-eval.c.
38347         Use __builtin_expect rather than __glibc_likely/unlikely.
38348         * intl/dcngettext.c: Switch to gettext copyright.
38349         Use ANSI definitions and prototypes.
38350         * intl/dgettext.c: Likewise.
38351         * intl/dngettext.c: Likewise.
38352         * intl/plural-eval.c: Renamed to...
38353         * intl/eval-plural.h: ...this.
38354         * intl/explodename.c: Switch to gettext copyright.
38355         Use ANSI definitions and prototypes.
38356         (_nl_explode_name): Use strchr instead of __rawmemchr.
38357         * intl/finddomain.c: Switch to gettext copyright.
38358         Use ANSI definitions and prototypes.
38359         Use gl_* locking primitives rather than __libc_* ones.
38360         (_nl_find_domain): Use malloc rather than alloca for
38361         allocation of temporary locale name.
38362         * intl/gettext.c: Switch to gettext copyright.
38363         Use ANSI definitions and prototypes.
38364         * intl/gettextP.h: Switch to gettext copyright.
38365         Use ANSI definitions and prototypes.
38366         Use gl_* locking primitives rather than __libc_* ones.
38367         * intl/gmo.h: Switch to gettext copyright.
38368         (struct sysdep_string): Move struct segment_pair outside of
38369         struct definition.
38370         * intl/hash-string.c: Use ANSI definitions and prototypes.
38371         * intl/hash-string.h: Switch to gettext copyright.
38372         Use ANSI definitions and prototypes.
38373         * intl/l10nflist.c: Switch to gettext copyright.
38374         Use ANSI definitions and prototypes.
38375         (_nl_normalize_codeset): Avoid integer overflow.
38376         * intl/loadinfo.h: Switch to gettext copyright.
38377         Use ANSI definitions and prototypes.
38378         (LIBINTL_DLL_EXPORTED): New define.
38379         (PATH_SEPARATOR): New define.
38380         * intl/loadmsgcat.c: Switch to gettext copyright.
38381         * intl/localealias.c: Switch to gettext copyright.
38382         Use ANSI definitions and prototypes.
38383         (_nl_expand_alias): Use PATH_SEPARATOR.
38384         * intl/ngettext.c: Switch to gettext copyright.
38385         Use ANSI definitions and prototypes.
38386         * intl/plural-exp.c: Likewise.
38387         * intl/plural-exp.h: Switch to gettext copyright.
38388         Use ANSI definitions and prototypes.
38389         (struct expression): Move definition of enum operator outside
38390         of struct definition.
38391         * intl/plural.c: Regenerate.
38392         * intl/plural.y: Switch to gettext copyright.
38393         Use ANSI definitions and prototypes.
38394         Port to bison 3.0.
38395         * intl/textdomain.c: Switch to gettext copyright.
38396         Use ANSI definitions and prototypes.
38397         Use gl_* locking primitives rather than __libc_* ones.
38399 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
38401         * debug/warning-nop.c: Add used atrribute.
38403 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38405         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
38407         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
38408         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
38409         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
38411 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38412             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38414         [BZ #17634]
38415         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
38416         Undefine after defining function.  Define as weak alias of
38417         __wcschr.  Use libc_hidden_weak.
38418         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
38419         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
38420         (libc_hidden_def): Also define __GI___wcschr alias.
38421         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
38422         __wcschr and define as weak alias of __wcschr.
38423         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
38424         __wcschr.
38425         [!WCSCHR] (DEFAULT_WCSCHR): Define.
38426         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
38427         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
38428         libc_hidden_weak.  Do not use libc_hidden_def.
38429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
38430         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
38431         __GI___wcschr alias.
38432         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
38433         [IS_IN (libc)] (wcschr): Define as macro expanding to
38434         __redirect_wcschr.
38435         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
38436         [IS_IN (libc)] (__wcschr_power6): Likewise.
38437         [IS_IN (libc)] (__wcschr_power7): Likewise.
38438         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
38439         instead of wcschr.
38440         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
38441         __libc_wcschr.
38442         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
38443         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
38444         __wcschr and define as weak alias of __wcschr.  Use
38445         libc_hidden_builtin_def.
38446         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
38447         as weak alias of __wcschr.  Use libc_hidden_weak.
38448         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
38449         wcschr.
38450         * time/era.c (_nl_init_era_entries): Likewise.
38451         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
38452         variable.
38453         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38454         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38456 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38458         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
38459         format for long int variable.
38461 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
38463         [BZ #10672]
38464         * manual/search.texi: (Array Sort Function): Remove claim how to make
38465         qsort stable.
38467 2014-12-10  Andreas Schwab  <schwab@suse.de>
38469         [BZ #12847]
38470         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
38471         user-controlled locks.
38473 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
38475         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
38476         register.
38478 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38480         * configure.ac (--disable-werror): New configure option.
38481         (enable_werror): New AC_SUBST.
38482         * configure: Regenerated.
38483         * config.make.in (enable-werror): New variable.
38484         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
38485         -Wno-error=undef.
38486         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
38487         * manual/install.texi (Configuring and compiling): Document
38488         --disable-werror.
38489         * INSTALL: Regenerated.
38490         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
38491         (CFLAGS-tst-chk2.c): Likewise.
38492         (CFLAGS-tst-chk3.c): Likewise.
38493         (CFLAGS-tst-chk4.cc): Likewise.
38494         (CFLAGS-tst-chk5.cc): Likewise.
38495         (CFLAGS-tst-chk6.cc): Likewise.
38496         (CFLAGS-tst-lfschk1.c): Likewise.
38497         (CFLAGS-tst-lfschk2.c): Likewise.
38498         (CFLAGS-tst-lfschk3.c): Likewise.
38499         (CFLAGS-tst-lfschk4.cc): Likewise.
38500         (CFLAGS-tst-lfschk5.cc): Likewise.
38501         (CFLAGS-tst-lfschk6.cc): Likewise.
38503         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
38504         (main): Disable -Wdeprecated-declarations around calls to
38505         register_printf_function.
38507         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
38508         (do_test): Disable -Wdiv-by-zero around some calls to
38509         fwrite_unlocked and fread_unlocked.
38511         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
38512         (DIAG_POP_NEEDS_COMMENT): Likewise.
38513         (_DIAG_STR1): Likewise.
38514         (_DIAG_STR): Likewise.
38515         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
38516         * stdio-common/bug21.c: Include <libc-internal.h>.
38517         (do_test): Disable -Wformat around call to sscanf.
38518         * stdio-common/scanf14.c: Include <libc-internal.h>.
38519         (main): Disable -Wformat around some calls to scanf functions.
38521 2014-12-09  Torvald Riegel  <triegel@redhat.com>
38523         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
38525 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38527         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
38528         stack variable alignment.
38530 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
38532         [BZ #17682]
38533         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
38534         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
38535         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
38536         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
38537         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
38538         __getrlimit instead of getrlimit.
38539         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
38540         __gettimeofday instead of gettimeofday.
38541         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
38542         Likewise.
38543         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
38544         Likewise.
38545         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38546         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
38547         Remove variable.
38548         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38549         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38551 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38553         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
38554         for wide-character tests.
38556 2014-12-04  Roland McGrath  <roland@hack.frob.com>
38558         * io/openat64.c: #include <libc-internal.h>
38559         (__openat64): Prototypify.  Use ignore_value on MODE.
38560         * io/openat.c: Likewise.
38561         * misc/reboot.c: #include <libc-internal.h>
38562         (reboot): Prototypify.  Use ignore_value on HOWTO.
38563         * misc/ptrace.c: #include <libc-internal.h>
38564         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
38566 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
38568         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
38569         XPG4, UNIX98 and XOPEN2K.
38570         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
38571         Remove variable.
38572         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38574 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38576         * libio/fileops.c: Use ISO C style for function definitions.
38577         * libio/iofopen.c: Likewise.
38578         * libio/wfileops.c: Likewise.
38580         [BZ #17653]
38581         * libio/fileops.c (_IO_new_file_underflow): Unset cached
38582         offset on EOF.
38583         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
38584         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
38585         (fgets_func): Function pointer to fgets and fgetws.
38586         (do_ftell_test): Add test to verify ftell value after read
38587         EOF.
38588         (do_test): Set fgets_func.
38590         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
38591         O_TRUNC flag for w and w+ modes.
38592         (do_rewind_test): Likewise.
38593         (do_ftell_test): Likewise.
38594         (do_write_test): Likewise.
38596         [BZ #17647]
38597         * libio/fileops.c (do_ftell): Seek only when there are
38598         unflushed writes.
38599         * libio/wfileops.c (do_ftell_wide): Likewise.
38600         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
38601         test case.
38602         (do_one_test): Call it.
38604 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
38606         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
38607         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
38608         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
38609         Remove variable.
38610         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38611         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38612         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38614 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38616         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
38617         Remove variable.
38618         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38620         [BZ #17668]
38621         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
38622         as weak alias of __getifaddrs.  Use libc_hidden_weak.
38623         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38624         __freeifaddrs.  Use libc_hidden_weak.
38625         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
38626         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
38627         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38628         __freeifaddrs.  Use libc_hidden_weak.
38629         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
38630         __getifaddrs and define as weak alias of __getifaddrs.  Use
38631         libc_hidden_weak.
38632         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38633         __freeifaddrs.  Use libc_hidden_weak.
38634         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
38635         Remove variable.
38636         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38637         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38639 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
38641         [BZ #17601]
38642         * sysdeps/mips/start.S (__start): Use indirect jump to call
38643         __libc_start_main.
38645 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38647         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
38649         * nptl/tst-mutex1.c: Include <stdbool.h>.
38650         [!ATTR] (ATTR_NULL): New macro.
38651         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
38652         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
38653         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
38655         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
38656         to char *.
38658         [BZ #17665]
38659         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
38660         Change conditional to [__USE_MISC].
38662         [BZ #17664]
38663         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
38664         fgets_unlocked.
38665         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
38666         __fgets_unlocked.
38667         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
38668         fgets_unlocked.
38669         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
38670         Remove variable.
38671         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38672         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38673         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38674         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38675         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38676         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38677         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38678         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38679         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38681         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
38683 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38685         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38686         Remove strpbrk objects.
38687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38688         (__libc_ifunc_impl_list): Remove strpbrk implementation.
38689         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
38690         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
38691         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
38692         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
38694         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38695         Remove strcspn objects.
38696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38697         (__libc_ifunc_impl_list): Remove strcspn implementation.
38698         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
38699         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
38700         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
38701         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
38703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38704         Remove strspn objetcs.
38705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38706         (__libc_ifunc_impl_list): Remove strspn implementation.
38707         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
38708         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38709         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
38710         * sysdeps/powerpc/powerpc64/strspn.S: New file.
38712 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
38714         [BZ #17581]
38715         * malloc/hooks.c
38716         (mem2mem_check): Add a terminator to the chain of checking blocks.
38717         (malloc_check_get_size): Use it here.
38718         (mem2chunk_check): Ditto.
38720 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38722         * sysdeps/powerpc/powerpc64/strtok.S: New file.
38723         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
38725 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
38727         * bits/ioctl-types.h: Indent preprocessor directives correctly.
38729         * nptl/nptl-init.c: Include libc-internal.h.
38730         (__pthread_initialize_minimal_internal): Use ROUND_UP.
38732         * elf/ldconfig.c (search_dir): Expand comment.
38734 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
38736         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
38737         variable.
38738         (linknamespace-symlist-stdlibs-tests): Likewise.
38739         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
38740         instead of $(objpfx)symlist-stdlibs.
38741         (linknamespace-libs-isoc): New variable.
38742         (linknamespace-libs): Use $(linknamespace-libs-isoc).
38743         (linknamespace-libs-ISO): New variable.
38744         (linknamespace-libs-ISO99): Likewise.
38745         (linknamespace-libs-ISO11): Likewise.
38746         (linknamespace-libs-XPG3): Likewise.
38747         (linknamespace-libs-XPG4): Likewise.
38748         (linknamespace-libs-POSIX): Likewise.
38749         (linknamespace-libs-UNIX98): Likewise.
38750         (linknamespace-libs-XOPEN2K): Likewise.
38751         (linknamespace-libs-POSIX2008): Likewise.
38752         (linknamespace-libs-XOPEN2K8): Likewise.
38753         ($(objpfx)symlist-stdlibs): Replace by
38754         $(linknamespace-symlist-stdlibs-tests).  Use
38755         $(linknamespace-libs-$*) as set of libraries.
38756         ($(linknamespace-header-tests)): Update dependencies.  Use
38757         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
38758         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
38759         * conform/linknamespace.pl: Remove comment about considering
38760         definitions of symbols from irrelevant libraries.
38762 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
38764         [BZ #13862]
38765         * elf/dl-tls.c: Include <atomic.h>.
38766         (oom): Remove #ifdef SHARED/#endif.
38767         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
38768         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
38769         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
38770         big enough.
38771         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
38772         * nptl/Makefile (tests): Add tst-stack4.
38773         (modules-names): Add tst-stack4mod.
38774         ($(objpfx)tst-stack4): New.
38775         (tst-stack4mod.sos): Likewise.
38776         ($(objpfx)tst-stack4.out): Likewise.
38777         ($(tst-stack4mod.sos)): Likewise.
38778         (clean): Likewise.
38779         * nptl/tst-stack4.c: New file.
38780         * nptl/tst-stack4mod.c: Likewise.
38782 2014-11-27  J. Brown  <jb999@gmx.de>
38784         * sysdeps/x86/bits/string.h: Add recent CPUs.
38786 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38788         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
38789         sigblock.
38791         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
38792         feof.
38794         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
38795         variable.
38797 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
38799         * nscd/connections.c: Include libc-internal.h because of macro
38800         usage ignore_value.
38802 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38804         * string/bits/string3.h (__warn_memset_zero_len): Don't
38805         declare for gcc newer than 5.0.
38806         (memset): Don't test for zero-length __LEN for gcc newer than
38807         5.0.
38809 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38811         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
38812         size_t for %zu format.
38814         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
38815         difference, not %ju.
38817 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38819         * include/libc-internal.h (ignore_value): New macro.
38820         * nscd/connections.c (restart): Wrap calls to setuid and setgid
38821         with ignore_value.
38823         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
38824         definition.
38826         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
38827         pthread_cleanup_push to void *.
38829         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
38830         Undefine.
38832         [BZ #16619]
38833         [BZ #16740]
38834         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
38835         instead of 1L << 52.
38837         * libio/bug-rewind.c (do_test): Check fwscanf return values.
38838         * libio/bug-rewind2.c (do_test): Likewise.
38840         * debug/test-stpcpy_chk-ifunc.c: Remove file.
38841         * debug/test-strcpy_chk-ifunc.c: Likewise.
38842         * wcsmbs/test-wcschr-ifunc.c: Likewise.
38843         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38844         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38845         * wcsmbs/test-wcslen-ifunc.c: Likewise.
38846         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38847         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38848         * Rules [$(multi-arch) = no] (tests): Do not filter out
38849         $(tests-ifunc).
38850         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
38851         * debug/Makefile (tests-ifunc): Remove variable.
38852         (tests): Do not add $(tests-ifunc).
38853         * wcsmbs/Makefile (tests-ifunc): Remove variable.
38854         (tests): Do not add $(tests-ifunc).
38855         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
38856         [TEST_IFUNC]: Remove conditionals.
38857         * string/test-string.h (TEST_IFUNC): Remove macro.
38858         [TEST_IFUNC]: Remove conditionals.
38860         * string/test-strchr.c [!WIDE] (L): New macro.
38861         [WIDE] (L): Likewise.
38862         (check1): Use CHAR instead of char.  Use L on string and character
38863         constants.
38865 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
38867         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
38868         tests.
38869         * sysdeps/powerpc/bits/atomic.h
38870         (__arch_atomic_exchange_and_add_32_acq): Add definition.
38871         (__arch_atomic_exchange_and_add_32_rel): Likewise.
38872         (atomic_exchange_and_add_acq): Likewise.
38873         (atomic_exchange_and_add_rel): Likewise.
38874         * sysdeps/powerpc/powerpc32/bits/atomic.h
38875         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38876         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38877         * sysdeps/powerpc/powerpc64/bits/atomic.h
38878         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38879         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38881 2014-11-26  Torvald Riegel  <triegel@redhat.com>
38883         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
38884         Change synchronization of __sched_fifo_min_prio and
38885         __sched_fifo_max_prio.
38886         * nptl/pthread_mutexattr_getprioceiling.c
38887         (pthread_mutexattr_getprioceiling): Likewise.
38888         * nptl/pthread_mutexattr_setprioceiling.c
38889         (pthread_mutexattr_setprioceiling): Likewise.
38890         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
38891         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
38892         Likewise.
38894 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38896         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
38897         void.
38899 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38901         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
38902         third argument const.
38904 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
38906         fnmatch: work around GCC compiler warning bug with uninit var
38907         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
38908         This works around a bug with x86-64 GCC 4.9.2 and earlier
38909         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
38910         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
38911         used uninitialized in this function [-Wmaybe-uninitialized]".
38913 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38915         * posix/bug-regex31.c (main): Return RES not 0.
38917 2014-11-25  Anton Blanchard <anton@samba.org>
38919         * sysdeps/powerpc/bits/atomic.h
38920         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
38922 2014-11-24  Sterling Augustine  <saugustine@google.com>
38924         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
38926 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
38928         [BZ #17608]
38929         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
38931 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
38933         [BZ #17633]
38934         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
38935         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
38936         variable.
38937         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38938         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38940 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38942         * string/strncpy.c (strncpy): Improve performance by using memset.
38944 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38946         * string/strcpy.c (strcpy):
38947         Improve performance by using strlen and memcpy.
38949 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
38951         * string/strcoll_l.c (get_next_seq): __always_inline.
38952         * string/strcoll_l.c (do_compare): __always_inline.
38954 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38956         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
38957         defined.
38958         * include/mqueue.h: Likewise.
38959         * include/stdlib.h: Likewise.
38961         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
38962         (get_null_defines): Adjust.
38963         * sunrpc/Makefile: Adjust comment.
38964         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
38965         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
38966         (CFLAGS-interp.c): Likewise.
38967         (CFLAGS-ldconfig.c): Likewise.
38968         (CPPFLAGS-.os): Likewise.
38969         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38970         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38971         * extra-modules.mk (extra-modules.mk): Likewise.
38972         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
38973         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
38974         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
38975         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
38976         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
38977         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
38978         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
38979         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
38980         * iconvdata/Makefile (CPPFLAGS): Likewise.
38981         (cpp-srcs-left): Add libof for all iconvdata routines.
38982         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
38983         * include/assert.h: Likewise.
38984         * include/ctype.h: Likewise.
38985         * include/errno.h: Likewise.
38986         * include/libc-symbols.h: Likewise.
38987         * include/math.h: Likewise.
38988         * include/netdb.h: Likewise.
38989         * include/resolv.h: Likewise.
38990         * include/stdio.h: Likewise.
38991         * include/stdlib.h: Likewise.
38992         * include/string.h: Likewise.
38993         * include/sys/stat.h: Likewise.
38994         * include/wctype.h: Likewise.
38995         * intl/l10nflist.c: Likewise.
38996         * libidn/idn-stub.c: Likewise.
38997         * libio/libioP.h: Likewise.
38998         * nptl/libc_multiple_threads.c: Likewise.
38999         * nptl/pthreadP.h: Likewise.
39000         * posix/regex_internal.h: Likewise.
39001         * resolv/res_hconf.c: Likewise.
39002         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
39003         * sysdeps/arm/memmove.S: Likewise.
39004         * sysdeps/arm/sysdep.h: Likewise.
39005         * sysdeps/generic/_itoa.h: Likewise.
39006         * sysdeps/generic/symbol-hacks.h: Likewise.
39007         * sysdeps/gnu/errlist.awk: Likewise.
39008         * sysdeps/gnu/errlist.c: Likewise.
39009         * sysdeps/i386/i586/memcpy.S: Likewise.
39010         * sysdeps/i386/i586/memset.S: Likewise.
39011         * sysdeps/i386/i686/memcpy.S: Likewise.
39012         * sysdeps/i386/i686/memmove.S: Likewise.
39013         * sysdeps/i386/i686/mempcpy.S: Likewise.
39014         * sysdeps/i386/i686/memset.S: Likewise.
39015         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39016         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39017         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39018         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39019         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39020         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39021         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39022         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39023         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39024         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39025         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39026         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39027         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39028         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39029         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39030         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39031         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39032         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39033         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39034         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39035         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39036         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39037         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39038         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39039         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39040         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39041         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39042         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39043         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39044         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39045         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39046         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39047         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39048         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39049         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39050         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39051         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39052         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39053         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39054         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39055         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39056         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39057         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39058         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39059         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39060         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39061         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
39062         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
39063         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39064         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39065         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39066         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
39067         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
39068         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39069         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39070         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
39071         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39072         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
39073         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
39074         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39075         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39076         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39077         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
39078         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39079         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39080         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
39081         * sysdeps/posix/closedir.c: Likewise.
39082         * sysdeps/posix/opendir.c: Likewise.
39083         * sysdeps/posix/readdir.c: Likewise.
39084         * sysdeps/posix/rewinddir.c: Likewise.
39085         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
39086         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
39087         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39088         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39089         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39090         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
39091         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
39092         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
39093         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
39094         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
39095         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
39096         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
39097         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
39098         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
39099         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
39100         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
39101         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
39102         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
39103         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
39104         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
39105         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
39106         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
39107         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
39108         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
39109         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
39110         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
39111         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
39112         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
39113         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
39114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
39115         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
39116         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
39117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
39118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
39119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
39120         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
39121         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39122         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39123         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
39124         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
39125         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
39126         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
39127         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
39128         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
39129         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
39130         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
39131         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
39132         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
39133         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
39134         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
39135         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
39136         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
39137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
39138         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
39139         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
39140         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
39141         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
39142         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
39143         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
39144         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
39145         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
39146         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
39147         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
39148         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
39149         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
39150         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
39151         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
39152         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
39153         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
39154         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
39155         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
39156         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
39157         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
39158         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
39159         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
39160         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
39161         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
39162         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
39163         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39164         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
39165         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
39166         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39167         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
39168         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
39169         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39170         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
39171         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
39172         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39173         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39174         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39175         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
39176         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
39177         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
39178         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39179         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39180         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
39181         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39182         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39183         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
39184         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
39185         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39186         * sysdeps/unix/alpha/sysdep.S: Likewise.
39187         * sysdeps/unix/alpha/sysdep.h: Likewise.
39188         * sysdeps/unix/make-syscalls.sh: Likewise.
39189         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39190         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39191         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39192         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
39193         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39194         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
39195         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
39196         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39197         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39198         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
39199         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39200         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39201         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39202         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39203         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39204         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39205         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39206         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39207         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39208         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39209         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
39210         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39211         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39212         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39213         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39214         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39215         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39218         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
39219         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39221         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39222         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39223         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39224         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39225         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39226         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39227         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39228         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39229         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39230         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39231         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39232         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39233         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39234         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39235         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39236         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39237         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39238         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39239         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39240         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39241         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39242         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39243         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
39244         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39245         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39247         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
39248         * sysdeps/x86_64/memcpy.S: Likewise.
39249         * sysdeps/x86_64/memmove.c: Likewise.
39250         * sysdeps/x86_64/memset.S: Likewise.
39251         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
39252         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39253         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39254         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
39255         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
39256         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39257         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39258         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39259         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39260         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39261         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39262         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39263         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
39264         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39265         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39266         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
39267         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39268         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39269         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39270         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39271         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
39272         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39273         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39274         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39275         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39276         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39277         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39278         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
39279         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39280         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39281         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
39282         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39283         * sysdeps/x86_64/strcmp.S: Likewise.
39285         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
39287         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
39288         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
39289         * elf/rtld-Rules: Likewise.
39290         * elf/setup-vdso.h: Likewise.
39291         * include/assert.h: Likewise.
39292         * include/bits/stdlib-float.h: Likewise.
39293         * include/errno.h: Likewise.
39294         * include/sys/stat.h: Likewise.
39295         * include/unistd.h: Likewise.
39296         * sysdeps/aarch64/setjmp.S: Likewise.
39297         * sysdeps/alpha/setjmp.S: Likewise.
39298         * sysdeps/arm/__longjmp.S: Likewise.
39299         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
39300         * sysdeps/arm/setjmp.S: Likewise.
39301         * sysdeps/arm/sysdep.h: Likewise.
39302         * sysdeps/generic/_itoa.h: Likewise.
39303         * sysdeps/generic/dl-sysdep.h: Likewise.
39304         * sysdeps/generic/ldsodefs.h: Likewise.
39305         * sysdeps/i386/dl-tls.h: Likewise.
39306         * sysdeps/i386/setjmp.S: Likewise.
39307         * sysdeps/m68k/setjmp.c: Likewise.
39308         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
39309         * sysdeps/mach/hurd/opendir.c: Likewise.
39310         * sysdeps/posix/getcwd.c: Likewise.
39311         * sysdeps/posix/opendir.c: Likewise.
39312         * sysdeps/posix/profil.c: Likewise.
39313         * sysdeps/powerpc/dl-procinfo.h: Likewise.
39314         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39315         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39316         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39317         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39318         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
39319         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39320         * sysdeps/s390/dl-tls.h: Likewise.
39321         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39322         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39323         * sysdeps/sh/sh3/setjmp.S: Likewise.
39324         * sysdeps/sh/sh4/setjmp.S: Likewise.
39325         * sysdeps/unix/alpha/sysdep.h: Likewise.
39326         * sysdeps/unix/arm/sysdep.S: Likewise.
39327         * sysdeps/unix/i386/sysdep.S: Likewise.
39328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39329         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39330         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39331         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39332         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39333         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39334         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39335         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39336         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39337         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39338         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
39339         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39340         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39343         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39344         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39345         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39346         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39347         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39348         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39349         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39350         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39351         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39352         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39353         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39355         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39356         * sysdeps/x86_64/setjmp.S: Likewise.
39358         * include/math.h: Use IS_IN instead of IS_IN_libm.
39359         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
39360         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39361         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39362         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
39363         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39364         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39365         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39366         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39367         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39368         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39369         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
39370         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
39371         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
39372         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
39373         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
39374         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
39375         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
39376         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
39377         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
39378         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
39379         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
39380         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
39381         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
39382         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
39383         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
39384         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
39385         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
39386         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
39387         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
39388         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
39389         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
39390         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39391         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
39393         Likewise.
39394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
39395         Likewise.
39396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
39397         Likewise.
39398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
39399         Likewise.
39400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
39401         Likewise.
39402         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39403         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
39404         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39405         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39406         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39407         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
39409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
39410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
39411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
39412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
39413         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
39414         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
39415         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39416         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39417         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39418         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39419         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39420         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39421         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39422         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
39423         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
39424         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
39425         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
39426         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
39427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39428         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
39430         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
39431         * nptl/pthreadP.h: Likewise.
39432         * nptl_db/structs.def: Likewise.
39433         * sysdeps/arm/sysdep.h: Likewise.
39434         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39435         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39436         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
39437         * sysdeps/unix/alpha/sysdep.h: Likewise.
39438         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39439         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39440         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39441         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39442         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39443         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39444         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39445         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39446         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39447         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39448         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39449         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39450         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39451         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39454         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39455         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39456         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39457         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39458         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39459         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39460         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39461         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39462         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
39463         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39465         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
39466         * nptl/pthreadP.h: Likewise.
39467         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39468         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39469         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39470         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39471         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39472         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39473         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39474         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39475         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39476         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39477         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39478         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
39480         Likewise.
39481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
39482         Likewise.
39483         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39484         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39485         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39486         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39488         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39489         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39490         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39492         * dlfcn/dladdr.c: Use IS_IN.
39493         * dlfcn/dladdr1.c: Likewise.
39494         * dlfcn/dlclose.c: Likewise.
39495         * dlfcn/dlerror.c: Likewise.
39496         * dlfcn/dlinfo.c: Likewise.
39497         * dlfcn/dlmopen.c: Likewise.
39498         * dlfcn/dlopen.c: Likewise.
39499         * dlfcn/dlsym.c: Likewise.
39500         * dlfcn/dlvsym.c: Likewise.
39502         * include/ifaddrs.h: Use IS_IN.
39503         * inet/check_pf.c: Likewise.
39504         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39505         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
39507         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
39508         IS_IN_ldconfig.
39509         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
39510         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
39512         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
39513         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
39514         IS_IN (libc).
39516         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
39518         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
39519         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39520         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39521         * include/libc-symbols.h (IS_IN_LIB): New macro.
39522         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
39523         * include/netdb.h: Likewise.
39524         * include/stap-probe.h: Remove all uses of IN_LIB.
39526         * Makeconfig (module-cppflags-real): Define MODULE_NAME
39527         instead of IN_MODULE.
39528         * include/libc-symbols.h (IN_MODULE): Define using
39529         MODULE_NAME.
39530         (PASTE_NAME, PASTE_NAME1): New macros.
39531         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
39532         of IN_LIB.
39533         (STAP_PROBE_ASM): Likewise.
39535 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39537         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
39538         __mach_init in dlopened libc.
39540 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
39542         * sysdeps/arm/preconfigure.ac: Delete EABI check.
39543         * sysdeps/arm/preconfigure: Regenerate.
39545 2014-11-21  Roland McGrath  <roland@hack.frob.com>
39547         * nptl/pthread_create.c (__pthread_create_2_1): Set
39548         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
39549         when copying values from IATTR into PD.
39551 2014-11-21  Will Newton  <will.newton@linaro.org>
39552             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
39554         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
39555         Refactor inline-asm.  Also add comment.
39557         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
39558         ElfW macro instead of hardcoded Elf64 types.
39559         (la_aarch64_gnu_pltenter): Likewise.
39560         * sysdeps/aarch64/dl-machine.h
39561         (elf_machine_runtime_setup): Use ElfW(Addr).
39563         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
39564         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
39565         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
39566         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
39567         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
39568         (R_AARCH64_TLS_DTPMOD64): Rename to ..
39569         (R_AARCH64_TLS_DTPMOD): This.
39570         (R_AARCH64_TLS_DTPREL64): Rename to ...
39571         (R_AARCH64_TLS_DTPREL): This.
39572         (R_AARCH64_TLS_TPREL64): Rename to ...
39573         (R_AARCH64_TLS_TPREL): This.
39574         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
39575         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
39576         R_AARCH64_TLS_TPREL64.
39577         (elf_machine_rela): Likewise.
39579 2014-11-21  Torvald Riegel  <triegel@redhat.com>
39581         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
39582         by setting it to 0.  64b atomics are not supported currently.
39584 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39586         [BZ #16469]
39587         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
39588         search domain names.
39590 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39592         [BZ #16469]
39593         * NEWS: Update.
39594         * resolv/res_query.c (__libc_res_nquerydomain): Retain
39595         trailing dot.
39596         * posix/tst-getaddrinfo5.c: New.
39597         * posix/Makefile (tests): Add it.
39599 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39601         [BZ #14498]
39602         * NEWS: Fixed.
39603         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
39604         after parsing line but before break_if_match.
39605         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
39606         if there is a protocol mismatch.
39608 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
39610         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
39611         because the potential race is on the user-supplied stream.
39613 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39615         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
39616         string literal if not passed a buffer.
39617         * manual/job.texi (ctermid): Update reasoning, note deviation
39618         from posix, suggest mtasurace when not passed a buffer, for
39619         future non-preliminary safety notes.
39621 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39623         * manual/users.texi (cuserid): Fix MT-Safety note for the case
39624         of not passing it a buffer.
39625         Reported by Peng Haitao.
39627 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39629         * manual/Makefile ($(objpfx)stamp-summary): Require
39630         check-safety.sh to pass.
39631         * manual/check-safety.sh: Wish for verification that every
39632         @deftypefn and @deftypefun is followed by a @safety remark.
39634 2014-11-20  Roland McGrath  <roland@hack.frob.com>
39636         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
39638         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
39639         PTHREAD_CANCEL_ASYNCHRONOUS.
39640         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
39641         send SIGCANCEL.
39643         * nptl/default-sched.h: New file.
39644         * sysdeps/unix/sysv/linux/default-sched.h: New file.
39645         * nptl/pthread_create.c: Include it.
39646         (__pthread_create_2_1): Use collect_default_sched instead of making
39647         Linux syscalls here directly.
39649 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39651         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
39652         __pthread_once): Use C11 atomics.
39654 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39656         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
39658 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39660         * include/atomic.h (__atomic_link_error, __atomic_check_size,
39661         atomic_thread_fence_acquire, atomic_thread_fence_release,
39662         atomic_thread_fence_seq_cst, atomic_load_relaxed,
39663         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
39664         atomic_compare_exchange_weak_relaxed,
39665         atomic_compare_exchange_weak_acquire,
39666         atomic_compare_exchange_weak_release,
39667         atomic_exchange_acquire, atomic_exchange_release,
39668         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
39669         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
39670         atomic_fetch_and_acquire,
39671         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
39673 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39675         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
39676         USE_ATOMIC_COMPILER_BUILTINS): Define.
39677         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
39678         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39679         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
39680         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39681         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
39682         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39683         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
39684         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39685         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
39686         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39687         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
39688         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39689         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
39690         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39691         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
39692         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39693         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39694         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39695         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39696         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39697         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
39698         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39699         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39700         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39701         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
39702         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39703         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39704         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39705         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
39706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39707         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
39708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39709         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
39710         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39711         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39712         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39713         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
39714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39715         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
39716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39718 2014-11-19  Roland McGrath  <roland@hack.frob.com>
39720         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
39721         the sched_priority value here.  It was already checked when the user
39722         called pthread_attr_setschedparam.
39724         * nptl/tst-bad-schedattr.c: New file.
39725         * nptl/Makefile (tests): Add it.
39727 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
39728             Florian Weimer  <fweimer@redhat.com>
39729             Joseph Myers  <joseph@codesourcery.com>
39730             Adam Conrad  <adconrad@0c3.net>
39731             Andreas Schwab  <schwab@suse.de>
39732             Brooks  <bmoses@google.com>
39734         [BZ #17625]
39735         * wordexp-test.c (__dso_handle): Add prototype.
39736         (__register_atfork): Likewise.
39737         (__app_register_atfork): New function.
39738         (registered_forks): New global.
39739         (register_fork): New function.
39740         (test_case): Add 3 new tests for WRDE_CMDSUB.
39741         (main): Call __app_register_atfork.
39742         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
39743         fork count is non-zero fail the test.
39744         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
39745         is set.
39746         (parse_dollars): Remove check for WRDE_NOCMD.
39747         (parse_dquote): Likewise.
39749 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39751         * Makeconfig (built-modules): List non-library modules to be
39752         built.
39753         (module-cppflags): Include libc-modules.h for
39754         everything except shlib-versions.v.i.
39755         (CPPFLAGS): Use it.
39756         (before-compile): Add libc-modules.h.
39757         ($(common-objpfx)libc-modules.h,
39758         $(common-objpfx)libc-modules.stmp): New targets.
39759         (common-generated): Add libc-modules.h and libc-modules.stmp.
39760         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
39761         * include/libc-symbols.h: Don't include libc-modules.h.
39762         * include/libc-modules.h: Remove file.
39763         * scripts/gen-libc-modules.awk: New script to generate
39764         libc-modules.h.
39765         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
39766         Depend on libc-modules.stmp.
39768         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
39770         * Makeconfig (in-module): Get value of libof set for the
39771         translation unit.
39772         (CPPFLAGS): Use $(in-module).
39773         * Makerules: Don't suffix routine names for nonlib.
39774         * include/libc-modules.h: New file.
39775         * include/libc-symbols.h: Include libc-modules.h
39776         (IS_IN): New macro to replace IS_IN_* macros.
39777         * elf/Makefile: Set libof-* for each routine.
39778         * elf/rtld-Rules: Likewise.
39779         * extra-modules.mk: Likewise.
39780         * iconv/Makefile: Likewise.
39781         * iconvdata/Makefile: Likewise.
39782         * locale/Makefile: Likewise.
39783         * malloc/Makefile: Likewise.
39784         * nss/Makefile: Likewise.
39785         * sysdeps/gnu/Makefile: Likewise.
39786         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
39787         * sysdeps/unix/sysv/linux/Makefile: Likewise.
39788         * sysdeps/s390/s390-64/Makefile: Likewise.
39789         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
39790         CPPFLAGS for nscd instead of nonlib.
39792 2014-11-18  Roland McGrath  <roland@hack.frob.com>
39794         * nptl/createthread.c: New file.
39796         * nptl/createthread.c: Moved ...
39797         * sysdeps/unix/sysv/linux/createthread.c: ... here.
39799         * nptl/createthread.c: Add proper top-line comment.
39800         (do_clone): Folded into ...
39801         (create_thread): ... here.  Take new arguments STOPPED_START and
39802         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
39803         increment __nptl_threads, do event-reporting logic, do
39804         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
39805         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
39806         resource cleanup if sched_setaffinity or sched_setscheduler fails,
39807         just send SIGCANCEL.
39808         * nptl/pthread_create.c: Forward-declare create_thread before
39809         including createthread.c.
39810         (start_thread): Use new macro START_THREAD_DEFN to replace defining
39811         declaration, and new macro START_THREAD_SELF to replace argument.
39812         Remove return statement.
39813         (report_thread_creation): New function.
39814         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
39815         synchronization logic, and __nptl_nthreads increment here, around
39816         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
39817         PD->parent_cancelhandling here, before create_thread.  When
39818         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
39819         __deallocate_stack, and ENOMEM translation here.
39821 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
39823         [BZ #17616]
39824         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
39825         (mptwo): Rename to __mptwo.
39826         (__inv): Use __mptwo instead of mptwo.
39827         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
39828         (mptwo): Rename to __mptwo.
39829         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
39830         of mpone and __mptwo instead of mptwo.
39831         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
39832         instead of mpone.
39833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39834         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
39835         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
39836         of mpone and __mptwo instead of mptwo.
39837         (__mpranred): Use __mpone instead of mpone.
39838         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
39839         variable.
39840         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
39841         (test-xfail-ISO99/math.h/linknamespace): Likewise.
39842         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
39843         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
39844         (test-xfail-ISO11/math.h/linknamespace): Likewise.
39845         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
39846         (test-xfail-XPG3/math.h/linknamespace): Likewise.
39847         (test-xfail-XPG4/math.h/linknamespace): Likewise.
39848         (test-xfail-POSIX/math.h/linknamespace): Likewise.
39849         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
39850         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
39851         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
39852         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
39853         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
39854         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
39855         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
39856         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
39857         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
39858         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39860 2014-11-18  Tom de Vries  <tom@codesoucery.com>
39862         * manual/signal.texi (Primitives Interrupted by Signals): In section,
39863         replace BSD Handler xref with BSD Signal Handling.
39865 2014-11-17  Richard Henderson  <rth@redhat.com>
39867         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
39868         (_FP_PACK_RAW_2): Remove.
39869         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
39870         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
39871         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
39872         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
39873         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
39874         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
39875         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
39876         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
39877         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
39878         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
39879         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
39880         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
39881         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
39882         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
39883         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
39884         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
39886 2014-11-14  Roland McGrath  <roland@hack.frob.com>
39888         * signal/signal.h [__USE_MISC]
39889         (struct sigvec): Remove type.
39890         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
39891         (sigvec): Remove declaration.
39892         * sysdeps/posix/sigvec.c: Moved ...
39893         * signal/sigvec.c: ... here, replacing old file.
39894         (struct sigvec): New type, copied from old signal.h definition.
39895         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
39896         (__sigvec): Convert definition to prototype.
39897         (sigvec): Replace weak_alias with compat_symbol.
39898         * signal/Versions (libc: GLIBC_2.21): New version set.
39899         * include/signal.h: Remove __sigvec declaration.
39900         * sysdeps/unix/bsd/sigvec.c: Remove file.
39901         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
39902         * manual/signal.texi (BSD Handler): Remove subsection.
39903         Move siginterrupt up to ...
39904         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
39905         (Blocking in BSD): Fold subsection into its parent.
39906         * NEWS: Mention sigvec removal.
39908 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39910         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
39911         (DLA_FMS): Make definition conditional only on [__FMA4__].
39912         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
39913         definition.
39915         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
39916         Make definition conditional only on [PROF].
39917         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
39918         definition.
39919         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
39920         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
39922         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
39923         !__GNUC__].
39924         * include/signal.h (__sigpause): Move declaration above call to
39925         libc_hidden_proto.
39926         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
39927         variable.
39928         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
39929         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
39931 2014-11-14  David S. Miller  <davem@davemloft.net>
39933         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
39934         Define before including <string/memcpy.c> and <string/mempcpy.c>.
39936 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39938         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
39939         * configure: Regenerated.
39940         * manual/install.texi (Tools for Compilation): Document a
39941         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
39942         compiler verified to work.
39943         * INSTALL: Regenerated.
39945         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
39946         redeclare with asm name.
39947         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
39948         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
39949         including <string.h>.
39950         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39951         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
39952         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39953         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
39954         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39955         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
39956         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39958 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
39960         * stdlib/strtol.c (__strtol): Use prototype definition.
39962         [BZ #17594]
39963         * stdlib/strtol.c (SYM__): New macro.
39964         (SYM__1): Likewise.
39965         (__strtol): Likewise.
39966         (strtol): Rename to __strtol and define as weak alias of
39967         __strtol.  Use libc_hidden_weak.
39969 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39971         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
39972         Use numbered labels in inline assembly.
39974 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39976         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
39977         Add setjmp LIBC_PROBE.
39978         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
39979         Likewise.
39980         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
39981         Add longjmp, longjmp_target LIBC_PROBE.
39982         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
39983         Likewise.
39985 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39987         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39988         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
39989         to get rid of unused variable warning.
39991 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39993         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
39994         Check for unwind_backtrace ==  NULL only in SHARED case.
39995         (__backchain_backtrace): Compile only in SHARED case.
39996         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
39997         Likewise.
39998         (__backchain_backtrace): Declare as static.
40000 2014-11-12  Roland McGrath  <roland@hack.frob.com>
40002         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
40003         (__libc_multiple_threads_ptr): Variable moved ...
40004         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
40006 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
40008         * conform/GlibcConform.pm: New file.
40009         * conform/conformtest.pl: Use GlibcConform module.
40010         * conform/linknamespace.pl: New file.
40011         * conform/list-header-symbols.pl: Likewise.
40012         * conform/Makefile (linknamespace-symlists-base): New variable.
40013         (linknamespace-symlists-tests): Likewise.
40014         (linknamespace-header-base): Likewise.
40015         (linknamespace-header-tests): Likewise.
40016         (tests-special): Add new tests.
40017         ($(linknamespace-symlists-tests)): New rule.
40018         (linknamespace-libs): New variable.
40019         ($(objpfx)symlist-stdlibs): New rule.
40020         ($(linknamespace-header-tests)): Likewise.
40021         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40022         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40023         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40024         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40025         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40026         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40027         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40028         (test-xfail-ISO/math.h/linknamespace): Likewise.
40029         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40030         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40031         (test-xfail-ISO/time.h/linknamespace): Likewise.
40032         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40033         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40034         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40035         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40036         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40037         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40038         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40039         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40040         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40041         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40042         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40043         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40044         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40045         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40046         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40047         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40048         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
40049         (test-xfail-XPG3/search.h/linknamespace): Likewise.
40050         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
40051         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40052         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
40053         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
40054         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40055         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
40056         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
40057         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
40058         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
40059         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
40060         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40061         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
40062         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40063         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
40064         (test-xfail-XPG4/search.h/linknamespace): Likewise.
40065         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
40066         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
40067         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
40068         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
40069         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
40070         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40071         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
40072         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
40073         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
40074         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
40075         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
40076         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40077         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
40078         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
40079         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
40080         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40081         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
40082         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40083         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40084         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
40085         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
40086         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40087         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40088         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
40089         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
40090         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
40091         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40092         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40093         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40094         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
40095         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
40096         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40097         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40098         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
40099         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40100         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
40101         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
40102         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
40103         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
40104         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40105         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40106         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
40107         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40108         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
40109         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
40110         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
40111         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
40112         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40113         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
40114         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
40115         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
40116         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
40117         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
40118         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40119         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40120         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40121         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
40122         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
40123         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
40124         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40125         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
40126         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
40127         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40128         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
40129         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
40130         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
40131         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40132         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40133         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
40134         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
40135         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40136         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40137         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
40138         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
40139         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
40140         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
40141         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40142         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40143         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
40144         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40145         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
40146         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40147         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40148         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40149         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
40150         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40151         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
40152         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
40153         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
40154         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40155         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40156         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40157         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40158         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
40159         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40160         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40161         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
40162         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40163         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
40164         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
40165         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40166         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40167         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40168         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40169         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
40170         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40171         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
40172         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
40173         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
40174         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40175         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
40176         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40177         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40178         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
40179         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40180         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40181         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
40183         [BZ #17589]
40184         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
40185         of fgets_unlocked.
40187         [BZ #17585]
40188         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
40189         (memmem): Rename to __memmem and define as weak alias of
40190         __memmem.  Use libc_hidden_weak.
40191         (__memmem): Use libc_hidden_def.
40192         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
40193         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
40194         memmem.
40196         [BZ #17582]
40197         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
40198         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
40199         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
40200         and define as weak alias of __fgets_unlocked.  Use
40201         libc_hidden_weak.
40202         (__fgets_unlocked): Use libc_hidden_def.
40203         * include/stdio.h (__fgets_unlocked): Declare.  Use
40204         libc_hidden_proto.
40205         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
40206         __fgets_unlocked instead of fgets_unlocked.
40207         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
40208         (GET_NPROCS_CONF_PARSER): Likewise.
40209         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
40210         (GET_NPROCS_CONF_PARSER): Likewise.
40212         [BZ #17574]
40213         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
40214         weak alias of __wmemset.  Use libc_hidden_weak.
40215         (__wmemset): Use libc_hidden_def.
40216         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
40217         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
40218         of wmemset.
40220         [BZ #17573]
40221         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
40222         with asm name __mempcpy.
40223         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
40225         [BZ #17572]
40226         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
40227         and define as weak alias of __rawmemchr.
40228         (__rawmemchr): Do not define as strong alias of rawmemchr.
40230         [BZ #17571]
40231         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
40232         alias of __qsort_r.
40233         (qsort): Call __qsort_r instead of qsort_r.
40234         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
40235         (__qsort_r): Declare.  Call libc_hidden_proto.
40236         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
40237         instead of qsort_r.
40238         * nscd/gai.c (__qsort_r): Define to qsort_r.
40239         * posix/tst-rfc3484.c (__qsort_r): Likewise.
40240         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
40241         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
40243         [BZ #17570]
40244         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
40245         define as weak alias of __malloc_info.
40247         [BZ #17584]
40248         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
40249         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40250         (__rewinddir): Use libc_hidden_def.
40251         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
40252         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40253         (__rewinddir): Use libc_hidden_def.
40254         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
40255         weak alias of __rewinddir.  Don't use libc_hidden_def.
40256         (__rewinddir): Use libc_hidden_def.
40257         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
40258         (__rewinddir): Use libc_hidden_proto.
40259         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
40260         rewinddir.
40261         (__getcwd): Use __rewinddir instead of rewinddir.
40263         [BZ #17583]
40264         * libio/fileno.c (fileno): Rename to __fileno and define as weak
40265         alias of __fileno.  Use libc_hidden_weak.
40266         (__fileno): Use libc_hidden_def.
40267         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
40268         * libio/ftello.c (ftello): Rename to __ftello and define as weak
40269         alias of __ftello.
40270         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
40271         __ftello.
40272         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
40273         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
40274         libc_hidden_def.
40275         (fread_unlocked): Don't use libc_hidden_ver.
40276         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
40277         and define as weak alias of __fread_unlocked.  Don't use
40278         libc_hidden_def.
40279         (__fread_unlocked): Use libc_hidden_def.
40280         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
40281         (ftello): Don't use libc_hidden_proto.
40282         (__ftello): Declare.  Use libc_hidden_proto.
40283         (fread_unlocked): Don't use libc_hidden_proto.
40284         (__fread_unlocked): Declare.  Use libc_hidden_proto.
40285         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
40286         and __ftello instead of fileno, fread_unlocked and ftello.
40288 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40290         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
40291         GOT12.
40292         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40293         Likewise.
40294         (_dl_start_user): Likewise.
40295         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
40297 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
40298             Siddhesh Poyarekar  <siddhesh@redhat.com>
40300         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
40301         Move argv and envp down instead of moving argc up.
40302         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
40304 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
40306         [BZ #17506]
40307         * test-skeleton.c (main): Return successful if one of
40308         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
40309         * string/tst-strcoll-overflow.c: Define expected status.
40311 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
40313         [BZ #17475]
40314         * locale/iso-639.def: Define Bhili and Tulu language codes.
40316 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
40318         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
40320 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
40322         [BZ #17555]
40323         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
40325 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
40327         * configure.ac: Updated check of minimal required version to
40328         2.22.
40329         * manual/install.texi (Tools for Compilation): Updated version
40330         number.
40331         * configure: Regenerated.
40332         * INSTALL: Likewise.
40334 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
40336         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
40337         __tls_get_addr.
40339 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
40341         * include/sys/wait.h (__libc_waitpid): Remove declaration.
40342         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
40343         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40344         libc_hidden_weak.
40345         (waitpid): Define as alias of __waitpid.
40346         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
40347         __waitpid.
40348         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40349         libc_hidden_weak.
40350         (waitpid): Define as alias of __waitpid.
40351         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
40352         __libc_waitpid alias.
40353         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
40354         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
40355         Likewise.
40356         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
40357         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
40358         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
40359         alias.
40360         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
40361         __waitpid.
40362         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40363         libc_hidden_weak.
40364         (waitpid): Define as alias of __waitpid.
40366 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
40368         * manual/llio.texi: Add comment that write safety has been
40369         fixed in Linux.
40371         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
40372         (localplt-build-dso): Add elf/ld.so.
40373         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
40374         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
40375         and free for ld.so.
40376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
40377         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
40378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
40379         Likewise.
40380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40381         Likewise.
40382         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
40383         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
40384         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
40385         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
40386         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
40387         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
40388         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
40389         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
40390         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
40391         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
40392         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
40394 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
40396         [BZ #14132]
40397         * include/libc-symbols.h (INTUSE): Remove macro.
40398         (INTDEF): Likewise.
40399         (INTVARDEF): Likewise.
40400         (_INTVARDEF): Likewise.
40401         (INTDEF2): Likewise.
40402         (INTVARDEF2): Likewise.
40403         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
40404         rtld_hidden_def instead of INTVARDEF.
40405         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
40406         (_dl_starting_up_internal): Remove declaration.
40407         (_dl_starting_up): Use rtld_hidden_proto.
40408         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
40409         declaration.
40410         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
40411         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
40412         _dl_starting_up.
40413         * elf/dl-writev.h (_dl_writev): Likewise.
40414         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
40415         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
40416         _dl_starting_up_internal.
40418 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40420         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
40421         test-skeleton.c.
40423 2014-11-05  Will Newton  <will.newton@linaro.org>
40425         * benchtests/Makefile: (bench-malloc): Add malloc thread
40426         scalability benchmark.
40427         * benchtests/bench-malloc-threads.c: New file.
40429 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
40431         * sysdeps/aarch64/strchrnul.S: New file.
40433 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40435         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
40436         definition.
40437         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40438         Likewise.
40439         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40440         Likewise.
40441         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40442         Likewise.
40443         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40444         Likewise.
40445         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40446         Likewise.
40448 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
40450         * catgets/test-gencat.c: Use test-skeleton.c.
40451         * catgets/tst-catgets.c: Likewise.
40452         * csu/tst-empty.c: Likewise.
40453         * elf/tst-audit2.c: Likewise.
40454         * elf/tst-global1.c: Likewise.
40455         * elf/tst-pathopt.c: Likewise.
40456         * elf/tst-piemod1.c: Likewise.
40457         * elf/tst-tls10.c: Likewise.
40458         * elf/tst-tls11.c: Likewise.
40459         * elf/tst-tls12.c: Likewise.
40460         * gnulib/tst-gcc.c: Likewise.
40461         * iconvdata/tst-e2big.c: Likewise.
40462         * iconvdata/tst-loading.c: Likewise.
40463         * iconv/tst-iconv1.c: Likewise.
40464         * iconv/tst-iconv2.c: Likewise.
40465         * inet/test-inet6_opt.c: Likewise.
40466         * inet/tst-gethnm.c: Likewise.
40467         * inet/tst-network.c: Likewise.
40468         * inet/tst-ntoa.c: Likewise.
40469         * intl/tst-codeset.c: Likewise.
40470         * intl/tst-gettext2.c: Likewise.
40471         * intl/tst-gettext3.c: Likewise.
40472         * intl/tst-ngettext.c: Likewise.
40473         * intl/tst-translit.c: Likewise.
40474         * io/test-stat.c: Likewise.
40475         * libio/test-fmemopen.c: Likewise.
40476         * libio/tst-freopen.c: Likewise.
40477         * libio/tst-sscanf.c: Likewise.
40478         * libio/tst-ungetwc1.c: Likewise.
40479         * libio/tst-ungetwc2.c: Likewise.
40480         * libio/tst-widetext.c: Likewise.
40481         * localedata/tst-ctype.c: Likewise.
40482         * localedata/tst-digits.c: Likewise.
40483         * localedata/tst-leaks.c: Likewise.
40484         * localedata/tst-mbswcs1.c: Likewise.
40485         * localedata/tst-mbswcs2.c: Likewise.
40486         * localedata/tst-mbswcs3.c: Likewise.
40487         * localedata/tst-mbswcs4.c: Likewise.
40488         * localedata/tst-mbswcs5.c: Likewise.
40489         * localedata/tst-setlocale.c: Likewise.
40490         * localedata/tst-trans.c: Likewise.
40491         * localedata/tst-wctype.c: Likewise.
40492         * localedata/tst-xlocale1.c: Likewise.
40493         * login/tst-grantpt.c: Likewise.
40494         * malloc/tst-calloc.c: Likewise.
40495         * malloc/tst-malloc.c: Likewise.
40496         * malloc/tst-mallocstate.c: Likewise.
40497         * malloc/tst-mcheck.c: Likewise.
40498         * malloc/tst-mtrace.c: Likewise.
40499         * malloc/tst-obstack.c: Likewise.
40500         * math/atest-exp2.c: Likewise.
40501         * math/atest-exp.c: Likewise.
40502         * math/atest-sincos.c: Likewise.
40503         * math/test-matherr.c: Likewise.
40504         * math/test-misc.c: Likewise.
40505         * math/test-powl.c: Likewise.
40506         * math/tst-definitions.c: Likewise.
40507         * misc/tst-dirname.c: Likewise.
40508         * misc/tst-efgcvt.c: Likewise.
40509         * misc/tst-fdset.c: Likewise.
40510         * misc/tst-hsearch.c: Likewise.
40511         * misc/tst-mntent2.c: Likewise.
40512         * nptl/tst-sem7.c: Likewise.
40513         * nptl/tst-sem8.c: Likewise.
40514         * nptl/tst-sem9.c: Likewise.
40515         * nss/test-netdb.c: Likewise.
40516         * posix/tst-fnmatch.c: Likewise.
40517         * posix/tst-getlogin.c: Likewise.
40518         * posix/tst-gnuglob.c: Likewise.
40519         * posix/tst-mmap.c: Likewise.
40520         * pwd/tst-getpw.c: Likewise.
40521         * resolv/tst-inet_ntop.c: Likewise.
40522         * rt/tst-timer.c: Likewise.
40523         * stdio-common/test-fseek.c: Likewise.
40524         * stdio-common/test-popen.c: Likewise.
40525         * stdio-common/test-vfprintf.c: Likewise.
40526         * stdio-common/tst-cookie.c: Likewise.
40527         * stdio-common/tst-fileno.c: Likewise.
40528         * stdio-common/tst-gets.c: Likewise.
40529         * stdio-common/tst-obprintf.c: Likewise.
40530         * stdio-common/tst-perror.c: Likewise.
40531         * stdio-common/tst-sprintf2.c: Likewise.
40532         * stdio-common/tst-sprintf3.c: Likewise.
40533         * stdio-common/tst-sprintf.c: Likewise.
40534         * stdio-common/tst-swprintf.c: Likewise.
40535         * stdio-common/tst-tmpnam.c: Likewise.
40536         * stdio-common/tst-unbputc.c: Likewise.
40537         * stdio-common/tst-wc-printf.c: Likewise.
40538         * stdlib/tst-environ.c: Likewise.
40539         * stdlib/tst-fmtmsg.c: Likewise.
40540         * stdlib/tst-limits.c: Likewise.
40541         * stdlib/tst-rand48-2.c: Likewise.
40542         * stdlib/tst-rand48.c: Likewise.
40543         * stdlib/tst-random2.c: Likewise.
40544         * stdlib/tst-random.c: Likewise.
40545         * stdlib/tst-strtol.c: Likewise.
40546         * stdlib/tst-strtoll.c: Likewise.
40547         * stdlib/tst-tls-atexit.c: Likewise.
40548         * stdlib/tst-xpg-basename.c: Likewise.
40549         * string/test-ffs.c: Likewise.
40550         * string/tst-bswap.c: Likewise.
40551         * string/tst-inlcall.c: Likewise.
40552         * string/tst-strtok.c: Likewise.
40553         * string/tst-strxfrm.c: Likewise.
40554         * sysdeps/x86_64/tst-audit10.c: Likewise.
40555         * sysdeps/x86_64/tst-audit3.c: Likewise.
40556         * sysdeps/x86_64/tst-audit4.c: Likewise.
40557         * sysdeps/x86_64/tst-audit5.c: Likewise.
40558         * time/tst-ftime_l.c: Likewise.
40559         * time/tst-getdate.c: Likewise.
40560         * time/tst-mktime3.c: Likewise.
40561         * time/tst-mktime.c: Likewise.
40562         * time/tst-posixtz.c: Likewise.
40563         * time/tst-strptime2.c: Likewise.
40564         * time/tst-strptime3.c: Likewise.
40565         * wcsmbs/tst-btowc.c: Likewise.
40566         * wcsmbs/tst-mbrtowc.c: Likewise.
40567         * wcsmbs/tst-mbsrtowcs.c: Likewise.
40568         * wcsmbs/tst-wchar-h.c: Likewise.
40569         * wcsmbs/tst-wcpncpy.c: Likewise.
40570         * wcsmbs/tst-wcrtomb.c: Likewise.
40571         * wcsmbs/tst-wcsnlen.c: Likewise.
40572         * wcsmbs/tst-wcstof.c: Likewise.
40574 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
40576         [BZ #14132]
40577         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
40578         INTDEF.
40579         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
40580         declaration.
40581         (_dl_mcount): Use rtld_hidden_proto.
40582         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
40583         _dl_mcount.
40584         * elf/rtld.c (_rtld_global_ro): Likewise.
40586         [BZ #14132]
40587         * elf/dl-init.c (_dl_init): Don't use INTDEF.
40588         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
40589         of _dl_init_internal.
40590         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
40591         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
40592         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
40593         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
40594         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
40595         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
40596         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
40597         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
40598         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
40599         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
40600         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
40601         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
40602         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40603         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40604         * sysdeps/tile/dl-start.S (_start): Likewise.
40605         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
40606         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
40608         [BZ #14132]
40609         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
40610         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
40611         (rtld_progname): Make macro definition unconditional.
40612         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
40613         INTDEF.
40614         (dlmopen_doit): Do not use INTUSE with _dl_argv.
40615         (dl_main): Likewise.
40616         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40617         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
40618         instead of _dl_argv_internal.
40619         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40620         __GI__dl_argv instead of INTUSE(_dl_argv).
40621         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
40622         __GI__dl_argv instead of _dl_argv_internal.
40624         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
40625         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
40626         macro.
40627         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
40628         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
40629         New macro.
40630         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
40631         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
40632         macro.
40633         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
40634         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
40636 2014-11-04  Andreas Schwab  <schwab@suse.de>
40638         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
40640 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40642         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
40643         mtvsrd instruction in binary form.
40645 2014-11-03  Andreas Schwab  <schwab@suse.de>
40647         [BZ #17522]
40648         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
40649         for less than MB_LEN_MAX use a local buffer of that size.
40650         * libio/tst-fputws.c: New file.
40651         * libio/Makefile (tests): Add tst-fputws.
40653 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
40655         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
40656         the size of the fpu_fr.fpu_dregs[] array.
40658 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
40660         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
40661         (__nanosleep): Do not define as alias.
40662         (nanosleep): Define as alias of __nanosleep.
40663         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
40664         __libc_nanosleep name.
40666 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40668         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
40669         install.texi in comment.
40671 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40673         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
40674         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
40675         ... add here and use lwsync or sync ...
40676         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
40677         ... and add here using lwsync.
40679 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40681         * elf/dl-machine-reject-phdr.h: New file.
40682         * elf/dl-load.c: #include that.
40683         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
40684         if that returned true.
40686 2014-10-31  Roland McGrath  <roland@hack.frob.com>
40688         [BZ #17496]
40689         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
40690         gen-as-const-headers chunk.  Add a big scare comment after the last
40691         safe place to touch before-compile.
40693 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40695         * manual/install.texi (Tools for Compilation): Update autoconf
40696         version requirements.
40697         * INSTALL: Regenerated.
40699         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
40700         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
40701         (__libc_pselect): Likewise.
40703         [BZ #14138]
40704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
40705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40709 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40711         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
40712         correct barrier instruction.
40713         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
40714         Likewise.
40715         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
40716         Likewise.
40718 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40720         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
40721         after defining inlines.  Instead, just use parens to defeat macro
40722         expansion of __isctype in its declaration.
40724 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40726         * include/sys/uio.h (__libc_readv): Remove declaration.
40727         (__libc_writev): Likewise.
40728         * misc/readv.c (__libc_readv): Rename to __readv.
40729         (__readv): Do not define as alias.
40730         (readv): Define as alias of __readv.
40731         * misc/writev.c (__libc_writev): Rename to __writev.
40732         (__writev): Do not define as alias.
40733         (writev): Define as alias of __writev.
40734         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
40735         (__readv): Do not define as alias.
40736         (readv): Define unconditionally as alias of __readv.
40737         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
40738         (__writev): Do not define as alias.
40739         (writev): Define unconditionally as alias of __writev.
40740         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
40741         name.
40742         (writev): Do not define __libc_writev name.
40744 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40746         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
40747         (convert_charseq): New function, broken out of ...
40748         (use_from_charmap): ... here.  Call it.
40749         (use_to_charmap): Use convert_charseq and free instead of duplicating
40750         its code with a variable-length stack struct.
40752 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40754         * include/fcntl.h (__libc_creat): Remove declaration.
40755         * io/creat.c (__libc_creat): Rename to creat.
40756         (creat): Do not define as alias.
40757         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
40758         of creat instead of __libc_creat.
40759         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
40760         to creat.
40761         (creat): Do not define as alias.
40762         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
40763         __libc_creat.
40764         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
40765         __libc_creat name.
40766         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
40767         Likewise.
40769 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
40771         * manual/llio.texi: Add comments discussing why write() may be
40772         considered MT-unsafe on Linux.
40774 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
40776         * dl-load.c (local_strdup): Remove.
40777         (expand_dynamic_string_token): Use __strdup.
40778         (decompose_rpath): Likewise.
40779         (_dl_map_object): Likewise.
40781 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
40783         [BZ #14132]
40784         * sysdeps/generic/unwind-dw2-fde.c
40785         (__register_frame_info_bases_internal): Do not declare.
40786         (__register_frame_info_table_bases_internal): Likewise.
40787         (__deregister_frame_info_bases_internal): Likewise.
40788         (__register_frame_info_bases): Declare and use hidden_proto before
40789         definition.  Use hidden_def instead of INTDEF.
40790         (__register_frame_info_table_bases): Likewise.
40791         (__deregister_frame_info_bases): Likewise.
40792         (__register_frame_info): Do not use INTUSE.
40793         (__register_frame): Likewise.
40794         (__register_frame_info_table): Likewise.
40795         (__register_frame_table): Likewise.
40796         (__deregister_frame_info): Likewise.
40797         (__deregister_frame): Likewise.
40799 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
40801         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40802         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
40803         not undefine.
40804         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
40805         Likewise.
40806         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
40807         Likewise.
40809 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
40811         [BZ #14138]
40812         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
40813         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
40814         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
40815         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
40816         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
40817         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
40818         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
40819         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
40820         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
40821         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
40822         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
40823         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
40824         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
40825         syscall.
40826         (setfsuid): Likewise.
40827         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
40828         (setfsuid): Likewise.
40829         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
40830         (setfsuid): Likewise.
40831         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
40832         Likewise.
40833         (setfsuid): Likewise.
40834         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
40835         (setfsuid): Likewise.
40836         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
40837         Likewise.
40838         (setfsuid): Likewise.
40840 2014-10-27  Andreas Schwab  <schwab@suse.de>
40842         [BZ #17501]
40843         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
40844         check for Slow_SSE4_2 feature bit.
40845         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
40846         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40847         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
40848         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
40850 2014-10-24  Roland McGrath  <roland@hack.frob.com>
40852         * configure.ac: Validate compiler version with a empirical test of
40853         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
40854         $CC -v output.
40855         * configure: Regenerated.
40857         * inet/htons.c (htons): Prototypify.
40858         * inet/htonl.c (htonl): Likewise.
40860 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40862         * string/strncat.c (strncat): Improve performance by using strlen.
40864 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40866         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
40868 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40870         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
40871         Call libc_fetestexcept_aarch64.
40873 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40875         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
40876         Call libc_feholdexcept_aarch64.
40878 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40880         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
40881         Call get_rounding_mode.
40883 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40885         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40886         Simplify logic.
40888 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40890         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
40891         Simplify logic.
40893 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
40895         [BZ #14138]
40896         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
40897         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
40898         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
40899         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
40900         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
40901         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
40902         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
40903         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
40904         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
40905         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
40906         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40907         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
40908         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
40909         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
40910         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
40911         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
40912         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
40913         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
40914         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
40915         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
40916         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
40917         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
40918         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
40919         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
40920         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
40921         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
40922         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
40923         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
40924         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
40925         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
40926         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
40927         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
40928         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
40929         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
40930         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
40931         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
40932         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
40933         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
40934         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
40935         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
40936         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
40937         syscall.
40938         (geteuid): Likewise.
40939         (getgid): Likewise.
40940         (getuid): Likewise.
40941         (getresgid): Likewise.
40942         (getresuid): Likewise.
40943         (getgroups): Likewise.
40944         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
40945         (geteuid): Likewise.
40946         (getgid): Likewise.
40947         (getuid): Likewise.
40948         (getresgid): Likewise.
40949         (getresuid): Likewise.
40950         (getgroups): Likewise.
40951         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
40952         (geteuid): Likewise.
40953         (getgid): Likewise.
40954         (getuid): Likewise.
40955         (getresgid): Likewise.
40956         (getresuid): Likewise.
40957         (getgroups): Likewise.
40958         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
40959         Likewise.
40960         (geteuid): Likewise.
40961         (getgid): Likewise.
40962         (getuid): Likewise.
40963         (getresgid): Likewise.
40964         (getresuid): Likewise.
40965         (getgroups): Likewise.
40966         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
40967         (geteuid): Likewise.
40968         (getgid): Likewise.
40969         (getuid): Likewise.
40970         (getresgid): Likewise.
40971         (getresuid): Likewise.
40972         (getgroups): Likewise.
40973         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
40974         Likewise.
40975         (geteuid): Likewise.
40976         (getgid): Likewise.
40977         (getuid): Likewise.
40978         (getgroups): Likewise.
40980         [BZ #14138]
40981         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
40982         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
40983         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
40984         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40985         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
40986         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
40987         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
40988         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
40989         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
40990         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
40991         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
40992         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
40993         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
40994         __chown.
40995         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
40996         (lchown): Likewise.
40997         (fchown): Likewise.
40998         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
40999         Likewise.
41000         (lchown): Likewise.
41001         (fchown): Likewise.
41002         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
41003         (lchown): Likewise.
41004         (fchown): Likewise.
41005         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
41006         Likewise.
41007         (lchown): Likewise.
41008         (fchown): Likewise.
41010 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41012         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41013         Simplify logic.
41015 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41017         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41018         Cleanup logic.
41020 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41022         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41023         Remove unused include.
41025 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41027         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41028         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41029         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41030         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41032 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
41033             Helge Deller <deller@gmx.de>
41035         [BZ #17508]
41036         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41037         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41038         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41040 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
41042         [BZ #14132]
41043         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41044         Remove macro definition.
41045         (__ashrdi3_v_glibc20): Likewise.
41046         (__lshrdi3_v_glibc20): Likewise.
41047         (__cmpdi2_v_glibc20): Likewise.
41048         (__ucmpdi2_v_glibc20): Likewise.
41049         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
41050         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41051         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41052         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41053         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41054         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
41056 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41058         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
41059         old GNU extension [0] syntax.
41060         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
41061         alloca rather than an array member with variable length.
41062         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
41063         * nscd/nscd.c (invalidate_db): New function, broken out of ...
41064         (parse_opt): ... here.  Likewise use alloca there.
41065         Validate the -i argument before checking for rootness.
41066         (send_shutdown): New function, broken out of ...
41067         (parse_opt): ... here.
41069 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41071         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
41072         macro to get at the _rt_local_ro field.
41073         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
41074         ([PIC] case) or _dl_hwcap ([!PIC] case).
41075         * sysdeps/arm/setjmp.S: Likewise.
41077         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
41078         * sysdeps/arm/configure.ac: New check to define it.
41079         * sysdeps/arm/configure: Regenerated.
41080         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
41081         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
41082         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
41083         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
41084         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
41085         Use move/movt pair instead of a load.
41086         (LDST_GLOBAL): Macro removed.
41087         (LDR_GLOBAL): New macro replaces it.
41088         (LDR_HIDDEN): New macro.
41089         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
41090         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
41092         * setjmp/tst-setjmp-static.c: New file.
41093         * setjmp/Makefile (tests): Add it.
41094         (tests-static): New variable.
41096 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
41098         [BZ #17485]
41099         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
41101 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
41103         [BZ #14132]
41104         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
41106 2014-10-21  Roland McGrath  <roland@hack.frob.com>
41108         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
41110 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41112         * io/fts.c (dirent_not_directory): New function.
41113         (fts_build): Call it.
41115 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41117         * nptl/version.c (__nptl_main): Use normal __write rather than
41118         INTERNAL_SYSCALL.
41119         (banner): Update copyright years.
41121         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
41122         gettimeofday.
41123         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41124         * nptl/pthread_cond_timedwait.c: Likewise.
41125         * nptl/pthread_mutex_timedlock.c: Likewise.
41126         * nptl/sem_timedwait.c: Likewise.
41128         * sysdeps/nptl/bits/libc-lock.h
41129         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41130         (__libc_lock_init_recursive): Return void, not 0.
41131         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
41132         (__libc_rwlock_init): Likewise.
41133         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
41135 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41137         [BZ #15215]
41138         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
41139         (__pthread_once_slow): ... here.
41140         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
41141         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
41143 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41145         [BZ #15215]
41146         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
41147         __PTHREAD_ONCE_FORK_GEN_INCR): New.
41148         * sysdeps/nptl/fork.c (__libc_fork): Use them.
41149         * nptl/pthread_once.c (__pthread_once): Likewise.
41150         Update comments.
41152 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
41154         [BZ #14138]
41155         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
41156         name.
41157         (writev): Use __libc_writev as strong name.
41158         * sysdeps/unix/sysv/linux/readv.c: Remove file.
41159         * sysdeps/unix/sysv/linux/writev.c: Likewise.
41161 2014-10-17  Roland McGrath  <roland@hack.frob.com>
41163         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
41165         * sysdeps/i386/nptl/tls.h
41166         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
41167         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
41168         New macros.
41169         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
41170         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
41171         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
41172         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
41173         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
41174         Call CHECK_THREAD_SYSINFO instead of doing an assert.
41176         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
41177         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
41178         on [__NR_futex].
41179         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
41180         broken out of ...
41181         (__pthread_mutex_init): ... here.  Call it.
41182         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
41183         Conditionalize PI cases on [__NR_futex].
41184         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
41185         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
41186         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
41188         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
41189         conditional on [SIGSETXID].
41190         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
41191         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
41192         is defined.  Likewise for SIGSETXID.
41193         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
41194         Conditionalize definitions on [SIGSETXID].
41195         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
41196         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
41197         unblocking on [SIGCANCEL].
41199         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
41200         [__NR_set_robust_list].
41202 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41204         * string/strcoll_l.c (get_next_seq): Fix up formatting.
41205         (do_compare): Likewise.
41207 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
41209         [BZ #15884]
41210         * string/strcoll_l.c: Don't include stdio.h.
41211         (coll_seq): Remove members idxarr and rulearr.
41212         (get_next_seq_cached): Remove function.
41213         (get_next_seq): Likewise.
41214         (get_next_seq_nocache): Rename to get_next_seq.
41215         (do_compare): Remove function.
41216         (do_compare_nocache): Rename to do_compare.
41217         (STRCOLL): Remove weight and rules cache.
41219 2014-10-16  Roland McGrath  <roland@hack.frob.com>
41221         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
41222         * sysdeps/arm/sfp-machine.h: ... to here.
41223         * sysdeps/arm/Implies: Remove arm/soft-fp.
41225 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
41227         * conform/data/sys/utsname.h-data (*_t): Allow.
41228         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
41229         [POSIX] (WEXITED): Do not expect constant.
41230         [POSIX] (WSTOPPED): Likewise.
41231         [POSIX] (WNOHANG): Likewise.
41232         [POSIX] (WNOWAIT): Likewise.
41233         [POSIX] (siginfo_t): Do not expect type or elements.
41234         [POSIX] (pid_t): Do not expect type.
41235         [POSIX] (signal.h): Do not allow header.
41236         [POSIX] (sys/resource.h): Likewise.
41237         [POSIX] (si_*): Do not allow pattern.
41238         [POSIX] (W*): Likewise.
41239         [POSIX] (P_*): Likewise.
41240         [POSIX] (BUS_*): Likewise.
41241         [POSIX] (CLD_*): Likewise.
41242         [POSIX] (FPE_*): Likewise.
41243         [POSIX] (ILL_*): Likewise.
41244         [POSIX] (POLL_*): Likewise.
41245         [POSIX] (SEGV_*): Likewise.
41246         [POSIX] (SI_*): Likewise.
41247         [POSIX] (TRAP_*): Likewise.
41248         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
41249         variable.
41251 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
41253         [BZ #12926]
41254         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
41255         infinite loop when __recvmsg returns 0.
41257 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
41259         * CANCEL-FCT-WAIVE: Remove file.
41260         * CANCEL-FILE-WAIVE: Likewise.
41262         [BZ #14132]
41263         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
41264         instead of INTVARDEF.
41265         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41266         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
41267         rtld_hidden_data_def instead of INTVARDEF.
41268         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41269         * elf/dl-deps.c (expand_dst): Likewise.
41270         * elf/dl-load.c (_dl_dst_count): Likewise.
41271         (_dl_dst_substitute): Likewise.
41272         (decompose_rpath): Likewise.
41273         (_dl_init_paths): Likewise.
41274         (open_path): Likewise.
41275         (_dl_map_object): Likewise.
41276         * elf/rtld.c (dl_main): Likewise.
41277         (process_dl_audit): Likewise.
41278         (process_envvars): Likewise.
41279         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
41280         Remove declaration.
41281         (__libc_enable_secure): Use rtld_hidden_proto.
41283 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41285         * elf/dl-load.c
41286         (add_path): New function broken out of _dl_rtld_di_serinfo.
41287         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
41289 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41291         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
41292         parentheses around macro arguments.
41293         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
41294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
41295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
41296         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
41297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
41298         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41299         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41300         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
41301         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
41302         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
41303         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
41304         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
41305         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
41306         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
41307         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
41308         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
41309         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
41310         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
41311         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
41312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
41313         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
41314         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
41315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
41316         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41317         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41318         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
41319         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
41320         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
41321         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
41322         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
41323         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
41324         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
41325         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
41326         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
41327         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
41328         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
41329         Likewise.
41330         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
41331         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
41334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
41335         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
41336         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
41337         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
41338         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
41339         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
41340         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
41341         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
41342         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
41343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
41344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
41345         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41346         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41347         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
41348         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
41349         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
41350         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
41351         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
41352         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
41353         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
41354         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
41355         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
41356         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
41357         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
41358         (_FP_FRAC_SRS_1): Likewise.
41359         (_FP_FRAC_CLZ_1): Likewise.
41360         (_FP_MUL_MEAT_1_imm): Likewise.
41361         (_FP_MUL_MEAT_1_wide): Likewise.
41362         (_FP_MUL_MEAT_1_hard): Likewise.
41363         (_FP_SQRT_MEAT_1): Likewise.
41364         (_FP_FRAC_ASSEMBLE_1): Likewise.
41365         (_FP_FRAC_DISASSEMBLE_1): Likewise.
41366         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
41367         (__FP_CLZ_2): Likewise.
41368         (_FP_MUL_MEAT_2_wide): Likewise.
41369         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41370         (_FP_MUL_MEAT_2_gmp): Likewise.
41371         (_FP_MUL_MEAT_2_120_240_double): Likewise.
41372         (_FP_SQRT_MEAT_2): Likewise.
41373         (_FP_FRAC_ASSEMBLE_2): Likewise.
41374         (_FP_FRAC_DISASSEMBLE_2): Likewise.
41375         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
41376         (_FP_FRAC_CLZ_4): Likewise.
41377         (_FP_MUL_MEAT_4_wide): Likewise.
41378         (_FP_MUL_MEAT_4_gmp): Likewise.
41379         (_FP_SQRT_MEAT_4): Likewise.
41380         (_FP_FRAC_ASSEMBLE_4): Likewise.
41381         (_FP_FRAC_DISASSEMBLE_4): Likewise.
41382         * soft-fp/op-common.h (_FP_CMP): Likewise.
41383         (_FP_CMP_EQ): Likewise.
41384         (_FP_CMP_UNORD): Likewise.
41385         (_FP_TO_INT): Likewise.
41386         (_FP_FROM_INT): Likewise.
41387         [!__FP_CLZ] (__FP_CLZ): Likewise.
41388         (_FP_DIV_HELP_imm): Likewise.
41389         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
41390         Likewise.
41391         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
41392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
41393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
41394         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
41395         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
41396         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41397         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41398         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
41399         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
41400         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
41401         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
41402         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
41403         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
41404         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
41405         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
41406         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
41407         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
41408         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
41409         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
41410         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
41411         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
41412         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
41413         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
41414         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41415         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41416         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
41417         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
41418         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
41419         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
41420         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
41421         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
41422         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
41423         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
41424         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
41425         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
41426         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
41427         (FP_UNPACK_RAW_SP): Likewise.
41428         (FP_PACK_RAW_S): Likewise.
41429         (FP_PACK_RAW_SP): Likewise.
41430         (FP_UNPACK_S): Likewise.
41431         (FP_UNPACK_SP): Likewise.
41432         (FP_UNPACK_SEMIRAW_S): Likewise.
41433         (FP_UNPACK_SEMIRAW_SP): Likewise.
41434         (FP_PACK_S): Likewise.
41435         (FP_PACK_SP): Likewise.
41436         (FP_PACK_SEMIRAW_S): Likewise.
41437         (FP_PACK_SEMIRAW_SP): Likewise.
41438         (_FP_SQRT_MEAT_S): Likewise.
41439         (FP_CMP_S): Likewise.
41440         (FP_CMP_EQ_S): Likewise.
41441         (FP_CMP_UNORD_S): Likewise.
41442         (FP_TO_INT_S): Likewise.
41443         (FP_FROM_INT_S): Likewise.
41445         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
41447         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
41448         (FP_EX_INVALID_IMZ): Likewise.
41449         (FP_EX_INVALID_IMZ_FMA): Likewise.
41450         (FP_EX_INVALID_ISI): Likewise.
41451         (FP_EX_INVALID_ZDZ): Likewise.
41452         (FP_EX_INVALID_IDI): Likewise.
41453         (FP_EX_INVALID_SQRT): Likewise.
41454         (FP_EX_INVALID_CVI): Likewise.
41455         (FP_EX_INVALID_VC): Likewise.
41456         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
41457         "invalid" exceptions.
41458         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
41459         (_FP_ADD_INTERNAL): Likewise.
41460         (_FP_MUL): Likewise.
41461         (_FP_FMA): Likewise.
41462         (_FP_DIV): Likewise.
41463         (_FP_CMP_CHECK_NAN): Likewise.
41464         (_FP_SQRT): Likewise.
41465         (_FP_TO_INT): Likewise.
41466         (FP_EXTEND): Likewise.
41468 2014-10-09  Allan McRae  <allan@archlinux.org>
41470         * po/fr.po: Update French translation from translation project.
41472 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41474         [BZ #14132]
41475         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
41476         of INTDEF.
41477         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
41478         (__cxa_atexit): Use libc_hidden_proto.
41479         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
41481         [BZ #14132]
41482         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
41483         declaration.
41484         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
41485         [!_ISOMAC] (__iswspace_l_internal): Likewise.
41486         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
41487         [!_ISOMAC] (__iswctype_internal): Likewise.
41488         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
41489         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
41490         alias.
41491         (fcntl): Remove __fcntl_internal alias.
41492         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
41493         __connect_internal alias.
41494         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
41495         Likewise.
41497         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
41498         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
41499         FP_DENORM_ZERO.
41500         (_FP_CHECK_FLUSH_ZERO): New macro.
41501         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
41502         (_FP_CMP): Likewise.
41503         (_FP_CMP_EQ): Likewise.
41504         (_FP_TO_INT): Do not set inexact for subnormal arguments if
41505         FP_DENORM_ZERO.
41506         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
41507         (FP_TRUNC): Likewise.
41509         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
41510         treated as invalid conversion, not as normal exponent.
41512         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
41513         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
41514         (_FP_CMP_EQ): Likewise.
41515         (_FP_CMP_UNORD): Likewise.
41516         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
41517         (FP_CMP_EQ_D): Likewise.
41518         (FP_CMP_UNORD_D): Likewise.
41519         * soft-fp/extended.h (FP_CMP_E): Likewise.
41520         (FP_CMP_EQ_E): Likewise.
41521         (FP_CMP_UNORD_E): Likewise.
41522         * soft-fp/quad.h (FP_CMP_Q): Likewise.
41523         (FP_CMP_EQ_Q): Likewise.
41524         (FP_CMP_UNORD_Q): Likewise.
41525         * soft-fp/single.h (FP_CMP_S): Likewise.
41526         (FP_CMP_EQ_S): Likewise.
41527         (FP_CMP_UNORD_S): Likewise.
41528         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
41529         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
41530         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
41531         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
41532         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
41533         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
41534         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
41535         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
41536         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
41537         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
41538         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
41539         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
41540         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
41541         to FP_CMP_Q.
41542         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
41543         FP_CMP_Q.
41544         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
41545         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
41546         FP_CMP_EQ_Q.
41547         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
41548         FP_CMP_Q.
41549         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
41550         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
41551         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
41552         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
41553         FP_CMP_EQ_Q.
41554         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
41555         FP_CMP_Q.
41556         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
41557         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
41558         FP_CMP_EQ_Q.
41559         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
41560         FP_CMP_Q.
41561         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
41562         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
41563         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
41564         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
41565         FP_CMP_EQ_Q.
41567         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
41568         a subnormal result, set the underflow exception if trapping on
41569         underflow is enabled.
41570         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
41571         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
41572         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
41573         redefine to 0.
41574         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
41575         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41576         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41577         * soft-fp/extendxftf2.c (__extendxftf2): Use
41578         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
41580         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
41581         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
41582         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41583         FP_HANDLE_EXCEPTIONS.
41584         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
41585         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41586         FP_HANDLE_EXCEPTIONS.
41587         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
41588         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41589         FP_HANDLE_EXCEPTIONS.
41590         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
41591         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41592         FP_HANDLE_EXCEPTIONS.
41594 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
41596         [BZ #14132]
41597         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
41598         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
41599         use INTUSE.
41600         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
41601         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
41602         Remove alias.
41603         (__adjtimex): Define using libc_hidden_ver.
41604         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
41605         Remove declaration.
41606         (ntp_gettime): Call __adjtimex directly.
41607         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
41608         Remove declaration.
41609         (ntp_gettimex): Call __adjtimex directly.
41610         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
41611         __adjtimex_internal alias.
41613 2014-10-08  Roland McGrath  <roland@hack.frob.com>
41615         [BZ #17460]
41616         * nscd/nscd.c (more_help): Rewrite list of tables collection
41617         using xstrdup and asprintf.
41619         * nscd/nscd_conf.c: Remove local xstrdup declaration.
41621 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41622             Roland McGrath  <roland@hack.frob.com>
41624         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
41625         (do_lookup_unique): ... local function 'enter' here; update callers.
41627 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
41629         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
41630         compat_symbol calls on [SHARED].
41631         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
41632         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
41633         Remove.
41634         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41635         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
41636         (oldsetrlimit): Remove.
41637         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41639         (lchown): New syscall entry.
41640         (oldsetrlimit): Remove.
41641         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41642         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
41643         (oldsetrlimit): Remove.
41644         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41646         [BZ #14138]
41647         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
41648         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
41649         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
41650         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
41651         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41652         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
41653         (fchown): Likewise.
41654         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
41655         (fchown): Likewise.
41656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
41657         Likewise.
41659 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41661         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
41662         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
41663         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
41664         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
41665         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
41666         Likewise.
41667         (__old_sem_post): Likewise.
41669 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
41671         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
41672         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
41673         HAVE_CLOCK_GETTIME_VSYSCALL macros.
41674         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
41675         Use INLINE_VSYSCALL macro.
41676         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
41677         __vdso_clock_gettime.
41678         * sysdeps/unix/sysv/linux/tile/init-first.c
41679         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
41680         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
41681         __vdso_clock_gettime.
41683         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
41684         to set up frame more cleanly.
41686         * sysdeps/tile/memcmp.c: New file.
41688         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
41690         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
41691         * sysdeps/tile/tilegx/strcasestr.c: New file.
41692         * sysdeps/tile/tilegx/strnlen.c: New file.
41693         * sysdeps/tile/tilegx/strstr.c: New file.
41695         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
41697 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
41699         * nptl/tst-setuid3.c: Write errors to stdout.
41701 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41703         * elf/dl-deps.c
41704         (preload): New functions broken out of _dl_map_object_deps.
41705         (_dl_map_object_deps):  Remove a nested function. Update call sites.
41707 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
41709         [BZ #14138]
41710         * sysdeps/unix/sysv/linux/execve.c: Remove file.
41711         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
41713 2014-10-01  Steve Ellcey  <sellcey@mips.com>
41715         * sysdeps/mips/strcmp.S: New.
41717 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
41719         [BZ #14138]
41720         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
41721         (linkat): Likewise.
41722         (mkdirat): Likewise.
41723         (readlinkat): Likewise.
41724         (renameat): Likewise.
41725         (symlinkat): Likewise.
41726         (unlinkat): Likewise.
41727         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
41728         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
41729         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
41730         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
41731         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
41732         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
41733         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
41735 2014-09-30  Will Newton  <will.newton@linaro.org>
41737         * math/math.h: Define long double math functions if
41738         _LIBC_TEST is defined.
41739         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
41741         * localedata/Makefile: Move assignment to tests-special
41742         into an ifdef testing run-built-tests.
41743         * timezone/Makefile: Likewise.
41745 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
41747         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
41748         with $(BASH) not $(SHELL).
41750 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
41751             Matthew LeGendre  <legendre1@llnl.gov>
41753         [BZ #17411]
41754         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
41755         l_reloc_result.
41757 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41759         * stdio-common/printf_fp.c
41760         (hack_digit): New function, broken out of ...
41761         (__printf_fp): ... local function here.  Update call sites.
41762         hack_digit now takes an additional parameter that is a pointer
41763         to a struct of the referenced locals.  Those locals moved inside
41764         the struct and references updated.
41766 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
41768         * aclocal.m4: Require autoconf 2.69.
41769         * configure: Regenerated.
41770         * sysdeps/aarch64/configure: Likewise.
41771         * sysdeps/alpha/configure: Likewise.
41772         * sysdeps/arm/armv7/configure: Likewise.
41773         * sysdeps/arm/configure: Likewise.
41774         * sysdeps/ia64/configure: Likewise.
41775         * sysdeps/mach/configure: Likewise.
41776         * sysdeps/mips/configure: Likewise.
41777         * sysdeps/s390/configure: Likewise.
41778         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
41779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
41781         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
41782         file.
41783         * sysdeps/ia64/configure.ac: Likewise.
41785 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
41787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
41788         specify symbol version for ld.so.  Do not include entry for
41789         libpthread.
41790         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41791         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
41792         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41794         [BZ #14171]
41795         * Makeconfig [$(build-shared) = yes]
41796         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
41797         makefiles.
41798         [$(build-shared) = yes && $(soversions.mk-done) = t]
41799         ($(common-objpfx)gnu/lib-names.h): Remove rule.
41800         [$(build-shared) = yes && $(soversions.mk-done) = t]
41801         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
41802         to Makerules.
41803         [$(build-shared) = yes && $(soversions.mk-done) = t]
41804         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
41805         here.
41806         [$(build-shared) = yes && $(soversions.mk-done) = t]
41807         (common-generated): Don't append gnu/lib-names.h and
41808         gnu/lib-names.stmp here.
41809         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
41810         (lib-names-h-abi): New variable.
41811         [$(build-shared) = yes && $(soversions.mk-done) = t]
41812         (lib-names-stmp-abi): Likewise.
41813         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41814         abi-variants] (before-compile): Append
41815         $(common-objpfx)$(lib-names-h-abi).
41816         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41817         abi-variants] (common-generated): Append gnu/lib-names.h.
41818         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41819         abi-variants] (install-others-nosubdir): Depend on
41820         $(inst_includedir)/$(lib-names-h-abi).
41821         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41822         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
41823         [$(build-shared) = yes && $(soversions.mk-done) = t]
41824         ($(common-objpfx)$(lib-names-h-abi)): New rule.
41825         [$(build-shared) = yes && $(soversions.mk-done) = t]
41826         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
41827         [$(build-shared) = yes && $(soversions.mk-done) = t]
41828         (common-generated): Append $(lib-names-h-abi) and
41829         $(lib-names-stmp-abi).
41830         * scripts/lib-names.awk: Do not handle multi being set.
41831         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
41832         Remove variable.
41833         (abi-lp64_be-ld-soname): Likewise.
41834         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
41835         Likewise.
41836         (abi-hard-ld-soname): Likewise.
41837         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
41838         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
41839         Remove variable.
41840         (abi-o32_hard-ld-soname): Likewise.
41841         (abi-o32_soft_2008-ld-soname): Likewise.
41842         (abi-o32_hard_2008-ld-soname): Likewise.
41843         (abi-n32_soft-ld-soname): Likewise.
41844         (abi-n32_hard-ld-soname): Likewise.
41845         (abi-n32_soft_2008-ld-soname): Likewise.
41846         (abi-n32_hard_2008-ld-soname): Likewise.
41847         (abi-n64_soft-ld-soname): Likewise.
41848         (abi-n64_hard-ld-soname): Likewise.
41849         (abi-n64_soft_2008-ld-soname): Likewise.
41850         (abi-n64_hard_2008-ld-soname): Likewise.
41851         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
41852         Likewise.
41853         (abi-64-v2-ld-soname): Likewise.
41854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
41855         ld.so entries.
41856         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
41857         variable.
41858         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
41859         entry.
41860         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
41861         variable.
41862         (abi-64-ld-soname): Likewise.
41863         (abi-x32-ld-soname): Likewise.
41864         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
41865         entry.
41866         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41868 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
41870         [BZ #14138]
41871         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
41872         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
41873         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
41874         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
41875         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
41876         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
41877         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
41878         syscall entry for GLIBC_2.2 symbol version.
41879         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
41880         Likewise.
41881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41882         (setrlimit): Likewise.
41883         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
41884         Likewise.
41886 2014-09-23  Will Newton  <will.newton@linaro.org>
41888         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
41889         _LINUX_ARM_SYSDEP_H include guard too.
41890         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
41891         define.
41893 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41895         * sysdeps/unix/sysv/linux/eventfd.c:
41896         Make first argument unsigned.
41897         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
41898         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
41900 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
41902         [BZ #16852]
41903         * socket/recvmmsg.c (recvmmsg): Drop const argument.
41904         * socket/sys/socket.h: Likewise.
41905         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
41907 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41909         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
41911 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
41913         * time/tst-ftime.c: New test.
41914         * time/Makefile (tests): Add tst-ftime.
41916 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
41918         * soft-fp/extended.h: Fix comment formatting.
41919         * soft-fp/op-1.h: Likewise.
41920         * soft-fp/op-2.h: Likewise.
41921         * soft-fp/op-4.h: Likewise.
41922         * soft-fp/op-8.h: Likewise.
41923         * soft-fp/op-common.h: Likewise.
41924         * soft-fp/soft-fp.h: Likewise.
41926         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
41928 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
41930         [BZ #6652]
41931         * Makeconfig (soversions-default-setname): Remove variable.
41932         ($(common-objpfx)soversions.i): Don't pass default_setname to
41933         soversions.awk.
41934         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
41935         oldest_abi to abi-versions.awk.
41936         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
41937         * config.make.in (oldest-abi): Remove variable.
41938         * configure.ac (--enable-oldest-abi): Remove configure option.
41939         * configure: Regenerated.
41940         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
41941         text.
41942         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
41943         * scripts/soversions.awk: Do not handle default_setname variable.
41944         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
41945         variable.
41946         * sysdeps/mach/hurd/configure: Regenerated.
41947         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
41948         variable.
41949         * sysdeps/unix/sysv/linux/configure: Regenerated.
41951 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41953         * elf/Makefile (CFLAGS-interp.c): Remove.
41954         ($(elf-objpfx)runtime-linker.h): Generate header with linker
41955         path string.
41956         * elf/interp.c: Include generated runtime-linker.h
41958         * Makerules (lib%.so): Don't include $(+interp) in
41959         prerequisites.
41960         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
41961         * dlfcn/eval.c: Remove file.
41963         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
41964         macros.
41966         [BZ #17266]
41967         * misc/sys/cdefs.h: Define __extern_always_inline for clang
41968         4.2 and newer.
41970         [BZ #17370]
41971         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
41973 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41974             Jakub Jelinek  <jakub@redhat.com>
41976         [BZ #17266]
41977         * libio/stdio.h: Check definition of __fortify_function
41978         instead of __extern_always_inline to include bits/stdio2.h.
41979         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
41980         check if __extern_always_inline is defined.
41981         [__USE_MISC || __USE_XOPEN]: Likewise.
41982         [__USE_ISOC99] Likewise.
41983         * misc/sys/cdefs.h (__fortify_function): Define only if
41984         __extern_always_inline is defined.
41985         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
41986         __extern_always_inline and __extern_inline only for g++-4.3
41987         and newer or a compatible gcc.
41989 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
41991         [BZ #17371]
41992         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
41993         last change to handle zero prefix length.
41995 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41997         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
41998         _SC_REGEX_VERSION.
42000         * posix/getconf.c (vars): Add _POSIX_IPV6 and
42001         _POSIX_RAW_SOCKETS.
42003 2014-09-13  Allan McRae  <allan@archlinux.org>
42005         * po/ru.po: Update Russian translation from translation project.
42007 2014-09-12  Roland McGrath  <roland@hack.frob.com>
42009         * locale/programs/locale.c (show_locale_vars): Inline local function
42010         into its sole call site.  Clean up some style nits.
42011         (print_item): New function, broken out of ...
42012         (show_info): ... local function here.  Clean up style nits.
42014         * locale/programs/ld-ctype.c (set_one_default): New function, broken
42015         out of ...
42016         (set_class_defaults): ... local function set_default here.
42017         Define set_default as a macro locally to pass constant parameters.
42018         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42019         rather than a shared local.
42021         * stdlib/rpmatch.c (try): New function, broken out of ...
42022         (rpmatch): ... local function here.  Also, prototypify definition.
42024 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
42026         * scripts/soversions.awk: Do not handle configuration names.
42027         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42028         vendor and os variables to soversions.awk.
42029         * configure.ac: Do not modify gnu-* host_os.
42030         * configure: Regenerated
42031         * shlib-versions: Remove first column with configuration names.
42032         * nptl/shlib-versions: Likewise.
42033         * nptl_db/shlib-versions: Likewise.
42034         * sysdeps/hppa/shlib-versions: Likewise.
42035         * sysdeps/m68k/shlib-versions: Likewise.
42036         * sysdeps/mach/hurd/shlib-versions: Likewise.
42037         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42038         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42039         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42040         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42041         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42042         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42043         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42044         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42046         Likewise.
42047         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42048         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42049         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42050         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42051         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42052         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
42053         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42054         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42057         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
42058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42059         Regenerated.
42060         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
42061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42062         Condition symbol version definitions on [HAVE_ELFV2_ABI].
42064         * shlib-versions: Remove OS-specific entries.  Moved to files in
42065         sysdeps.
42066         * sysdeps/mach/hurd/shlib-versions: New file.
42067         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42069         * nptl/shlib-versions: Remove architecture-specific entries.
42070         Moved to files in sysdeps.
42071         * shlib-versions: Likewise.
42072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
42073         file.
42074         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42075         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42076         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42077         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42079         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
42080         (UDP_NO_CHECK6_RX): Likewise.
42082 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42084         * sysdeps/posix/sysconf.c (__sysconf): Spell
42085         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
42087 2014-08-12  Florian Weimer  <fweimer@redhat.com>
42089         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
42090         loading.
42091         * iconv/Versions (__gconv_transliterate): Export for use from
42092         gconv modules.
42093         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
42094         (struct __gconv_trans_data, __gconv_trans_fct,
42095         __gconv_trans_context_fct, __gconv_trans_query_fct,
42096         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
42097         definitions.
42098         (struct __gconv_step_data): Remove __trans member.
42099         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
42100         longer hidden.  Remove unused trans_data argument.
42101         * iconv/gconv_int.h (struct trans_struct): Remove definition.
42102         (__gconv_translit_find): Remove declaration.
42103         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
42104         prototype.
42105         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
42106         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
42107         trans_data argument.  Add hidden definition.
42108         (__gconv_translit_find): Remove.
42109         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
42110         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
42111         * iconv/skeleton.c: Remove transliteration initialization.
42112         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
42113         __gconv_step_data initialization.
42114         * libio/iofwide.c (__libio_translit_): Remove.
42115         (_IO_fwide): Adjust struct __gconv_step_data initialization.
42116         * wcsmbs/btowc.c (__btowc): Likewise.
42117         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42118         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42119         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
42120         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
42121         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
42122         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
42123         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
42124         * wcsmbs/wctob.c (wctob): Likewise.
42126 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42128         [BZ #16194]
42129         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
42130         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
42131         register usage.
42132         * sysdeps/x86/Makefile: Adjust.
42134 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42135             Roland McGrath  <roland@hack.frob.com>
42137         * locale/weight.h: Add include guard.
42138         (findidx): Make static rather than auto; take new parameters
42139         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
42140         * locale/weightwc.h: Likewise.
42141         * posix/fnmatch_loop.c
42142         (FCT): Change type of EXTRA from int32_t to wint_t.
42143         Don't include either header inside the function.
42144         Call FINDIDX rather than findidx, and pass new arguments.
42145         #undef FINDIDX at the end of the file.
42146         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
42147         FINDIDX before including fnmatch_loop.c for the non-wide version.
42148         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
42149         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
42150         for the wide version.
42151         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
42152         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
42153         Pass new arguments to findidx.
42154         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
42155         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
42156         Don't #include it inside the function.  Pass new arguments to findidx.
42157         * posix/regex_internal.h
42158         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
42159         (re_string_elem_size_at): Don't #include it inside the function.
42160         Pass new arguments to findidx.
42161         * string/strcoll_l.c: #include WEIGHT_H at top level.
42162         (get_next_seq): Don't #include it inside the function.
42163         Pass new arguments to findidx.
42164         (get_next_seq_nocache): Likewise.
42165         * string/strxfrm_l.c: #include WEIGHT_H at top level.
42166         (STRXFRM): Don't #include it inside the function.
42167         Pass new arguments to findidx.
42169 2014-09-11  Florian Weimer  <fweimer@redhat.com>
42171         [BZ #17344]
42172         * malloc/malloc.c (unlink): Turn asserts into a call to
42173         malloc_printerr.
42175 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
42177         [BZ #17370]
42178         * libio/wfileops (do_ftell_wide): Free OUT.
42180 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
42182         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
42184 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42186         [BZ #17363]
42187         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
42188         group if the current group is empty.
42190 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42192         * benchtests/bench-memset.c (test_main): Add more test from size
42193         from 32 to 512 bytes.
42194         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42195         Add POWER8 memset object.
42196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42197         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
42198         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
42199         implementation.
42200         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
42201         Likewise.
42202         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
42203         multiarch POWER8 memset optimization.
42204         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
42205         POWER8 memset optimization.
42207         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42208         Remove bzero multiarch objects.
42209         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
42210         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
42211         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
42212         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
42213         Remove define.
42214         [__bzero]: Redefine to specific name.
42215         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
42216         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
42217         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
42218         define.
42219         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42220         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42222 2014-09-10  Florian Weimer  <fweimer@redhat.com>
42224         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
42225         warnings into errors.
42227         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
42228         __cxa_thread_atexit_impl prototype.
42230 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42232         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
42233         Fix capitalization of error message.
42235 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42237         * sysdeps/mips/preconfigure: Modify ABI tests.
42239 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
42241         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
42243 2014-09-07  Roland McGrath  <roland@hack.frob.com>
42244             Carlos O'Donell  <carlos@systemhalted.org>
42246         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
42247         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
42248         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
42249         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
42250         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
42251         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
42252         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
42253         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
42254         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
42255         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
42256         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
42257         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
42258         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
42259         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
42260         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
42261         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
42262         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
42263         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
42264         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
42265         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
42266         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
42267         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
42268         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
42269         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
42270         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
42271         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
42272         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
42273         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
42274         Deconditionalize the code that was previously under [RESET_PID].
42275         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
42276         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
42277         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
42278         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
42279         include sysdep.h.
42281 2014-09-08  Allan McRae  <allan@archlinux.org>
42283         * version.h (RELEASE): Set to "development".
42284         (VERSION): Set to "2.20.90"
42286 2014-09-07  Allan McRae  <allan@archlinux.org
42288         * version.h (RELEASE): Set to "stable".
42289         (VERSION): Set to "2.20"
42290         * include/features.h (__GLIBC_MINOR__): Set to 20.
42292         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
42293         Liebler.
42295         * po/ko.po: Update Korean translation from translation project.
42297 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
42299         [BZ #17354]
42300         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
42301         macro for handling signed relocations.
42303 2014-09-03  Florian Weimer  <fweimer@redhat.com>
42305         [BZ #17325]
42306         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
42307         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
42308         assert.
42309         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
42310         * iconvdata/ibm935.c (BODY): Likewise.
42311         * iconvdata/ibm937.c (BODY): Likewise.
42312         * iconvdata/ibm939.c (BODY): Likewise.
42313         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
42314         assert.
42315         * iconvdata/Makefile (iconv-test.out): Pass module list to test
42316         script.
42317         * iconvdata/run-iconv-test.sh: New test loop for checking for
42318         decoder crashers.
42320 2014-09-02  Khem Raj  <raj.khem@gmail.com>
42322         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
42323         libm_hidden_ver.
42325 2014-09-01  Allan McRae  <allan@archlinux.org>
42327         * po/eo.po: Update Esperanto translation from translation project.
42329         * po/ca.po: Update Catalan translation from translation project.
42331 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42333         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
42334         __proc_dostop call.
42336 2014-08-27  Mark Wielaard  <mjw@redhat.com>
42338         [BZ #17319]
42339         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
42340         to call set_thread_area instead of hand written asm.
42341         (__NR_set_thread_area): Removed define.
42342         (TLS_FLAG_WRITABLE): Likewise.
42343         (__ASSUME_SET_THREAD_AREA): Remove check.
42344         (TLS_EBX_ARG): Remove define.
42345         (TLS_LOAD_EBX): Likewise.
42347 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42349         Simplify atomicity of socket creation in bind.
42351         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
42352         looking up the name after linking the file.
42354 2014-08-27  Allan McRae  <allan@archlinux.org>
42356         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42358 2014-08-26  Florian Weimer  <fweimer@redhat.com>
42360         [BZ #17187]
42361         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
42362         trans_compare, open_translit, __gconv_translit_find):
42363         Remove module loading code.
42365 2014-08-26  Allan McRae  <allan@archlinux.org>
42367         * po/vi.po: Update Vietnamese translation from translation project.
42369         * po/uk.po: Update Ukrainian translation from translation project.
42371         * po/fr.po: Update French translation from translation project.
42373         * po/ru.po: Update Russian translation from translation project.
42375         * po/pl.po: Update Polish translation from translation project.
42377         * po/cs.po: Update Czech translation from translation project.
42379         * po/de.po: Update German translation from translation project.
42381         * po/bg.po: Update Bulgarian translation from translation project.
42383         * po/sv.po: Update Sweedish translation from translation project.
42385         * po/nl.po: Update Dutch translation from translation project.
42387         * po/es.po: Update Spanish translation from translation project.
42389 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42391         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
42393         * catgets/Makefile (CPPFLAGS-gencat): Remove.
42394         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
42395         (CPPFLAGS-iconvconfig): Likewise.
42396         * timezone/Makefile (CPPFLAGS-zic): Likewise.
42398         * include/libc-symbols.h: Remove unnecessary check for
42399         NOT_IN_libc.
42400         * nptl/pthreadP.h: Likewise.
42401         * sysdeps/aarch64/setjmp.S: Likewise.
42402         * sysdeps/alpha/setjmp.S: Likewise.
42403         * sysdeps/arm/sysdep.h: Likewise.
42404         * sysdeps/i386/setjmp.S: Likewise.
42405         * sysdeps/m68k/setjmp.c: Likewise.
42406         * sysdeps/posix/getcwd.c: Likewise.
42407         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42408         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42409         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42410         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42411         * sysdeps/sh/sh3/setjmp.S: Likewise.
42412         * sysdeps/sh/sh4/setjmp.S: Likewise.
42413         * sysdeps/unix/alpha/sysdep.h: Likewise.
42414         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42415         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42416         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42417         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42420         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42421         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42422         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42423         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42424         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42425         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42427         * sysdeps/x86_64/setjmp.S: Likewise.
42429 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
42431         [BZ #17263]
42432         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
42433         <stdint.h>.
42434         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
42435         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
42437 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42439         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
42441         [BZ #17262]
42442         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
42443         and __x86_64__ when disabling x87 inline functions.
42445 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42447         [BZ #17259]
42448         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
42449         asm statement with __cpuid_count.
42451 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
42453         * configure.ac: Change __ehdr_start code to dereference the struct.
42454         Run readelf on the output to look for relocations.
42455         * configure: Regenerated.
42457 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
42459         [BZ #17261]
42460         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
42461         value to 0.
42462         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
42464 2014-08-12  Roland McGrath  <roland@hack.frob.com>
42466         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
42468 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
42470         [BZ #16892]
42471         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
42472         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
42474 2014-08-12  Sean Anderson  <seanga2@gmail.com>
42476         * malloc/malloc.c: Fix typo in comment.
42478 2014-08-09  Allan McRae  <allan@archlinux.org>
42480         * Regenerate libc.po.
42482 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
42484         * intl/tst-gettext2.sh: Check every lang file for creation.
42486 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42488         * sysdeps/aarch64/fpu/math_private.h
42489         (libc_feholdsetround_noex_aarch64_ctx): New function.
42491 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42493         * sysdeps/arm/armv6/strcpy.S (strcpy):
42494         Fix performance issue in misaligned cases.
42496 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42498         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
42499         Move definition from termios.h.
42500         (struct termio): Likewise.
42501         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42502         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42503         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42504         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42505         Likewise.
42506         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
42507         Move definition to ioctl-types.h
42508         (struct termio): Likewise.
42509         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42510         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42511         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42512         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42513         Likewise.
42515 2014-08-05  Richard Henderson  <rth@redhat.com>
42517         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
42518         exceptions.
42519         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
42520         Add fraiseexcpt.
42521         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
42522         Use __feraiseexcept.
42523         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
42524         Protect libm symbols with IS_IN_libm.
42526         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
42528 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
42530         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
42532 2014-08-04  Will Newton  <will.newton@linaro.org>
42534         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
42535         file.
42537 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
42539         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
42540         variants for each function.
42542 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42544         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
42545         appended ...
42546         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
42547         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
42548         appended ...
42549         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
42550         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
42551         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
42552         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
42553         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
42554         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
42555         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
42556         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
42557         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
42558         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
42559         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
42560         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
42561         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
42562         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
42563         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
42564         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
42565         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
42566         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
42567         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
42568         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
42569         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
42570         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
42571         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
42572         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
42573         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
42574         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
42575         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
42576         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
42577         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
42578         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
42579         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
42580         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
42581         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
42582         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
42583         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
42584         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
42585         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
42586         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
42587         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
42588         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
42589         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
42590         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
42591         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
42592         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
42593         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
42594         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
42595         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
42596         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
42597         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
42598         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
42599         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
42600         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
42601         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
42602         Update #include.
42603         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
42604         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
42606 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42608         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
42609         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
42610         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
42611         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
42612         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
42613         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
42615 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42617         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
42618         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
42619         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42620         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
42622 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42624         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
42625         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
42626         (__libc_vfork): Define function under this name.
42627         (__vfork): Define as an alias.
42628         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
42629         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
42631 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42633         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
42634         that was previously under [RESET_PID].
42635         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
42637 2014-08-04  Andreas Schwab  <schwab@suse.de>
42639         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
42641 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
42643         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
42644         (main): Likewise.
42646 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42648         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
42650 2014-08-01  Richard Henderon  <rth@redhat.com>
42652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
42653         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
42654         typo in exact zero test.
42655         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42656         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42657         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42659 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42661         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
42662         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
42663         * sysdeps/arm/sysdep.h: ... here.
42664         [!__ASSEMBLER__]: Include <stdint.h>.
42666 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42668         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
42669         (HAVE_WCTYPE_H): Likewise.
42670         (HAVE_ISWCTYPE): Likewise.
42671         (ENABLE_NLS): Likewise.
42672         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
42673         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
42675         * posix/regex_internal.c: Check if DEBUG is defined and is
42676         set.
42678         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
42679         (HAVE_MBSRTOWCS): Likewise.
42680         * posix/fnmatch.c: Include string.h unconditionally.
42682 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42684         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
42685         reversal.
42687 2014-07-31  Roland McGrath  <roland@hack.frob.com>
42689         * sysdeps/generic/safe-fatal.h: New file.
42690         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
42691         * nptl/forward.c: Include it.
42692         (__pthread_unwind): Use __safe_fatal as default action, rather
42693         than a bogus use of INTERNAL_SYSCALL that could never work.
42695         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
42696         * configure.ac (libc_cv_builtin_trap): New test.
42697         * configure: Regenerated.
42698         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
42699         (ABORT_INSTRUCTION): Define using __builtin_trap.
42701         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
42702         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
42703         * sysdeps/nptl/nptl-signals.h: New file.
42704         * nptl/pthreadP.h: Include <nptl-signals.h>.
42706 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42708         * sysdeps/s390/s390-64/utf16-utf32-z9.c
42709         (ONE_DIRECTION): Define.
42710         * sysdeps/s390/s390-64/utf8-utf16-z9.c
42711         (ONE_DIRECTION): Define.
42712         * sysdeps/s390/s390-64/utf8-utf32-z9.c
42713         (ONE_DIRECTION): Define.
42715 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42717         * sysdeps/s390/Makefile: Delete file.
42718         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
42719         * sysdeps/s390/__longjmp.c: Delete file.
42720         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
42721         Remove fields __flags and __reserved.
42722         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
42723         and add versioning.
42724         * sysdeps/s390/rtld-__longjmp.c: Delete file.
42725         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
42726         * sysdeps/s390/rtld-setjmp.S: Likewise.
42727         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
42728         * sysdeps/s390/s390-32/__longjmp.c: ... here.
42729         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
42730         * sysdeps/s390/s390-32/setjmp.S: ... here.
42731         Add versioning.
42732         (__sigsetjmp): Remove setting __flags field.
42733         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
42734         * sysdeps/s390/s390-64/__longjmp.c: ... here.
42735         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
42736         * sysdeps/s390/s390-64/setjmp.S: ... here.
42737         Add versioning.
42738         (__sigsetjmp): Remove setting __flags field.
42739         * sysdeps/s390/setjmp.S: Delete file.
42740         * sysdeps/s390/sigjmp.c: Likewise.
42741         * sysdeps/s390/v1-longjmp.c: Likewise.
42742         * sysdeps/s390/v1-setjmp.h: Likewise.
42743         * sysdeps/s390/v1-sigjmp.c: Likewise.
42744         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
42745         Remove v1-longjmp_chk.
42746         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
42747         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
42748         Include debug/longjmp_chk.c and add versioning.
42749         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
42750         Include nptl/pt-longjmp.c and add versioning.
42751         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
42752         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
42753         Include __longjmp.c.
42754         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42755         Move to ...
42756         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
42757         (__getcontext): Remove setting __flags field.
42758         Add versioning.
42759         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42760         Don't restore upper high grps.
42761         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
42762         Likewise.
42763         (__swapcontext): Remove setting uc_flags field.
42764         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
42765         Delete file.
42766         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42767         Include __longjmp.c.
42768         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42769         Move to ...
42770         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
42771         (__getcontext): Remove setting __flags field.
42772         Add versioning.
42773         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
42774         (__swapcontext): Remove setting uc_flags field.
42775         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
42776         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
42777         Remove fields uc_high_gprs and __reserved.
42778         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
42779         New file with reverted content.
42780         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
42781         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
42782         Regenerated.
42783         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
42784         Regenerated.
42786 2014-07-31  Andreas Schwab  <schwab@suse.de>
42788         * config.h.in (HAVE_IFUNC): Define to 0.
42789         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
42790         definedness.
42792 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
42794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42795         memmove-avx-unaligned, memcpy-avx-unaligned and
42796         mempcpy-avx-unaligned.
42797         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42798         Add tests for AVX memcpy functions.
42799         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
42800         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
42801         memcpy_chk.
42802         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
42803         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
42804         memmove_chk.
42805         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
42806         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
42807         mempcpy_chk.
42808         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
42809         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
42810         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
42812 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42814         [BZ #17213]
42815         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
42816         powerpc64le.
42818 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
42820         [BZ #16839]
42821         * manual/llio.texi: Add section about open file description locks.
42822         * manual/examples/ofdlocks.c: Example of open file description
42823         lock usage.
42824         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
42825         F_OFD_SETLK, and F_OFD_SETLKW.
42827 2014-07-23  Allan McRae  <allan@archlinux.org>
42829         * po/es.po: Update Spanish translation from translation project.
42831 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
42833         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
42835 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
42837         [BZ #17078]
42838         * sysdeps/arm/dl-machine.h (elf_machine_rela)
42839         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
42840         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
42842 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
42844         [BZ #17088]
42845         * math/fesetenv.c (__fesetenv)
42846         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
42847         * math/feupdateenv.c (__feupdateenv)
42848         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
42850         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
42851         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42852         (__ASSUME_SOCKETCALL): Do not define.
42854         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
42855         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
42856         (__ASSUME_SOCKETCALL): Do not define.
42857         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
42858         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42859         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42860         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42861         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42862         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
42863         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42864         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42866         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
42867         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
42868         (__ASSUME_SOCKETCALL): Do not define.
42869         (__ASSUME_IPC64): Define unconditionally.
42870         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42871         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42872         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42873         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42874         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
42875         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42876         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
42877         Likewise.
42879         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
42880         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
42881         (__ASSUME_SOCKETCALL): Do not define.
42882         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
42883         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42884         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42885         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42886         (__ASSUME_REQUEUE_PI): Define unconditionally.
42887         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
42888         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
42889         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42890         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
42891         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42892         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42894         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
42895         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
42896         (__ASSUME_SOCKETCALL): Do not define.
42897         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
42898         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42899         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42900         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
42901         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42902         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42904         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
42905         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
42906         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42907         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
42908         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42909         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
42910         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42911         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
42912         (__ASSUME_GETCPU_SYSCALL): Likewise.
42914         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
42915         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
42916         cases for individual architectures.
42917         * sysdeps/gnu/configure: Regenerated.
42918         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
42919         LIBC_SLIBDIR_RTLDDIR.
42920         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
42921         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
42922         LIBC_SLIBDIR_RTLDDIR.
42923         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
42924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
42925         LIBC_SLIBDIR_RTLDDIR.
42926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42927         Regenerated.
42928         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
42929         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
42930         file.
42931         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
42932         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
42933         file.
42934         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
42935         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
42936         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
42937         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
42939         * sysdeps/aarch64/shlib-versions: Move to ...
42940         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
42941         * sysdeps/alpha/shlib-versions: Move to ...
42942         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
42943         * sysdeps/arm/shlib-versions: Move to ...
42944         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
42945         * sysdeps/hppa/shlib-versions: Move all contents except for
42946         libgcc_s entry to ...
42947         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
42948         entry from ...
42949         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
42950         * sysdeps/ia64/shlib-versions: Move to ...
42951         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
42952         entry from ...
42953         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
42954         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
42955         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
42956         * sysdeps/microblaze/shlib-versions: Move to ...
42957         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
42958         * sysdeps/mips/shlib-versions: Move to ...
42959         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
42960         entry from ...
42961         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
42962         * sysdeps/tile/shlib-versions: Move to ...
42963         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
42964         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
42965         from ...
42966         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
42967         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
42968         entry from ...
42969         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
42971 2014-07-17  Will Newton  <will.newton@linaro.org>
42973         * sysdeps/arm/bits/atomic.h
42974         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
42975         (__arch_compare_and_exchange_bool_16_int): Likewise.
42976         (__arch_compare_and_exchange_bool_64_int): Likewise.
42978         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
42979         into an #else block.
42981 2014-07-16  Roland McGrath  <roland@hack.frob.com>
42983         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
42984         just Linux configurations.  Test empirically that the compiler sets
42985         __ARM_EABI__, rather than using the tuple to decide.
42986         * sysdeps/arm/preconfigure: Regenerated.
42987         * sysdeps/unix/sysv/linux/arm/configure: File removed.
42988         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
42989         contents appended ...
42990         * sysdeps/arm/configure.ac: ... here.
42991         * sysdeps/arm/configure: Regenerated.
42993 2014-07-15  Roland McGrath  <roland@hack.frob.com>
42995         * nptl/pthread_kill.c: New file.
42996         * nptl/pthread_sigmask.c: New file.
42997         * nptl/pthread_sigqueue.c: New file.
42999         * sysdeps/nptl/lowlevellock.h: New file.
43000         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
43001         * sysdeps/nptl/lowlevellock-futex.h: New file.
43003         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
43004         Remove dead declarations.
43006 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
43008         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43009         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43010         config-cflags-avx2.
43011         * sysdeps/x86_64/configure.ac: Likewise.
43012         * sysdeps/i386/configure: Regenerated.
43013         * sysdeps/x86_64/configure: Likewise.
43014         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43015         memset-avx2 only if config-cflags-avx2 is yes.
43016         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43017         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43018         defined.
43019         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43020         only if HAVE_AVX2_SUPPORT is defined.
43021         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43023 2014-07-14  Alan Modra  <amodra@gmail.com>
43025         [BZ #17153]
43026         * elf/elf.h (DT_PPC64_NUM): Correct value.
43027         * NEWS: Add to fixed bug list.
43029 2014-07-13  Jim Meyering  <meyering@fb.com>
43031         [BZ 17150]
43032         regex: don't deref NULL upon heap allocation failure
43033         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43034         failure in one more place.
43035         To trigger the segfault, configure grep -with-included-regex,
43036         build it, and run these commands:
43037         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43039 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
43041         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43043 2014-07-11  Richard Henderson  <rth@redhat.com>
43045         * sysdeps/aarch64/libm-test-ulps: Update.
43047 2014-07-10  Florian Weimer  <fweimer@redhat.com>
43049         [BZ #17135]
43050         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
43051         * nptl/allocatestack.c (__nptl_setxid_error): New function.
43052         (__nptl_setxid): Initialize error member.  Call
43053         __nptl_setxid_error.
43054         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
43055         * nptl/descr.h (struct xid_command): Add error member.
43056         * nptl/tst-setuid3.c: New file.
43057         * nptl/Makefile (tests): Add it.
43059 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43061         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
43062         New define.
43063         (__lll_trylock): Use __lll_base_trylock.
43064         (__lll_cond_trylock): Likewise.
43066 2014-07-10  Roland McGrath  <roland@hack.frob.com>
43068         * nptl/pthread_create.c (start_thread): Use atomic_or and
43069         lll_futex_wake directly rather than lll_robust_dead.
43070         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43071         (lll_robust_dead): Macro removed.
43072         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
43073         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43074         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43075         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43076         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43077         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43078         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43079         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43080         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43081         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43082         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43083         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43084         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43085         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43086         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43088         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
43089         Use atomic_compare_and_exchange_val_acq directly rather than
43090         lll_robust_trylock.
43091         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43092         (__lll_robust_trylock, lll_robust_trylock): Removed.
43093         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43094         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43095         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43096         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43097         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43098         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43099         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43100         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43101         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43102         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43103         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43104         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43105         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43106         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43108 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43110         * manual/locale.texi (Locale Names): New section documenting
43111         locale name syntax.  Adjust menu and node chaining accordingly.
43112         (Choosing Locale): Reference Locale Names, Locale Categories.
43113         Mention setting LC_ALL=C.  Reflect that name syntax is now
43114         documented.
43115         (Locale Categories): New section title.  Reference Locale Names.
43116         LC_ALL is an environment variable, but not a category.
43117         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
43118         description, now in Locale Name.  Reference that section.  Locale
43119         name syntax is now documented.
43121 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43123         [BZ #17137]
43124         * locale/findlocale.c (name_present, valid_locale_name): New
43125         functions.
43126         (_nl_find_locale): Use the loc_name variable to store name
43127         candidates.  Call name_present and valid_locale_name to check and
43128         validate locale names.  Return an error if the locale is invalid.
43130 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43132         * locale/setlocale.c (setlocale): Use strdup for allocating
43133         composite name copy.
43135 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43137         Sync up with gnulib.
43138         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
43139         [!_LIBC && ENABLE_NLS]: Include gettext.h.
43140         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
43141         and _GL_ARG_NONNULL.
43142         [USE_UNLOCKED_IO]: Include unlocked-io.h.
43143         [!_LIBC]: Include code for Windows and Cygwin.
43144         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
43145         Include prototype for int strerror_r.
43146         [!_LIBC] (is_open): New function.
43147         (flush_stdout): New function.
43148         (print_errno_message): Use it.
43149         (error): Likewise.
43150         (error_at_line): Likewise.
43151         (error_tail) Add function attribute macros.  Use
43152         __builtin_expect.
43154         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
43156         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
43158         * io/ftw.c: Include sys/param.h unconditionally.
43160         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
43162         [BZ #17125]
43163         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
43164         libc_freeres_ptr.
43165         (freecache): New function to free CACHE on exit.
43167         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
43168         initialization.
43170 2014-07-09  David S. Miller  <davem@davemloft.net>
43172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43174         * sysdeps/sparc/nptl/internaltypes.h: Delete.
43175         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
43176         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
43177         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
43178         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
43179         * sysdeps/sparc/nptl/sem_init.c: Likewise.
43180         * sysdeps/sparc/nptl/sem_post.c: Likewise.
43181         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
43182         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
43183         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
43184         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
43185         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
43186         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
43188 2014-07-09  Andreas Schwab  <schwab@suse.de>
43190         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
43191         output.
43192         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
43193         (do_test): Likewise.
43195         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43197 2014-07-09  Will Newton  <will.newton@linaro.org>
43199         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
43200         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
43201         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
43202         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
43203         * sysdeps/hppa/start.S (_start): Likewise.
43205 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43207         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
43209         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
43210         defined.
43212 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43214         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
43215         after checking that it is non-NULL.
43217         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
43219 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43221         * sysdeps/powerpc/memmove.c: Remove file.
43222         * sysdeps/powerpc/powerpc32/power4/memcopy.h
43223         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
43224         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
43225         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
43226         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
43227         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
43228         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
43229         string memmove instead of removed powerpc one.
43231         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43232         [weak_alias]: Fix compiler warning due trailing data.
43233         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
43234         [weak_alias]: Likewise.
43235         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
43236         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
43238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43239         (__libc_ifunc_impl_list): Add memmove functions.
43241 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43243         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
43244         Remove code.
43245         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
43246         Likewise.
43247         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
43248         Likewise.
43249         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
43250         Likewise.
43251         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
43252         Likewise.
43253         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
43254         Likewise.
43255         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
43256         Likewise.
43257         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
43258         Likewise.
43259         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
43260         Likewise.
43261         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
43262         Likewise.
43263         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
43264         Likewise.
43265         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
43266         Likewise.
43267         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
43268         Likewise.
43269         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
43270         Likewise.
43271         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
43272         Likewise.
43273         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
43274         Likewise.
43275         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
43276         Likewise.
43278 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43280         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
43281         to avoid alignment traps in non-cacheable memory.
43282         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
43285         multiarch objects.
43286         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
43287         file: multiarch power7 memmove.
43288         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
43289         multiarch default memmove.
43290         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
43291         multiarch memove for powerpc32/power4.
43293         * string/bcopy.c: Use full path to include memmove.c.
43294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
43295         multiarch objects.
43296         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
43297         bcopy for powerpc64.
43298         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
43299         bcopy for powerpc64.
43300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
43301         and memmove implementations.
43302         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
43303         optimized multiarch memmove for POWER7/powerpc64.
43304         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
43305         default multiarch memmove for powerpc64.
43306         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
43307         multiarch for powerpc64.
43308         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
43309         for POWER7/powerpc64.
43310         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
43311         memmove for POWER7/powerpc64.
43313         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
43314         glibc default one.
43316         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
43317         __ELF_NATIVE_CLASS equal to 64.
43319 2014-07-07  Roland McGrath  <roland@hack.frob.com>
43321         * sysdeps/nptl/lowlevellock.h: File removed.
43323         * NEWS: NPTL is no longer an add-on!
43324         * nptl/internaltypes.h: Moved ...
43325         * sysdeps/nptl/internaltypes.h: ... here.
43326         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
43327         * sysdeps/nptl/fork.c: Likewise.
43328         * sysdeps/nptl/gai_misc.h: Likewise.
43329         * sysdeps/nptl/librt-cancellation.c: Likewise.
43330         * sysdeps/nptl/jmp-unwind.c: Likewise.
43331         * sysdeps/nptl/setxid.h: Likewise.
43332         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
43333         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
43334         * sysdeps/unix/sysv/linux/arm/Implies: New file.
43335         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
43336         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
43337         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
43338         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
43339         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
43340         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
43341         * sysdeps/unix/sysv/linux/mips/Implies: New file.
43342         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
43343         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
43344         * sysdeps/unix/sysv/linux/sh/Implies: New file.
43345         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
43346         * sysdeps/unix/sysv/linux/tile/Implies: New file.
43347         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
43348         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
43349         * nptl/Makeconfig: Moved ...
43350         * sysdeps/nptl/Makeconfig: ... here.
43351         * nptl/configure: File removed.
43352         * nptl/ANNOUNCE: File removed.
43353         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
43354         * sysdeps/unix/sysv/linux/configure: Regenerated.
43356         * nptl/Makefile (routines): Add libc_pthread_init,
43357         libc_multiple_threads, register-atfork and unregister-atfork.
43358         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
43359         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
43360         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
43361         pthread-pi-defines.sym, structsem.sym.
43362         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
43363         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
43364         [$(subdir) = nptl] (tests): Add tst-setgetname.
43365         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
43366         * sysdeps/unix/sysv/linux/sigaction.c: Just include
43367         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
43368         [!LIBC_SIGACTION]: Remove aliases.
43369         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43370         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43371         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43372         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
43373         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43374         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
43375         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43376         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43377         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43378         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
43379         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
43380         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
43381         __libc_allocate_rtsig_private.
43382         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
43383         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
43384         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
43385         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
43386         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
43387         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
43388         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
43389         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
43390         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
43391         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
43392         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
43393         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
43394         * nptl/internaltypes.h: ... here.
43395         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
43396         * sysdeps/nptl/jmp-unwind.c: ... here.
43397         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
43398         * nptl/libc-lowlevellock.c: ... here.
43399         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
43400         * nptl/libc_multiple_threads.c: ... here.
43401         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
43402         * nptl/libc_pthread_init.c: ... here.
43403         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
43404         * nptl/lowlevelbarrier.sym: ... here.
43405         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
43406         * nptl/lowlevelcond.sym: ... here.
43407         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
43408         * nptl/lowlevellock.c: ... here.
43409         * nptl/lowlevellock.h: Moved ...
43410         * sysdeps/nptl/lowlevellock.h: ... here.
43411         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
43412         * nptl/lowlevelrobustlock.c: ... here.
43413         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
43414         * nptl/lowlevelrobustlock.sym: ... here.
43415         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
43416         * nptl/lowlevelrwlock.sym: ... here.
43417         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
43418         * nptl/pt-fork.c: ... here.
43419         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
43420         * nptl/pthread-pi-defines.sym: ... here.
43421         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
43422         * nptl/pthread_attr_getaffinity.c: ... here.
43423         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
43424         * nptl/pthread_attr_setaffinity.c: ... here.
43425         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
43426         * nptl/pthread_mutex_cond_lock.c: ... here.
43427         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43428         Update #include.
43429         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
43430         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
43431         * nptl/pthread_once.c: ... here, replacing old file.
43432         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
43433         * nptl/pthread_yield.c: ... here.
43434         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
43435         * nptl/register-atfork.c: ... here.
43436         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
43437         * nptl/sem_post.c: ... here.
43438         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
43439         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
43440         * nptl/sem_timedwait.c: ... here.
43441         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
43442         * nptl/sem_trywait.c: ... here.
43443         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
43444         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
43445         * nptl/sem_wait.c: ... here.
43446         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
43447         * nptl/structsem.sym: ... here.
43448         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
43449         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
43450         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
43451         * nptl/unregister-atfork.c: ... here.
43452         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
43453         * nptl/unwindbuf.sym: ... here.
43454         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
43455         * sysdeps/nptl/fork.c: ... here.
43456         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
43457         * sysdeps/nptl/fork.h: ... here.
43458         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
43459         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
43460         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
43461         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
43462         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
43463         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
43464         * sysdeps/unix/sysv/linux/getpid.c: ... here.
43465         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
43466         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
43467         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
43468         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
43469         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
43470         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
43471         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
43472         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
43473         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
43474         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
43475         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
43476         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
43477         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
43478         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
43479         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
43480         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
43481         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
43482         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
43483         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
43484         * sysdeps/unix/sysv/linux/raise.c: ... here.
43485         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
43486         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
43487         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
43488         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
43489         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
43490         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
43491         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
43492         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
43493         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
43494         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
43495         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
43496         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
43497         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
43498         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
43499         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
43501 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43503         * sysdeps/generic/memcopy.h: Add comment for
43504         MEMCPY_OK_FOR_FWD_MEMMOVE.
43506 2014-07-04  Will Newton  <will.newton@linaro.org>
43508         * string/memchr.c: Merge from gnulib.
43509         [_LIBC]: Remove conditionals.
43510         (__ptr_t): Remove define.
43511         (LONG_MAX_32_BITS): Likewise.
43512         (LONG_MAX): Likewise.
43513         (MEMCHR): Use ANSI prototype and optimize algorithm.
43515         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
43517 2014-07-03  Roland McGrath  <roland@hack.frob.com>
43519         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
43520         (lll_futex_timed_wait_bitset): Fix syscall argument count.
43522         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
43523         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
43524         in a bare environment with no <stdlib.h> installed.
43525         * sysdeps/nptl/configure: Regenerated.
43527         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
43529         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
43530         AC_EGREP_CPP for kernel header checks, so they only succeed if
43531         including <linux/version.h> actually works right.
43532         * sysdeps/unix/sysv/linux/configure: Regenerated.
43534         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
43535         value so it's not diagnosed as unused.
43537         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
43538         thing) with "ifeq ($(subdir),rt)".
43540 2014-07-03  Richard Henderson  <rth@redhat.com>
43542         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
43543         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
43544         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
43546         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
43547         (math_force_eval): New.
43549         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
43550         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
43552         * sysdeps/alpha/fpu/s_round.c: Remove file.
43553         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
43555         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
43556         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
43557         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
43558         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
43559         (_dl_start, print_statistics): Likewise.
43560         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
43561         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
43563         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43564         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43565         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43566         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43567         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43568         (HP_SMALL_TIMING_AVAIL): Define.
43569         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43570         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43571         (HP_SMALL_TIMING_AVAIL): Define.
43572         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43573         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43575         * sysdeps/aarch64/hp-timing.h: New file.
43577         * sysdeps/generic/hp-timing.h: Remove dead comment.
43578         * sysdeps/generic/hp-timing-common.h: New file.
43579         * sysdeps/alpha/hp-timing.h: Include it.
43580         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
43581         * sysdeps/i386/i686/hp-timing.h: Likewise.
43582         * sysdeps/ia64/hp-timing.h: Likewise.
43583         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43584         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43585         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43586         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43587         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
43588         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
43589         (hp_timing_t): New.
43591         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
43592         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
43593         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
43594         * elf/rtld.c (_dl_start_final): Likewise.
43595         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
43596         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43597         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43598         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43599         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43601         (HP_TIMING_DIFF_INIT): Remove.
43602         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43603         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43604         (HP_TIMING_DIFF_INIT): Remove.
43605         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43606         * sysdeps/i386/i686/hp-timing.c: Remove file.
43607         * sysdeps/x86_64/hp-timing.c: Remove file.
43608         * sysdeps/ia64/hp-timing.c: Remove file.
43609         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
43610         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
43611         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
43612         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
43614         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
43615         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
43616         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
43617         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43618         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43619         (HP_TIMING_ACCUM): Remove.
43620         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43621         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
43622         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43624         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
43625         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
43626         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
43627         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
43628         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
43629         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43630         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
43631         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43633         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
43635 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
43637         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
43639 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43641         Sync up with gettext.
43642         * intl/loadmsgcat.c: Define O_BINARY if not defined.
43643         [_MSC_VER]: Include malloc.h
43644         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
43645         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
43646         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
43647         TEMP_FAILURE_RETRY.  Cast return of alloca.
43648         [!_LIBC] Call gl_rwlock_init.
43649         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
43651 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43653         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
43654         before checking its value.
43656 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43658         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
43660         * debug/memcpy_chk.c: Don't include pagecopy.h.
43661         * debug/mempcpy_chk.c: Likewise.
43662         * string/memcpy.c: Likewise.
43663         * string/memmove.c: Likewise.
43664         * sysdeps/powerpc/memmove.c: Likewise.
43665         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
43666         definition of PAGE_COPY_FWD_MAYBE here...
43667         * sysdeps/generic/pagecopy.h: ... from here.
43668         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
43670 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43671             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43673         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
43674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
43675         optimizations.
43676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43677         (__libc_ifunc_impl_list): Likewise.
43678         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
43679         multiarch strcat for PPC64.
43680         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
43681         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
43683 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43685         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
43687 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43689         * intl/loadmsgcat.c: Remove declaration of
43690         get_sysdep_segment_value.
43691         (get_sysdep_segment_value): Use ISO C style.
43692         (_nl_load_domain): Use ISO C style.  Get rid of redundant
43693         semicolon.  Fix typo and formatting in comment.
43694         (_nl_unload_domain): Use ISO C style.
43696         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
43698 2014-07-02  Will Newton  <will.newton@linaro.org>
43700         * malloc/obstack.c: Merge from gnulib master.
43701         [HAVE_CONFIG_H]: Remove conditional code.
43702         [!_LIBC]: Include config.h.
43703         [!ELIDE_CODE]: Don't include inttypes.h, include
43704         stdint.h unconditionally.
43705         (print_and_abort): Mark as _Noreturn.
43706         (_obstack_allocated_p): Mark as __attribute_pure__.
43707         (obstack_free): Rename to __obstack_free.
43708         [!__attribute__]: Remove conditional code.
43709         * malloc/obstack.h: Merge from gnulib master.
43710         [__cplusplus]: Move conditional down.
43711         [!__attribute_pure__]: Define __attribute_pure__ here
43712         if it is not already defined.
43713         (_obstack_memory_used): Mark as __attribute_pure__.
43714         [!__obstack_free]: Define as obstack_free.
43715         [__GNUC__]: Remove check for ancient NeXT gcc.
43717 2014-07-02  Will Newton  <will.newton@linaro.org>
43718             Paul Eggert  <eggert@cs.ucla.edu>
43720         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
43722 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43724         * resolv/gethnamaddr.c: Add comment warning that the file is
43725         not maintained.
43727 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
43729         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
43730         entries.
43732         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
43733         entry for aio_cancel and aio_cancel64.
43734         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
43735         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
43736         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
43737         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
43738         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
43739         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
43740         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
43741         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
43742         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
43743         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
43744         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
43745         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
43746         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
43748 2014-07-01  Roland McGrath  <roland@hack.frob.com>
43750         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
43751         * nptl/pthread_mutex_lock.c: Likewise.
43752         * nptl/pthread_mutex_timedlock.c: Likewise.
43753         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
43755 2014-07-01  Richard henderson  <rth@redhat.com>
43757         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
43758         (__isnan, __isnanl): Remove.
43759         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
43761         * sysdeps/alpha/fpu/libm-test-ulps: Update.
43763 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43765         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43767 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43769         * resolv/nss_dns/dns-host.c (getanswer_r)
43770         [MULTI_PTRS_ARE_ALIASES]: Remove code.
43772 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
43774         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43775         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
43776         undefine.
43777         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
43778         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
43780 2014-07-01  Roland McGrath <roland@hack.frob.com>
43782         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
43783         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
43785         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
43786         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
43788         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
43789         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
43790         ... here.
43791         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
43792         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
43794         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
43795         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
43796         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
43797         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
43799         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
43800         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
43801         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
43802         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
43803         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
43804         Moved ...
43805         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
43806         ... here.
43807         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
43808         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
43809         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
43810         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
43811         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
43812         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
43813         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
43814         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
43815         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
43816         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
43817         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
43818         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
43819         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
43820         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
43821         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
43822         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
43823         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
43824         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
43825         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
43826         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
43827         ... here.
43828         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
43829         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
43830         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
43831         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
43832         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
43833         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
43834         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
43835         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
43837 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
43839         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
43840         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
43841         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
43842         Add sysdep.
43844 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43848 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43850         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
43851         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43853         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43855         * sysdeps/arm/libm-test-ulps: Regenerated.
43857 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43858             Roland McGrath <roland@hack.frob.com>
43860         * test-skeleton.c (signal_handler): Kill the whole process group
43861         before killing the child individually.
43862         (main): Report any failure on `setpgid'.
43864 2014-06-30  Roland McGrath  <roland@hack.frob.com>
43866         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
43867         from _TLS_H to _ARM_NPTL_TLS_H.
43868         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
43869         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
43871 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43873         [BZ #16539]
43874         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
43875         (__expm1l): Return argument unchanged when small but not
43876         subnormal.
43878         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
43879         include macro name.
43880         (_FP_UNPACK_RAW_1_P): Likewise.
43881         (_FP_PACK_RAW_1): Likewise.
43882         (_FP_PACK_RAW_1_P): Likewise.
43883         (_FP_MUL_MEAT_1_wide): Likewise.
43884         (_FP_MUL_MEAT_DW_1_hard): Likewise.
43885         (_FP_MUL_MEAT_1_hard): Likewise.
43886         (_FP_DIV_MEAT_1_imm): Likewise.
43887         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
43888         (_FP_DIV_MEAT_1_udiv): Likewise.
43889         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
43890         (_FP_UNPACK_RAW_2): Likewise.
43891         (_FP_UNPACK_RAW_2_P): Likewise.
43892         (_FP_PACK_RAW_2): Likewise.
43893         (_FP_PACK_RAW_2_P): Likewise.
43894         (_FP_MUL_MEAT_DW_2_wide): Likewise.
43895         (_FP_MUL_MEAT_2_wide): Likewise.
43896         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
43897         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43898         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
43899         (_FP_MUL_MEAT_2_gmp): Likewise.
43900         (_FP_DIV_MEAT_2_udiv): Likewise.
43901         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
43902         (_FP_FRAC_SRL_4): Likewise.
43903         (_FP_FRAC_SRST_4): Likewise.
43904         (_FP_FRAC_SRS_4): Likewise.
43905         (_FP_UNPACK_RAW_4): Likewise.
43906         (_FP_UNPACK_RAW_4_P): Likewise.
43907         (_FP_PACK_RAW_4): Likewise.
43908         (_FP_PACK_RAW_4_P): Likewise.
43909         (_FP_MUL_MEAT_DW_4_wide): Likewise.
43910         (_FP_MUL_MEAT_4_wide): Likewise.
43911         (_FP_MUL_MEAT_4_gmp): Likewise.
43912         (umul_ppppmnnn): Likewise.
43913         (_FP_DIV_MEAT_4_udiv): Likewise.
43914         (__FP_FRAC_ADD_4): Likewise.
43915         (__FP_FRAC_SUB_3): Likewise.
43916         (__FP_FRAC_SUB_4): Likewise.
43917         (__FP_FRAC_DEC_3): Likewise.
43918         (__FP_FRAC_DEC_4): Likewise.
43919         (__FP_FRAC_ADDI_4): Likewise.
43920         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
43921         (_FP_FRAC_SRL_8): Likewise.
43922         (_FP_FRAC_SRS_8): Likewise.
43924         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
43925         include macro name.
43926         (FP_UNPACK_RAW_EP): Likewise.
43927         (FP_PACK_RAW_E): Likewise.
43928         (FP_PACK_RAW_EP): Likewise.
43929         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
43930         (_FP_ISSIGNAN): Likewise.
43931         (_FP_ADD_INTERNAL): Likewise.
43932         (_FP_FMA): Likewise.
43933         (_FP_CMP): Likewise.
43934         (_FP_SQRT): Likewise.
43935         (_FP_TO_INT): Likewise.
43936         (_FP_FROM_INT): Likewise.
43937         (FP_EXTEND): Likewise.
43938         (_FP_DIV_MEAT_N_loop): Likewise.
43940 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43942         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
43943         throughout.
43945 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
43947         [BZ #17097]
43948         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
43949         result with correct sign in case of exponents that produce
43950         overflow except for X very close to 1.
43952 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
43954         mktime: merge #if/#ifdef usage from glibc
43955         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
43956         as that works with both Glibc's and Gnulib's style.
43957         See thread starting at Siddhesh Poyarekar's bug report at:
43958         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
43960 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43962         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
43963         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
43964         * sysdeps/tile/tilegx/memmove.c: Remove file.
43966 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
43968         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
43969         abi-name definition.
43970         * scripts/soversions.awk: Do not handle or generate ABI lines.
43971         * shlib-versions: Remove ABI entries.
43972         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
43973         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
43975 2014-06-27  Roland McGrath  <roland@hack.frob.com>
43977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
43978         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
43979         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
43980         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
43981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
43982         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
43983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
43984         Moved ...
43985         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
43986         ... here.
43987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
43988         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
43989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
43990         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
43991         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
43992         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
43993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
43994         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
43995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
43996         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
43997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
43998         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
43999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
44000         Moved ...
44001         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
44002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
44003         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
44004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
44005         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
44006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
44007         Moved ...
44008         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44010         Moved ...
44011         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44013         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44015         Moved ...
44016         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44018         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44019         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44020         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44022         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44024         Moved ...
44025         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44027         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44028         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44029         Moved ...
44030         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44032         Moved ...
44033         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44034         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44035         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44037         Moved ...
44038         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44039         ... here.
44040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44041         Identical file removed.
44042         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44043         Moved ...
44044         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44045         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44046         Identical file removed.
44047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44048         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
44049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
44050         Moved ...
44051         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
44052         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
44053         Identical file removed.
44054         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
44055         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
44056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
44057         Identical file removed.
44058         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
44059         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
44060         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
44061         Identical file removed.
44062         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
44063         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
44064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
44065         Identical file removed.
44066         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
44067         Moved ...
44068         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
44069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
44070         Identical file removed.
44071         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
44072         Moved ...
44073         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
44074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
44075         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
44076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
44077         Identical file removed.
44078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
44079         Moved ...
44080         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
44081         ... here.
44082         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
44083         Identical file removed.
44084         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
44085         Moved ...
44086         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
44087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
44088         Identical file removed.
44089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
44090         Moved ...
44091         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
44092         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
44093         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
44094         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
44095         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
44096         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
44097         Moved ...
44098         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
44099         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
44100         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
44102         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
44103         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
44104         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
44105         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
44106         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
44108 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
44110         [BZ #17092]
44111         * nscd/nscd.c (monitor_child): Return exit status of child
44112         instead of return value from wait syscall.
44114 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44116         * configure.ac (libc_commonpagesize): Remove variable.
44117         (libc_relro_required): Likewise.
44118         (libc_cv_z_relro): Remove configure test.
44119         * configure: Regenerated.
44120         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
44121         variable.
44122         (libc_relro_required): Likewise.
44123         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
44124         (libc_relro_required): Likewise.
44125         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
44126         (libc_relro_required): Likewise.
44127         * sysdeps/arm/preconfigure: Regenerated.
44128         * sysdeps/ia64/preconfigure: Remove file.
44129         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
44130         variable.
44131         (libc_relro_required): Likewise.
44133         [BZ #16561]
44134         [BZ #16562]
44135         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
44136         (__ieee754_yn): Set FE_TONEAREST mode internally and then
44137         recompute overflowing results in original rounding mode.
44138         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
44139         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
44140         recompute overflowing results in original rounding mode.
44141         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
44142         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44143         recompute overflowing results in original rounding mode.
44144         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
44145         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44146         recompute overflowing results in original rounding mode.
44147         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
44148         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44149         recompute overflowing results in original rounding mode.
44150         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
44151         (libc_feholdsetround_ctx): New macro.
44152         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
44153         * sysdeps/i386/fpu/libm-test-ulps: Update.
44154         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
44156 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44158         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
44159         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
44160         corresponding .cpsetup call.
44162 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44164         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
44165         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
44166         * sysdeps/arm/Makefile [$(subdir) = csu]
44167         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
44168         (static-only-routines): Add aeabi_read_tp here.
44169         (shared-only-routines): Add libc-aeabi_read_tp here.
44170         (CFLAGS-libc-start.c): Add -fexceptions here.
44171         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
44172         (sysdep_routines, static-only-routines, shared-only-routines):
44173         Don't add to these here.
44174         (CFLAGS-libc-start.c): Likewise.
44176         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
44177         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44178         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
44179         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44180         * sysdeps/arm/Makefile [$(subdir) = rt]
44181         (librt-sysdep_routines, librt-shared-only-routines):
44182         Append rt-aeabi_unwind_cpp_pr1 here.
44183         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
44184         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
44185         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
44186         (libpthread-sysdep_routines, libpthread-shared-only-routines):
44187         Append nptl-aeabi_unwind_cpp_pr1 here.
44188         (tests): Filter out tst-cleanupx4 here.
44189         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
44190         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
44191         Don't do those here.
44193 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44195         * scripts/list-sources.sh: Do not handle ports specially.
44197 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44199         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
44200         * sysdeps/arm/feupdateenv.c: Likewise.
44202         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
44204 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44206         * manual/texinfo.tex: Update to version 2014-05-05.10 with
44207         trailing whitespace removed.
44208         * scripts/config.guess: Update to version 2014-03-23.
44209         * scripts/config.sub: Update to version 2014-05-01
44210         * scripts/install-sh: Update to version 2013-12-25.23.
44211         * scripts/move-if-change: Update from gnulib.
44213 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44215         * debug/memmove_chk.c: Remove pagecopy.h include.
44217 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
44219         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
44220         identical to gnulib mktime.
44222 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44224         * configure.ac: Do not test for machine being rs6000.  Do not test
44225         for powerpc*-*soft.
44226         * configure: Regenerated.
44228         [BZ #11505]
44229         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
44230         test.
44231         * configure: Regenerated.
44232         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
44233         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
44234         Remove configure test.
44235         * sysdeps/arm/configure: Regenerated.
44236         * sysdeps/nptl/configure.ac: Do not check
44237         libc_cv_asm_cfi_directives.
44238         * sysdeps/nptl/configure: Regenerated.
44239         * sysdeps/x86_64/nptl/configure.ac: Remove file.
44240         * sysdeps/x86_64/nptl/configure: Remove generated file.
44241         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
44242         unconditional.
44243         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
44245 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44247         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
44248         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
44249         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
44250         it is defined.
44252         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
44253         instead of whether it is defined.
44254         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
44255         * sysdeps/hppa/dl-machine.h: Likewise.
44256         * sysdeps/ia64/dl-machine.h: Likewise.
44257         * sysdeps/m68k/dl-machine.h: Likewise.
44258         * sysdeps/microblaze/dl-machine.h: Likewise.
44259         * sysdeps/mips/dl-machine.: Likewise.
44260         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44261         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44262         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44263         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44264         * sysdeps/sh/dl-machine.h: Likewise.
44265         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44266         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44267         * sysdeps/tile/dl-machine.h: Likewise.
44268         * sysdeps/x86_64/dl-machine.h: Likewise.
44270         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
44271         code.
44272         (verify_persistent_db): Likewise.
44274 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
44277         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
44278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
44279         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
44280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44281         Moved ...
44282         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
44283         ... here.
44284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
44285         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
44286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
44287         Identical file removed.
44288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
44289         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
44290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
44291         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
44292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
44293         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
44294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
44295         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
44296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
44297         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
44298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44299         Moved ...
44300         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
44301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
44302         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
44303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
44304         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
44305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44306         Moved ...
44307         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
44308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
44309         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
44310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
44311         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
44312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44313         Identical file removed.
44314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
44315         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
44316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
44317         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
44318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44319         Moved ...
44320         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
44321         ... here.
44322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
44323         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
44324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
44325         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
44326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
44327         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
44328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
44329         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
44330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
44331         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
44332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44333         Moved ...
44334         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
44335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
44336         Moved ...
44337         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
44338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
44339         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
44340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44341         Moved ...
44342         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
44343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
44344         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
44346         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
44347         folded into ...
44348         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
44349         * sysdeps/unix/sysv/linux/s390/Versions
44350         (libpthread: GLIBC_2.19): New version set.
44351         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
44352         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
44353         (librt: GLIBC_2.3.3): New version set.
44354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
44355         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
44356         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
44357         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
44358         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
44359         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
44360         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
44361         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
44362         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
44363         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
44364         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
44365         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
44366         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
44367         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
44368         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
44369         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
44370         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
44371         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
44372         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
44373         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
44374         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
44375         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
44376         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
44377         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
44378         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
44379         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
44380         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
44381         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
44382         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
44383         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
44384         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
44385         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
44386         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
44387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
44388         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
44389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
44390         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
44391         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
44392         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
44393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
44394         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
44395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
44396         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
44397         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
44398         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
44400         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
44401         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
44402         (__libc_vfork): Define the function under this name.
44403         [!NOT_IN_libc] (__vfork): Make this an alias.
44404         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
44406         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
44407         (__libc_vfork): Define the function under this name.
44408         [!NOT_IN_libc] (__vfork): Make this an alias.
44409         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44410         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
44411         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
44412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
44413         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
44414         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44416         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
44417         code that was previously under [RESET_PID].
44418         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
44419         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
44420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
44422         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
44423         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
44424         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
44425         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
44426         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
44427         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
44428         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
44429         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
44430         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
44431         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
44432         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
44433         Moved ...
44434         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
44435         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
44436         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
44437         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
44438         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
44439         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
44440         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
44441         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
44442         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
44443         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
44444         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
44445         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
44446         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
44447         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
44448         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
44449         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
44450         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
44451         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
44452         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
44453         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
44454         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
44455         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
44456         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
44457         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
44458         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
44459         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
44460         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
44461         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
44462         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
44464 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44466         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
44467         that was previously under [RESET_PID].
44468         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
44470 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44472         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
44473         not undefine and redefine.
44474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
44475         [O_CLOEXEC]: Make code unconditional.
44476         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
44477         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
44478         <kernel-features.h>.
44479         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
44480         conditional variable definition.
44481         (shm_open) [O_CLOEXEC]: Make code unconditional.
44482         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
44483         code.
44485         * configure.ac (USE_REGPARMS): Don't define here.
44486         * configure: Regenerated.
44487         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
44488         * sysdeps/i386/configure: Regenerated.
44490         * nptl/createthread.c: Don't include kernel-features.h.
44491         * nptl/pthread_cancel.c: Likewise.
44492         * nptl/pthread_condattr_setclock.c: Likewise.
44493         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
44494         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
44495         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
44496         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
44497         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
44498         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
44499         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
44500         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
44501         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
44502         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
44503         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
44504         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
44505         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
44506         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
44507         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
44508         * nscd/gai.c: Likewise.
44509         * nss/nss_db/db-open.c: Likewise.
44510         * sysdeps/generic/ldsodefs.h: Likewise.
44511         * sysdeps/sh/nptl/tls.h: Likewise.
44512         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44513         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
44514         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
44515         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
44516         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
44517         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44518         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
44519         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44520         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44521         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
44522         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
44523         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44524         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
44525         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
44526         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
44527         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
44528         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
44529         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
44530         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
44531         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
44532         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
44533         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
44534         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
44535         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
44536         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
44537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
44538         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
44539         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
44540         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
44541         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
44542         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
44543         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
44544         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
44545         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44546         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44547         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44548         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44549         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
44550         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
44551         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
44552         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44553         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
44554         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
44555         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44556         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
44557         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
44558         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
44559         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
44560         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
44561         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
44562         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
44563         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
44564         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
44565         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44566         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
44567         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44568         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44569         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
44570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
44572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
44573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
44574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
44575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
44576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
44577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
44578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
44581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
44582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
44583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
44584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
44590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
44591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
44592         * sysdeps/unix/sysv/linux/pread.c: Likewise.
44593         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
44594         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
44595         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
44596         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
44597         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
44598         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
44599         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
44600         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
44601         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
44602         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
44603         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
44604         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
44605         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
44606         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
44607         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
44608         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44609         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
44610         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
44611         * sysdeps/unix/sysv/linux/system.c: Likewise.
44612         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
44613         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
44614         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44615         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44616         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44617         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44618         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
44620         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
44621         * configure: Regenerated.
44622         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
44624         * configure.ac (base_machine): Do not set specially for particular
44625         machines here.
44626         * configure: Regenerated.
44627         * sysdeps/powerpc/preconfigure: Move machine and base_machine
44628         settings from configure.ac.
44629         * sysdeps/i386/preconfigure: New file.
44630         * sysdeps/s390/preconfigure: Likewise.
44631         * sysdeps/sh/preconfigure: Likewise.
44632         * sysdeps/sparc/preconfigure: Likewise.
44634 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44636         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
44637         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
44638         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
44639         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
44640         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
44641         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
44642         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
44643         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
44644         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
44645         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
44646         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
44647         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
44648         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
44649         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
44650         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
44651         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
44652         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
44653         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
44654         * sysdeps/sparc/sparc64/Makefile: ... appended here.
44656         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
44657         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
44658         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
44659         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
44660         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
44661         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
44662         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
44663         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
44664         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
44665         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
44666         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
44667         * sysdeps/sparc/sparc32/sem_post.c: ... here.
44668         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
44669         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
44670         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
44671         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
44672         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
44673         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
44674         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
44675         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
44676         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
44677         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
44678         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
44679         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
44680         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
44681         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
44682         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
44683         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
44684         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
44685         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
44686         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
44687         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
44688         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
44689         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
44690         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
44691         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
44692         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
44693         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
44695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
44696         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
44697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
44698         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
44699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44700         Moved ...
44701         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
44702         ... here.
44703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
44704         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
44705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
44706         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
44707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
44708         Moved ...
44709         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
44710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
44711         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
44712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
44713         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
44714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
44715         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
44716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44717         Moved ...
44718         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
44719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44720         Moved ...
44721         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
44722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
44723         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
44724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44725         Moved ...
44726         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
44727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
44728         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
44729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
44730         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
44731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
44732         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
44733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
44734         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
44735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44736         Moved ...
44737         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
44738         ... here.
44739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
44740         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
44741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
44742         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
44743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
44744         Moved ...
44745         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
44746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
44747         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
44748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
44749         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
44750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
44751         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
44752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44753         Moved ...
44754         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
44755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44756         Moved ...
44757         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
44758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
44759         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
44760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44761         Moved ...
44762         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
44763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
44764         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
44765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
44766         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
44768 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44770         * timezone/checktab.awk: Update from tzcode 2014e.
44771         * timezone/private.h: Likewise.
44772         * timezone/tzfile.h: Likewise.
44773         * timezone/zdump.c: Likewise.
44774         * timezone/zic.c: Likewise.
44776         * sysdeps/unix/sysv/linux/kernel-features.h
44777         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
44778         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
44779         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
44780         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44781         Remove conditional code.
44783 2014-06-25  Will Newton  <will.newton@linaro.org>
44785         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
44786         (_dl_arm_cap_flags): Add HWCAP2 values.
44787         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
44788         (_DL_HWCAP_COUNT): Increase to 37.
44789         (_DL_HWCAP_LAST): New define.
44790         (_DL_HWCAP2_LAST): New define.
44791         (_dl_procinfo): Add support for printing
44792         AT_HWCAP2 entries.
44793         (_dl_string_hwcap): Use _dl_hwcap_string.
44795 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44799 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44801         * README: Do not mention ports directory.
44803         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
44804         Remove macro.
44805         * sysdeps/unix/sysv/linux/futimes.c: Do not include
44806         <kernel-features.h>.
44807         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
44808         conditional variable definition.
44809         (__futimes): Update comment.
44810         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
44811         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
44813         [BZ #16560]
44814         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
44815         arguments close to 0.
44816         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
44817         Likewise.
44818         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
44819         Likewise.
44820         * math/auto-libm-test-in: Add more tests of exp10.
44821         * math/auto-libm-test-out: Regenerated.
44822         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44824         * sysdeps/unix/sysv/linux/kernel-features.h
44825         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
44826         * sysdeps/unix/sysv/linux/readv.c: Do not include
44827         <kernel-features.h>.
44828         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44829         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44830         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44831         unconditional.
44832         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44833         conditional code.
44834         * sysdeps/unix/sysv/linux/writev.c: Do not include
44835         <kernel-features.h>.
44836         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44837         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44838         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44839         unconditional.
44840         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44841         conditional code.
44843 2014-06-25  Will Newton  <will.newton@linaro.org>
44845         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
44846         comment changes throughout the file.  Remove checks
44847         for HAVE_*_H definitions that are not required.
44848         (__gen_tempname): Call abort if an unknown kind value is
44849         passed.
44851 2014-06-25  Andreas Schwab  <schwab@suse.de>
44853         [BZ #17086]
44854         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
44855         scalbln, scalblnf, scalblnl in libc.
44857 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44859         [BZ #17086]
44860         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
44861         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44862         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44864 2014-06-24  Roland McGrath  <roland@hack.frob.com>
44866         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
44867         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
44868         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
44869         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
44870         Update #include.
44871         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
44872         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
44873         Update #include.
44874         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
44875         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
44876         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
44877         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
44878         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
44879         * sysdeps/x86/bits/pthreadtypes.h: ... here.
44880         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
44881         * sysdeps/x86/bits/semaphore.h: ... here.
44882         * sysdeps/x86/nptl/elide.h: Moved ...
44883         * sysdeps/x86/elide.h: ... here.
44884         * sysdeps/x86_64/nptl/Implies: File removed.
44885         * sysdeps/i386/nptl/Implies: File removed.
44887 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
44889         [BZ #16539]
44890         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
44891         return the argument for normal arguments with exponent below -64.
44892         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44893         Likewise.
44894         * math/auto-libm-test-in: Add another test of expm1.
44895         * math/auto-libm-test-out: Regenerated.
44897         [BZ #16287]
44898         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
44899         calling __erfcl for arguments at least 16.
44900         * math/auto-libm-test-in: Add more tests of erf.
44901         * math/auto-libm-test-out: Regenerated.
44903         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
44904         individual architectures.
44905         * sysdeps/unix/sysv/linux/configure: Regenerated.
44906         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
44907         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
44908         * sysdeps/unix/sysv/linux/powerpc/configure.ac
44909         (ldd_rewrite_script): Define variable.
44910         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
44912         file.
44913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
44914         generated file.
44915         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
44916         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
44917         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
44918         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
44919         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
44920         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
44921         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
44922         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
44924 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44926         [BZ #17084]
44927         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
44928         Rename member __data.d to __data.__elision_data.
44930 2014-06-24  Wilco  <wdijkstr@arm.com>
44932         * NEWS: Add 16918 to fixed bug list.
44934 2014-06-24  Wilco  <wdijkstr@arm.com>
44936         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
44938 2014-06-24  Wilco  <wdijkstr@arm.com>
44940         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
44941         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
44942         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
44943         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
44944         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
44945         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
44946         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
44947         Use _FPU_MASK_RM.
44949 2014-06-24  Wilco  <wdijkstr@arm.com>
44951         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
44953 2014-06-24  Wilco  <wdijkstr@arm.com>
44955         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
44956         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
44957         * sysdeps/arm/fesetround.c (fesetround): Remove space.
44958         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
44960 2014-06-24  Wilco  <wdijkstr@arm.com>
44962         [BZ #16918]
44963         * sysdeps/arm/feupdateenv.c (feupdateenv):
44964         Rewrite to reduce FPSCR accesses and fix return value.
44966 2014-06-24  Wilco  <wdijkstr@arm.com>
44968         * sysdeps/arm/fclrexcpt.c (feclearexcept):
44969         Optimize to avoid unnecessary FPSCR writes.
44970         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
44971         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
44972         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
44973         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
44975 2014-06-24  Wilco  <wdijkstr@arm.com>
44977         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
44978         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
44979         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
44980         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
44981         Call libc_fetestexcept_vfp.
44982         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
44983         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
44984         __SOFTFP__ ifdef so that they can be built for softfp.
44986 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44988         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
44989         argument type signed char.
44991         * Makerules (check-abi): Dump diff of symlist if the test
44992         fails.
44994 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44996         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
44997         using abort.
44999         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45000         Remove unused variable ST.
45002 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45004         [BZ #16354]
45005         [BZ #17061]
45006         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
45007         small arguments before calling __expm1.
45008         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45009         small arguments before calling __expm1f.
45010         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45011         small arguments before calling __expm1l.
45012         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45013         Likewise.
45014         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45015         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
45016         spurious underflow for some cosh tests.
45017         * math/auto-libm-test-out: Regenerated.
45018         * sysdeps/i386/fpu/libm-test-ulps: Update.
45020         [BZ #17050]
45021         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45022         (__ieee754_y1): Set errno if return value overflows.
45023         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45024         (__ieee754_y1f): Set errno if return value overflows.
45025         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45026         (__ieee754_y1l): Set errno if return value overflows.
45027         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45028         (__ieee754_y1l): Set errno if return value overflows.
45029         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45030         * math/auto-libm-test-out: Regenerated.
45032         * math/gen-auto-libm-tests.c: Document use of
45033         ignore-zero-inf-sign.
45034         (input_flag_type): Add value flag_ignore_zero_inf_sign.
45035         (input_flags): Add ignore-zero-inf-sign.
45036         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45037         * math/gen-libm-test.pl (generate_testfile): Handle
45038         ignore-zero-inf-sign.
45039         * math/auto-libm-test-in: Mark some cpow tests with
45040         ignore-zero-inf-sign and some with xfail-rounding.
45041         * math/auto-libm-test-out: Regenerated.
45042         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45043         * sysdeps/i386/fpu/libm-test-ulps: Update.
45044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45046         [BZ #16315]
45047         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45048         overflowing or underflowing operations take place with sign of
45049         result.
45050         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45051         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45052         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
45053         (__ieee754_pow): Recompute overflowing and underflowing results in
45054         original rounding mode.
45055         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
45056         (__powl_helper): Allow negative argument X and scale negated value
45057         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
45058         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
45059         overflowing or underflowing operations take place with sign of
45060         result.
45061         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
45062         Include <math.h>.
45063         * math/auto-libm-test-in: Add more tests of pow.
45064         * math/auto-libm-test-out: Regenerated.
45065         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
45066         (pow_tonearest_test_data): Remove.
45067         (pow_test_tonearest): Likewise.
45068         (pow_towardzero_test_data): Likewise.
45069         (pow_test_towardzero): Likewise.
45070         (pow_downward_test_data): Likewise.
45071         (pow_test_downward): Likewise.
45072         (pow_upward_test_data): Likewise.
45073         (pow_test_upward): Likewise.
45074         (main): Don't call removed functions.
45075         * sysdeps/i386/fpu/libm-test-ulps: Update.
45076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45078 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
45081         Moved ...
45082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
45083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45084         Moved ...
45085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
45086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45087         Moved ...
45088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
45089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45090         Moved ...
45091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
45092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45093         File removed.
45094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45095         File removed.
45096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
45097         File removed.
45098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
45099         File removed.
45100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
45101         File removed.
45102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
45103         File removed.
45104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
45105         File removed.
45106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45107         File removed.
45108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
45109         File removed.
45110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45111         File removed.
45112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
45113         File removed.
45114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
45115         File removed.
45116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
45117         Moved ...
45118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
45119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
45120         Moved ...
45121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
45122         ... here.
45123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
45124         Moved ...
45125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
45126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
45127         Moved ...
45128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
45129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
45130         Moved ...
45131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
45132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
45133         Moved ...
45134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
45135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
45136         Moved ...
45137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
45138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
45139         Moved ...
45140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
45141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
45142         Moved ...
45143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
45144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
45145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
45146         ... here.
45147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
45148         Moved ...
45149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
45150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45151         Moved ...
45152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
45153         ... here.
45154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
45155         Moved ...
45156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
45157         ... here.
45158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45159         Moved ...
45160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
45161         ... here.
45162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45163         Moved ...
45164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
45165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45166         Moved ...
45167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
45168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
45169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
45170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45171         Moved ...
45172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
45173         ... here.
45174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45175         Moved ...
45176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
45177         ... here.
45178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45179         Moved ...
45180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
45181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45182         Moved ...
45183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
45184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45185         Moved ...
45186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
45187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45188         Moved ...
45189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
45190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45191         Moved ...
45192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
45193         ... here.
45194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45195         Moved ...
45196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
45197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45198         Moved ...
45199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
45200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45201         Moved ...
45202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
45203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45204         Moved ...
45205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
45206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
45207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
45208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45209         Moved ...
45210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
45211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45212         Moved ...
45213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
45214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45215         Moved ...
45216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
45217         ... here.
45218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45219         Moved ...
45220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
45221         ... here.
45222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45223         Moved ...
45224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
45225         ... here.
45226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45227         Moved ...
45228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
45229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45230         Moved ...
45231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
45232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45233         Moved ...
45234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45236         Moved ...
45237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
45238         ... here.
45239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45240         Moved ...
45241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
45242         ... here.
45243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45244         Moved ...
45245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
45246         ... here.
45247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45248         Moved ...
45249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
45250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45251         Moved ...
45252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
45254 2014-06-23  Will Newton  <will.newton@linaro.org>
45255             Wilco  <wdijkstr@arm.com>
45257         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
45258         implementation.  Include get-rounding-mode.h.
45259         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
45260         [!libc_feholdsetround_noex_ctx]: Define
45261         libc_feholdsetround_noex_ctx.
45262         [!libc_feholdsetround_noexf_ctx]: Define
45263         libc_feholdsetround_noexf_ctx.
45264         [!libc_feholdsetround_noexl_ctx]: Define
45265         libc_feholdsetround_noexl_ctx.
45266         (libc_feholdsetround_ctx): New function.
45267         (libc_feresetround_ctx): New function.
45268         (libc_feholdsetround_noex_ctx): New function.
45269         (libc_feresetround_noex_ctx): New function.
45271 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45273         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
45274         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
45275         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
45276         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
45277         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
45278         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
45280         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
45281         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
45282         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
45283         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
45284         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
45285         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
45286         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
45287         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
45288         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
45289         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
45290         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
45291         Moved ...
45292         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
45293         ... here.
45294         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
45295         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
45296         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
45297         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
45298         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
45299         Moved ...
45300         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
45301         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
45302         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
45303         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
45304         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
45305         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
45306         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
45307         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
45308         Moved ...
45309         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
45310         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
45311         Moved ...
45312         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
45313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
45314         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
45315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
45316         Moved ...
45317         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
45318         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
45319         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
45320         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
45321         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
45322         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
45323         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
45324         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
45325         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
45326         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
45327         Moved ...
45328         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
45329         ... here.
45330         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
45331         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
45332         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
45333         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
45334         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
45335         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
45336         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
45337         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
45338         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
45339         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
45340         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
45341         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
45342         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
45343         Moved ...
45344         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
45345         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
45346         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
45347         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
45348         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
45349         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
45350         Moved ...
45351         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
45352         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
45353         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
45354         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
45355         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
45357         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
45358         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
45359         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
45360         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
45361         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
45362         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
45363         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
45364         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
45365         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
45366         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
45367         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
45368         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
45369         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
45370         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
45371         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
45372         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
45373         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
45374         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
45375         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
45376         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
45377         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
45378         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
45379         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
45380         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
45381         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
45382         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
45383         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
45384         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
45386 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45388         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
45389         (FALLOC_FL_COLLAPSE_RANGE): New macro.
45390         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
45391         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
45392         (IPV6_PMTUDISC_INTERFACE): Likewise.
45393         (IPV6_PMTUDISC_OMIT): Likewise.
45395 2014-06-23  Andreas Schwab  <schwab@suse.de>
45397         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
45398         Remove unused errout label.
45400 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45402         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
45403         macro: hardware supports Vector Crypto instructions.
45405 2014-06-23  Will Newton  <will.newton@linaro.org>
45407         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
45408         rather than __builtin_expect.
45410         * elf/dl-lookup.c (undefined_msg): Remove variable.
45411         (_dl_lookup_symbol_x): Replace undefined_msg with string
45412         literal.
45414         * elf/dl-lookup.c (do_lookup_unique): New function.
45415         (do_lookup_x): Move STB_GNU_UNIQUE handling code
45416         to a separate function.
45418 2014-06-23  Andreas Schwab  <schwab@suse.de>
45420         [BZ #17079]
45421         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
45422         before reading the next line.
45424 2014-06-23  Will Newton  <will.newton@linaro.org>
45426         * test-skeleton.c (signal_handler): Use printf and %m
45427         rather than perror.  Use printf rather than fprintf to
45428         stderr.  Use puts rather than fputs to stderr.
45429         (main): Likewise.
45431 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
45433         * nscd/nscd.c (thread_info_t): Remove typedef.
45434         (thread_info): Remove variable.
45436 2014-06-21  Allan McRae  <allan@archlinux.org>
45438         * NEWS: Mention CVE-2014-4043.
45440 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45442         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
45443         * nptl/smp.h: ... here.
45445         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
45447         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
45448         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
45449         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
45450         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
45452         * nptl/allocatestack.c: Include <stack-aliasing.h>.
45453         * nptl/stack-aliasing.h: New file.
45454         * sysdeps/i386/i686/stack-aliasing.h: New file.
45455         * sysdeps/i386/i686/nptl/Makefile: File removed.
45456         * sysdeps/x86_64/stack-aliasing.h: New file.
45457         * sysdeps/x86_64/nptl/Makefile
45458         (CFLAGS-pthread_create.c): Variable removed.
45460         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
45461         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
45462         old file.
45463         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
45464         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
45465         old file.
45467 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
45469         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45470         (__ASSUME_SIGFRAME_V2): Remove macro.
45471         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
45472         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
45473         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
45474         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
45475         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
45476         Declare as function.  Remove conditional macro definitions.
45477         (__default_rt_sa_restorer): Likewise.
45478         (__default_sa_restorer_v1): Remove declaration.
45479         (__default_sa_restorer_v2): Likewise.
45480         (__default_rt_sa_restorer_v1): Likewise.
45481         (__default_rt_sa_restorer_v2): Likewise.
45482         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
45483         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
45484         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
45486 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45488         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
45489         (libpthread-routines): Add sysdep.
45490         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
45491         * sysdeps/unix/sysv/linux/sparc/Versions
45492         (libpthread: GLIBC_2.3.3): New version set.
45493         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
45494         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
45495         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
45496         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
45497         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
45498         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
45499         Moved ...
45500         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
45501         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
45502         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
45503         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
45504         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
45505         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
45506         * sysdeps/sparc/nptl/sem_init.c: ... here.
45507         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
45508         * sysdeps/sparc/nptl/sem_post.c: ... here.
45509         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
45510         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
45511         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
45512         * sysdeps/sparc/nptl/sem_wait.c: ... here.
45513         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
45514         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
45515         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
45516         (libpthread-routines): Add cpu_relax.
45517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
45518         File removed.
45519         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
45520         (librt: GLIBC_2.3.3): New version set.
45521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
45522         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
45523         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
45524         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
45525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
45526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
45527         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
45528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
45529         Moved ...
45530         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
45531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
45532         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
45533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
45534         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
45535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
45536         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
45537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
45538         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
45539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
45540         Moved ...
45541         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
45542         Update #include.
45543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
45544         Moved ...
45545         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
45546         Update #include.
45547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
45548         Moved ...
45549         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
45550         Update #include.
45551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
45552         Moved ...
45553         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
45554         Update #include.
45555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
45556         Moved ...
45557         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
45558         Update #include.
45559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
45560         Moved ...
45561         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
45562         Update #include.
45563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
45564         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
45565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
45566         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
45567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
45568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
45569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
45570         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
45571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
45572         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
45573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45574         Moved ...
45575         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
45576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
45577         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
45578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
45579         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
45581 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45583         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
45584         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
45585         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45586         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
45587         * nscd/nscd.c: Likewise.
45588         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
45589         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
45590         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
45591         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
45593         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
45594         <kernel-features.h>.
45595         (init_mq_netlink): Remove conditional have_sock_cloexec
45596         definitions.  Remove code conditional on have_sock_cloexec < 0.
45597         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
45598         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
45599         * sysdeps/unix/sysv/linux/opensock.c: Do not include
45600         <kernel-features.h>.
45601         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
45602         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
45604 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45606         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45607         Add tests for memset_chk and memset.
45609         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
45610         with AVX2_Usable.
45612 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45614         [BZ #16046]
45615         * elf/tst-dl-iter-static.c: New file.
45616         * elf/Makefile (tests-static): Add tst-dl-iter-static.
45618         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
45619         error.
45621 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45623         * sysdeps/unix/sysv/linux/kernel-features.h
45624         (__ASSUME_F_GETOWN_EX): Remove macro.
45625         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
45626         <kernel-features.h>.
45627         (miss_F_GETOWN_EX): Remove variable or macro.
45628         (do_fcntl): Do not check miss_F_GETOWN_EX.
45629         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
45631         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
45632         Remove macro.
45633         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
45634         [!__ASSUME_AT_RANDOM]: Remove conditional code.
45635         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
45637         * sysdeps/unix/sysv/linux/kernel-features.h
45638         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
45639         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
45640         [ADJ_OFFSET_SS_READ]: Make code unconditional.
45641         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
45643 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45645         [BZ #17075]
45646         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
45647         Fix calculation of the symbol's value.
45648         * sysdeps/arm/tst-armtlsdescloc.c: New file.
45649         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
45650         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
45651         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
45652         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
45653         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
45654         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
45655         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
45656         (modules-names): Add `tst-armtlsdescmod',
45657         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
45658         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
45659         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45660         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
45661         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
45662         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45663         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
45664         ($(objpfx)tst-armtlsdescloc): New dependency.
45665         ($(objpfx)tst-armtlsdescextnow): Likewise.
45666         ($(objpfx)tst-armtlsdescextlazy): Likewise.
45667         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
45668         TLS scheme support.
45669         * sysdeps/arm/configure: Regenerate.
45671 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45673         * include/fcntl.h (__atfct_seterrno): Remove prototype.
45674         (__atfct_seterrno_2): Likewise.
45675         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
45676         <kernel-features.h>.
45677         (__ASSUME_ATFCTS): Do not undefine and redefine.
45678         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
45679         (__have_atfcts): Remove conditional definition.
45680         (__fxstatat([__NR_fstatat64]: Make code unconditional.
45681         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
45682         unreachable if [__ASSUME_ATFCTS].
45683         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
45684         not undefine and redefine.
45685         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
45686         <kernel-features.h>.
45687         (faccessat) [__NR_faccessat]: Make code unconditional.
45688         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
45689         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
45690         <kernel-features.h>.
45691         (fchmodat) [__NR_fchmodat]: Make code unconditional.
45692         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45693         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
45694         <kernel-features.h>.
45695         (fchownat) [__NR_fchownat]: Make code unconditional.
45696         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
45697         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
45698         <kernel-features.h>.
45699         (futimesat) [__NR_futimesat]: Make code unconditional.
45700         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
45701         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45702         <kernel-features.h>.
45703         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45704         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45705         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45706         <kernel-features.h>.
45707         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
45708         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45709         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
45710         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45711         <kernel-features.h>.
45712         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
45713         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45714         * sysdeps/unix/sysv/linux/linkat.c: Do not include
45715         <kernel-features.h>.
45716         (linkat) [__NR_linkat]: Make code unconditional.
45717         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45718         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
45719         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
45720         <kernel-features.h>.
45721         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
45722         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45723         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
45724         <kernel-features.h>.
45725         (mkdirat) [__NR_mkdirat]: Make code unconditional.
45726         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
45727         * sysdeps/unix/sysv/linux/openat.c: Do not include
45728         <kernel-features.h>.
45729         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
45730         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
45731         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
45732         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
45733         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
45734         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
45735         <kernel-features.h>.
45736         (readlinkat) [__NR_readlinkat]: Make code unconditional.
45737         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
45738         result of INLINE_SYSCALL directly, not via int variable.
45739         * sysdeps/unix/sysv/linux/renameat.c: Do not include
45740         <kernel-features.h>.
45741         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
45742         (renameat) [__NR_renameat]: Make code unconditional.
45743         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
45744         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
45745         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
45746         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
45747         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
45748         (__ASSUME_ATFCTS): Do not undefine and redefine.
45749         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
45750         <kernel-features.h>.
45751         (symlinkat) [__NR_symlinkat]: Make code unconditional.
45752         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45753         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
45754         <kernel-features.h>.
45755         (unlinkat) [__NR_unlinkat]: Make code unconditional.
45756         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45757         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
45758         (__ASSUME_ATFCTS): Do not undefine and redefine.
45759         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45760         <kernel-features.h>.
45761         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45762         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45763         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45764         <kernel-features.h>.
45765         (__xmknodat) [__NR_mknodat]: Make code unconditional.
45766         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45768 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45770         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
45772 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
45774         [BZ #17069]
45775         * posix/regcomp.c (parse_reg_exp): Deallocate partially
45776         constructed tree before returning error.
45777         * posix/bug-regexp36.c: Expand test case.
45779 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
45781         [BZ #6803]
45782         * math/libm-test.inc (scalbln_test_date):
45783         Add errno expectations.
45784         * math/w_scalblnf.c: New File.
45785         Add wrapper which checks for setting errno to ERANGE.
45786         Add weak_alias for corresponding scalbln function.
45787         * math/w_scalbln.c: Likewise.
45788         * math/w_scalblnl.c: Likewise.
45789         * math/Makefile (libm-calls): Add w_scalbln.
45790         * sysdeps/ieee754/flt-32/s_scalblnf.c:
45791         Remove weak_alias for corresponding scalbln function.
45792         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45793         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45794         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45795         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45796         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
45797         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45798         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
45799         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45800         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
45801         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
45802         Remove long_double_symbol for scalblnl function in libm, libc.
45803         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
45804         Add wrapper which checks for setting errno to ERANGE.
45805         Add long_double_symbol for scalblnl function in libm, libc.
45806         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
45807         Remove long_double_symbol for scalblnl in libm.
45808         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
45809         Add wrapper which checks for setting errno to ERANGE.
45810         Add long_double_symbol for scalblnl function in libm.
45811         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
45812         Do not use wrapper because of own implementation.
45814 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
45816         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
45817         3 bytes for __pad1 for x32.
45818         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
45820 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
45821             H.J. Lu  <hongjiu.lu@intel.com>
45823         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
45824         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
45825         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45826         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45827         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
45829 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
45831         [BZ #17069]
45832         * posix/regcomp.c (parse_expression): Deallocate partially
45833         constructed tree before returning error.
45834         * posix/Makefile.c (tests): Add bug-regex36.
45835         (generated): Add bug-regex36.mtrace.
45836         (tests-special): Add $(objpfx)bug-regex36-mem.out
45837         (bug-regex36-ENV): New variable.
45838         ($(objpfx)bug-regex36-mem.out): New rule.
45839         * posix/bug-regex36.c: New file.
45841 2014-06-19  Will Newton  <will.newton@linaro.org>
45843         * malloc/malloc.c (systrim): If extra is zero then return
45844         early.
45846 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45848         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
45850 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
45852         * sysdeps/aarch64/strchr.S: New file.
45854 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45856         [BZ #17022]
45857         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
45858         from arguments -2 or below.
45859         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45860         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
45862 2014-06-18  Andreas Schwab  <schwab@suse.de>
45864         [BZ #17062]
45865         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
45866         of a bracket expr not to run off the end of the string.
45867         * posix/Makefile (tests): Add tst-fnmatch3.
45868         * posix/tst-fnmatch3.c: New file.
45870 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45872         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
45873         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45874         [$(cross-compiling) = no]: Likewise.
45875         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45876         [$(cross-compiling) = no]: Likewise.
45878 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45880         [BZ #17031]
45881         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
45882         double, adjusted for any remainder from the high double.
45883         * math/libm-test.inc (nearbyint): Add tests.
45884         (rint): Likewise.
45886 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45888         * nptl/sysdeps/powerpc/Makefile: Moved ...
45889         * sysdeps/powerpc/nptl/Makefile: ... here.
45890         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
45891         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
45892         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
45893         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
45894         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
45895         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
45896         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
45897         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
45898         * nptl/sysdeps/powerpc/tls.h: Moved ...
45899         * sysdeps/powerpc/nptl/tls.h: ... here.
45901 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
45903         [BZ #16681]
45904         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
45905         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
45906         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
45907         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
45908         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
45909         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
45910         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
45911         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
45912         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
45914 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
45916         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45918 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
45920         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
45921         defined operator.
45923         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
45924         $TIMEOUTFACTOR.
45926 2014-06-16  Florian Weimer  <fweimer@redhat.com>
45928         [BZ #17058]
45929         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
45930         non-executed part of the test.
45932 2014-06-16  Andreas Schwab  <schwab@suse.de>
45934         * string/bits/string2.h (strdup, strndup): Update feature guard.
45936 2014-06-14  David S. Miller  <davem@davemloft.net>
45938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45940 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
45942         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
45943         that was previously under [RESET_PID].
45944         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
45946         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
45947         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
45948         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
45949         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45950         (__libc_vfork): New strong alias.
45951         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
45953 2014-06-14 Andi Kleen  <ak@linux.intel.com>
45955         * sysdeps/generic/elide.h: New file.
45957 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
45959         * Makefile (installed-headers): Adjust path of pthread.h header.
45961 2014-06-13  Roland McGrath  <roland@hack.frob.com>
45963         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
45964         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
45965         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
45966         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
45968         * nptl/sysdeps/s390/Makefile: Moved ...
45969         * sysdeps/s390/nptl/Makefile: ... here.
45970         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
45971         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
45972         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
45973         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
45974         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
45975         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
45976         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
45977         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
45978         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
45979         * sysdeps/s390/nptl/pthreaddef.h: ... here.
45980         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
45981         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
45982         * nptl/sysdeps/s390/tls.h: Moved ...
45983         * sysdeps/s390/nptl/tls.h: ... here.
45985         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
45986         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
45988 2014-06-13  David S. Miller  <davem@davemloft.net>
45990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
45991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
45992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
45993         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
45994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
45995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
45996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
45997         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
45998         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
45999         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
46000         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
46001         Remove RESET_PID cpp guards.
46002         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
46003         Remove RESET_PID cpp guards.
46004         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
46006 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
46008         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46009         __sp to uintptr_t.
46011 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46013         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46014         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46015         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46016         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46017         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46018         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46019         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46020         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46021         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46022         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46023         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46024         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46025         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46026         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46027         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46028         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46029         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46030         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46031         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46032         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46034         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46035         (pthread_rwlock_rdlock): Add elision.
46036         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46037         (pthread_rwlock_wrlock): Add elision.
46038         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46039         (pthread_rwlock_trywrlock): Add elision.
46040         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46041         (pthread_rwlock_tryrdlock): Add elision.
46042         * nptl/pthread_rwlock_unlock.c: Include elide.h.
46043         (pthread_rwlock_tryrdlock): Add elision unlock.
46044         * nptl/sysdeps/pthread/pthread.h:
46045         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46046         (PTHREAD_RWLOCK_INITIALIZER,
46047         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46048         Handle new elision field.
46049         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
46050         * sysdeps/arm/nptl/bits/pthreadtypes.h
46051         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46052         * sysdeps/sh/nptl/bits/pthreadtypes.h
46053         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46054         * sysdeps/tile/nptl/bits/pthreadtypes.h
46055         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46056         * sysdeps/a/nptl/bits/pthreadtypes.h
46057         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46058         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46059         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46060         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46061         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46062         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
46063         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46064         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46065         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46066         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46067         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46068         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46069         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46070         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46071         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46072         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
46073         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46074         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
46075         (elision_init): Set try_xbegin to zero when no RTM.
46076         * sysdeps/x86/nptl/bits/pthreadtypes.h
46077         (pthread_rwlock_t): Change __pad1 to __rwelision.
46078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46080 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46082         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
46083         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
46084         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
46085         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
46087 2014-06-13  Meador Inge  <meadori@codesourcery.com>
46089         [BZ #16996]
46090         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
46091         that the cached result has been set before returning it.
46093 2014-06-12  Roland McGrath  <roland@hack.frob.com>
46095         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
46096         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
46097         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
46098         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
46099         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
46100         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
46102         * nptl/sysdeps/sparc/Makefile: Moved ...
46103         * sysdeps/sparc/nptl/Makefile: ... here.
46104         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
46105         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
46106         * nptl/sysdeps/sparc/tls.h: Moved ...
46107         * sysdeps/sparc/nptl/tls.h: ... here.
46108         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
46109         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
46110         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
46111         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
46112         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
46113         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
46114         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
46115         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
46116         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
46117         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
46118         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
46119         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
46120         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
46121         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
46122         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
46123         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
46124         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
46125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
46126         Update #include.
46127         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
46128         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
46129         Update #include.
46130         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
46131         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
46132         Update #include.
46133         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
46134         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
46135         Update #include.
46137         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46139         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
46140         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
46142         * sysdeps/pthread/posix-timer.h: Include <list.h>.
46143         (struct list_links): Type removed.
46144         (struct thread_node, struct timer_node): Replace struct list_links
46145         with struct list_head.
46146         (list_unlink_ip): Likewise.
46147         * sysdeps/pthread/timer_routines.c
46148         (timer_free_list, thread_free_list, thread_active_list): Likewise.
46149         (list_append, list_insbefore): Likewise.
46150         (list_init): Function removed.
46151         (thread_init, init_module): Use INIT_LIST_HEAD instead.
46152         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
46153         * sysdeps/pthread/Makefile: ... here, new file.
46155         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
46156         * sysdeps/nptl/Implies: ... here.
46157         * sysdeps/unix/sysv/linux/Implies: Add nptl.
46158         * nptl/sysdeps/pthread/list.h: Moved ...
46159         * include/list.h: ... here.
46160         * nptl/sysdeps/pthread/createthread.c: Moved ...
46161         * nptl/createthread.c: ... here.
46162         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
46163         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
46164         * nptl/pt-longjmp.c: ... here.
46165         * nptl/sysdeps/pthread/Makefile: Moved ...
46166         * sysdeps/nptl/Makefile: ... here.
46167         * nptl/sysdeps/pthread/Subdirs: Moved ...
46168         * sysdeps/nptl/Subdirs: ... here.
46169         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
46170         * sysdeps/nptl/aio_misc.h: ... here.
46171         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
46172         * sysdeps/nptl/bits/libc-lock.h: ... here.
46173         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
46174         * sysdeps/nptl/bits/libc-lockP.h: ... here.
46175         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
46176         * sysdeps/nptl/bits/stdio-lock.h: ... here.
46177         * nptl/sysdeps/pthread/configure: Moved ...
46178         * sysdeps/nptl/configure: ... here.
46179         * nptl/sysdeps/pthread/configure.ac: Moved ...
46180         * sysdeps/nptl/configure.ac: ... here.
46181         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
46182         * sysdeps/nptl/gai_misc.h: ... here.
46183         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
46184         * sysdeps/nptl/librt-cancellation.c: ... here.
46185         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
46186         * sysdeps/nptl/malloc-machine.h: ... here.
46187         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
46188         * sysdeps/nptl/pthread-functions.h: ... here.
46189         * nptl/sysdeps/pthread/pthread.h: Moved ...
46190         * sysdeps/nptl/pthread.h: ... here.
46191         * nptl/sysdeps/pthread/setxid.h: Moved ...
46192         * sysdeps/nptl/setxid.h: ... here.
46193         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
46194         * sysdeps/nptl/sigfillset.c: ... here.
46195         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
46196         * sysdeps/nptl/tcb-offsets.h: ... here.
46197         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
46198         * sysdeps/nptl/tst-mqueue8x.c: ... here.
46199         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
46200         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
46201         * nptl/sysdeps/pthread/allocalim.h: Moved ...
46202         * sysdeps/pthread/allocalim.h: ... here.
46203         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
46204         * sysdeps/pthread/bits/sigthread.h: ... here.
46205         * nptl/sysdeps/pthread/flockfile.c: Moved ...
46206         * sysdeps/pthread/flockfile.c: ... here.
46207         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
46208         * sysdeps/pthread/ftrylockfile.c: ... here.
46209         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
46210         * sysdeps/pthread/funlockfile.c: ... here.
46211         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
46212         * sysdeps/pthread/posix-timer.h: ... here.
46213         * nptl/sysdeps/pthread/timer_create.c: Moved ...
46214         * sysdeps/pthread/timer_create.c: ... here.
46215         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
46216         * sysdeps/pthread/timer_delete.c: ... here.
46217         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
46218         * sysdeps/pthread/timer_getoverr.c: ... here.
46219         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
46220         * sysdeps/pthread/timer_gettime.c: ... here.
46221         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
46222         * sysdeps/pthread/timer_routines.c: ... here.
46223         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
46224         * sysdeps/pthread/timer_settime.c: ... here.
46225         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
46226         * sysdeps/pthread/tst-timer.c: ... here.
46227         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
46228         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
46230         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
46231         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
46233         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
46234         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
46235         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
46236         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
46237         Update #include target.
46238         * nptl/sysdeps/i386/i686/Makefile: Moved ...
46239         * sysdeps/i386/i686/nptl/Makefile: ... here.
46240         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
46241         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
46242         Update #include target.
46243         * nptl/sysdeps/i386/i686/tls.h: Moved ...
46244         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
46245         * nptl/sysdeps/i386/Makefile: Moved ...
46246         * sysdeps/i386/nptl/Makefile: ... here.
46247         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
46248         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
46249         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
46250         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
46251         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
46252         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
46253         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
46254         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
46255         * sysdeps/i386/nptl/pthreaddef.h: ... here.
46256         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
46257         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
46258         * nptl/sysdeps/i386/tls.h: Moved ...
46259         * sysdeps/i386/nptl/tls.h: ... here.
46261         * sysdeps/sh/Makefile [$(subdir) = csu]
46262         (gen-as-const-headers): Add tcb-offsets.sym.
46263         * nptl/sysdeps/sh/Makefile: File removed.
46264         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
46265         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
46266         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
46267         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
46268         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
46269         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
46270         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
46271         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
46272         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
46273         * sysdeps/sh/nptl/pthreaddef.h: ... here.
46274         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
46275         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
46276         * nptl/sysdeps/sh/tls.h: Moved ...
46277         * sysdeps/sh/nptl/tls.h: ... here.
46278         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
46279         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
46280         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
46281         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
46282         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
46283         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
46284         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
46285         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
46286         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
46287         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
46288         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
46289         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
46290         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
46291         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
46292         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
46293         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
46294         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
46295         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
46296         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
46297         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
46298         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
46299         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
46300         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
46301         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
46302         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
46303         Moved ...
46304         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
46305         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
46306         Moved ...
46307         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
46308         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
46309         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
46310         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
46311         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
46312         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
46313         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
46314         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
46315         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
46316         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
46317         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
46318         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
46319         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
46320         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
46321         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
46322         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
46323         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
46324         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
46325         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
46327 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
46329         * posix/spawn_faction_addopen.c: Include string.h.
46331 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46333         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
46334         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
46335         * nptl/sysdeps/x86_64/Makefile: Moved ...
46336         * sysdeps/x86_64/nptl/Makefile: ... here.
46337         * nptl/sysdeps/x86_64/configure: Moved ...
46338         * sysdeps/x86_64/nptl/configure: ... here.
46339         * nptl/sysdeps/x86_64/configure.ac: Moved ...
46340         * sysdeps/x86_64/nptl/configure.ac: ... here.
46341         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
46342         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
46343         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
46344         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
46345         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
46346         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
46347         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
46348         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
46349         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
46350         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
46351         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
46352         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
46353         * nptl/sysdeps/x86_64/tls.h: Moved ...
46354         * sysdeps/x86_64/nptl/tls.h: ... here.
46355         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
46356         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
46357         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
46358         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
46360         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
46362 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46366 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
46368         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
46369         type.
46370         [POSIX] (off_t): Likewise.
46371         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
46372         [POSIX] (S_ISBLK): Require macro.
46373         [POSIX] (S_ISCHR): Likewise.
46374         [POSIX] (S_ISDIR): Likewise.
46375         [POSIX] (S_ISFIFO): Likewise.
46376         [POSIX] (S_ISREG): Likewise.
46377         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
46378         optional-macro.
46379         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
46380         type.
46381         [POSIX] (time_t): Likewise.
46382         [POSIX] (timer_t): Likewise.
46384 2014-06-11  Florian Weimer  <fweimer@redhat.com>
46386         [BZ #17048]
46387         * posix/spawn_int.h (struct __spawn_action): Make the path string
46388         non-const to support deallocation.
46389         * posix/spawn_faction_addopen.c
46390         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
46391         * posix/spawn_faction_destroy.c
46392         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
46393         path in all spawn_do_open actions.
46394         * posix/tst-spawn.c (do_test): Exercise the copy operation in
46395         posix_spawn_file_actions_addopen.
46397 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
46399         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
46400         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
46401         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
46402         conditional code always true.
46403         (__libc_vfork): New alias.
46405 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46407         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46408         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
46410         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
46412         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46413         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
46415         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46416         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
46418         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46419         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
46421 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46423         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
46424         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
46425         multiarch strcmp for PPC64.
46426         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
46427         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
46428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
46429         multiarch optimizations.
46430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46431         (__libc_ifunc_impl_list): Likewise.
46433 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46435         * benchtests/scripts/validate_benchout.py: New script.
46436         * benchtests/Makefile (bench-func): Call it.
46437         * benchtests/scripts/benchout.schema.json: New file.
46439 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
46441         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
46442         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
46443         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
46444         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
46445         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
46446         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
46447         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
46448         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
46449         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
46450         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
46451         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
46452         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
46453         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
46454         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
46455         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
46456         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
46457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
46458         Moved ...
46459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
46460         ... here.
46461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
46462         Moved ...
46463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
46464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
46465         Moved ...
46466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
46467         ... here.
46468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
46469         Moved ...
46470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
46471         ... here.
46472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
46473         Moved ...
46474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
46475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
46476         Moved ...
46477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
46478         ... here.
46479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
46480         Moved ...
46481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
46482         ... here.
46483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
46484         Moved ...
46485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
46486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
46487         Moved ...
46488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
46489         ... here.
46490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
46491         Moved ...
46492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
46493         ... here.
46494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
46495         Moved ...
46496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
46497         ... here.
46498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
46499         Moved ...
46500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
46501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
46502         Moved ...
46503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
46504         ... here.
46505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
46506         Moved ...
46507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
46508         ... here.
46509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
46510         Moved ...
46511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
46512         ... here.
46513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
46514         Moved ...
46515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
46516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
46517         Moved ...
46518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
46519         ... here.
46520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
46521         Moved ...
46522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
46523         ... here.
46524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
46525         Moved ...
46526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
46527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
46528         Moved ...
46529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
46530         ... here.
46531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
46532         Moved ...
46533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
46534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
46535         Moved ...
46536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
46537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
46538         Moved ...
46539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
46540         ... here.
46541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
46542         Moved ...
46543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
46544         ... here.
46545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
46546         Moved ...
46547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
46548         ... here.
46549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
46550         Moved ...
46551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
46552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
46553         Moved ...
46554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
46555         ... here.
46556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
46557         Moved ...
46558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
46559         ... here.
46560         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
46561         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
46562         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
46563         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
46564         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
46565         Moved ...
46566         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
46567         ... here.
46568         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
46569         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
46570         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
46571         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
46572         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
46573         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
46574         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
46575         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
46576         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
46577         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
46578         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
46579         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
46580         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
46581         Moved ...
46582         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
46583         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
46584         Moved ...
46585         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
46586         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
46587         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
46588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
46589         Moved ...
46590         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
46591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
46592         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
46593         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
46594         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
46595         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
46596         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
46598 2014-06-10  Wilco  <wdijkstr@arm.com>
46600         * math/test-fenv-return.c: New file.
46601         * math/Makefile: Add new test test-fenv-return.
46603 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
46605         [BZ #17042]
46606         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
46607         when x - 1 is zero.
46608         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
46609         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
46610         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
46611         0.0L for an argument of 1.0L.
46612         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
46613         Likewise.
46614         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
46615         value when x - 1 is zero.
46616         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
46617         * sysdeps/i386/fpu/libm-test-ulps: Update.
46618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46620 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
46622         [BZ #15119]
46623         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
46625 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46627         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
46628         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
46630 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46632         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46633         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
46635         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46636         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
46638         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46639         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
46641         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46642         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
46644         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
46645         if not already defined.
46646         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
46647         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
46648         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
46649         (TLS_INIT_TP): Use it.
46650         (TLS_DEFINE_INIT_TP): New macro.
46651         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
46653 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
46655         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
46656         constant.
46657         [POSIX] (IXANY): Likewise.
46658         [POSIX] (OLCUC): Likewise.
46659         [POSIX || POSIX2008] (CBAUD): Do not allow.
46660         [POSIX || POSIX2008] (DEFECHO): Likewise.
46661         [POSIX || POSIX2008] (ECHOCTL): Likewise.
46662         [POSIX || POSIX2008] (ECHOKE): Likewise.
46663         [POSIX || POSIX2008] (ECHOPRT): Likewise.
46664         [POSIX || POSIX2008] (EXTA): Likewise.
46665         [POSIX || POSIX2008] (EXTB): Likewise.
46666         [POSIX || POSIX2008] (FLUSHO): Likewise.
46667         [POSIX || POSIX2008] (LOBLK): Likewise.
46668         [POSIX || POSIX2008] (PENDIN): Likewise.
46669         [POSIX || POSIX2008] (SWTCH): Likewise.
46670         [POSIX || POSIX2008] (VDISCARD): Likewise.
46671         [POSIX || POSIX2008] (VDSUSP): Likewise.
46672         [POSIX || POSIX2008] (VLNEXT): Likewise.
46673         [POSIX || POSIX2008] (VREPRINT): Likewise.
46674         [POSIX || POSIX2008] (VSTATUS): Likewise.
46675         [POSIX || POSIX2008] (VWERASE): Likewise.
46676         (B*): Change to B[0123456789]*.
46677         * conform/data/time.h-data [POSIX || UNIX98]
46678         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
46679         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46680         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
46681         [POSIX] (tm_*): Do not allow.
46683 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
46685         * Makefile (install): Don't set LANGUAGE.
46686         * Makefile.in (install): Likewise.
46687         * assert/Makefile (test-assert-ENV): Remove variable.
46688         (test-assert-perr-ENV): Likewise.
46689         * elf/Makefile (neededtest4-ENV): Likewise.
46690         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46691         [$(cross-compiling) = no]: Don't set LANGUAGE.
46692         * io/ftwtest-sh (LANG): Remove variable.
46693         * libio/Makefile (tst-widetext-ENV): Likewise.
46694         * manual/install.texi (Running make install): Don't refer to
46695         environment settings for make install.
46696         * INSTALL: Regenerated.
46697         * nptl/tst-tls6.sh: Don't set LANG.
46698         * posix/globtest.sh (LANG): Remove variable.
46699         * string/Makefile (tester-ENV): Likewise.
46700         (inl-tester-ENV): Likewise.
46701         (noinl-tester-ENV): Likewise.
46702         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46703         [$(cross-compiling) = no]: Don't set LANGUAGE.
46704         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
46705         without explicit environment settings.
46707 2014-06-06  Roland McGrath  <roland@hack.frob.com>
46709         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
46710         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
46711         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
46712         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
46714 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
46716         * crypt/crypt-private.h [DOS]: Add some includes taken from the
46717         other files in the crypt directory.
46718         * crypt/crypt.c: Remove duplicate includes.
46719         * crypt/crypt-entry.c: Likewise.
46720         * crypt/crypt_util.c: Likewise.
46722 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
46724         * Makeconfig (run-program-env): New variable.
46725         (run-program-prefix-before-env): Likewise.
46726         (run-program-prefix-after-env): Likewise.
46727         (run-program-prefix): Define in terms of new variables.
46728         (built-program-cmd-before-env): New variable.
46729         (built-program-cmd-after-env): Likewise.
46730         (built-program-cmd): Define in terms of new variables.
46731         (test-program-prefix-before-env): New variable.
46732         (test-program-prefix-after-env): Likewise.
46733         (test-program-prefix): Define in terms of new variables.
46734         (test-program-cmd-before-env): New variable.
46735         (test-program-cmd-after-env): Likewise.
46736         (test-program-cmd): Define in terms of new variables.
46737         * Rules (make-test-out): Use $(run-program-env).
46738         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
46739         (help): Do not mention environment variables.  Mention
46740         --timeoutfactor option.
46741         (timeoutfactor): New variable.
46742         (blacklist_exports): Remove function.
46743         (exports): Remove variable.
46744         (command): Do not include ${exports}.
46745         * manual/install.texi (Configuring and compiling): Do not mention
46746         test wrappers preserving environment variables.  Mention that last
46747         assignment to a variable must take precedence.
46748         * INSTALL: Regenerated.
46749         * benchtests/Makefile (run-bench): Use $(run-program-env).
46750         * catgets/Makefile ($(objpfx)test1.cat): Use
46751         $(built-program-cmd-before-env), $(run-program-env) and
46752         $(built-program-cmd-after-env).
46753         ($(objpfx)test2.cat): Do not specify environment variables
46754         explicitly.
46755         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
46756         $(run-program-env) and $(built-program-cmd-after-env).
46757         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
46758         $(run-program-env) and $(test-program-cmd-after-env).
46759         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
46760         explicitly.
46761         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
46762         run_program_env and test_program_cmd_after_env arguments.
46763         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
46764         * elf/tst-pathopt.sh: Use run_program_env argument.
46765         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
46766         $(test-wrapper-env) and $(run-program-env).
46767         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
46768         run_program_env arguments.
46769         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
46770         * intl/Makefile ($(objpfx)tst-gettext.out): Use
46771         $(test-program-prefix-before-env), $(run-program-env) and
46772         $(test-program-prefix-after-env).
46773         ($(objpfx)tst-gettext2.out): Likewise.
46774         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
46775         run_program_env and test_program_prefix_after_env arguments.
46776         * intl/tst-gettext2.sh: Likewise.
46777         * intl/tst-gettext4.sh: Do not set environment variables
46778         explicitly.
46779         * intl/tst-gettext6.sh: Likewise.
46780         * intl/tst-translit.sh: Likewise.
46781         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
46782         $(test-program-prefix-before-env), $(run-program-env) and
46783         $(test-program-prefix-after-env).
46784         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
46785         run_program_env and test_program_prefix_after_env arguments.
46786         * math/Makefile (run-regen-ulps): Use $(run-program-env).
46787         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
46788         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
46789         explicitly with each use of ${test_wrapper_env}.
46790         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
46791         $(test-program-prefix-before-env), $(run-program-env) and
46792         $(test-program-prefix-after-env).
46793         * posix/tst-getconf.sh: Do not set environment variables
46794         explicitly.
46795         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
46796         run_program_env and test_program_prefix_after_env arguments.
46797         * stdio-common/tst-printf.sh: Do not set environment variables
46798         explicitly.
46799         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
46800         $(test-program-prefix-before-env), $(run-program-env) and
46801         $(test-program-prefix-after-env).
46802         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
46803         run_program_env and test_program_prefix_after_env arguments.
46804         Split $test calls into $test_pre and $test.
46805         * timezone/Makefile (build-testdata): Use
46806         $(built-program-cmd-before-env), $(run-program-env) and
46807         $(built-program-cmd-after-env).
46809 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46811         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
46812         strlen for non SHARED builds.
46814 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46816         * nptl/allocatestack.c (check_list): Inlined function...
46817         (__reclaim_stacks): ... here.
46819 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46821         [BZ #15698]
46822         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46823         memory overrun.
46825 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
46827         * Rules (make-test-out): Include
46828         LOCPATH=$(common-objpfx)localedata in default environment.
46829         * debug/Makefile (tst-chk1-ENV): Remove variable.
46830         (tst-chk2-ENV): Likewise.
46831         (tst-chk3-ENV): Likewise.
46832         (tst-chk4-ENV): Likewise.
46833         (tst-chk5-ENV): Likewise.
46834         (tst-chk6-ENV): Likewise.
46835         (tst-lfschk1-ENV): Likewise.
46836         (tst-lfschk2-ENV): Likewise.
46837         (tst-lfschk3-ENV): Likewise.
46838         (tst-lfschk4-ENV): Likewise.
46839         (tst-lfschk5-ENV): Likewise.
46840         (tst-lfschk6-ENV): Likewise.
46841         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
46842         (tst-iconv7-ENV): Likewise.
46843         * intl/Makefile (LOCPATH-ENV): Likewise.
46844         (tst-codeset-ENV): Likewise.
46845         (tst-gettext3-ENV): Likewise.
46846         (tst-gettext5-ENV): Likewise.
46847         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
46848         (tst-fopenloc-ENV): Likewise.
46849         (tst-fgetws-ENV): Remove variable.
46850         (tst-ungetwc1-ENV): Likewise.
46851         (tst-ungetwc2-ENV): Likewise.
46852         (bug-ungetwc2-ENV): Likewise.
46853         (tst-swscanf-ENV): Likewise.
46854         (bug-ftell-ENV): Likewise.
46855         (tst-fgetwc-ENV): Likewise.
46856         (tst-fseek-ENV): Likewise.
46857         (tst-ftell-partial-wide-ENV): Likewise.
46858         (tst-ftell-active-handler-ENV): Likewise.
46859         (tst-ftell-append-ENV): Likewise.
46860         * posix/Makefile (tst-fnmatch-ENV): Likewise.
46861         (tst-regexloc-ENV): Likewise.
46862         (bug-regex1-ENV): Likewise.
46863         (tst-regex-ENV): Likewise.
46864         (tst-regex2-ENV): Likewise.
46865         (bug-regex5-ENV): Likewise.
46866         (bug-regex6-ENV): Likewise.
46867         (bug-regex17-ENV): Likewise.
46868         (bug-regex18-ENV): Likewise.
46869         (bug-regex19-ENV): Likewise.
46870         (bug-regex20-ENV): Likewise.
46871         (bug-regex22-ENV): Likewise.
46872         (bug-regex23-ENV): Likewise.
46873         (bug-regex25-ENV): Likewise.
46874         (bug-regex26-ENV): Likewise.
46875         (bug-regex30-ENV): Likewise.
46876         (bug-regex32-ENV): Likewise.
46877         (bug-regex33-ENV): Likewise.
46878         (bug-regex34-ENV): Likewise.
46879         (bug-regex35-ENV): Likewise.
46880         (tst-rxspencer-ENV): Likewise.
46881         (tst-rxspencer-no-utf8-ENV): Likewise.
46882         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
46883         (tst-sscanf-ENV): Likewise.
46884         (tst-swprintf-ENV): Likewise.
46885         (tst-swscanf-ENV): Likewise.
46886         (test-vfprintf-ENV): Likewise.
46887         (scanf13-ENV): Likewise.
46888         (bug14-ENV): Likewise.
46889         (tst-grouping-ENV): Likewise.
46890         * stdlib/Makefile (tst-strtod-ENV): Likewise.
46891         (tst-strtod3-ENV): Likewise.
46892         (tst-strtod4-ENV): Likewise.
46893         (tst-strtod5-ENV): Likewise.
46894         (testmb2-ENV): Likewise./
46895         * string/Makefile (tst-strxfrm-ENV): Likewise.
46896         (tst-strxfrm2-ENV): Likewise.
46897         (bug-strcoll1-ENV): Likewise.
46898         (test-strcasecmp-ENV): Likewise.
46899         (test-strncasecmp-ENV): Likewise.
46900         * time/Makefile (tst-strptime-ENV): Likewise.
46901         (tst-ftime_l-ENV): Likewise.
46902         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
46903         (tst-mbrtowc-ENV): Likewise.
46904         (tst-wcrtomb-ENV): Likewise.
46905         (tst-mbrtowc2-ENV): Likewise.
46906         (tst-c16c32-1-ENV): Likewise.
46907         (tst-mbsnrtowcs-ENV): Likewise.
46909 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46911         * manual/resource.texi (How to get information about the memory
46912         subsystem?): Fix typo.
46913         Reported by Peon de la Parra Ivan <peon@keba.com>
46915 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
46917         [BZ #16882]
46918         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
46919         (pthread_spin_lock): Branch out of spin loop to proper location.
46920         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
46921         (pthread_spin_lock): Likewise.
46923         * nptl/tst-spin4.c: New test.
46924         * nptl/Makefile (tests): Add tst-spin4.
46926 2014-06-03  Andreas Schwab  <schwab@suse.de>
46928         [BZ #15946]
46929         * resolv/res_send.c (send_dg): Reload file descriptor after
46930         calling reopen.
46932 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
46934         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46936 2014-06-03  Richard Henderson  <rth@redhat.com>
46938         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
46939         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
46940         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
46941         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
46942         in the SAVE_PID block.
46943         (__libc_vfork): New alias.
46944         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
46946         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
46947         child in registers, not on the stack.  Remove RESET_PID conditionals.
46948         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
46950 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46952         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46954 2014-06-03  Wilco  <wdijkstr@arm.com>
46956         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
46957         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
46958         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46959         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
46960         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
46961         Likewise.
46963 2014-06-03  Wilco  <wdijkstr@arm.com>
46965         * sysdeps/aarch64/fpu/math_private.h
46966         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
46967         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
46968         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
46969         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46970         Fix declarations.
46972 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46974         * crypt/crypt-private.h: Include ufc-crypt.h.
46975         (__b64_from_24bit): Declare extern.
46976         * crypt/crypt_util.c(__b64_from_24bit): New function.
46977         (b64t): New static const variable.
46978         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
46979         (b64t): Remove variable.
46980         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
46981         * crypt/sha256-crypt.c: Include crypt-private.h.
46982         (b64t): Remove variable.
46983         (__sha256_crypt_r): Remove b64_from_24bit and replace
46984         with __b64_from_24bit.
46985         * crypt/sha512-crypt.c: Likewise.
46987 2014-06-02  Roland McGrath  <roland@hack.frob.com>
46989         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
46990         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
46991         Label the code __libc_vfork rather than __vfork.
46992         [!NOT_IN_libc] (vfork): Define as weak alias.
46993         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
46994         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
46995         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
46997 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46999         * malloc/malloc.c (malloc_info): Fix format specifier for
47000         n_mmaps.
47002 2014-06-02  Wilco  <wdijkstr@arm.com>
47004         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
47005         FPCR write.
47007 2014-06-02  Wilco  <wdijkstr@arm.com>
47009         [BZ #17009]
47010         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47011         Rewrite to reduce FPCR/FPSR accesses.
47013 2014-06-01  David S. Miller  <davem@davemloft.net>
47015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47017 2014-05-31  David S. Miller  <davem@davemloft.net>
47019         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47020         to occur in round to nearest mode when |x| >= 2.0
47022 2014-05-30  Richard Henderson  <rth@twiddle.net>
47024         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47025         (PSEUDO_RET_NOERRNO): Remove.
47026         (ret): Don't redefine.
47027         (ret_NOERRNO): Define in terms of ret.
47028         (ret_ERRVAL): Likewise.
47030         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47031         use of PSEUDO_RET; perform the error check directly.
47033 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
47035         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47036         with __int128_t.
47038 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47040         * malloc/malloc (malloc_info): Fix formatting.
47042 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47043             Roland McGrath  <roland@hack.frob.com>
47045         * malloc/malloc (malloc_info): Also print mmapped statistics.
47047 2014-05-30  Roland McGrath  <roland@hack.frob.com>
47049         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
47050         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
47052 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
47054         * malloc/malloc.c (malloc_info): Inline mi_arena.
47056 2014-05-29  Richard Henderson  <rth@twiddle.net>
47058         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
47059         Remove comma before expanding ASM_ARGS_##nr.
47060         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
47061         Make _x0 a strict output; make _x8 a strict input; adjust expansion
47062         of ASM_ARGS_##nr.
47063         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
47064         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
47065         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
47066         (ASM_ARGS_1): Add leading comma.
47068         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
47069         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
47070         to __errno_location.
47071         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
47072         Remove the expected plt for __errno_location.
47074         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47075         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
47076         call to __read_tp.
47078         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47079         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
47080         it and break it down.
47081         (DOCARGS_0, DOCARGS_1): Do nothing.
47082         (DOCARGS_2): Update to store into the new stack frame.
47083         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
47084         (UNDOCARGS_1): Update to restore from the new stack frame.
47085         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
47086         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
47088         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47089         (SINGLE_THREAD_P): New parameter for result regno.
47090         (PSEUDO): Update to match; use cbz instead of beq.
47092         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47093         Use ENTRY to define the _nocancel entry point.  Share the syscall
47094         and syscall error check paths with the cancel path.
47095         (PSEUDO_END): New.
47097         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
47098         whitespace; tabs before and after asm mnemonics.
47100 2014-05-29  Eric Wong  <normalperson@yhbt.net>
47102         [BZ #15132]
47103         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47104         Call fstat64 or stat64 internally, depending on arguments passed.
47105         Replace stat buffer argument with file descriptor argument.
47106         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
47107         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47108         Pass fd to __internal_statvfs instead of calling fstat64.
47109         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
47110         Pass fd to __internal_statvfs64 instead of calling fstat64.
47111         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
47112         Pass -1 to __internal_statvfs instead of calling stat64.
47113         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
47114         Pass -1 to __internal_statvfs64 instead of calling stat64.
47116 2014-05-28  Roland McGrath  <roland@hack.frob.com>
47118         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
47119         that was previously under [RESET_PID].
47120         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
47122         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
47123         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
47125 2014-05-27  Roland McGrath  <roland@hack.frob.com>
47127         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
47129         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
47130         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
47132 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
47134         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
47136 2014-05-27  Andreas Schwab  <schwab@suse.de>
47138         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
47139         TLS_INIT_TP macro.
47140         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
47141         * elf/rtld.c (init_tls, dl_main): Likewise.
47142         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
47143         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
47144         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
47145         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
47146         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
47147         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
47148         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
47149         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
47150         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
47151         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
47152         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
47153         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
47154         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
47155         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
47156         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
47157         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
47158         * sysdeps/generic/tls.h: Update description.
47160 2014-05-27  Will Newton  <will.newton@linaro.org>
47162         [BZ #16990]
47163         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
47164         and restore r2 rather than just restoring.
47166 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47168         [BZ #16724]
47169         * libio/tst-ftell-append.c: New test case.
47170         * libio/Makefile (tests): Add test case.
47171         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
47172         append mode.
47173         * libio/wfileops.c (do_ftell_wide): Likewise.
47175 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47179         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
47180         ...
47181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
47182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47183         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
47184         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
47185         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
47186         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
47187         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
47188         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
47189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
47190         Moved ...
47191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
47192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
47193         Moved ...
47194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
47195         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
47196         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
47197         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
47198         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
47199         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
47200         ...
47201         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
47202         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
47203         Moved ...
47204         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
47205         here.
47206         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
47207         ...
47208         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
47209         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
47210         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
47212         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
47213         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
47214         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
47215         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
47217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
47218         merge into ...
47219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
47220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
47221         ...
47222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
47223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
47224         ...
47225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
47226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47227         Moved ...
47228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
47229         here.
47230         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47231         Moved ...
47232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
47233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47234         Moved ...
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
47237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
47238         conditional [RESET_PID].
47239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
47240         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
47241         removed.
47242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
47243         removed.
47245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
47246         <tcb-offsets.h>.
47247         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47248         (__libc_vfork): New strong alias.
47249         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
47250         removed.
47251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
47252         Removed.
47254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
47255         <tcb-offsets.h>.
47256         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
47257         (__libc_vfork): New strong alias.
47258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
47259         removed.
47260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
47261         removed.
47263 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
47265         * malloc/malloc.c (mi_arena): New function.
47266         (malloc_info): Remove nested function mi_arena. Call non-nosted
47267         function mi_arena.
47269 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47271         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
47272         by insrwi.
47273         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
47274         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
47275         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
47276         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
47277         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
47278         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
47279         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
47281 2014-05-26  Andreas Schwab  <schwab@suse.de>
47283         [BZ #16984]
47284         * locale/programs/repertoire.c (repertoire_read): Add slash
47285         between I18NPATH element and file name.
47286         * locale/programs/locfile.c (locfile_read): Likewise.
47288 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47290         * nptl/pthread_mutexattr_settype.c
47291         (__pthread_mutexattr_settype):
47292         Disable lock elision for PTHREAD_MUTEX_NORMAL.
47294 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47296         * nptl/tst-mutex5 (do_test):
47297         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
47299 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47301         * benchtests/README: Document 'init' directive.
47302         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
47303         BENCH_INIT.
47304         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
47305         (parse_file): Recognize 'init' directive.
47307 2014-05-26  Kyle McMartin  <kyle@redhat.com>
47309         [BZ #16796]
47310         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
47311         alignment of struct pthread.
47313 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47315         [BZ #16878]
47316         * nscd/netgroupcache.c (addgetnetgrentX): Look for
47317         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47318         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
47319         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47321 2014-05-25  Richard Henderson  <rth@twiddle.net>
47323         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47324         (SINGLE_THREAD_P_PIC): Remove.
47325         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
47326         (SINGLE_THREAD_P_PIC): Remove.
47328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
47329         branch to syscall error ...
47330         (PSEUDO): ... here.
47331         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
47332         from __local_syscall_error to .Lsyscall_error.
47333         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
47334         (SYSCALL_ERROR): Update label name.
47336         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47337         Do not use DOARGS/UNDOARGS.
47338         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
47339         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
47340         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
47341         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
47342         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
47344         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
47345         block comment.
47347         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
47348         define if !NOT_IN_libc.
47349         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
47350         define with non-default symbol versions.
47352 2014-05-23  Richard Henderson  <rth@twiddle.net>
47354         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
47355         (vfork, __vfork): Define via compat_symbol.
47357         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
47358         [!HAVE_IFUNC] (vfork_compat): Remove.
47359         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
47361 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47363         [BZ #16978]
47364         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
47365         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
47366         variable.
47368 2014-05-23  Richard Henderson  <rth@twiddle.net>
47370         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
47371         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
47372         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
47373         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
47375         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
47376         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
47377         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
47378         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
47379         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
47380         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
47381         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
47382         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
47383         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
47384         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
47385         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
47386         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
47387         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
47388         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
47389         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
47390         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
47391         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
47392         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
47393         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
47394         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
47395         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
47396         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
47397         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
47398         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
47399         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
47400         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
47401         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
47402         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
47403         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
47404         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
47405         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
47406         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
47407         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
47408         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
47409         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
47410         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
47411         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
47412         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
47413         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
47414         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
47415         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
47416         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
47417         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
47418         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
47419         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
47420         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
47421         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
47422         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
47423         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
47424         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
47425         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
47426         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
47427         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
47428         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
47429         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
47430         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
47432         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
47433         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
47434         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
47435         before exiting on error.
47436         (__libc_vfork): New strong alias.
47437         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
47438         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
47440         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
47441         that was previously under [RESET_PID].
47442         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
47444         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
47446 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47448         [BZ #16977]
47449         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
47450         value when x - 1 is zero.
47451         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
47452         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
47453         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
47454         0.0L for an argument of 1.0L.
47455         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
47456         Likewise.
47457         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
47458         value when x - 1 is zero.
47459         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
47460         * sysdeps/i386/fpu/libm-test-ulps: Update.
47461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47463 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
47465         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
47466         alphasort and versionsort.
47468 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47470         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
47471         macro.
47472         [copysignf]: Likewise.
47474 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47476         * crypt/md5-crypt.c: Fix formatting.
47478 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47480         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
47481         (b64_from_24bit): New function.
47483 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47485         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
47486         libc_hidden_builtin_def to ifunc.
47487         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47488         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
47490 2014-05-21  Roland McGrath  <roland@hack.frob.com>
47492         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
47493         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
47495 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
47497         * nscd/Depend (linuxthreads): Remove.
47498         (nptl): Add.
47499         * resolv/Depend (linuxthreads): Remove.
47500         * rt/Depend (linuxthreads): Remove.
47502         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
47503         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
47504         $(common-objpfx)elf/.
47505         (link-libc-before-gnulib): Likewise.
47506         (elfobjdir): Remove variable.
47507         * Makefile (install): Use $(elf-objpfx) instead of
47508         $(common-objpfx)elf/.
47509         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
47510         $(elfobjdir)/.
47511         (link-libc-deps): Likewise.
47512         ($(common-objpfx)libc.so): Likewise.
47513         ($(common-objpfx)linkobj/libc.so): Likewise.
47514         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
47515         instead of $(common-objpfx)elf/.
47516         (symbolic-link-list): Likewise.
47517         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47518         [$(cross-compiling) = no]: Likewise.
47519         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
47520         $(elfobjdir)/.
47521         (static-gnulib-arch): Likewise.
47522         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47523         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
47524         $(common-objpfx)elf/.
47526 2014-05-21  Richard Henderson  <rth@redhat.com>
47528         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47529         (SINGLE_THREAD_P): Use the correct width load.  Fold
47530         into the ldr offset.
47532         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
47533         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
47535 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
47537         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
47538         (libgcc_s_resume): Use __attribute_used__.
47539         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
47540         Likewise.
47542 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47544         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
47545         optimization when used with float constants.
47547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47549 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
47551         [BZ #16915]
47552         * locale/nl_langinfo_l.c: Make direct reference to every
47553         _nl_current_CATEGORY symbol.
47554         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
47555         (tests-static): Add tst-langinfo-static.
47556         (tests-special): Add tst-langinfo-static.out.
47557         ($(objpfx)tst-langinfo.out): Redirect output.
47558         ($(objpfx)tst-langinfo-static.out): New.
47559         * localedata/tst-langinfo.sh: Send output to stdout.
47560         * localedata/tst-langinfo-static.c: New file.
47562         [BZ #16965]
47563         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
47564         when the shift amount is modulo the limb size.
47566 2014-05-20  Richard Henderson  <rth@redhat.com>
47568         [BZ #16967]
47569         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
47570         Change type of sa_flags from unsigned int to int.
47572         [BZ #16966]
47573         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
47575         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
47577 2014-05-20  Will Newton  <will.newton@linaro.org>
47579         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47580         Test the return value of the system call in the nocancel case.
47582 2014-05-20  Will Newton  <will.newton@linaro.org>
47583             Yvan Roux  <yvan.roux@linaro.org>
47585         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
47586         #include of asm/ptrace.h.
47587         (PTRACE_GET_THREAD_AREA): Remove #undef.
47588         (PTRACE_GETHBPREGS): Likewise.
47589         (PTRACE_SETHBPREGS): Likewise.
47590         (struct user_regs_struct): New structure.
47591         (struct user_fpsimd_struct): New structure.
47592         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
47593         #include of asm/ptrace.h and second #include of sys/user.h.
47594         (PTRACE_GET_THREAD_AREA): Remove #undef.
47595         (PTRACE_GETHBPREGS): Likewise.
47596         (PTRACE_SETHBPREGS): Likewise.
47597         (ELF_NGREG): Use new struct user_regs_struct.
47598         (elf_fpregset_t): Use new struct user_fpsimd_struct.
47600 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47602         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
47603         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
47605 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
47607         [BZ #16958]
47608         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
47609         membar to avoid block loads/stores to overlap previous stores.
47611 2014-05-17  Richard Henderson  <rth@redhat.com>
47613         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
47614         Create the __##syscall_name##_nocancel entry point.
47615         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
47616         Remove; let the sysdep-cancel.h code create it.
47618 2014-05-17  David S. Miller  <davem@davemloft.net>
47620         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
47621         Protect with __USE_GNU.
47622         (TIOCSET_TEMPT): Likewise.
47623         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47624         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
47625         these are already provided in bits/ioctl-types.h
47627 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47629         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
47630         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
47632         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
47633         Use wait4 regardless of [__NR_waitpid].
47635 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47637         PR libgcc/60166
47638         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47639         (_FP_NANSIGN_Q): Set the quiet bit.
47641 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
47643         * benchtests/Makefile
47644         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
47645         not $(common-objpfx)math/libm.so.
47646         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
47647         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
47648         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
47649         $(common-objpfx)dlfcn/libdl.so.
47650         ($(objpfx)tst-audit8): Depend on $(libm), not
47651         $(common-objpfx)math/libm.so.
47652         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
47653         not $(common-objpfx)dlfcn/libdl.so.
47654         * math/Makefile
47655         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47656         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
47657         [$(build-shared) = yes].
47658         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
47659         $(common-objpfx)nptl/libpthread.so.
47660         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
47661         $(common-objpfx)math/libm.so$(libm.so-version) or
47662         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
47663         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
47664         $(common-objpfx)dlfcn/libdl.so.
47665         * setjmp/Makefile (link-libm): Remove variable.
47666         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
47667         * stdio-common/Makefile (link-libm): Remove variable.
47668         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
47669         * stdlib/Makefile (link-libm): Remove variable.
47670         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
47671         ($(objpfx)tst-strtod-round): Likewise.
47672         ($(objpfx)tst-tininess): Likewise.
47673         ($(objpfx)tst-strtod-underflow): Likewise.
47674         ($(objpfx)tst-strtod6): Likewise.
47675         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
47676         $(libdl), not $(common-objpfx)nptl/libpthread.so and
47677         $(common-objpfx)dlfcn/libdl.so.
47679 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47681         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
47682         BSD terminal modes definitions.
47684 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47686         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
47687         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
47689         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
47690         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
47691         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
47692         Don't do #include_next.
47693         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
47694         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
47695         Don't do #include_next.
47696         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
47697         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
47698         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
47699         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
47701 2014-05-16  Allan McRae  <allan@archlinux.org>
47703         * po/sv.po: Update Swedish translation from translation project.
47705         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
47706         in sed expression.
47708 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
47710         [BZ #16917]
47711         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
47712         errno if the TIOCGPTN ioctl fails with an error different than
47713         EINVAL.
47714         * login/tst-ptsname.c: New file.
47715         * login/Makefile (tests): Add tst-ptsname.
47717         [BZ #16943]
47718         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
47719         and prlimit64.
47721 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47723         [BZ #16849]
47724         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
47725         herrno to return EAI_AGAIN.
47727 2014-05-14  Roland McGrath  <roland@hack.frob.com>
47729         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
47730         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
47731         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
47732         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
47733         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
47734         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
47735         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
47736         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
47737         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
47738         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
47739         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
47740         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
47741         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
47742         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
47743         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
47744         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
47745         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
47746         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
47747         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
47748         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
47749         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
47750         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
47751         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
47752         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
47753         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
47754         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
47755         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
47756         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
47757         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
47758         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
47759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
47760         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
47761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
47762         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
47763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47764         Moved ...
47765         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
47766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
47767         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
47768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
47769         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
47770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
47771         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
47772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
47773         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
47774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
47775         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
47776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
47777         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
47778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
47779         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
47780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
47781         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
47782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
47783         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
47784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
47785         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
47786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
47787         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
47788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
47789         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
47790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
47791         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
47792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47793         Moved ...
47794         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
47795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
47796         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
47797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
47798         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
47799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
47800         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
47801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
47802         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
47803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
47804         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
47805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
47806         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
47807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
47808         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
47809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
47810         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
47811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
47812         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
47813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47814         Moved ...
47815         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
47816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
47817         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
47819         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
47820         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
47821         (libpthread-sysdep_routines): Add elision-related stuff here instead.
47822         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
47823         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
47824         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
47825         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
47826         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
47827         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
47828         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
47829         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
47830         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
47831         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
47832         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
47833         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
47834         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
47835         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
47836         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
47837         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
47838         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
47839         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
47840         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
47841         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
47842         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
47843         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
47844         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
47845         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
47846         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
47847         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
47848         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
47849         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
47851         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
47852         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
47854         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
47855         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
47856         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
47857         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
47858         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
47859         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
47860         Moved ...
47861         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
47862         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
47863         Moved ...
47864         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
47865         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
47866         Moved ...
47867         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
47868         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
47869         Moved ...
47870         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
47871         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
47872         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
47873         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
47874         Moved ...
47875         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
47876         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
47877         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
47878         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
47879         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
47880         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
47881         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
47882         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
47883         Moved ...
47884         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
47885         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47886         Moved ...
47887         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47888         ... here.
47889         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
47890         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
47891         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
47892         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
47893         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47894         Moved ...
47895         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47896         ... here.
47897         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
47898         Moved ...
47899         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
47900         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
47901         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
47902         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
47903         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
47904         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
47905         Moved ...
47906         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
47907         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
47908         Moved ...
47909         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
47910         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
47911         Moved ...
47912         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
47913         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
47914         Moved ...
47915         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
47916         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
47917         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
47918         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
47919         Moved ...
47920         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
47921         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
47922         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
47923         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
47924         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
47925         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
47926         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
47927         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
47928         Moved ...
47929         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
47930         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47931         Moved ...
47932         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47933         ... here.
47934         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
47935         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
47936         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
47937         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
47938         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47939         Moved ...
47940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47941         ... here.
47942         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
47943         Moved ...
47944         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
47945         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
47946         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
47947         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
47948         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
47949         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
47950         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
47951         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
47952         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
47953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
47954         Moved ...
47955         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
47956         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
47957         Moved ...
47958         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
47959         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
47960         Moved ...
47961         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
47962         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
47963         Moved ...
47964         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
47965         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
47966         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
47967         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
47968         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
47969         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
47970         Moved ...
47971         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
47972         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
47973         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
47974         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
47975         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
47976         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
47977         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
47978         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
47979         Moved ...
47980         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
47981         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
47982         Moved ...
47983         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
47984         ... here.
47985         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
47986         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
47987         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
47988         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
47989         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
47990         Moved ...
47991         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
47992         ... here.
47993         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
47994         Moved ...
47995         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
47996         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
47997         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
47998         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
47999         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
48000         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
48001         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
48002         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
48003         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
48004         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
48005         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
48007         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
48008         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48010         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48011         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48013         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48014         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48015         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48016         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48017         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48018         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48019         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48020         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48021         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48022         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48023         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48024         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48025         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48026         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48027         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48028         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48029         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48030         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48031         Moved ...
48032         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48033         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48034         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48036         Moved ...
48037         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48038         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48039         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48040         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48041         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48042         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48043         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48045         Moved ...
48046         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48048         Moved ...
48049         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
48050         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
48051         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
48052         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
48053         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
48054         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48055         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
48056         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
48057         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
48058         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
48059         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
48060         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
48061         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
48062         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
48063         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
48064         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
48065         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
48067         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
48068         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
48069         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
48070         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
48071         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
48073         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
48074         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
48075         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
48076         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
48077         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
48078         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
48079         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
48080         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
48081         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
48082         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
48084         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
48085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
48087         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
48088         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
48089         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
48090         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
48091         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
48092         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
48093         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
48094         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
48095         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
48096         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
48097         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
48098         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
48099         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
48100         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
48101         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
48102         Update #include.
48103         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
48104         Likewise.
48105         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48106         Likewise.
48107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48108         Likewise.
48109         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48110         Likewise.
48111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
48112         Likewise.
48113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
48114         Likewise.
48115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48116         Likewise.
48117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
48118         Likewise.
48119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
48120         Likewise.
48121         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
48122         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
48123         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
48124         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
48125         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
48126         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
48127         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
48128         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
48129         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
48130         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
48131         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
48132         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
48133         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
48134         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
48135         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
48137         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
48138         that was previously under [RESET_PID].
48139         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48140         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
48141         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
48143         * sysdeps/i386/nptl/Implies: New file.
48144         * sysdeps/x86_64/nptl/Implies: New file.
48145         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
48146         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
48147         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
48148         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
48150         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
48151         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48152         (__libc_vfork): New strong alias.
48153         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
48154         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
48156         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
48157         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48158         (__libc_vfork): New strong alias.
48159         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
48160         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
48162         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
48163         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48164         (__libc_vfork): New strong alias.
48165         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
48166         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
48167         * nptl/pt-vfork.c: New file.
48168         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
48169         (libpthread: GLIBC_2.20): New version set (empty).
48171 2014-05-14  Will Newton  <will.newton@linaro.org>
48173         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
48174         rather than #if.
48176 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48178         [BZ #16564]
48179         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
48180         arguments with exponent 65 or above.
48181         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
48182         arguments 0x1p113L or above.
48183         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
48184         to arguments 0x1p107L or above.
48185         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
48186         positive arguments with exponent 65 or above.
48187         * math/auto-libm-test-in: Add more tests of log1p.
48188         * math/auto-libm-test-out: Regenerated.
48190         [BZ #16928]
48191         * math/s_cacos.c (__cacos): Ensure zero real part of result from
48192         non-finite arguments is +0.
48193         * math/s_cacosf.c (__cacosf): Likewise.
48194         * math/s_cacosl.c (__cacosl): Likewise.
48195         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
48196         * sysdeps/i386/fpu/libm-test-ulps: Update.
48197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48199         [BZ #16927]
48200         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
48201         value.
48202         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
48203         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
48204         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
48205         for explicit high bit of mantissa when testing for argument equal
48206         to 1.
48207         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
48208         * sysdeps/i386/fpu/libm-test-ulps: Update.
48209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48211         [BZ #16516]
48212         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
48213         (__erf): Scale by 16 instead of 8 in potentially underflowing
48214         case.  Ensure exception if result actually underflows.
48215         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
48216         (__erff): Scale by 16 instead of 8 in potentially underflowing
48217         case.  Ensure exception if result actually underflows.
48218         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
48219         (efx8): Remove variable.
48220         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48221         case.  Ensure exception if result actually underflows.
48222         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
48223         (efx8): Remove variable.
48224         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48225         case.  Ensure exception if result actually underflows.
48226         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
48227         (efx8): Remove variable.
48228         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48229         case.  Ensure exception if result actually underflows.
48230         * math/auto-libm-test-in: Add more tests of erf.
48231         * math/auto-libm-test-out: Regenerated.
48233 2014-05-14  Andreas Schwab  <schwab@suse.de>
48235         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
48236         Remove code conditionalized on USE___THREAD.
48238         * config.h.in (HAVE_PT_CHOWN): Define as 0.
48239         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
48240         not definedness.
48242 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48244         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
48245         Define unconditionally.
48246         (__ASSUME_O_CLOEXEC): Likewise.
48247         (__ASSUME_SOCK_CLOEXEC): Likewise.
48248         (__ASSUME_IN_NONBLOCK): Likewise.
48249         (__ASSUME_PIPE2): Likewise.
48250         (__ASSUME_EVENTFD2): Likewise.
48251         (__ASSUME_SIGNALFD4): Likewise.
48252         (__ASSUME_DUP3): Likewise.
48253         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48254         (__ASSUME_DUP3): Do not define.
48255         (__ASSUME_EVENTFD2): Likewise.
48256         (__ASSUME_IN_NONBLOCK): Likewise.
48257         (__ASSUME_O_CLOEXEC): Likewise.
48258         (__ASSUME_PIPE2): Likewise.
48259         (__ASSUME_SIGNALFD4): Likewise.
48260         (__ASSUME_SOCK_CLOEXEC): Likewise.
48261         (__ASSUME_UTIMES): Undefine.
48262         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48263         (__ASSUME_UTIMES): Do not define.
48264         (__ASSUME_O_CLOEXEC): Likewise.
48265         (__ASSUME_SOCK_CLOEXEC): Likewise.
48266         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
48267         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
48268         0x020621].
48269         (__ASSUME_PIPE2): Likewise.
48270         (__ASSUME_EVENTFD2): Likewise.
48271         (__ASSUME_SIGNALFD4): Likewise.
48272         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
48273         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
48274         Do not define.
48275         (__ASSUME_EVENTFD2): Likewise.
48276         (__ASSUME_SIGNALFD4): Likewise.
48277         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
48278         (__ASSUME_32BITUIDS): Likewise.
48279         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48280         (__ASSUME_IPC64): Likewise.
48281         (__ASSUME_ST_INO_64_BIT): Likewise.
48282         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
48283         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
48284         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48285         (__ASSUME_UTIMES): Do not define.
48286         (__ASSUME_PSELECT): Likewise.
48287         (__ASSUME_PPOLL): 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/m68k/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/microblaze/kernel-features.h
48305         (__ASSUME_UTIMES): Likewise.
48306         (__ASSUME_O_CLOEXEC): Likewise.
48307         (__ASSUME_SOCK_CLOEXEC): Likewise.
48308         (__ASSUME_IN_NONBLOCK): Likewise.
48309         (__ASSUME_PIPE2): Likewise.
48310         (__ASSUME_EVENTFD2): Likewise.
48311         (__ASSUME_SIGNALFD4): Likewise.
48312         (__ASSUME_DUP3): Likewise.
48313         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
48314         Likewise.
48315         (__ASSUME_UTIMES): Likewise.
48316         (__ASSUME_EVENTFD2): Likewise.
48317         (__ASSUME_SIGNALFD4): Likewise.
48318         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48319         (__ASSUME_O_CLOEXEC): Likewise.
48320         (__ASSUME_SOCK_CLOEXEC): Likewise.
48321         (__ASSUME_IN_NONBLOCK): Likewise.
48322         (__ASSUME_PIPE2): Likewise.
48323         (__ASSUME_EVENTFD2): Likewise.
48324         (__ASSUME_SIGNALFD4): Likewise.
48325         (__ASSUME_DUP3): Likewise.
48326         (__ASSUME_UTIMES): Undefine.
48328         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
48329         feclearexcept.  Remove symbol versioning code.
48330         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
48331         symbol versioning code.
48332         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
48333         symbol versioning code.
48334         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
48335         feupdateenv.  Remove symbol versioning code.
48336         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
48337         fegetexceptflag.  Remove symbol versioning code.
48338         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
48339         fesetexceptflag.  Remove symbol versioning code.
48340         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
48341         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
48342         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
48343         (__posix_fadvise64_l32): Remove prototype.
48344         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
48345         code.
48347 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48349         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
48350         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
48351         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
48352         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
48354 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
48356         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
48357         current working directory
48359 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48361         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
48362         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
48363         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
48364         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
48365         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
48366         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
48367         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
48368         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
48369         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
48370         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
48371         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
48372         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
48373         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
48374         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
48375         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
48376         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
48377         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
48378         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
48379         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
48380         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
48381         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
48382         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
48383         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
48384         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
48385         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
48386         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
48387         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
48388         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
48389         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
48390         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
48391         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
48392         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
48393         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
48394         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
48395         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
48396         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
48397         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
48398         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
48399         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
48400         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
48401         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
48402         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
48404         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
48405         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
48407         * sysdeps/unix/sysv/linux/arm/Makefile
48408         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
48409         Add rt-aeabi_unwind_cpp_pr1.
48410         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
48411         Add nptl-aeabi_unwind_cpp_pr1.
48412         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
48413         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
48414         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
48415         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48416         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
48417         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48419         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
48420         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
48421         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
48422         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
48424         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
48425         Deconditionalize the code that was previously under [RESET_PID].
48426         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
48428         * sysdeps/generic/exit-thread.h: New file.
48429         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
48430         * include/unistd.h (__exit_thread): Remove declaration.
48431         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
48432         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
48433         * csu/libc-start.c: Include <exit-thread.h>.
48434         (LIBC_START_MAIN): Pass no argument to __exit_thread.
48435         * nptl/pthread_create.c: Include <exit-thread.h>.
48436         (start_thread): Call __exit_thread in place of __exit_thread_inline.
48437         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
48438         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
48439         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
48440         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
48441         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
48442         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
48443         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
48444         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
48445         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
48446         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
48447         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
48448         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
48449         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
48450         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
48451         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
48452         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
48454 2014-05-13  Andreas Schwab  <schwab@suse.de>
48456         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
48458 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
48460         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
48461         (__ASSUME_UTIMES): Do not condition on kernel version.
48462         (__ASSUME_PSELECT): Define unconditionally.
48463         (__ASSUME_PPOLL): Likewise.
48464         (__ASSUME_ATFCTS): Likewise.
48465         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
48466         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
48467         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
48468         (__ASSUME_UTIMENSAT): Define unconditionally.
48469         (__ASSUME_PRIVATE_FUTEX): Likewise.
48470         (__ASSUME_FALLOCATE): Likewise.
48471         (__ASSUME_O_CLOEXEC): Likewise.
48472         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
48473         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
48474         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
48475         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
48476         (__ASSUME_IN_NONBLOCK): Likewise.
48477         (__ASSUME_PIPE2): Likewise.
48478         (__ASSUME_EVENTFD2): Likewise.
48479         (__ASSUME_SIGNALFD4): Likewise.
48480         (__ASSUME_DUP3): Likewise.
48481         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48482         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
48483         (__ASSUME_AT_RANDOM): Likewise.
48484         (__ASSUME_PREADV): Likewise.
48485         (__ASSUME_PWRITEV): Likewise.
48486         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
48487         (__ASSUME_F_GETOWN_EX): Define unconditionally.
48488         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
48489         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48490         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
48491         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48492         (__ASSUME_O_CLOEXEC): Define unconditionally.
48493         (__ASSUME_PSELECT): Do not undefine conditionally.
48494         (__ASSUME_PPOLL): Likewise.
48495         (__ASSUME_ATFCTS): Likewise.
48496         (__ASSUME_SET_ROBUST_LIST): Likewise.
48497         (__ASSUME_UTIMENSAT): Likewise.
48498         (__ASSUME_FDATASYNC): Define unconditionally.
48499         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48500         (__ASSUME_SIGFRAME_V2): Likewise.
48501         )__ASSUME_EVENTFD2): Likewise.
48502         (__ASSUME_SIGNALFD4): Likewise.
48503         (__ASSUME_PSELECT): Do not undefine conditionally.
48504         (__ASSUME_PPOLL): Likewise.
48505         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48506         (__ASSUME_PSELECT): Define unconditionally.
48507         (__ASSUME_PPOLL): Likewise.
48508         (__ASSUME_O_CLOEXEC): Likewise.
48509         (__ASSUME_SOCK_CLOEXEC): Likewise.
48510         (__ASSUME_IN_NONBLOCK): Likewise.
48511         (__ASSUME_PIPE2): Likewise.
48512         (__ASSUME_EVENTFD2): Likewise.
48513         (__ASSUME_SIGNALFD4): Likewise.
48514         (__ASSUME_DUP3): Likewise.
48515         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48516         (__ASSUME_O_CLOEXEC): Likewise.
48517         (__ASSUME_SOCK_CLOEXEC): Likewise.
48518         (__ASSUME_IN_NONBLOCK): Likewise.
48519         (__ASSUME_PIPE2): Likewise.
48520         (__ASSUME_EVENTFD2): Likewise.
48521         (__ASSUME_SIGNALFD4): Likewise.
48522         (__ASSUME_DUP3): Likewise.
48523         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48524         (__ASSUME_EVENTFD2): Likewise.
48525         (__ASSUME_SIGNALFD4): Likewise.
48526         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48528 2014-05-12  Andreas Schwab  <schwab@suse.de>
48530         [BZ #16932]
48531         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
48532         (_nss_nis_gethostbyname4_r): Return error if item length is larger
48533         than maximum RPC packet size.
48534         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
48535         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
48536         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
48537         (_nss_nis_getservbyport_r): Likewise.
48539 2014-05-12  Will Newton  <will.newton@linaro.org>
48541         * malloc/Makefile (tests): Add tst-mallopt.
48542         * malloc/tst-mallopt.c: New file.
48544 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48546         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
48547         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
48549 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48551         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
48552         (tst-tlsmod6.so): Likewise.
48554 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48556         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
48558 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
48560         [BZ #16064]
48561         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
48562         and <dl-procinfo.h>.
48563         (__fegetenv): Save SSE state in envp->__eip if supported.
48564         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
48565         envp->__eip if supported.
48566         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
48567         and <dl-procinfo.h>.
48568         (__fesetenv): Always set __eip, __cs_selector, __opcode,
48569         __data_offset and __data_selector in environment to 0.  Set SSE
48570         state if supported.
48571         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
48572         test-fenv-sse.
48573         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
48574         -mfpmath=sse.
48575         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
48577 2014-05-09  Will Newton  <will.newton@linaro.org>
48579         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
48580         and libc_relro_required for ARM.
48581         * sysdeps/arm/preconfigure: Regenerate.
48583 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
48584             Stefan Liebler  <stli@linux.vnet.ibm.com>
48586         * config.make.in (enable-lock-elision): New Makefile variable.
48587         * configure.ac: Likewise.
48588         * configure: Regenerate.
48589         * sysdeps/s390/configure.ac:
48590         Add check for gcc transactions support.
48591         * sysdeps/s390/configure: Regenerate.
48592         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
48593         Build elision files if enabled.
48594         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
48595         Add lock elision support for s390.
48596         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
48597         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
48598         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
48599         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
48600         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
48601         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
48602         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
48603         Likewise.
48604         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
48605         Likewise.
48606         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
48607         Likewise.
48608         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
48609         Likewise.
48610         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
48611         (__lll_timedlock_elision, __lll_lock_elision)
48612         (__lll_unlock_elision, __lll_trylock_elision)
48613         (lll_timedlock_elision, lll_lock_elision)
48614         (lll_unlock_elision, lll_trylock_elision): Add.
48615         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48616         (pthread_mutex_t): Add lock elision support for s390.
48618 2014-05-14  Wilco  <wdijkstr@arm.com>
48620         * sysdeps/arm/fclrexcpt.c: Cleanup.
48621         * sysdeps/arm/fedisblxcpt.c: Cleanup.
48622         * sysdeps/arm/feenablxcpt.c: Cleanup.
48623         * sysdeps/arm/fegetenv.c: Cleanup.
48624         * sysdeps/arm/fegetexcept.c: Cleanup.
48625         * sysdeps/arm/fegetround.c: Cleanup.
48626         * sysdeps/arm/feholdexcpt.c: Cleanup.
48627         * sysdeps/arm/fesetenv.c: Cleanup.
48628         * sysdeps/arm/fesetround.c: Cleanup.
48629         * sysdeps/arm/feupdateenv.c: Cleanup.
48630         * sysdeps/arm/fgetexcptflg.c: Cleanup.
48631         * sysdeps/arm/fraiseexcpt.c: Cleanup.
48632         * sysdeps/arm/fsetexcptflg.c: Cleanup.
48633         * sysdeps/arm/ftestexcept.c: Cleanup.
48634         * sysdeps/arm/get-rounding-mode.h: Cleanup.
48635         * sysdeps/arm/setfpucw.c: Cleanup.
48637 2014-05-09  Will Newton  <will.newton@linaro.org>
48639         * sysdeps/arm/armv7/strcmp.S: New file.
48640         * NEWS: Mention addition of ARMv7 optimized strcmp.
48642 2014-05-08  Roland McGrath  <roland@hack.frob.com>
48644         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
48645         look for %.ac rather than %.in.
48647         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
48648         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
48649         * sysdeps/mach/hurd/configure: Regenerated.
48650         * sysdeps/unix/sysv/linux/configure: Regenerated.
48652         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
48654 2014-05-07  Steve Ellcey  <sellcey@mips.com>
48656         [BZ #16922]
48657         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
48658         (LONG_SUB): Ditto.
48659         (PTR_SUB): Ditto.
48661 2014-05-07  Andreas Schwab  <schwab@suse.de>
48663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
48664         when skipping over non-matching result from nscd.
48666 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
48668         [BZ #16876]
48669         * nptl/sockperf.c (client): Check socket return value.
48671         [BZ #16877]
48672         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
48673         nscd security class.
48675 2014-05-06  Roland McGrath  <roland@hack.frob.com>
48677         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
48678         * sysdeps/arm/unwind.h: ... here.
48680 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
48682         [BZ #16916]
48683         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
48684         Define.
48686 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48688         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
48689         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
48690         multiarch strncpy for PPC64.
48691         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
48692         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
48693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
48694         multiarch optimizations.
48695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48696         (__libc_ifunc_impl_list): Likewise.
48697         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
48698         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
48699         multiarch stpncpy for PPC64.
48700         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
48701         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
48703 2014-05-06  Andreas Schwab  <schwab@suse.de>
48705         [BZ #16912]
48706         * gmon/mcount.c (_MCOUNT_DECL): Use
48707         atomic_compare_and_exchange_bool_acq instead of
48708         catomic_compare_and_exchange_bool_acq.
48710 2014-05-05  Roland McGrath  <roland@hack.frob.com>
48712         * elf/Makefile (others, install-bin): Remove pldd.
48713         (pldd-modules): Variable removed.
48714         ($(objpfx)pldd): Target removed.
48715         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
48716         (others, install-bin): Append pldd here.
48717         ($(objpfx)pldd): New target.
48719         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
48720         to 0, so the first #if test emitted later doesn't see it undefined.
48721         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
48722         * sysdeps/gnu/errlist.c: Regenerated.
48724 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48726         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48727         [libc_hidden_builtin_def]: Define to empty value.
48728         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
48729         [libc_hidden_builtin_def]: Likewise.
48730         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
48731         [libc_hidden_builtin_def]: Likewise.
48732         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
48733         [libc_hidden_builtin_def]: Likewise.
48734         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
48735         __redirect_memcpy and define ifunc as default hidden symbol.
48736         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
48737         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
48739 2014-05-04  Adam Conrad  <adconrad@0c3.net>
48741         * locale/iso-4217.def: Reintroduce XDR currency.
48743 2014-05-04  Allan McRae  <allan@archlinux.org>
48745         * po/eo.po: Update Esperanto translation from translation project.
48747 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
48749         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
48750         and FEATURE_INDEX_MAX to 1.
48751         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
48753 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48755         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
48756         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
48757         * iconvdata/big5.c (ONE_DIRECTION): Define.
48758         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
48759         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
48760         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
48761         * iconvdata/cp932.c (ONE_DIRECTION): Define.
48762         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
48763         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
48764         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
48765         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
48766         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
48767         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
48768         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
48769         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
48770         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
48771         * iconvdata/gbk.c (ONE_DIRECTION): Define.
48772         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
48773         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
48774         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
48775         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
48776         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
48777         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
48778         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
48779         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
48780         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
48781         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
48782         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
48783         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
48784         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
48785         * iconvdata/iso646.c (ONE_DIRECTION): Define.
48786         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
48787         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
48788         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
48789         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
48790         * iconvdata/johab.c (ONE_DIRECTION): Define.
48791         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
48792         * iconvdata/sjis.c (ONE_DIRECTION): Define.
48793         * iconvdata/t.61.c (ONE_DIRECTION): Define.
48794         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
48795         * iconvdata/tscii.c (ONE_DIRECTION): Define.
48796         * iconvdata/uhc.c (ONE_DIRECTION): Define.
48797         * iconvdata/unicode.c (ONE_DIRECTION): Define.
48798         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
48799         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
48800         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
48802 2014-05-01  Roland McGrath  <roland@hack.frob.com>
48804         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
48805         (_IO_JUMPS_OFFSET): Define to 0.
48807         * nptl/sysdeps/pthread/bits/libc-lock.h
48808         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
48809         (__libc_lock_define_initialized_recursive): Always define using
48810         initializer.  Modern compilers treat uninitialized (implicit zero) and
48811         explicit zero initializers the same (i.e. put the datum in bss).
48813 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48815         * nscd/nscd-client.h: Include <string.h>.
48817 2014-05-01  David S. Miller  <davem@davemloft.net>
48819         [BZ #16885]
48820         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
48821         multiple zero bytes exist at the end of a string.
48822         Reported by Aurelien Jarno <aurelien@aurel32.net>
48824         * string/test-strcmp.c (check): Add explicit test for situations where
48825         there are multiple zero bytes after the first.
48827 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48829         [BZ #16890]
48830         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
48831         when compiling wprintf.
48832         * stdio-common/tstdiomisc.c (t3): New function.
48833         (main): Call it.
48835 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48837         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
48838         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
48839         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
48840         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
48842 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48844         * stdlib/longlong.h: Updated from GCC.
48846 2014-05-01  Will Newton  <will.newton@linaro.org>
48847             Bernard Ogden  <bernie.ogden@linaro.org>
48849         * NEWS: Update fixed bug list.
48851         [BZ #15119]
48852         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
48854 2014-04-30  David S. Miller  <davem@davemloft.net>
48856         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
48857         (libc_feholdexcept_setround_sparc_ctx): New function.
48858         (libc_fesetenv_sparc_ctx): Likewise.
48859         (libc_feupdateenv_sparc_ctx): Likewise.
48860         (libc_feholdsetround_sparc_ctx): Likewise.
48861         (libc_feholdexcept_setround_ctx): Define.
48862         (libc_feholdexcept_setroundf_ctx): Likewise.
48863         (libc_feholdexcept_setroundl_ctx): Likewise.
48864         (libc_fesetenv_ctx): Likewise.
48865         (libc_fesetenvf_ctx): Likewise.
48866         (libc_fesetenvl_ctx): Likewise.
48867         (libc_feupdateenv_ctx): Likewise.
48868         (libc_feupdateenvf_ctx): Likewise.
48869         (libc_feupdateenvl_ctx): Likewise.
48870         (libc_feresetround_ctx): Likewise.
48871         (libc_feresetroundf_ctx): Likewise.
48872         (libc_feresetroundl_ctx): Likewise.
48873         (libc_feholdsetround_ctx): Likewise.
48874         (libc_feholdsetroundf_ctx): Likewise.
48875         (libc_feholdsetroundl_ctx): Likewise.
48877         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48878         with __USE_GNU instead of XOPEN cpp guards.
48880         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
48881         0.
48883         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48884         with XOPEN cpp guards.
48886 2014-04-30  Julian Brown  <julian@codesourcery.com>
48888         [BZ #16888]
48889         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
48890         handling.
48892 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
48894         [BZ #9894]
48895         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
48896         Change to 2.6.32.
48897         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
48898         * sysdeps/unix/sysv/linux/configure: Regenerated.
48899         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
48900         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
48901         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
48902         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
48903         * README: Update reference to required Linux kernel version.
48904         * manual/install.texi (Linux): Update reference to required Linux
48905         kernel headers version.
48906         * INSTALL: Regenerated.
48908         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
48909         header inclusion.
48910         [POSIX] (limits.h): Likewise.
48911         [POSIX] (math.h): Likewise.
48912         [POSIX] (sys/wait.h): Likewise.
48913         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
48914         function.
48915         [POSIX] (stddef.h): Do not allow header inclusion.
48917 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48919         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
48921 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
48923         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
48924         Return immediately after lll_futex_wake.
48926 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48928         [BZ #16791]
48929         * nscd/nscd-client.h (datahead_init_common): Initialize entire
48930         structure.
48931         (datahead_init_pos): Call datahead_init_common early.
48932         (datahead_init_neg): Likewise.
48934         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
48935         datahead_init_neg): New functions.
48936         * nscd/aicache.c (addhstaiX): Use them.
48937         * nscd/grpcache.c (cache_addgr): Likewise.
48938         * nscd/hstcache.c (cache_addhst): Likewise.
48939         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48940         * nscd/netgroupcache.c (do_notfound): Likewise.
48941         (addgetnetgrentX): Likewise.
48942         (addinnetgrX): Likewise.
48943         * nscd/pwdcache.c (cache_addpw): Likewise.
48944         * nscd/servicescache.c (cache_addserv): Likewise.
48946 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48947             Atsushi Onoe  <atsushi@onoe.org>
48949         [BZ #14308]
48950         [BZ #12994]
48951         [BZ #13651]
48952         * resolv/res_query.c (__libc_res_nsearch): Return if at least
48953         one response is valid.
48954         * resolv/res_send.c (send_dg): Check for validity of other
48955         response if the current response is a referral.
48957 2014-04-29  Steve Ellcey  <sellcey@mips.com>
48959         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
48961 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
48963         [BZ #16823]
48964         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
48965         Always divide by positive zero when computing -Inf result.
48966         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48967         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
48969 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48971         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
48972         FPSCR if value do not change.
48973         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48974         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
48975         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
48976         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48977         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
48978         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
48979         function.
48981 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
48983         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
48984         * sysdeps/unix/sysv/linux/hppa: Move directory from
48985         ports/systeps/unix/sysv/linux/hppa.
48986         * README: Update listing for hppa-*-linux-gnu.
48988 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
48990         [BZ #16754]
48991         * manual/stdio.texi (Hook functions): Fix types of stream hook
48992         functions.
48993         [BZ #16854]
48994         * socket/sys/socket.h: Fix typo in comment.
48996 2014-04-28  Wilco  <wdijkstr@arm.com>
48998         * sysdeps/arm/fenv_private.h: New file.
48999         * sysdeps/arm/math_private.h: New file.
49000         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
49002 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
49004         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
49005         with __int128_t.
49006         (La_x86_64_retval): Likewise.
49008 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
49010         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49011         fpsr if value didn't change.
49012         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49013         to fpcr if value didn't change.
49014         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49015         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49016         fpsr or fpcr if value didn't change.
49017         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49018         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49019         fpcr if value didn't change.
49020         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49021         to fpsr if value didn't change.
49023 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49025         * nptl/tst-sem3.c: Use test-skeleton.c
49026         (main): Rename to do_test.  Use return instead of
49027         exit.
49028         * nptl/tst-sem4.c: Use test-skeleton.c
49029         (main): Rename to do_test.
49031 2014-04-22  David S. Miller  <davem@davemloft.net>
49033         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49034         (struct sigaction): New struct member __glibc_reserved0, change
49035         type of sa_flags to int.
49037 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
49039         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49040         (COUNT_LEADING_ZEROS_0): Define for AArch64.
49042 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49044         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49045         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49047 2014-04-22  Will Newton  <will.newton@linaro.org>
49048             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
49050         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
49051         (__longjmp): Add longjmp and longjmp_target SystemTap
49052         probes.
49053         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
49054         (__sigsetjmp): Add setjmp SystemTap probe.
49056 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
49058         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
49059         match manual order.
49061 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49063         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
49065         * sysdeps/powerpc/fpu/fenv_private.h
49066         (libc_feholdexcept_setroundl_ctx): Define to
49067         libc_feholdexcept_setround_ppc_ctx.
49068         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
49069         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
49070         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
49071         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
49073 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49075         * sysdeps/aarch64/math-tests.h: New file.
49077 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
49079         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
49080         New.
49081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49082         Check and set bit_AVX2_Usable.
49083         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
49084         macro.
49085         (bit_AVX2): Likewise.
49086         (index_AVX2_Usable): Likewise.
49087         (CPUID_AVX2): Likewise.
49088         (HAS_AVX2): Likewise.
49090 2014-04-17  Will Newton  <will.newton@linaro.org>
49092         * manual/setjmp.texi (System V contexts): Add note that
49093         calling setcontext on a context created by a call to a
49094         signal handler is undefined.  Update text to note that
49095         setcontext from a signal handler is possible but not
49096         recommended.
49098         [BZ #16629]
49099         * stdlib/tst-setcontext.c: Include signal.h.
49100         (main): Check that the signal stack before and
49101         after swapcontext is the same.
49103         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
49104         Re-implement to restore registers in user code and avoid
49105         rt_sigreturn system call.
49107 2014-04-17  Wilco  <wdijkstr@arm.com>
49109         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
49110         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
49111         * math/test-fenv.c: Skip exception trap tests on targets which only
49112         support non-stop mode.
49114 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49115             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49117         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
49118         (libc_feholdsetround_aarch64_ctx)
49119         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
49120         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
49121         (libc_feresetround_ctx, libc_feresetroundf_ctx)
49122         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
49123         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
49124         (libc_feresetround_noexl_ctx): Define.
49126 2014-04-16  Richard Henderson  <rth@redhat.com>
49128         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
49130         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
49131         unwind tables.
49133         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
49134         const from the non-libc, non-ldso copy.
49136         * sysdeps/alpha/libm-test-ulps: Regenerate.
49138 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
49139             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49141         * sysdeps/aarch64/fpu/math_private.h: New file.
49143 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49145         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49147 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
49149         [BZ #16275]
49150         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
49151         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
49152         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
49153         Intel MPX bound registers before _dl_profile_fixup.
49154         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
49155         registers after _dl_profile_fixup.  Save and restore bound
49156         registers bnd0/bnd1 when calling _dl_call_pltexit.
49157         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
49158         (LR_BND_OFFSET): Likewise.
49159         (LRV_BND0_OFFSET): Likewise.
49160         (LRV_BND1_OFFSET): Likewise.
49162 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49164         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
49165         to...
49166         * sysdeps/mach/hurd/i386/tls.h: ... here.
49167         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
49168         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
49169         fields.
49171 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49173         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
49175 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49177         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49179 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49181         [BZ #14770]
49182         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
49183         * sysdeps/s390/configure: Regenerate.
49185         [BZ #16824]
49186         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
49187         Set round-to-nearest internally to reduce error accumulation.
49189 2014-04-16  Alan Modra  <amodra@gmail.com>
49191         [BZ #16740]
49192         [BZ #16619]
49193         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
49194         * math/libm-test.inc (frexp_test_data): Add tests.
49195         * NEWS: Update fixed bug list.
49197 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49199         * benchtests/Makefile: Depend on libraries in build directory.
49200         (bench-math): Separate out math tests.
49201         (bench-pthread): Separate out pthread tests.
49202         (bench): Include math and pthread tests.
49204 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
49206         [BZ #16831]
49207         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
49208         _dl_debug_initialize.
49210         * configure.ac: Remove SELinux header check.
49211         * configure: Regenerate.
49212         * nscd/selinux.c (perms): Array of const char* to permission names.
49213         (nscd_request_avc_has_perm): Call security_deny_unknown to find
49214         default policy. Call string_to_security_class and string_to_av_perm to
49215         translate strings. Enforce default policy and call avs_has_perm with
49216         results of translated strings.
49218 2014-04-13  David S. Miller  <davem@davemloft.net>
49220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49222 2014-04-12  Allan McRae  <allan@archlinux.org>
49224         [BZ #16838]
49225         * manual/string.texi (Collation Functions): Fix qsort argument
49226         order in example.
49227         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49229 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
49231         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
49232         Make the test a no-op if there are no exceptions defined.
49234 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
49236         * elf/Makefile (tests): make tst-dlopen-aout conditional on
49237         enable-hardcoded-path-in-tests
49239 2014-04-11  Will Newton  <will.newton@linaro.org>
49241         * benchtests/Makefile (extra-objs): Add json-lib.o.
49242         (bench-func): Tidy up JSON output.
49243         * benchtests/bench-skeleton.c: Include json-lib.h.
49244         (main): Use JSON library functions to do output of
49245         benchmark results.
49246         * benchtests/bench-timing-type.c (main): Output the
49247         timing type simply, leaving formatting to the user.
49248         * benchtests/json-lib.c: New file.
49249         * benchtests/json-lib.h: Likewise.
49251 2014-04-11  Torvald Riegel  <triegel@redhat.com>
49253         [BZ #15215]
49254         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
49255         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
49256         memory barriers.  Add comments.
49257         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
49258         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
49259         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
49260         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
49261         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
49262         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
49264 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49266         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
49267         * sysdeps/s390/s390-64/configure.ac: ... this ...
49268         * sysdeps/s390/configure.ac: ... to here.
49269         * sysdeps/s390/s390-32/configure: Delete file.
49270         * sysdeps/s390/s390-64/configure: Delete file.
49271         * sysdeps/s390/configure: Regenerate.
49273 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
49275         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
49277 2014-04-11  Will Newton  <will.newton@linaro.org>
49279         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
49280         to zero if it is not defined elsewhere.  (mtrim): Test
49281         the value of MALLOC_DEBUG with #if rather than #ifdef.
49283 2014-04-10 Torvald Riegel  <triegel@redhat.com>
49285         * benchtests/pthread_once-inputs: New file.
49286         * benchtests/pthread_once-source.c: New file.
49287         * benchtests/README: Update documentation.
49289 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
49290             H.J. Lu  <hongjiu.lu@intel.com>
49292         [BZ #16275]
49293         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
49294         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
49295         * sysdeps/x86_64/configure: Regenerated.
49296         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
49297         macro.
49298         (REGISTER_SAVE_RAX): Likewise.
49299         (REGISTER_SAVE_RCX): Likewise.
49300         (REGISTER_SAVE_RDX): Likewise.
49301         (REGISTER_SAVE_RSI): Likewise.
49302         (REGISTER_SAVE_RDI): Likewise.
49303         (REGISTER_SAVE_R8): Likewise.
49304         (REGISTER_SAVE_R9): Likewise.
49305         (REGISTER_SAVE_BND0): Likewise.
49306         (REGISTER_SAVE_BND1): Likewise.
49307         (REGISTER_SAVE_BND2): Likewise.
49308         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
49309         bound registers when calling _dl_fixup.
49311 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49313         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
49314         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
49315         of its definition.
49316         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
49317         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
49318         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
49319         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
49320         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
49321         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
49322         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
49324 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
49326         [BZ #15514]
49327         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
49328         pathconf(_PC_NAME_MAX).
49330 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49332         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
49333         Remove macro usage.
49334         (__PTHREAD_SPINS): Move definition to ...
49335         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49336         (__PTHREAD_SPINS): ... here.
49337         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49338         (__PTHREAD_SPIN): Likewise.
49339         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
49340         (__PTHREAD_SPIN): Likewise.
49341         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
49342         (__PTHREAD_SPIN): Likewise.
49343         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
49344         (__PTHREAD_SPIN): Likewise.
49345         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49346         (__PTHREAD_SPIN): Likewise.
49347         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49348         (__PTHREAD_SPIN): Likewise.
49349         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
49350         (__PTHREAD_SPIN): Likewise.
49351         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49352         (__PTHREAD_SPIN): Likewise.
49353         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49354         (__PTHREAD_SPIN): Likewise.
49355         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49356         (__PTHREAD_SPIN): Likewise.
49357         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49358         (__PTHREAD_SPIN): Likewise.
49359         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
49360         (__PTHREAD_SPIN): Likewise.
49362         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
49363         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
49364         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
49365         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
49366         imply folder.
49367         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
49368         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
49369         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
49370         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
49371         correct imply path.
49372         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
49373         strlen symbol for non multi-arch builds.
49374         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
49375         missing hidden_def and weak_alias.
49377 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
49379         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
49381 2014-04-07  Will Newton  <will.newton@linaro.org>
49383         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
49384         and contents.  [!_LIBC] Remove #ifndef and contents.
49385         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
49386         * string/memccpy.c (__memccpy): Use ANSI prototype.
49387         * string/memfrob.c (memfrob): Likewise.
49388         * string/strcoll.c (STRCOLL): Likewise.
49389         * string/strlen.c (strlen): Likewise.
49390         * string/strtok.c (STRTOK): Likewise.
49391         * string/strcat.c: Remove unused #include of memcopy.h.
49392         (strcat): Use ANSI prototype.
49393         * string/strchr.c: Remove unused #include of memcopy.h.
49394         (strchr): Use ANSI prototype.
49395         * string/strcmp.c: Remove unused #include of memcopy.h.
49396         (strcmp): Use ANSI prototype.
49397         * string/strcpy.c: Remove unused #include of memcopy.h.
49398         (strcpy): Use ANSI prototype.
49400 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49402         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
49403         * config.make.in (config-extra-cppflags): Set it from
49404         libc_extra_cppflags.
49405         * configure.ac (libc_extra_cflags): Make it accumulate over
49406         configure fragments.
49407         (libc_extra_cppflags): New flag.
49408         * configure. Regenerate.
49409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
49410         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
49411         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
49412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
49414         [BZ #16815]
49415         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
49416         result for FE_DOWNWARD rounding mode.
49417         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
49418         Likewise.
49419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49421 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
49423         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
49424         in function argument name.
49426 2014-04-03  David Svoboda  <svoboda@cert.org>
49428         [BZ #5666]
49429         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
49430         explicitly.
49432 2014-04-03  Roland McGrath  <roland@hack.frob.com>
49434         * elf/dl-unmap-segments.h: New file.
49435         * sysdeps/generic/ldsodefs.h
49436         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
49437         * elf/dl-close.c: Include <dl-unmap-segments.h>.
49438         * elf/dl-fptr.c: Likewise.
49439         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
49440         * sysdeps/aarch64/tlsdesc.c: Likewise.
49441         * sysdeps/arm/tlsdesc.c: Likewise.
49442         * sysdeps/i386/tlsdesc.c: Likewise.
49443         * sysdeps/tile/dl-runtime.c: Likewise.
49444         * sysdeps/x86_64/tlsdesc.c: Likewise.
49445         * elf/dl-load.h: New file.
49446         * elf/dl-load.c: Include it.
49447         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
49448         Macros moved to dl-load.h.
49449         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
49450         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
49451         Use _dl_unmap_segments in place of __munmap.
49452         Break out segment-mapping loop into ...
49453         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
49455 2014-04-03  Will Newton  <will.newton@linaro.org>
49457         * elf/dl-lookup.c (do_lookup_x): Remove comment
49458         referring to nested function and move variable
49459         declarations down to before first use.
49461 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
49463         [BZ #16799]
49464         [BZ #16800]
49465         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
49466         with 0 numerator.
49467         * math/s_catanf.c (__catanf): Likewise.
49468         * math/s_catanh.c (__catanh): Likewise.
49469         * math/s_catanhf.c (__catanhf): Likewise.
49470         * math/s_catanhl.c (__catanhl): Likewise.
49471         * math/s_catanl.c (__catanl): Likewise.
49472         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
49473         by positive zero when computing -Inf result.
49474         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
49475         (catanh_test): Likewise.
49476         * sysdeps/i386/fpu/libm-test-ulps: Update.
49477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49479         [BZ #16789]
49480         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
49481         instead of using underflowing value in computing result.
49482         * math/s_clog10.c (__clog10): Likewise.
49483         * math/s_clog10f.c (__clog10f): Likewise.
49484         * math/s_clog10l.c (__clog10l): Likewise.
49485         * math/s_clogf.c (__clogf): Likewise.
49486         * math/s_clogl.c (__clogl): Likewise.
49487         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
49488         (clog10_test): Likewise.
49489         * sysdeps/i386/fpu/libm-test-ulps: Update.
49490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49492 2014-04-02  Alan Modra  <amodra@gmail.com>
49494         [BZ #16739]
49495         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
49496         output when value is near a power of two.  Use int64_t for lx and
49497         remove casts.  Use decimal rather than hex exponent constants.
49498         Don't use long double multiplication when double will suffice.
49499         * math/libm-test.inc (nextafter_test_data): Add tests.
49500         * NEWS: Add 16739 and 16786 to bug list.
49502         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
49504         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
49506 2014-04-01  Will Newton  <will.newton@linaro.org>
49508         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
49509         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
49511 2014-04-01  Florian Weimer  <fweimer@redhat.com>
49513         [BZ #13347]
49514         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
49515         * nptl/tst-setuid2.c: New file.
49516         * nptl/Makefile (xtests): Add tst-setuid2.
49518 2014-04-01  Alan Modra  <amodra@gmail.com>
49520         [BZ #16786]
49521         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
49523 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49525         [BZ #6803]
49526         [BZ #6804]
49527         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
49528         set errno as appropriate.
49529         * math/w_scalbf.c (__scalbf): Likewise.
49530         * math/w_scalbl.c (__scalbl): Likewise.
49531         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
49532         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
49533         * math/libm-test.inc (scalb_test_data): Add errno expectations.
49534         Add more NaN tests.
49536         [BZ #16349]
49537         * math/w_atan2.c: Include <errno.h>.
49538         (__atan2): Set errno for result underflowing to zero.
49539         * math/w_atan2f.c: Include <errno.h>.
49540         (__atan2f): Set errno for result underflowing to zero.
49541         * math/w_atan2l.c: Include <errno.h>.
49542         (__atan2l): Set errno for result underflowing to zero.
49543         * math/auto-libm-test-in: Don't allow missing errno for some atan2
49544         tests.
49545         * math/auto-libm-test-out: Regenerated.
49547 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49549         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
49550         Encode instruction correctly in little endian.
49551         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
49552         Likewise.
49553         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
49554         Likewise.
49555         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
49556         Likewise.
49557         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
49558         Likewise.
49560 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49562         [BZ #9894]
49563         * sysdeps/unix/sysv/linux/kernel-features.h
49564         [__sparc__ && !__arch64__ && !__sparc_v9__]
49565         (__ASSUME_SET_ROBUST_LIST): Do not define.
49566         [__sparc__ && !__arch64__ && !__sparc_v9__]
49567         (__ASSUME_FUTEX_LOCK_PI): Likewise.
49568         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
49569         Likewise.
49570         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49571         (__ASSUME_FUTEX_LOCK_PI): Undefine.
49572         (__ASSUME_REQUEUE_PI): Likewise.
49573         (__ASSUME_SET_ROBUST_LIST): Likewise.
49574         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49575         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
49576         Undefine.
49577         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49578         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
49579         Likewise.
49580         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
49581         Likewise.
49582         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
49583         Likewise.
49584         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49585         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
49586         Undefine.
49587         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
49588         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
49589         Likewise.
49591         [BZ #16648]
49592         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49593         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
49594         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
49596 2014-03-31  Will Newton  <will.newton@linaro.org>
49598         * benchtests/Makefile (bench): Add ffs and ffsll to list
49599         of tests.
49600         * benchtests/ffs-inputs: New file.
49601         * benchtests/ffsll-inputs: Likewise.
49603 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
49605         [BZ #16770]
49606         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
49607         too large before casting to int.
49608         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
49609         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
49610         * math/libm-test.inc (scalb_test_data): Add more tests.
49612 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49614         * benchtests/Makefile (DETAILED_OPT): New make option.
49615         (bench-func): Run benchmark program with -d if DETAILED_OPT is
49616         set.
49617         * benchtests/bench-skeleton.c: Include stdbool.h.
49618         (main): Store and print timings per input.
49619         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
49620         member to each argument value.
49621         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
49622         (_print_arg_data): Initialize per-input timing to 0.
49624         * benchtests/Makefile (timing-type): New binary.
49625         (bench-clean): Also remove bench-timing-type.
49626         (bench): New target for timing-type.
49627         (bench-func): Print output in JSON format.
49628         * benchtests/bench-skeleton.c (main): Print output in JSON
49629         format.
49630         * benchtests/bench-timing-type.c: New file.
49631         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
49632         (TIMING_PRINT_STATS): Remove.
49633         * benchtests/scripts/bench.py (_print_arg_data): Store variant
49634         name separately.
49636         * benchtests/bench-modf.c: Remove.
49637         * benchtests/modf-inputs: New inputs file.
49639 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
49641         [BZ #16362]
49642         * math/s_clog10.c (M_PI_LOG10E): New macro.
49643         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
49644         imaginary parts are 0.
49645         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
49646         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
49647         imaginary parts are 0.
49648         * math/s_clog10l.c (M_PI_LOG10El): New macro.
49649         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
49650         imaginary parts are 0.
49651         * math/libm-test.inc (clog10_test_data): Update expected results
49652         for when real and imaginary parts are 0.
49654 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
49656         * elf/dl-load.c: Finish conversion of __builtin_expect into
49657         __glibc_{un}likely.
49659 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
49661         [BZ #16348]
49662         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
49663         1+x for argument with exponent below -67.
49664         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
49665         Likewise.
49666         * math/auto-libm-test-in: Add more tests of exp.
49667         * math/auto-libm-test-out: Regenerated.
49669 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49671         [BZ #16759]
49672         * inet/getnetgrent_r.c (get_nonempty_val): New function.
49673         (nscd_getnetgrent): Use it.
49675         [BZ #16760]
49676         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
49677         of stpcpy.
49679 2014-03-27  Andi Kleen  <ak@linux.intel.com>
49681         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
49682         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49683         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49684         (lll_robust_unlock): Remove out of line section. Use cfi
49685         intrinsics.
49686         (LLL_STUB_UNWIND_INFO*): Remove.
49687         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
49688         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49689         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49690         (lll_robust_unlock): Remove out of line section. Use cfi
49691         intrinsics.
49692         (LLL_STUB_UNWIND_INFO*): Remove.
49694 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49696         [BZ #16758]
49697         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
49698         blank values.
49700 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
49702         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
49704 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
49706         [BZ #16198]
49707         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
49708         fnstenv.
49709         * math/test-fenv-preserve.c: New file.
49710         * math/Makefile (tests): Add test-fenv-preserve.
49712 2014-03-26  Will Newton <will.newton@linaro.org>
49714         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
49716 2014-03-25  Roland McGrath  <roland@hack.frob.com>
49718         * scripts/versionlist.awk: Partition the version sets and emit all
49719         GLIBC_* (sorted) before all others (sorted).
49721 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49723         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
49724         GLIBC_2.2.5 version.
49726 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49728         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
49729         calls.
49731         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
49732         previous change.
49734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49736 2014-03-25  Andreas Schwab  <schwab@suse.de>
49738         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
49739         label to be used after in6ailist is initialized.
49741 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49743         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49744         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49746 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49748         [BZ #16357]
49749         [BZ #16599]
49750         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
49751         min_plus_half.
49752         (fp_formats): Update initializers.
49753         (init_fp_formats): Initialize new field.
49754         (output_for_one_input_case): Allow underflow for results up to
49755         min_plus_half.
49756         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
49757         * math/auto-libm-test-in: Don't mark some underflows from asin and
49758         atanh as spurious.
49759         * math/auto-libm-test-out: Regenerated.
49760         * sysdeps/i386/fpu/libm-test-ulps: Update.
49761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49763 2014-03-25  Andreas Schwab  <schwab@suse.de>
49765         * libio/Makefile (tst-ftell-partial-wide-ENV)
49766         (tst-ftell-active-handler-ENV): Define.
49768 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
49770         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
49772 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49774         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
49776 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49778         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
49779         * sysdeps/x86_64/fpu/multiarch/e_exp.c
49780         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
49782 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49784         [BZ #16634]
49785         * elf/dl-load.c (open_verify): Add mode parameter.
49786         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
49787         (open_path): Change from boolean 'secure' to complete flag 'mode'
49788         (_dl_map_object): Adjust.
49789         * elf/Makefile (tests): Add tst-dlopen-aout.
49790         * elf/tst-dlopen-aout.c: New test.
49792 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
49794         [BZ #16714]
49795         * sysdeps/unix/sysv/linux/s390/bits/stat.h
49796         (struct stat): Rename member pad0 to __glibc_reserved0.
49798         [BZ #16712]
49799         * sysdeps/s390/s390-32/bits/wordsize.h
49800         (__WORDSIZE32_SIZE_ULONG): New define.
49801         * sysdeps/s390/s390-64/bits/wordsize.h
49802         (__WORDSIZE32_SIZE_ULONG): Likewise.
49803         * sysdeps/generic/stdint.h (SIZE_MAX):
49804         Define as UL if __WORDSIZE32_SIZE_ULONG.
49806         [BZ #16713]
49807         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
49808         (__glibc_reserved0): New variable.
49809         (sa_flags): Change type to int.
49811         * posix/Makefile (before-compile): Use += before-compile instead
49812         of a :=.
49814         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49815         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49817 2014-03-20  Andreas Schwab  <schwab@suse.de>
49819         [BZ #16743]
49820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
49821         non-matching result from nscd.
49823 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49825         * scripts/bench.py: Moved to ...
49826         * benchtests/scripts/bench.py: ... here.
49827         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
49829 2014-03-24  Andreas Schwab  <schwab@suse.de>
49831         [BZ #16002]
49832         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
49833         alloca_account and account alloca use for struct in6ailist.
49835 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49837         [BZ #16284]
49838         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
49839         rounding mode to recompute results that overflow to infinity or
49840         underflow to zero.
49841         * math/auto-libm-test-in: Don't mark tests as expected to fail for
49842         bug 16284.
49843         * math/auto-libm-test-out: Regenerated.
49844         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
49845         (ccosh_test): Likewise.
49846         (csin_test_data): Use plus_oflow.
49847         (csin_test): Use ALL_RM_TEST.
49848         (csinh_test_data): Use plus_oflow.
49849         (csinh_test): Use ALL_RM_TEST.
49850         * sysdeps/i386/fpu/libm-test-ulps: Update.
49851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49853 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
49855         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
49856         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
49857         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
49859         [BZ #16731]
49860         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
49861         when x - 1 is zero.
49862         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
49863         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
49864         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49865         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
49866         argument is 1.
49867         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
49868         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
49869         zero.
49870         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
49871         * sysdeps/i386/fpu/libm-test-ulps: Update.
49872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49874 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49876         * scripts/bench.pl: Remove file.
49877         * scripts/bench.py: New benchmark script.
49878         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
49879         * benchtests/README: Mention python dependency.
49880         * scripts/pylintrc: New file.
49881         * scripts/pylint: New file.
49883         * bits/mathdef.h: Use #ifdef instead of #if.
49884         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
49885         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49886         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
49887         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49888         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
49889         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49891 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49892             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49894         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
49895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
49896         and strpbrk-ppc64 objects.
49897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49898         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
49899         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
49900         multiarch strpbrk for POWER7.
49901         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
49902         multiarch strpbrk for PPC64.
49903         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
49904         ifunc selector.
49905         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
49906         strpbrk for POWER7.
49908 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49910         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
49911         (atan_test): Likewise.
49912         (atanh_test_data): Use NO_TEST_INLINE for two tests.
49913         (atanh_test): Use ALL_RM_TEST.
49914         (atan2_test_data): Likewise.
49915         (cabs_test): Likewise.
49916         (cacosh_test): Likewise.
49917         (carg_test): Likewise.
49918         (casin_test): Likewise.
49919         (casinh_test): Likewise.
49920         (cbrt_test): Likewise.
49921         (csqrt_test): Likewise.
49922         (erf_test): Likewise.
49923         (erfc_test): Likewise.
49924         (pow10_test): Likewise.
49925         (exp2_test): Likewise.
49926         (hypot_test): Likewise.
49927         (j0_test): Likewise.
49928         (j1_test): Likewise.
49929         (lgamma_test): Likewise.
49930         (gamma_test): Likewise.
49931         (sincos_test): Likewise.
49932         (tanh_test): Likewise.
49933         (y0_test): Likewise.
49934         (y1_test): Likewise.
49935         * sysdeps/i386/fpu/libm-test-ulps: Update.
49936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49938 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49940         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
49941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
49942         and strcspn-ppc64 objects.
49943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49944         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
49945         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
49946         multiarch strcspn for POWER7.
49947         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
49948         multiarch strcspn for PPC64.
49949         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
49950         ifunc selector.
49951         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
49952         strcspn for POWER7.
49954 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49956         * math/gen-libm-test.pl (generate_testfile): Expect only function
49957         name as argument to AUTO_TESTS_* and pass results for all rounding
49958         modes to parse_args.
49959         (parse_auto_input): Separate inputs of automatic tests from
49960         outputs before storing in %auto_tests.
49961         * math/libm-test.inc (acos_test_data): Update call to
49962         AUTO_TESTS_f_f.
49963         (acos_test): Use ALL_RM_TEST.
49964         (acos_tonearest_test_data): Remove.
49965         (acos_test_tonearest): Likewise.
49966         (acos_towardzero_test_data): Likewise.
49967         (acos_test_towardzero): Likewise.
49968         (acos_downward_test_data): Likewise.
49969         (acos_test_downward): Likewise.
49970         (acos_upward_test_data): Likewise.
49971         (acos_test_upward): Likewise.
49972         (acosh_test_data): Update call to AUTO_TESTS_f_f.
49973         (asin_test_data): Likewise.
49974         (asin_test): Use ALL_RM_TEST.
49975         (asin_tonearest_test_data): Remove.
49976         (asin_test_tonearest): Likewise.
49977         (asin_towardzero_test_data): Likewise.
49978         (asin_test_towardzero): Likewise.
49979         (asin_downward_test_data): Likewise.
49980         (asin_test_downward): Likewise.
49981         (asin_upward_test_data): Likewise.
49982         (asin_test_upward): Likewise.
49983         (asinh_test_data): Update call to AUTO_TESTS_f_f.
49984         (atan_test_data): Likewise.
49985         (atanh_test_data): Likewise.
49986         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
49987         (cabs_test_data): Update call to AUTO_TESTS_c_f.
49988         (carg_test_data): Likewise.
49989         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
49990         (ccos_test_data): Update call to AUTO_TESTS_c_c.
49991         (ccosh_test_data): Likewise.
49992         (cexp_test_data): Likewise.
49993         (clog_test_data): Likewise.
49994         (clog10_test_data): Likewise.
49995         (cos_test_data): Update call to AUTO_TESTS_f_f.
49996         (cos_test): Use ALL_RM_TEST.
49997         (cos_tonearest_test_data): Remove.
49998         (cos_test_tonearest): Likewise.
49999         (cos_towardzero_test_data): Likewise.
50000         (cos_test_towardzero): Likewise.
50001         (cos_downward_test_data): Likewise.
50002         (cos_test_downward): Likewise.
50003         (cos_upward_test_data): Likewise.
50004         (cos_test_upward): Likewise.
50005         (cosh_test_data): Update call to AUTO_TESTS_f_f.
50006         (cosh_test): Use ALL_RM_TEST.
50007         (cosh_tonearest_test_data): Remove.
50008         (cosh_test_tonearest): Likewise.
50009         (cosh_towardzero_test_data): Likewise.
50010         (cosh_test_towardzero): Likewise.
50011         (cosh_downward_test_data): Likewise.
50012         (cosh_test_downward): Likewise.
50013         (cosh_upward_test_data): Likewise.
50014         (cosh_test_upward): Likewise.
50015         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50016         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50017         (ctan_test_data): Likewise.
50018         (ctan_test): Use ALL_RM_TEST.
50019         (ctan_tonearest_test_data): Remove.
50020         (ctan_test_tonearest): Likewise.
50021         (ctan_towardzero_test_data): Likewise.
50022         (ctan_test_towardzero): Likewise.
50023         (ctan_downward_test_data): Likewise.
50024         (ctan_test_downward): Likewise.
50025         (ctan_upward_test_data): Likewise.
50026         (ctan_test_upward): Likewise.
50027         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50028         (ctanh_test): Use ALL_RM_TEST.
50029         (ctanh_tonearest_test_data): Remove.
50030         (ctanh_test_tonearest): Likewise.
50031         (ctanh_towardzero_test_data): Likewise.
50032         (ctanh_test_towardzero): Likewise.
50033         (ctanh_downward_test_data): Likewise.
50034         (ctanh_test_downward): Likewise.
50035         (ctanh_upward_test_data): Likewise.
50036         (ctanh_test_upward): Likewise.
50037         (erf_test_data): Update call to AUTO_TESTS_f_f.
50038         (erfc_test_data): Likewise.
50039         (exp_test_data): Likewise.
50040         (exp_test): Use ALL_RM_TEST.
50041         (exp_tonearest_test_data): Remove.
50042         (exp_test_tonearest): Likewise.
50043         (exp_towardzero_test_data): Likewise.
50044         (exp_test_towardzero): Likewise.
50045         (exp_downward_test_data): Likewise.
50046         (exp_test_downward): Likewise.
50047         (exp_upward_test_data): Likewise.
50048         (exp_test_upward): Likewise.
50049         (exp10_test_data): Update call to AUTO_TESTS_f_f.
50050         (exp10_test): Use ALL_RM_TEST.
50051         (exp10_tonearest_test_data): Remove.
50052         (exp10_test_tonearest): Likewise.
50053         (exp10_towardzero_test_data): Likewise.
50054         (exp10_test_towardzero): Likewise.
50055         (exp10_downward_test_data): Likewise.
50056         (exp10_test_downward): Likewise.
50057         (exp10_upward_test_data): Likewise.
50058         (exp10_test_upward): Likewise.
50059         (exp2_test_data): Update call to AUTO_TESTS_f_f.
50060         (expm1_test_data): Likewise.
50061         (expm1_test): Use ALL_RM_TEST.
50062         (expm1_tonearest_test_data): Remove.
50063         (expm1_test_tonearest): Likewise.
50064         (expm1_towardzero_test_data): Likewise.
50065         (expm1_test_towardzero): Likewise.
50066         (expm1_downward_test_data): Likewise.
50067         (expm1_test_downward): Likewise.
50068         (expm1_upward_test_data): Likewise.
50069         (expm1_test_upward): Likewise.
50070         (fma_test_data): Update call to AUTO_TESTS_fff_f.
50071         (fma_test): Use ALL_RM_TEST.
50072         (fma_towardzero_test_data): Remove.
50073         (fma_test_towardzero): Likewise.
50074         (fma_downward_test_data): Likewise.
50075         (fma_test_downward): Likewise.
50076         (fma_upward_test_data): Likewise.
50077         (fma_test_upward): Likewise.
50078         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
50079         (j0_test_data): Update call to AUTO_TESTS_f_f.
50080         (j1_test_data): Likewise.
50081         (jn_test_data): Update call to AUTO_TESTS_if_f.
50082         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
50083         (log_test_data): Update call to AUTO_TESTS_f_f.
50084         (log10_test_data): Likewise.
50085         (log1p_test_data): Likewise.
50086         (log2_test_data): Likewise.
50087         (pow_test_data): Update call to AUTO_TESTS_ff_f.
50088         (pow_tonearest_test_data): Likewise.
50089         (sin_test_data): Update call to AUTO_TESTS_f_f.
50090         (sin_test): Use ALL_RM_TEST.
50091         (sin_tonearest_test_data): Remove.
50092         (sin_test_tonearest): Likewise.
50093         (sin_towardzero_test_data): Likewise.
50094         (sin_test_towardzero): Likewise.
50095         (sin_downward_test_data): Likewise.
50096         (sin_test_downward): Likewise.
50097         (sin_upward_test_data): Likewise.
50098         (sin_test_upward): Likewise.
50099         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
50100         (sinh_test_data): Update call to AUTO_TESTS_f_f.
50101         (sinh_test): Use ALL_RM_TEST.
50102         (sinh_tonearest_test_data): Remove.
50103         (sinh_test_tonearest): Likewise.
50104         (sinh_towardzero_test_data): Likewise.
50105         (sinh_test_towardzero): Likewise.
50106         (sinh_downward_test_data): Likewise.
50107         (sinh_test_downward): Likewise.
50108         (sinh_upward_test_data): Likewise.
50109         (sinh_test_upward): Likewise.
50110         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
50111         (sqrt_test): Use ALL_RM_TEST.
50112         (sqrt_tonearest_test_data): Remove.
50113         (sqrt_test_tonearest): Likewise.
50114         (sqrt_towardzero_test_data): Likewise.
50115         (sqrt_test_towardzero): Likewise.
50116         (sqrt_downward_test_data): Likewise.
50117         (sqrt_test_downward): Likewise.
50118         (sqrt_upward_test_data): Likewise.
50119         (sqrt_test_upward): Likewise.
50120         (tan_test_data): Update call to AUTO_TESTS_f_f.
50121         (tan_test): Use ALL_RM_TEST.
50122         (tan_tonearest_test_data): Remove.
50123         (tan_test_tonearest): Likewise.
50124         (tan_towardzero_test_data): Likewise.
50125         (tan_test_towardzero): Likewise.
50126         (tan_downward_test_data): Likewise.
50127         (tan_test_downward): Likewise.
50128         (tan_upward_test_data): Likewise.
50129         (tan_test_upward): Likewise.
50130         (tanh_test_data): Update call to AUTO_TESTS_f_f.
50131         (tgamma_test_data): Likewise.
50132         (y0_test_data): Likewise.
50133         (y1_test_data): Likewise.
50134         (yn_test_data): Update call to AUTO_TESTS_if_f.
50135         (main): Do not call removed functions.
50137 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50139         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
50140         (ldexp_test_data): Remove.
50141         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
50142         scalbn_test_data.
50143         (scalb_test): Use ALL_RM_TEST.
50145 2014-03-19  Andreas Schwab  <schwab@suse.de>
50147         * nscd/nscd.service: Also invalidate netgroup cache on reload.
50149 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50151         [BZ #16649]
50152         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50153         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
50154         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
50155         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50156         (__ASSUME_PREADV): Undefine.
50157         (__ASSUME_PWRITEV): Likewise.
50159 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50161         * bits/mman-linux.h: Add comment about non-Linux use.
50162         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
50163         bits/mman-linux.h resting place.
50165         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
50166         * bits/mman-linux.h: ... here.
50168 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50170         * conform/conformtest.pl: Add standard definition when calling C
50171         preprocessor on data files.
50172         (checknamespace): Remove unused variable.
50174 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50176         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
50177         minus_oflow, plus_uflow and minus_uflow in expected results.
50178         * math/libm-test.inc (scalbn_test_data): Add more tests of
50179         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
50180         minus_uflow.
50181         (scalbn_test): Use ALL_RM_TEST.
50182         (scalbln_test_data): Add more tests of negative arguments.  Use
50183         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
50184         (scalbln_test): Use ALL_RM_TEST.
50186 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50188         * scripts/abilist.awk: Ignore symbols marked with .hidden.
50190 2014-03-18  Will Newton  <will.newton@linaro.org>
50192         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
50193         inaccurate comment.
50195 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50197         * Makerules [!subdir] (check-abi): Exit with error status if a
50198         test failed.
50200 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50202         * math/libm-test.inc (nearbyint_test_data): Include all tests used
50203         for rint.  Include results for all rounding modes.
50204         (nearbyint_test): Use ALL_RM_TEST.
50205         (rint_test_data): Include all tests used for nearbyint.
50207 2014-03-17  Will Newton  <will.newton@linaro.org>
50209         * nptl/sysdeps/pthread/pthread.h: Revert previous
50210         change.
50212         * sysdeps/generic/ldsodefs.h: Revert previous
50213         change.
50215         * libio/genops.c: Revert previous change.
50216         * libio/libioP.h: Likewise.
50217         * stdio-common/vfprintf.c: Likewise.
50219         * sysdeps/generic/math_private.h: Revert previous
50220         change.
50222         * sysdeps/generic/math_private.h: Check whether
50223         HAVE_RM_CTX is defined with #ifdef rather
50224         than #if.
50226         * argp/argp-fmtstream.h: Check whether
50227         __STRICT_ANSI__ is defined with #ifdef rather
50228         than #if.
50229         * argp/argp.h: Likewise.
50231         * libio/genops.c: Check whether
50232         _IO_JUMPS_OFFSET is defined with #ifdef rather
50233         than #if.
50234         * libio/libioP.h: Likewise.
50235         * stdio-common/vfprintf.c: Likewise.
50237         * sysdeps/generic/ldsodefs.h: Check whether
50238         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
50239         than #if.
50241         * nptl/sysdeps/pthread/pthread.h: Check
50242         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
50243         its value.
50245 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50247         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
50248         setting O_APPEND.
50249         * libio/tst-ftell-active-handler.c (do_append_test): Add a
50250         test case.
50252         [BZ #16680]
50253         * libio/fileops.c (_IO_file_open): Seek to end of file but
50254         don't cache the offset.
50255         (get_file_offset): Remove function.
50256         (do_ftell): Use cached offset when available.
50257         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
50258         don't cache the offset.
50259         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
50260         case.
50261         (do_one_test): Call it.
50262         (do_ftell_test): Fix up expected old offset for a+ mode.
50263         * libio/wfileops.c (do_ftell_wide): Used cached offset when
50264         available.
50266         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
50267         up test status with function return status.
50268         (do_write_test): Likewise.
50269         (do_append_test): Likewise.
50271         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
50272         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
50273         Remove.
50275 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50277         * math/gen-libm-test.pl (parse_args): Handle results specified for
50278         each rounding mode separately.
50279         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
50280         tests and results from lrint_tonearest_test_data,
50281         lrint_towardzero_test_data, lrint_downward_test_data and
50282         lrint_upward_test_data.
50283         (lrint_test): Use ALL_RM_TEST.
50284         (lrint_tonearest_test_data): Remove.
50285         (lrint_test_tonearest): Likewise.
50286         (lrint_towardzero_test_data): Likewise.
50287         (lrint_test_towardzero): Likewise.
50288         (lrint_downward_test_data): Likewise.
50289         (lrint_test_downward): Likewise.
50290         (lrint_upward_test_data): Likewise.
50291         (lrint_test_upward): Likewise.
50292         (llrint_test_data): Merge in per-rounding-mode tests and results
50293         from llrint_tonearest_test_data, llrint_towardzero_test_data,
50294         llrint_downward_test_data and llrint_upward_test_data.
50295         (llrint_test): Use ALL_RM_TEST.
50296         (llrint_tonearest_test_data): Remove.
50297         (llrint_test_tonearest): Likewise.
50298         (llrint_towardzero_test_data): Likewise.
50299         (llrint_test_towardzero): Likewise.
50300         (llrint_downward_test_data): Likewise.
50301         (llrint_test_downward): Likewise.
50302         (llrint_upward_test_data): Likewise.
50303         (llrint_test_upward): Likewise.
50304         (rint_test_data): Merge in per-rounding-mode tests and results
50305         from rint_tonearest_test_data, rint_towardzero_test_data,
50306         rint_downward_test_data and rint_upward_test_data.  Add
50307         per-rounding-mode results for tests not in those arrays.
50308         (rint_test): Use ALL_RM_TEST.
50309         (rint_tonearest_test_data): Remove.
50310         (rint_test_tonearest): Likewise.
50311         (rint_towardzero_test_data): Likewise.
50312         (rint_test_towardzero): Likewise.
50313         (rint_downward_test_data): Likewise.
50314         (rint_test_downward): Likewise.
50315         (rint_upward_test_data): Likewise.
50316         (rint_test_upward): Likewise.
50317         (main): Don't call removed functions.
50319 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50321         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
50322         "Compiled on ..." crapola.  It is anti-useful.
50324 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
50326         * scripts/evaluate-test.sh: Handle fourth argument to determine
50327         whether test run should stop on failure.
50328         * Makeconfig (stop-on-test-failure): New variable.
50329         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
50330         $(stop-on-test-failure).
50331         * Makefile (tests): Give a summary of results from testing and
50332         exit with failure status if they include an ERROR or FAIL.
50333         (xtests): Likewise.
50334         * manual/install.texi (Configuring and compiling): Mention
50335         stop-on-test-failure=y.
50336         * INSTALL: Regenerated.
50338 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50340         * scripts/versionlist.awk: New file.
50341         * Makerules [$(build-shared) = yes]
50342         (postclean-generated): Add Versions.def, not Versions.def.v and
50343         Versions.def.v.i.
50344         ($(common-objpfx)Versions.def.v.i): Target removed.
50345         ($(common-objpfx)Versions.def): New target.
50346         ($(common-objpfx)Versions.all): Depend on that rather that
50347         $(common-objpfx)Versions.def.v.
50348         * Versions.def: File removed.
50350         * Makeconfig (+gccwarn): Add -Wundef.
50351         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
50352         a dl-sysdep.h breaking its contract.
50353         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
50354         * include/stackinfo.h: New file.
50355         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
50356         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
50357         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
50358         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
50359         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
50360         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
50361         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50362         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50363         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50364         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50365         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50366         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
50367         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50368         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50369         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50371 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50373         [BZ #16707]
50374         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
50375         implementation.
50376         * math/libm-test.inc (round_test_data): Add more tests.
50378         [BZ #16706]
50379         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
50380         implementation.
50381         * math/libm-test.inc (nearbyint_test_data): Add more tests.
50383         [BZ #16701]
50384         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
50385         implementation.
50386         * math/libm-test.inc (ceil_test_data): Add more tests.
50388         * math/libm-test.inc (trunc_test_data): Add more tests related to
50389         BZ#16414.
50391 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50393         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
50394         with #if rather than #ifdef.
50395         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
50397 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
50399         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
50400         first.  Disable AVX-512 GCC support if assembler doesn't support
50401         it.
50402         * sysdeps/x86_64/configure: Regenerated.
50404 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
50406         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
50407         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
50408         (__old_pthread_attr_setstack): Likewise.
50409         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
50410         [!_STACK_GROWS_DOWN]: Likewise.
50412 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
50414         * config.make.in (have-bash2): Delete.
50415         * configure.ac (libc_cv_have_bash2): Delete.
50416         * configure: Regenerate.
50417         * elf/Makefile (common-ldd-rewrite): Rename to ...
50418         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
50419         (sh-ldd-rewrite): Delete.
50420         (bash-ldd-rewrite): Delete.
50421         (have-bash2): Delete checks.
50422         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
50423         ldd-rewrite.
50425         * config.make.in (have-ksh): Delete.
50426         (KSH): Delete.
50427         * configure.ac (libc_cv_have_ksh): Delete.
50428         * configure: Regenerate.
50430         * elf/Makefile: Delete $(have-ksh) check.
50431         ($(objpfx)sotruss): Change KSH to BASH.
50432         * elf/sotruss.ksh: Rename to ...
50433         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
50434         function style to match POSIX.  Drop ksh vim mode setting.
50436         * manual/time.texi (Specifying the Time Zone with TZ): Change
50437         Tuesday to Thursday.
50439         * debug/tst-longjmp_chk2.c: Update header comment.
50440         (stackoverflow_handler): Add comment.  Call assert on pass value.
50442 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
50444         [BZ #16194]
50445         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
50446         (HAVE_AVX512_ASM_SUPPORT): Likewise.
50447         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
50448         (La_x86_64_vector): Add zmm.
50449         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
50450         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
50451         ($(objpfx)tst-audit10): New target.
50452         ($(objpfx)tst-audit10.out): Likewise.
50453         (tst-audit10-ENV): New.
50454         (AVX512-CFLAGS): Likewise.
50455         (CFLAGS-tst-audit10.c): Likewise.
50456         (CFLAGS-tst-auditmod10a.c): Likewise.
50457         (CFLAGS-tst-auditmod10b.c): Likewise.
50458         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
50459         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
50460         * sysdeps/x86_64/configure: Regenerated.
50461         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
50462         AVX-512 zmm register support.
50463         (_dl_x86_64_save_sse): Likewise.
50464         (_dl_x86_64_restore_sse): Likewise.
50465         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
50466         size vector registers.
50467         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
50468         (ZMM_SIZE): Likewise.
50469         * sysdeps/x86_64/tst-audit10.c: New file.
50470         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
50471         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
50473 2014-03-13  Roland McGrath  <roland@hack.frob.com>
50475         * configure.ac (HAVE_EHDR_START): New check.
50476         * configure: Regenerated.
50477         * config.h.in (HAVE_EHDR_START): New #undef.
50478         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
50479         assuming the lowest-addressed segment maps the start of the file.
50481 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
50483         * INSTALL: Regenerated.
50485 2014-03-13  Will Newton  <will.newton@linaro.org>
50487         * manual/setjmp.texi (System V contexts): Improve
50488         clarity and grammar of documentation.
50490 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
50492         [BZ #16381]
50493         * elf/Makefile (tests): Add tst-pie2.
50494         (tests-pie): Add tst-pie2.
50495         * elf/tst-pie2.c: New file.
50496         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
50497         for ET_EXEC.
50498         * elf/rtld.c (map_doit): Load executable as lt_executable.
50499         (dl_main): Likewise.
50501 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
50503         [BZ #16642]
50504         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50505         (__ASSUME_PSELECT): Undefine.
50507 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50509         [BZ #16689]
50510         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
50511         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
50512         static build.
50513         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
50514         selector for static builds.
50516 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50518         [BZ #16695]
50519         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
50520         key in the buffer.
50522 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50524         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
50525         IFUNC selector for static builds.
50527 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
50529         * sysdeps/mips/math_private.h [__mips_hard_float]
50530         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
50531         libc_feresetround_mips_ctx.
50532         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
50533         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
50534         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
50536         [BZ #16677]
50537         * math/s_nextafter.c (__nextafter): Do not return value from
50538         overflowing computation.
50539         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
50540         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
50541         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
50542         Likewise.
50543         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
50544         Likewise.
50545         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
50546         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
50548 2014-03-11  Roland McGrath  <roland@hack.frob.com>
50550         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
50551         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
50552         Move sfi_sp use from the load-multiple (that no longer sets sp) to
50553         the new mov targetting sp.
50555 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50557         [BZ #16683]
50558         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
50559         Define it for static builds as well.
50560         (NO_BZERO_IMPL): Likewise.
50562 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50564         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
50565         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
50566         multiarch strspn for PPC64.
50567         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
50568         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
50569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50570         (__libc_ifunc_impl_list): Likewise.
50571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
50572         multiarch optimizations
50573         * string/strspn.c (strspn): Using macro to redefine symbol name.
50575 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50576             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50578         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
50579         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
50580         multiarch strncat for PPC64.
50581         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
50582         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
50583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50584         (__libc_ifunc_impl_list): Likewise.
50585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
50586         multiarch optimizations
50588 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50590         [BZ #16639]
50591         * nscd/nscd.service: Make service type forking.
50593 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50595         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
50596         sign in non default rounding modes.
50597         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
50599 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
50601         * math/libm-test.inc (ALL_RM_TEST): New macro.
50602         (ceil_test): Use ALL_RM_TEST.
50603         (cimag_test): Likewise.
50604         (conj_test): Likewise.
50605         (copysign_test): Likewise.
50606         (cproj_test): Likewise.
50607         (creal_test): Likewise.
50608         (fabs_test): Likewise.
50609         (floor_test): Likewise.
50610         (fmax_test): Likewise.
50611         (fmin_test): Likewise.
50612         (fmod_test): Likewise.
50613         (fpclassify_test): Likewise.
50614         (frexp_test): Likewise.
50615         (ilogb_test): Likewise.
50616         (isfinite_test): Likewise.
50617         (finite_test): Likewise.
50618         (isgreater_test): Likewise.
50619         (isgreaterequal_test): Likewise.
50620         (isinf_test): Likewise.
50621         (isless_test): Likewise.
50622         (islessequal_test): Likewise.
50623         (islessgreater_test): Likewise.
50624         (isnan_test): Likewise.
50625         (isnormal_test): Likewise.
50626         (issignaling_test): Likewise.
50627         (isunordered_test): Likewise.
50628         (logb_test): Likewise.
50629         (logb_downward_test_data): Remove.
50630         (logb_test_downward): Likewise.
50631         (lround_test): Use ALL_RM_TEST.
50632         (llround_test): Likewise.
50633         (modf_test): Likewise.
50634         (nexttoward_test): Likewise.
50635         (remainder_test): Likewise.
50636         (drem_test): Likewise.
50637         (remainder_tonearest_test_data): Likewise.
50638         (remainder_test_tonearest): Likewise.
50639         (drem_test_tonearest): Likewise.
50640         (remainder_towardzero_test_data): Likewise.
50641         (remainder_test_towardzero): Likewise.
50642         (drem_test_towardzero): Likewise.
50643         (remainder_downward_test_data): Likewise.
50644         (remainder_test_downward): Likewise.
50645         (drem_test_downward): Likewise.
50646         (remainder_upward_test_data): Likewise.
50647         (remainder_test_upward): Likewise.
50648         (drem_test_upward): Likewise.
50649         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
50650         (round_test): Use ALL_RM_TEST.
50651         (signbit_test): Likewise.
50652         (trunc_test): Likewise.
50653         (significand_test): Likewise.
50654         (main): Don't call removed functions.
50656 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
50658         [BZ #16674]
50659         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
50660         || __USE_XOPEN2K8].
50661         (ILL_ILLOPN): Likewise.
50662         (ILL_ILLADR): Likewise.
50663         (ILL_ILLTRP): Likewise.
50664         (ILL_PRVOPC): Likewise.
50665         (ILL_PRVREG): Likewise.
50666         (ILL_COPROC): Likewise.
50667         (ILL_BADSTK): Likewise.
50668         (FPE_INTDIV): Likewise.
50669         (FPE_INTOVF): Likewise.
50670         (FPE_FLTDIV): Likewise.
50671         (FPE_FLTOVF): Likewise.
50672         (FPE_FLTUND): Likewise.
50673         (FPE_FLTRES): Likewise.
50674         (FPE_FLTINV): Likewise.
50675         (FPE_FLTSUB): Likewise.
50676         (SEGV_MAPERR): Likewise.
50677         (SEGV_ACCERR): Likewise.
50678         (BUS_ADRALN): Likewise.
50679         (BUS_ADRERR): Likewise.
50680         (BUS_OBJERR): Likewise.
50681         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50682         (TRAP_TRACE): Likewise.
50683         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50684         __USE_XOPEN2K8].
50685         (CLD_KILLED): Likewise.
50686         (CLD_DUMPED): Likewise.
50687         (CLD_TRAPPED): Likewise.
50688         (CLD_STOPPED): Likewise.
50689         (CLD_CONTINUED): Likewise.
50690         (POLL_IN): Likewise.
50691         (POLL_OUT): Likewise.
50692         (POLL_MSG): Likewise.
50693         (POLL_ERR): Likewise.
50694         (POLL_PRI): Likewise.
50695         (POLL_HUP): Likewise.
50696         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
50697         Likewise.
50698         (ILL_ILLOPN): Likewise.
50699         (ILL_ILLADR): Likewise.
50700         (ILL_ILLTRP): Likewise.
50701         (ILL_PRVOPC): Likewise.
50702         (ILL_PRVREG): Likewise.
50703         (ILL_COPROC): Likewise.
50704         (ILL_BADSTK): Likewise.
50705         (FPE_INTDIV): Likewise.
50706         (FPE_INTOVF): Likewise.
50707         (FPE_FLTDIV): Likewise.
50708         (FPE_FLTOVF): Likewise.
50709         (FPE_FLTUND): Likewise.
50710         (FPE_FLTRES): Likewise.
50711         (FPE_FLTINV): Likewise.
50712         (FPE_FLTSUB): Likewise.
50713         (SEGV_MAPERR): Likewise.
50714         (SEGV_ACCERR): Likewise.
50715         (BUS_ADRALN): Likewise.
50716         (BUS_ADRERR): Likewise.
50717         (BUS_OBJERR): Likewise.
50718         (BUS_MCEERR_AR): Likewise.
50719         (BUS_MCEERR_AO): Likewise.
50720         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50721         (TRAP_TRACE): Likewise.
50722         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50723         __USE_XOPEN2K8].
50724         (CLD_KILLED): Likewise.
50725         (CLD_DUMPED): Likewise.
50726         (CLD_TRAPPED): Likewise.
50727         (CLD_STOPPED): Likewise.
50728         (CLD_CONTINUED): Likewise.
50729         (POLL_IN): Likewise.
50730         (POLL_OUT): Likewise.
50731         (POLL_MSG): Likewise.
50732         (POLL_ERR): Likewise.
50733         (POLL_PRI): Likewise.
50734         (POLL_HUP): Likewise.
50735         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
50736         (ILL_ILLOPN): Likewise.
50737         (ILL_ILLADR): Likewise.
50738         (ILL_ILLTRP): Likewise.
50739         (ILL_PRVOPC): Likewise.
50740         (ILL_PRVREG): Likewise.
50741         (ILL_COPROC): Likewise.
50742         (ILL_BADSTK): Likewise.
50743         (FPE_INTDIV): Likewise.
50744         (FPE_INTOVF): Likewise.
50745         (FPE_FLTDIV): Likewise.
50746         (FPE_FLTOVF): Likewise.
50747         (FPE_FLTUND): Likewise.
50748         (FPE_FLTRES): Likewise.
50749         (FPE_FLTINV): Likewise.
50750         (FPE_FLTSUB): Likewise.
50751         (SEGV_MAPERR): Likewise.
50752         (SEGV_ACCERR): Likewise.
50753         (BUS_ADRALN): Likewise.
50754         (BUS_ADRERR): Likewise.
50755         (BUS_OBJERR): Likewise.
50756         (BUS_MCEERR_AR): Likewise.
50757         (BUS_MCEERR_AO): Likewise.
50758         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50759         (TRAP_TRACE): Likewise.
50760         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50761         __USE_XOPEN2K8].
50762         (CLD_KILLED): Likewise.
50763         (CLD_DUMPED): Likewise.
50764         (CLD_TRAPPED): Likewise.
50765         (CLD_STOPPED): Likewise.
50766         (CLD_CONTINUED): Likewise.
50767         (POLL_IN): Likewise.
50768         (POLL_OUT): Likewise.
50769         (POLL_MSG): Likewise.
50770         (POLL_ERR): Likewise.
50771         (POLL_PRI): Likewise.
50772         (POLL_HUP): Likewise.
50773         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
50774         Likewise.
50775         (ILL_ILLOPN): Likewise.
50776         (ILL_ILLADR): Likewise.
50777         (ILL_ILLTRP): Likewise.
50778         (ILL_PRVOPC): Likewise.
50779         (ILL_PRVREG): Likewise.
50780         (ILL_COPROC): Likewise.
50781         (ILL_BADSTK): Likewise.
50782         (ILL_BADIADDR): Likewise.
50783         (ILL_BREAK): Likewise.
50784         (FPE_INTDIV): Likewise.
50785         (FPE_INTOVF): Likewise.
50786         (FPE_FLTDIV): Likewise.
50787         (FPE_FLTOVF): Likewise.
50788         (FPE_FLTUND): Likewise.
50789         (FPE_FLTRES): Likewise.
50790         (FPE_FLTINV): Likewise.
50791         (FPE_FLTSUB): Likewise.
50792         (FPE_DECOVF): Likewise.
50793         (FPE_DECDIV): Likewise.
50794         (FPE_DECERR): Likewise.
50795         (FPE_INVASC): Likewise.
50796         (FPE_INVDEC): Likewise.
50797         (SEGV_MAPERR): Likewise.
50798         (SEGV_ACCERR): Likewise.
50799         (SEGV_PSTKOVF): Likewise.
50800         (BUS_ADRALN): Likewise.
50801         (BUS_ADRERR): Likewise.
50802         (BUS_OBJERR): Likewise.
50803         (BUS_MCEERR_AR): Likewise.
50804         (BUS_MCEERR_AO): Likewise.
50805         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50806         (TRAP_TRACE): Likewise.
50807         (TRAP_BRANCH): Likewise.
50808         (TRAP_HWBKPT): Likewise.
50809         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50810         __USE_XOPEN2K8].
50811         (CLD_KILLED): Likewise.
50812         (CLD_DUMPED): Likewise.
50813         (CLD_TRAPPED): Likewise.
50814         (CLD_STOPPED): Likewise.
50815         (CLD_CONTINUED): Likewise.
50816         (POLL_IN): Likewise.
50817         (POLL_OUT): Likewise.
50818         (POLL_MSG): Likewise.
50819         (POLL_ERR): Likewise.
50820         (POLL_PRI): Likewise.
50821         (POLL_HUP): Likewise.
50822         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
50823         (ILL_ILLOPN): Likewise.
50824         (ILL_ILLADR): Likewise.
50825         (ILL_ILLTRP): Likewise.
50826         (ILL_PRVOPC): Likewise.
50827         (ILL_PRVREG): Likewise.
50828         (ILL_COPROC): Likewise.
50829         (ILL_BADSTK): Likewise.
50830         (FPE_INTDIV): Likewise.
50831         (FPE_INTOVF): Likewise.
50832         (FPE_FLTDIV): Likewise.
50833         (FPE_FLTOVF): Likewise.
50834         (FPE_FLTUND): Likewise.
50835         (FPE_FLTRES): Likewise.
50836         (FPE_FLTINV): Likewise.
50837         (FPE_FLTSUB): Likewise.
50838         (SEGV_MAPERR): Likewise.
50839         (SEGV_ACCERR): Likewise.
50840         (BUS_ADRALN): Likewise.
50841         (BUS_ADRERR): Likewise.
50842         (BUS_OBJERR): Likewise.
50843         (BUS_MCEERR_AR): Likewise.
50844         (BUS_MCEERR_AO): Likewise.
50845         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50846         (TRAP_TRACE): Likewise.
50847         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50848         __USE_XOPEN2K8].
50849         (CLD_KILLED): Likewise.
50850         (CLD_DUMPED): Likewise.
50851         (CLD_TRAPPED): Likewise.
50852         (CLD_STOPPED): Likewise.
50853         (CLD_CONTINUED): Likewise.
50854         (POLL_IN): Likewise.
50855         (POLL_OUT): Likewise.
50856         (POLL_MSG): Likewise.
50857         (POLL_ERR): Likewise.
50858         (POLL_PRI): Likewise.
50859         (POLL_HUP): Likewise.
50860         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
50861         (ILL_ILLOPN): Likewise.
50862         (ILL_ILLADR): Likewise.
50863         (ILL_ILLTRP): Likewise.
50864         (ILL_PRVOPC): Likewise.
50865         (ILL_PRVREG): Likewise.
50866         (ILL_COPROC): Likewise.
50867         (ILL_BADSTK): Likewise.
50868         (FPE_INTDIV): Likewise.
50869         (FPE_INTOVF): Likewise.
50870         (FPE_FLTDIV): Likewise.
50871         (FPE_FLTOVF): Likewise.
50872         (FPE_FLTUND): Likewise.
50873         (FPE_FLTRES): Likewise.
50874         (FPE_FLTINV): Likewise.
50875         (FPE_FLTSUB): Likewise.
50876         (SEGV_MAPERR): Likewise.
50877         (SEGV_ACCERR): Likewise.
50878         (BUS_ADRALN): Likewise.
50879         (BUS_ADRERR): Likewise.
50880         (BUS_OBJERR): Likewise.
50881         (BUS_MCEERR_AR): Likewise.
50882         (BUS_MCEERR_AO): Likewise.
50883         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50884         (TRAP_TRACE): Likewise.
50885         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50886         __USE_XOPEN2K8].
50887         (CLD_KILLED): Likewise.
50888         (CLD_DUMPED): Likewise.
50889         (CLD_TRAPPED): Likewise.
50890         (CLD_STOPPED): Likewise.
50891         (CLD_CONTINUED): Likewise.
50892         (POLL_IN): Likewise.
50893         (POLL_OUT): Likewise.
50894         (POLL_MSG): Likewise.
50895         (POLL_ERR): Likewise.
50896         (POLL_PRI): Likewise.
50897         (POLL_HUP): Likewise.
50898         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
50899         (ILL_ILLOPN): Likewise.
50900         (ILL_ILLADR): Likewise.
50901         (ILL_ILLTRP): Likewise.
50902         (ILL_PRVOPC): Likewise.
50903         (ILL_PRVREG): Likewise.
50904         (ILL_COPROC): Likewise.
50905         (ILL_BADSTK): Likewise.
50906         (FPE_INTDIV): Likewise.
50907         (FPE_INTOVF): Likewise.
50908         (FPE_FLTDIV): Likewise.
50909         (FPE_FLTOVF): Likewise.
50910         (FPE_FLTUND): Likewise.
50911         (FPE_FLTRES): Likewise.
50912         (FPE_FLTINV): Likewise.
50913         (FPE_FLTSUB): Likewise.
50914         (SEGV_MAPERR): Likewise.
50915         (SEGV_ACCERR): Likewise.
50916         (BUS_ADRALN): Likewise.
50917         (BUS_ADRERR): Likewise.
50918         (BUS_OBJERR): Likewise.
50919         (BUS_MCEERR_AR): Likewise.
50920         (BUS_MCEERR_AO): Likewise.
50921         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50922         (TRAP_TRACE): Likewise.
50923         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50924         __USE_XOPEN2K8].
50925         (CLD_KILLED): Likewise.
50926         (CLD_DUMPED): Likewise.
50927         (CLD_TRAPPED): Likewise.
50928         (CLD_STOPPED): Likewise.
50929         (CLD_CONTINUED): Likewise.
50930         (POLL_IN): Likewise.
50931         (POLL_OUT): Likewise.
50932         (POLL_MSG): Likewise.
50933         (POLL_ERR): Likewise.
50934         (POLL_PRI): Likewise.
50935         (POLL_HUP): Likewise.
50936         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
50937         (ILL_ILLOPN): Likewise.
50938         (ILL_ILLADR): Likewise.
50939         (ILL_ILLTRP): Likewise.
50940         (ILL_PRVOPC): Likewise.
50941         (ILL_PRVREG): Likewise.
50942         (ILL_COPROC): Likewise.
50943         (ILL_BADSTK): Likewise.
50944         (ILL_DBLFLT): Likewise.
50945         (ILL_HARDWALL): Likewise.
50946         (FPE_INTDIV): Likewise.
50947         (FPE_INTOVF): Likewise.
50948         (FPE_FLTDIV): Likewise.
50949         (FPE_FLTOVF): Likewise.
50950         (FPE_FLTUND): Likewise.
50951         (FPE_FLTRES): Likewise.
50952         (FPE_FLTINV): Likewise.
50953         (FPE_FLTSUB): Likewise.
50954         (SEGV_MAPERR): Likewise.
50955         (SEGV_ACCERR): Likewise.
50956         (BUS_ADRALN): Likewise.
50957         (BUS_ADRERR): Likewise.
50958         (BUS_OBJERR): Likewise.
50959         (BUS_MCEERR_AR): Likewise.
50960         (BUS_MCEERR_AO): Likewise.
50961         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50962         (TRAP_TRACE): Likewise.
50963         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50964         __USE_XOPEN2K8].
50965         (CLD_KILLED): Likewise.
50966         (CLD_DUMPED): Likewise.
50967         (CLD_TRAPPED): Likewise.
50968         (CLD_STOPPED): Likewise.
50969         (CLD_CONTINUED): Likewise.
50970         (POLL_IN): Likewise.
50971         (POLL_OUT): Likewise.
50972         (POLL_MSG): Likewise.
50973         (POLL_ERR): Likewise.
50974         (POLL_PRI): Likewise.
50975         (POLL_HUP): Likewise.
50976         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
50977         (ILL_ILLOPN): Likewise.
50978         (ILL_ILLADR): Likewise.
50979         (ILL_ILLTRP): Likewise.
50980         (ILL_PRVOPC): Likewise.
50981         (ILL_PRVREG): Likewise.
50982         (ILL_COPROC): Likewise.
50983         (ILL_BADSTK): Likewise.
50984         (FPE_INTDIV): Likewise.
50985         (FPE_INTOVF): Likewise.
50986         (FPE_FLTDIV): Likewise.
50987         (FPE_FLTOVF): Likewise.
50988         (FPE_FLTUND): Likewise.
50989         (FPE_FLTRES): Likewise.
50990         (FPE_FLTINV): Likewise.
50991         (FPE_FLTSUB): Likewise.
50992         (SEGV_MAPERR): Likewise.
50993         (SEGV_ACCERR): Likewise.
50994         (BUS_ADRALN): Likewise.
50995         (BUS_ADRERR): Likewise.
50996         (BUS_OBJERR): Likewise.
50997         (BUS_MCEERR_AR): Likewise.
50998         (BUS_MCEERR_AO): Likewise.
50999         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51000         (TRAP_TRACE): Likewise.
51001         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51002         __USE_XOPEN2K8].
51003         (CLD_KILLED): Likewise.
51004         (CLD_DUMPED): Likewise.
51005         (CLD_TRAPPED): Likewise.
51006         (CLD_STOPPED): Likewise.
51007         (CLD_CONTINUED): Likewise.
51008         (POLL_IN): Likewise.
51009         (POLL_OUT): Likewise.
51010         (POLL_MSG): Likewise.
51011         (POLL_ERR): Likewise.
51012         (POLL_PRI): Likewise.
51013         (POLL_HUP): Likewise.
51014         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51015         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51017         [BZ #16670]
51018         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51019         before #include of <time.h>.
51020         [!__USE_XOPEN2K] (__need_timespec): Likewise.
51021         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51022         (test-xfail-UNIX98/sched.h/conform): Likewise.
51024 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51026         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51027         error absence of trapping exception support.
51028         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51030 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51032         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51033         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51034         * timezone/Makefile (testdata): Move definition above include of
51035         Rules.
51036         (test-zones): New variable.
51037         (tests-special): Add zone files.
51038         (build-testdata): Use $(evaluate-test).
51040         * elf/Makefile (tests-special): Rename tests to end with .out.
51041         ($(objpfx)noload-mem): Likewise.
51042         ($(objpfx)tst-leaks1-mem): Likewise.
51043         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51044         * iconv/Makefile (xtests-special): Change test-iconvconfig to
51045         $(objpfx)test-iconvconfig.out.
51046         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
51047         set -e inside subshell and redirect output to file.
51048         * iconvdata/Makefile (generated): Rename tests to end with .out.
51049         Correct type.
51050         (tests-special): Rename tests to end with .out.
51051         ($(objpfx)mtrace-tst-loading): Likewise.
51052         * intl/Makefile (generated): Likewise.
51053         (tests-special): Likewise.
51054         ($(objpfx)mtrace-tst-gettext): Likewise.
51055         * misc/Makefile (generated): Likewise.
51056         (tests-special): Likewise.
51057         ($(objpfx)tst-error1-mem): Likewise.
51058         * nptl/Makefile (tests-special): Likewise.
51059         ($(objpfx)tst-stack3-mem): Likewise.
51060         (generated): Likewise.
51061         * posix/Makefile (generated): Likewise.
51062         (tests-special): Likewise.
51063         (xtests-special): Likewise.
51064         ($(objpfx)tst-fnmatch-mem): Likewise.
51065         ($(objpfx)bug-regex2-mem): Likewise.
51066         ($(objpfx)bug-regex14-mem): Likewise.
51067         ($(objpfx)bug-regex21-mem): Likewise.
51068         ($(objpfx)bug-regex31-mem): Likewise.
51069         ($(objpfx)tst-vfork3-mem): Likewise.
51070         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51071         ($(objpfx)tst-pcre-mem): Likewise.
51072         ($(objpfx)tst-boost-mem): Likewise.
51073         ($(objpfx)bug-ga2-mem): Likewise.
51074         ($(objpfx)bug-glob2-mem): Likewise.
51075         * resolv/Makefile (generate): Likewise.
51076         (tests-special): Likewise.
51077         (xtests-special): Likewise.
51078         (generated): Likewise.
51079         ($(objpfx)mtrace-tst-leaks): Likewise.
51080         ($(objpfx)mtrace-tst-leaks2): Likewise.
51082         * scripts/merge-test-results.sh: New file.
51083         * Makefile (tests-special-notdir): New variable.
51084         (tests): Run merge-test-results.sh.
51085         (xtests): Likewise.
51086         * Rules (tests-special-notdir): New variable.
51087         (xtests-special-notdir): Likewise.
51088         (tests): Run merge-test-results.sh
51089         (xtests): Likewise.
51091         * Makeconfig (test-xfail-name): New variable.
51092         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
51093         compute variable name for expected failures.
51094         * conform/Makefile (conformtest-headers-data): New variable.
51095         (conformtest-standards): Likewise.
51096         (conformtest-headers-ISO): Likewise.
51097         (conformtest-headers-ISO99): Likewise.
51098         (conformtest-headers-ISO11): Likewise.
51099         (conformtest-headers-POSIX): Likewise.
51100         (conformtest-headers-XPG3): Likewise.
51101         (conformtest-headers-XPG4): Likewise.
51102         (conformtest-headers-UNIX98): Likewise.
51103         (conformtest-headers-XOPEN2K): Likewise.
51104         (conformtest-headers-POSIX2008): Likewise.
51105         (conformtest-headers-XOPEN2K8): Likewise.
51106         (conformtest-header-list-base): Likewise.
51107         (conformtest-header-list-tests): Likewise.
51108         (conformtest-header-base): Likewise.
51109         (conformtest-header-tests): Likewise.
51110         (tests-special): Add $(conformtest-header-list-tests).  If
51111         [$(fast-check) && !$(cross-compiling)], add
51112         $(conformtest-header-tests) instead of
51113         $(objpfx)run-conformtest.out.
51114         (generated): Add $(conformtest-header-list-base).  If
51115         [$(fast-check) && !$(cross-compiling)], add
51116         $(conformtest-header-base).  Remove previous setting.
51117         ($(conformtest-header-list-tests)): New target.
51118         (test-xfail-run-conformtest): Remove variable.
51119         ($(objpfx)run-conformtest.out): Remove target.
51120         (test-xfail-ISO11/complex.h/conform): New variable.
51121         (test-xfail-ISO11/stdalign.h/conform): Likewise.
51122         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
51123         (test-xfail-XPG3/varargs.h/conform): Likewise.
51124         (test-xfail-XPG4/varargs.h/conform): Likewise.
51125         (test-xfail-UNIX98/varargs.h/conform): Likewise.
51126         (test-xfail-XPG4/ndbm.h/conform): Likewise.
51127         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
51128         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
51129         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
51130         (test-xfail-XPG3/fcntl.h/conform): Likewise.
51131         (test-xfail-XPG3/ftw.h/conform): Likewise.
51132         (test-xfail-XPG3/grp.h/conform): Likewise.
51133         (test-xfail-XPG3/langinfo.h/conform): Likewise.
51134         (test-xfail-XPG3/limits.h/conform): Likewise.
51135         (test-xfail-XPG3/pwd.h/conform): Likewise.
51136         (test-xfail-XPG3/search.h/conform): Likewise.
51137         (test-xfail-XPG3/signal.h/conform): Likewise.
51138         (test-xfail-XPG3/stdio.h/conform): Likewise.
51139         (test-xfail-XPG3/stdlib.h/conform): Likewise.
51140         (test-xfail-XPG3/string.h/conform): Likewise.
51141         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
51142         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
51143         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
51144         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
51145         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
51146         (test-xfail-XPG3/sys/types.h/conform): Likewise.
51147         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
51148         (test-xfail-XPG3/termios.h/conform): Likewise.
51149         (test-xfail-XPG3/time.h/conform): Likewise.
51150         (test-xfail-XPG3/unistd.h/conform): Likewise.
51151         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
51152         (test-xfail-XPG4/fcntl.h/conform): Likewise.
51153         (test-xfail-XPG4/langinfo.h/conform): Likewise.
51154         (test-xfail-XPG4/netdb.h/conform): Likewise.
51155         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
51156         (test-xfail-XPG4/signal.h/conform): Likewise.
51157         (test-xfail-XPG4/stdio.h/conform): Likewise.
51158         (test-xfail-XPG4/stdlib.h/conform): Likewise.
51159         (test-xfail-XPG4/stropts.h/conform): Likewise.
51160         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
51161         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
51162         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
51163         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
51164         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
51165         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
51166         (test-xfail-XPG4/sys/time.h/conform): Likewise.
51167         (test-xfail-XPG4/sys/types.h/conform): Likewise.
51168         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
51169         (test-xfail-XPG4/termios.h/conform): Likewise.
51170         (test-xfail-XPG4/ucontext.h/conform): Likewise.
51171         (test-xfail-XPG4/unistd.h/conform): Likewise.
51172         (test-xfail-XPG4/utmpx.h/conform): Likewise.
51173         (test-xfail-POSIX/sched.h/conform): Likewise.
51174         (test-xfail-POSIX/signal.h/conform): Likewise.
51175         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51176         (test-xfail-POSIX/tar.h/conform): Likewise.
51177         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
51178         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
51179         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
51180         (test-xfail-UNIX98/netdb.h/conform): Likewise.
51181         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
51182         (test-xfail-UNIX98/sched.h/conform): Likewise.
51183         (test-xfail-UNIX98/signal.h/conform): Likewise.
51184         (test-xfail-UNIX98/stdio.h/conform): Likewise.
51185         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
51186         (test-xfail-UNIX98/stropts.h/conform): Likewise.
51187         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
51188         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
51189         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
51190         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
51191         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
51192         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
51193         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
51194         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
51195         (test-xfail-UNIX98/unistd.h/conform): Likewise.
51196         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
51197         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
51198         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
51199         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
51200         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
51201         (test-xfail-XOPEN2K/math.h/conform): Likewise.
51202         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
51203         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
51204         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
51205         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
51206         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
51207         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
51208         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
51209         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
51210         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
51211         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
51212         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
51213         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
51214         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
51215         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
51216         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
51217         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
51218         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
51219         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
51220         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
51221         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
51222         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
51223         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
51224         (test-xfail-POSIX2008/signal.h/conform): Likewise.
51225         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
51226         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
51227         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
51228         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
51229         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
51230         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
51231         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
51232         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
51233         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
51234         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
51235         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
51236         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
51237         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
51238         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
51239         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
51240         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
51241         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
51242         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
51243         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
51244         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
51245         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
51246         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
51247         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
51248         (conformtest-cc-flags): Likewise.
51249         ($(conformtest-header-tests): New target.
51250         * conform/check-header-lists.sh: New file.
51251         * conform/run-conformtest.sh: Remove.
51253         * conform/conformtest.pl: Allow ' and \ in values given for
51254         constants.
51255         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
51256         inclusion.
51257         [POSIX] (sys/types.h): Likewise.
51258         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
51259         inclusion.
51260         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
51261         inclusion.
51262         * conform/data/signal.h-data (SIGIO): Remove expectation.
51263         [XPG3] (SIGBUS): Do not expect.
51264         [POSIX || XPG3] (SIGPOLL): Likewise.
51265         [POSIX || XPG3] (SIGPROF): Likewise.
51266         [POSIX || XPG3] (SIGSYS): Likewise.
51267         [XPG3] (SIGTRAP): Likewise.
51268         [POSIX || XPG3] (SIGURG): Likewise.
51269         [POSIX || XPG3] (SIGVTALRM): Likewise.
51270         [POSIX || XPG3] (SIGXCPU): Likewise.
51271         [POSIX || XPG3] (SIGXFSZ): Likewise.
51272         [POSIX] (SA_SIGINFO): Expect.
51273         [XPG3] (siginfo_t): Do not expect type or contents.
51274         [POSIX] (si_pid): Do not expect element.
51275         [POSIX] (si_uid): Likewise.
51276         [POSIX] (si_addr): Likewise.
51277         [POSIX] (si_status): Likewise.
51278         [POSIX] (si_band): Likewise.
51279         [XPG4] (si_value): Likewise.
51280         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
51281         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
51282         [POSIX || XPG3] (ILL_ILLADR): Likewise.
51283         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
51284         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
51285         [POSIX || XPG3] (ILL_PRVREG): Likewise.
51286         [POSIX || XPG3] (ILL_COPROC): Likewise.
51287         [POSIX || XPG3] (ILL_BADSTK): Likewise.
51288         [POSIX || XPG3] (FPE_INTDIV): Likewise.
51289         [POSIX || XPG3] (FPE_INTOVF): Likewise.
51290         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
51291         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
51292         [POSIX || XPG3] (FPE_FLTUND): Likewise.
51293         [POSIX || XPG3] (FPE_FLTRES): Likewise.
51294         [POSIX || XPG3] (FPE_FLTINV): Likewise.
51295         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
51296         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
51297         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
51298         [POSIX || XPG3] (BUS_ADRALN): Likewise.
51299         [POSIX || XPG3] (BUS_ADRERR): Likewise.
51300         [POSIX || XPG3] (BUS_OBJERR): Likewise.
51301         [POSIX || XPG3] (CLD_EXITED): Likewise.
51302         [POSIX || XPG3] (CLD_KILLED): Likewise.
51303         [POSIX || XPG3] (CLD_DUMPED): Likewise.
51304         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
51305         [POSIX || XPG3] (CLD_STOPPED): Likewise.
51306         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
51307         [POSIX || XPG3] (POLL_IN): Likewise.
51308         [POSIX || XPG3] (POLL_OUT): Likewise.
51309         [POSIX || XPG3] (POLL_MSG): Likewise.
51310         [POSIX || XPG3] (POLL_ERR): Likewise.
51311         [POSIX || XPG3] (POLL_PRI): Likewise.
51312         [POSIX || XPG3] (POLL_HUP): Likewise.
51313         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
51314         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
51315         (SIG*): Do not allow.
51316         [XPG3] (si_*): Likewise.
51317         [XPG3] (SI_*): Likewise.
51318         [XPG3 || XPG4] (sigev_*): Likewise.
51319         [XPG3 || XPG4] (SIGEV_*): Likewise.
51320         [XPG3 || XPG4] (sival_*): Likewise.
51321         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
51322         [POSIX || XPG3] (BUS_*): Likewise.
51323         [POSIX || XPG3] (CLD_*): Likewise.
51324         [POSIX || XPG3] (FPE_*): Likewise.
51325         [POSIX || XPG3] (ILL_*): Likewise.
51326         [POSIX || XPG3] (POLL_*): Likewise.
51327         [POSIX || XPG3] (SEGV_*): Likewise.
51328         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
51329         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
51330         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
51331         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
51332         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
51333         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
51334         Specify type and value.
51335         (TVERSLEN): Likewise.
51336         (REGTYPE): Likewise.
51337         (AREGTYPE): Likewise.
51338         (LNKTYPE): Likewise.
51339         (SYMTYPE): Likewise.
51340         (CHRTYPE): Likewise.
51341         (BLKTYPE): Likewise.
51342         (DIRTYPE): Likewise.
51343         (FIFOTYPE): Likewise.
51344         (CONTTYPE): Likewise.
51345         (TSUID): Likewise.
51346         (TSGID): Likewise.
51347         (TSVTX): Likewise.
51348         (TUREAD): Likewise.
51349         (TUWRITE): Likewise.
51350         (TUEXEC): Likewise.
51351         (TGREAD): Likewise.
51352         (TGWRITE): Likewise.
51353         (TGEXEC): Likewise.
51354         (TOREAD): Likewise.
51355         (TOWRITE): Likewise.
51356         (TOEXEC): Likewise.
51357         [POSIX] (TSVTX): Expect constant.
51359 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
51361         * Makefile (tests): Change dependencies to ....
51362         (tests-special): ... additions to this variable.
51363         (tests): Depend on $(tests-special).
51364         * Makerules (check-abi-list): New variable.
51365         (check-abi): Depend on $(check-abi-list).
51366         [$(subdir) = elf] (tests-special): Add
51367         $(objpfx)check-abi-libc.out.
51368         [$(build-shared) = yes && subdir] (tests-special): Add
51369         $(check-abi-list).
51370         [$(build-shared) = yes && subdir] (tests): Do not depend on
51371         check-abi.
51372         * Rules (tests): Depend on $(tests-special).
51373         (xtests): Depend on $(xtests-special).
51374         * catgets/Makefile (tests): Change dependencies to ....
51375         (tests-special): ... additions to this variable.
51376         * conform/Makefile (tests): Change dependencies to ....
51377         (tests-special): ... additions to this variable.
51378         * elf/Makefile (tests): Change dependencies to ....
51379         (tests-special): ... additions to this variable.
51380         * grp/Makefile (tests): Change dependencies to ....
51381         (tests-special): ... additions to this variable.
51382         * iconv/Makefile (xtests): Change dependencies to ....
51383         (xtests-special): ... additions to this variable.
51384         * iconvdata/Makefile (tests): Change dependencies to ....
51385         (tests-special): ... additions to this variable.
51386         * intl/Makefile (tests): Change dependencies to ....
51387         (tests-special): ... additions to this variable.  Also add
51388         $(objpfx)tst-gettext.out.
51389         * io/Makefile (tests): Change dependencies to ....
51390         (tests-special): ... additions to this variable.
51391         * libio/Makefile (tests): Change dependencies to ....
51392         (tests-special): ... additions to this variable.
51393         * malloc/Makefile (tests): Change dependencies to ....
51394         (tests-special): ... additions to this variable.
51395         * misc/Makefile (tests): Change dependencies to ....
51396         (tests-special): ... additions to this variable.
51397         * nptl/Makefile (tests): Change dependencies to ....
51398         (tests-special): ... additions to this variable.
51399         * nptl_db/Makefile (tests): Change dependencies to ....
51400         (tests-special): ... additions to this variable.
51401         * posix/Makefile (tests): Change dependencies to ....
51402         (tests-special): ... additions to this variable.
51403         (xtests): Change dependencies to ....
51404         (xtests-special): ... additions to this variable.
51405         * resolv/Makefile (tests): Change dependencies to ....
51406         (tests-special): ... additions to this variable.
51407         (xtests): Change dependencies to ....
51408         (xtests-special): ... additions to this variable.
51409         * stdio-common/Makefile (tests): Change dependencies to ....
51410         (tests-special): ... additions to this variable.
51411         (do-tst-unbputc): Remove target.
51412         (do-tst-printf): Likewise.
51413         * stdlib/Makefile (tests): Change dependencies to ....
51414         (tests-special): ... additions to this variable.
51415         * string/Makefile (tests): Change dependencies to ....
51416         (tests-special): ... additions to this variable.
51417         * sysdeps/x86/Makefile (tests): Change dependencies to ....
51418         (tests-special): ... additions to this variable.
51420         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
51421         whole file.
51422         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
51423         whole file.
51424         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
51425         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
51427         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
51428         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
51429         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
51430         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
51431         * conform/data/libgen.h-data [XPG3]: Likewise.
51432         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
51433         * conform/data/ndbm.h-data [XPG3]: Likewise.
51434         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51435         * conform/data/netdb.h-data [XPG3]: Likewise.
51436         * conform/data/netinet/in.h-data [XPG3]: Likewise.
51437         * conform/data/poll.h-data [XPG3]: Likewise.
51438         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51439         * conform/data/strings.h-data [XPG3]: Likewise.
51440         * conform/data/stropts.h-data [XPG3]: Likewise.
51441         * conform/data/sys/mman.h-data [XPG3]: Likewise.
51442         * conform/data/sys/resource.h-data [XPG3]: Likewise.
51443         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
51444         Likewise.
51445         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
51446         * conform/data/sys/time.h-data [XPG3]: Likewise.
51447         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
51448         * conform/data/sys/uio.h-data [XPG3]: Likewise.
51449         * conform/data/sys/un.h-data [XPG3]: Likewise.
51450         * conform/data/syslog.h-data [XPG3]: Likewise.
51451         * conform/data/ucontext.h-data [XPG3]: Likewise.
51452         * conform/data/utmpx.h-data [XPG3]: Likewise.
51453         * conform/data/varargs.h-data [UNIX98]: Enable file.
51455         * manual/Makefile (INSTALL_INFO): Remove variable setting.
51457         * math/libm-test.inc (struct test_f_f_data): Move expected results
51458         into structure for each rounding mode.
51459         (struct test_ff_f_data): Likewise.
51460         (struct test_ff_f_data_nexttoward): Likewise.
51461         (struct test_fi_f_data): Likewise.
51462         (struct test_fl_f_data): Likewise.
51463         (struct test_if_f_data): Likewise.
51464         (struct test_fff_f_data): Likewise.
51465         (struct test_c_f_data): Likewise.
51466         (struct test_f_f1_data): Likewise.
51467         (struct test_fF_f1_data): Likewise.
51468         (struct test_ffI_f1_data): Likewise.
51469         (struct test_c_c_data): Likewise.
51470         (struct test_cc_c_data): Likewise.
51471         (struct test_f_i_data): Likewise.
51472         (struct test_ff_i_data): Likewise.
51473         (struct test_f_l_data): Likewise.
51474         (struct test_f_L_data): Likewise.
51475         (struct test_fFF_11_data): Likewise.
51476         (RM_): New macro.
51477         (RM_FE_DOWNWARD): Likewise.
51478         (RM_FE_TONEAREST): Likewise.
51479         (RM_FE_TOWARDZERO): Likewise.
51480         (RM_FE_UPWARD): Likewise.
51481         (RUN_TEST_LOOP_f_f): Update references to expected results.
51482         (RUN_TEST_LOOP_2_f): Likewise.
51483         (RUN_TEST_LOOP_fff_f): Likewise.
51484         (RUN_TEST_LOOP_c_f): Likewise.
51485         (RUN_TEST_LOOP_f_f1): Likewise.
51486         (RUN_TEST_LOOP_fF_f1): Likewise.
51487         (RUN_TEST_LOOP_fI_f1): Likewise.
51488         (RUN_TEST_LOOP_ffI_f1): Likewise.
51489         (RUN_TEST_LOOP_c_c): Likewise.
51490         (RUN_TEST_LOOP_cc_c): Likewise.
51491         (RUN_TEST_LOOP_f_i): Likewise.
51492         (RUN_TEST_LOOP_f_i_tg): Likewise.
51493         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51494         (RUN_TEST_LOOP_f_b): Likewise.
51495         (RUN_TEST_LOOP_f_b_tg): Likewise.
51496         (RUN_TEST_LOOP_f_l): Likewise.
51497         (RUN_TEST_LOOP_f_L): Likewise.
51498         (RUN_TEST_LOOP_fFF_11): Likewise.
51499         * math/gen-libm-test.pl (parse_args): Output four copies of
51500         expected results for each test.
51502         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51503         (__ASSUME_UTIMES): Remove.
51504         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51505         (__ASSUME_UTIMES): Likewise.
51507         * math/gen-auto-libm-tests.c: Update comment on output format.
51508         (output_for_one_input_case): Generate before-rounding and
51509         after-rounding information as conditions on output flags not
51510         floating-point format.
51511         * math/auto-libm-test-out: Regenerated.
51512         * math/gen-libm-test.pl (cond_value): New function.
51513         (or_cond_value): Use cond_value.
51514         (generate_testfile): Handle conditional exceptions.
51516 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
51518         * math/libm-test.inc (max_valid_error): New variable.
51519         (init_max_error): Take new argument specifying whether function
51520         results are exactly determined.  Set max_valid_error and bound
51521         other variables for errors based on this argument.
51522         (set_max_error): Do not record results above max_valid_error.
51523         (check_float_internal): Only accept errors of up to 0.5ulps if
51524         also at most max_valid_error.
51525         (START): Take new argument EXACT and pass it to init_max_error.
51526         (acos_test): Update call to START.
51527         (acos_test_tonearest): Likewise.
51528         (acos_test_towardzero): Likewise.
51529         (acos_test_downward): Likewise.
51530         (acos_test_upward): Likewise.
51531         (acosh_test): Likewise.
51532         (asin_test): Likewise.
51533         (asin_test_tonearest): Likewise.
51534         (asin_test_towardzero): Likewise.
51535         (asin_test_downward): Likewise.
51536         (asin_test_upward): Likewise.
51537         (asinh_test): Likewise.
51538         (atan_test): Likewise.
51539         (atanh_test): Likewise.
51540         (atan2_test): Likewise.
51541         (cabs_test): Likewise.
51542         (cacos_test): Likewise.
51543         (cacosh_test): Likewise.
51544         (carg_test): Likewise.
51545         (casin_test): Likewise.
51546         (casinh_test): Likewise.
51547         (catan_test): Likewise.
51548         (catanh_test): Likewise.
51549         (cbrt_test): Likewise.
51550         (ccos_test): Likewise.
51551         (ccosh_test): Likewise.
51552         (ceil_test): Likewise.
51553         (cexp_test): Likewise.
51554         (cimag_test): Likewise.
51555         (clog_test): Likewise.
51556         (clog10_test): Likewise.
51557         (conj_test): Likewise.
51558         (copysign_test): Likewise.
51559         (cos_test): Likewise.
51560         (cos_test_tonearest): Likewise.
51561         (cos_test_towardzero): Likewise.
51562         (cos_test_downward): Likewise.
51563         (cos_test_upward): Likewise.
51564         (cosh_test): Likewise.
51565         (cosh_test_tonearest): Likewise.
51566         (cosh_test_towardzero): Likewise.
51567         (cosh_test_downward): Likewise.
51568         (cosh_test_upward): Likewise.
51569         (cpow_test): Likewise.
51570         (cproj_test): Likewise.
51571         (creal_test): Likewise.
51572         (csin_test): Likewise.
51573         (csinh_test): Likewise.
51574         (csqrt_test): Likewise.
51575         (ctan_test): Likewise.
51576         (ctan_test_tonearest): Likewise.
51577         (ctan_test_towardzero): Likewise.
51578         (ctan_test_downward): Likewise.
51579         (ctan_test_upward): Likewise.
51580         (ctanh_test): Likewise.
51581         (ctanh_test_tonearest): Likewise.
51582         (ctanh_test_towardzero): Likewise.
51583         (ctanh_test_downward): Likewise.
51584         (ctanh_test_upward): Likewise.
51585         (erf_test): Likewise.
51586         (erfc_test): Likewise.
51587         (exp_test): Likewise.
51588         (exp_test_tonearest): Likewise.
51589         (exp_test_towardzero): Likewise.
51590         (exp_test_downward): Likewise.
51591         (exp_test_upward): Likewise.
51592         (exp10_test): Likewise.
51593         (exp10_test_tonearest): Likewise.
51594         (exp10_test_towardzero): Likewise.
51595         (exp10_test_downward): Likewise.
51596         (exp10_test_upward): Likewise.
51597         (pow10_test): Likewise.
51598         (exp2_test): Likewise.
51599         (expm1_test): Likewise.
51600         (expm1_test_tonearest): Likewise.
51601         (expm1_test_towardzero): Likewise.
51602         (expm1_test_downward): Likewise.
51603         (expm1_test_upward): Likewise.
51604         (fabs_test): Likewise.
51605         (fdim_test): Likewise.
51606         (floor_test): Likewise.
51607         (fma_test): Likewise.
51608         (fma_test_towardzero): Likewise.
51609         (fma_test_downward): Likewise.
51610         (fma_test_upward): Likewise.
51611         (fmax_test): Likewise.
51612         (fmin_test): Likewise.
51613         (fmod_test): Likewise.
51614         (fpclassify_test): Likewise.
51615         (frexp_test): Likewise.
51616         (hypot_test): Likewise.
51617         (ilogb_test): Likewise.
51618         (isfinite_test): Likewise.
51619         (finite_test): Likewise.
51620         (isgreater_test): Likewise.
51621         (isgreaterequal_test): Likewise.
51622         (isinf_test): Likewise.
51623         (isless_test): Likewise.
51624         (islessequal_test): Likewise.
51625         (islessgreater_test): Likewise.
51626         (isnan_test): Likewise.
51627         (isnormal_test): Likewise.
51628         (issignaling_test): Likewise.
51629         (isunordered_test): Likewise.
51630         (j0_test): Likewise.
51631         (j1_test): Likewise.
51632         (jn_test): Likewise.
51633         (ldexp_test): Likewise.
51634         (lgamma_test): Likewise.
51635         (gamma_test): Likewise.
51636         (lrint_test): Likewise.
51637         (lrint_test_tonearest): Likewise.
51638         (lrint_test_towardzero): Likewise.
51639         (lrint_test_downward): Likewise.
51640         (lrint_test_upward): Likewise.
51641         (llrint_test): Likewise.
51642         (llrint_test_tonearest): Likewise.
51643         (llrint_test_towardzero): Likewise.
51644         (llrint_test_downward): Likewise.
51645         (llrint_test_upward): Likewise.
51646         (log_test): Likewise.
51647         (log10_test): Likewise.
51648         (log1p_test): Likewise.
51649         (log2_test): Likewise.
51650         (logb_test): Likewise.
51651         (logb_test_downward): Likewise.
51652         (lround_test): Likewise.
51653         (llround_test): Likewise.
51654         (modf_test): Likewise.
51655         (nearbyint_test): Likewise.
51656         (nextafter_test): Likewise.
51657         (nexttoward_test): Likewise.
51658         (pow_test): Likewise.
51659         (pow_test_tonearest): Likewise.
51660         (pow_test_towardzero): Likewise.
51661         (pow_test_downward): Likewise.
51662         (pow_test_upward): Likewise.
51663         (remainder_test): Likewise.
51664         (drem_test): Likewise.
51665         (remainder_test_tonearest): Likewise.
51666         (drem_test_tonearest): Likewise.
51667         (remainder_test_towardzero): Likewise.
51668         (drem_test_towardzero): Likewise.
51669         (remainder_test_downward): Likewise.
51670         (drem_test_downward): Likewise.
51671         (remainder_test_upward): Likewise.
51672         (drem_test_upward): Likewise.
51673         (remquo_test): Likewise.
51674         (rint_test): Likewise.
51675         (rint_test_tonearest): Likewise.
51676         (rint_test_towardzero): Likewise.
51677         (rint_test_downward): Likewise.
51678         (rint_test_upward): Likewise.
51679         (round_test): Likewise.
51680         (scalb_test): Likewise.
51681         (scalbn_test): Likewise.
51682         (scalbln_test): Likewise.
51683         (signbit_test): Likewise.
51684         (sin_test): Likewise.
51685         (sin_test_tonearest): Likewise.
51686         (sin_test_towardzero): Likewise.
51687         (sin_test_downward): Likewise.
51688         (sin_test_upward): Likewise.
51689         (sincos_test): Likewise.
51690         (sinh_test): Likewise.
51691         (sinh_test_tonearest): Likewise.
51692         (sinh_test_towardzero): Likewise.
51693         (sinh_test_downward): Likewise.
51694         (sinh_test_upward): Likewise.
51695         (sqrt_test): Likewise.
51696         (sqrt_test_tonearest): Likewise.
51697         (sqrt_test_towardzero): Likewise.
51698         (sqrt_test_downward): Likewise.
51699         (sqrt_test_upward): Likewise.
51700         (tan_test): Likewise.
51701         (tan_test_tonearest): Likewise.
51702         (tan_test_towardzero): Likewise.
51703         (tan_test_downward): Likewise.
51704         (tan_test_upward): Likewise.
51705         (tanh_test): Likewise.
51706         (tgamma_test): Likewise.
51707         (trunc_test): Likewise.
51708         (y0_test): Likewise.
51709         (y1_test): Likewise.
51710         (yn_test): Likewise.
51711         (significand_test): Likewise.
51713         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
51714         individual tests in comment.
51715         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
51716         (prev_max_error): New variable.
51717         (prev_real_max_error): Likewise.
51718         (prev_imag_max_error): Likewise.
51719         (compare_ulp_data): Don't refer to test names in comment.
51720         (find_test_ulps): Remove function.
51721         (find_function_ulps): Likewise.
51722         (find_complex_function_ulps): Likewise.
51723         (init_max_error): Take function name as argument.  Look up ulps
51724         for that function.
51725         (print_ulps): Remove function.
51726         (print_max_error): Use prev_max_error instead of calling
51727         find_function_ulps.
51728         (print_complex_max_error): Use prev_real_max_error and
51729         prev_imag_max_error instead of calling find_complex_function_ulps.
51730         (check_float_internal): Take max_ulp parameter instead of calling
51731         find_test_ulps.  Don't call print_ulps.
51732         (check_float): Update call to check_float_internal.
51733         (check_complex): Update calls to check_float_internal.
51734         (START): Pass argument to init_max_error.
51735         * math/gen-libm-test.pl (%results): Don't include "kind"
51736         information.
51737         (parse_ulps): Don't handle ulps of individual tests.
51738         (print_ulps_file): Likewise.
51739         (output_ulps): Likewise.
51740         * math/README.libm-test: Update.
51741         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
51742         individual tests.
51743         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
51744         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
51745         * sysdeps/arm/libm-test-ulps: Likewise.
51746         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
51747         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
51748         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
51749         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
51750         * sysdeps/microblaze/libm-test-ulps: Likewise.
51751         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
51752         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
51753         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51754         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
51755         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51756         * sysdeps/sh/libm-test-ulps: Likewise.
51757         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51758         * sysdeps/tile/libm-test-ulps: Likewise.
51759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51761 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
51763         * math/libm-test.inc (print_complex_max_error): Check separately
51764         whether real and imaginary errors are within allowed range and
51765         pass 0 to print_complex_function_ulps instead of value within
51766         allowed range.
51768 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51770         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
51771         formatting.
51772         (get_handles_fopen): Likewise.
51773         (do_write_test): Likewise.
51775         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
51777         * libio/fileops.c (do_ftell): Use cached offset when
51778         available.
51779         * libio/iofwide.c (do_ftell_wide): Likewise.
51780         * libio/iofdopen.c (_IO_new_fdopen): Don't use
51781         _IO_file_attach.
51782         * libio/wfileops.c (_IO_fwide): Don't cache offset.
51784         [BZ #16532]
51785         * libio/libioP.h (get_file_offset): New function.
51786         * libio/fileops.c (get_file_offset): Likewise.
51787         (do_ftell): Likewise.
51788         (_IO_new_file_seekoff): Split out ftell logic.
51789         * libio/wfileops.c (do_ftell_wide): Likewise.
51790         (_IO_wfile_seekoff): Split out ftell logic.
51791         * libio/tst-ftell-active-handler.c: New test case.
51792         * libio/Makefile (tests): Add it.
51794 2014-03-03  Roland McGrath  <roland@hack.frob.com>
51796         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
51797         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
51799 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51801         [BZ #16639]
51802         * nscd/connections.c (nscd_init): Call do_exit.
51803         (start_threads): Call do_exit and notify_parent.
51804         (begin_drop_privileges): Call do_exit.
51805         (finish_drop_privileges): Likewise.
51806         * nscd/selinux.c (preserve_capabilities): Likewise.
51807         (install_real_capabilities): Likewise.
51808         (nscd_selinux_enabled): Likewise.
51809         (avc_create_thread): Likewise.
51810         (avc_alloc_lock): Likewise.
51811         (nscd_avc_init): Likewise.
51812         * nscd/nscd.c (parent_fd): New static variable.
51813         (main): Create a pipe between parent and child processes.
51814         Skip closing parent_fd.
51815         (monitor_child): New function.
51816         (do_exit): Likewise.
51817         (notify_parent): Likewise.
51818         * nscd/nscd.h (notify_parent): Likewise.
51819         (do_exit): Likewise.
51821 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
51823         * malloc/malloc.c (__libc_calloc): Revert last change.
51825 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51829 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51831         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
51832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
51833         implementation.
51834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51835         (__libc_ifunc_impl_list): Likewise.
51836         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
51837         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
51838         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
51839         * string/strrchr.c: Define STRRCHR.
51841 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
51843         * benchtest/bench-strtok.c (simple_strtok): Delete.
51844         (strtok_string): Use as benchmark.
51845         * string/strtok (STRTOK): New macro.
51847 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
51849         * manual/threads.texi: Add header and standard comments to all
51850         functions.
51852         * elf/dl-lookup.c (check_match): New function.
51853         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
51854         (do_lookup_x): Remove nested function check_match. Use non-nested
51855         function check_match.
51857 2014-02-28  Roland McGrath  <roland@hack.frob.com>
51859         * csu/Makefile (generated, before-compile): Use += rather than =.
51860         * catgets/Makefile (generated, generated-dirs): Likewise.
51861         * debug/Makefile (generated): Likewise.
51862         * dlfcn/Makefile (generated): Likewise.
51863         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
51864         * iconvdata/Makefile (before-compile, generated): Likewise.
51865         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
51866         * libio/Makefile (generated): Likewise.
51867         * malloc/Makefile (generated): Likewise.
51868         * manual/Makefile (generated, generated-dirs): Likewise.
51869         * misc/Makefile (generated): Likewise.
51870         * posix/Makefile (generated): Likewise.
51871         * resolv/Makefile (generated): Likewise.
51872         * sunrpc/Makefile (generated, generated-dirs): Likewise.
51873         * timezone/Makefile (generated, generated-dirs): Likewise.
51875         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
51877 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51880         power8 implementation.
51881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
51882         file: POWER8 llround ifunc implementation.
51883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
51884         (__lllround): Add POWER8 implementation.
51885         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
51886         POWER8 llround implementation.
51888         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
51889         power8 implementation.
51890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
51891         file: POWER8 llrint ifunc implementation.
51892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
51893         Add POWER8 implementation.
51894         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
51895         POWER8 llrint implementation.
51897         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
51898         power8 implementation.
51899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
51900         file: POWER8 finite ifunc implementation.
51901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
51902         Add POWER8 implementation.
51903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
51904         Likewise.
51905         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
51906         POWER8 finite implementation.
51907         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
51909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
51910         power8 implementation.
51911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
51912         file: POWER8 isinf ifunc implementation.
51913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
51914         POWER8 implementation.
51915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
51916         Likewise.
51917         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
51918         isinf implementation.
51919         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
51921         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
51922         (INIT_ARCH): Add hwcap2 initialization.
51923         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51924         power8 implementation.
51925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
51926         file: POWER8 isnan ifunc implementation.
51927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
51928         POWER8 implementation.
51929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
51930         Likewise.
51931         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
51932         isnan implementation.
51933         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
51935 2014-02-27  Joey Ye  <joey.ye@arm.com>
51937         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51938         (_FP_NANFRAC_Q): Set to zero.
51940 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51942         [BZ #16623]
51943         * math/auto-libm-test-in: New test inputs.
51944         * math/auto-libm-test-out: Regenerate.
51945         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
51946         and DA.
51947         (__cos): Likewise.
51948         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51950 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
51952         * scripts/evaluate-test.sh: Take new argument indicating whether
51953         failure is expected.
51954         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
51955         indicating whether failure is expected.
51956         * conform/Makefile (test-xfail-run-conformtest): New variable.
51957         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
51958         level.
51959         * posix/Makefile (test-xfail-annexc): New variable.
51960         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
51962 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
51964         * argp/Makefile: Include Makeconfig immediately after defining
51965         subdir.
51966         * assert/Makefile: Likewise.
51967         * benchtests/Makefile: Likewise.
51968         * catgets/Makefile: Likewise.
51969         * conform/Makefile: Likewise.
51970         * crypt/Makefile: Likewise.
51971         * csu/Makefile: Likewise.
51972         (all): Remove target.
51973         * ctype/Makefile: Include Makeconfig immediately after defining
51974         subdir.
51975         * debug/Makefile: Likewise.
51976         * dirent/Makefile: Likewise.
51977         * dlfcn/Makefile: Likewise.
51978         * gmon/Makefile: Likewise.
51979         * gnulib/Makefile: Likewise.
51980         * grp/Makefile: Likewise.
51981         * gshadow/Makefile: Likewise.
51982         * hesiod/Makefile: Likewise.
51983         * hurd/Makefile: Likewise.
51984         (all): Remove target.
51985         * iconvdata/Makefile: Include Makeconfig immediately after
51986         defining subdir.
51987         * inet/Makefile: Likewise.
51988         * intl/Makefile: Likewise.
51989         * io/Makefile: Likewise.
51990         * libio/Makefile: Likewise.
51991         (all): Remove target.
51992         * locale/Makefile: Include Makeconfig immediately after defining
51993         subdir.
51994         * login/Makefile: Likewise.
51995         * mach/Makefile: Likewise.
51996         (all): Remove target.
51997         * malloc/Makefile: Include Makeconfig immediately after defining
51998         subdir.
51999         (all): Remove target.
52000         * manual/Makefile: Include Makeconfig immediately after defining
52001         subdir.
52002         * math/Makefile: Likewise.
52003         * misc/Makefile: Likewise.
52004         * nis/Makefile: Likewise.
52005         * nss/Makefile: Likewise.
52006         * po/Makefile: Likewise.
52007         (all): Remove target.
52008         * posix/Makefile: Include Makeconfig immediately after defining
52009         subdir.
52010         * pwd/Makefile: Likewise.
52011         * resolv/Makefile: Likewise.
52012         * resource/Makefile: Likewise.
52013         * rt/Makefile: Likewise.
52014         * setjmp/Makefile: Likewise.
52015         * shadow/Makefile: Likewise.
52016         * signal/Makefile: Likewise.
52017         * socket/Makefile: Likewise.
52018         * soft-fp/Makefile: Likewise.
52019         * stdio-common/Makefile: Likewise.
52020         * stdlib/Makefile: Likewise.
52021         * streams/Makefile: Likewise.
52022         * string/Makefile: Likewise.
52023         * sunrpc/Makefile: Likewise.
52024         (all): Remove target.
52025         * sysvipc/Makefile: Include Makeconfig immediately after defining
52026         subdir.
52027         * termios/Makefile: Likewise.
52028         * time/Makefile: Likewise.
52029         * timezone/Makefile: Likewise.
52030         (all): Remove target.
52031         * wcsmbs/Makefile: Include Makeconfig immediately after defining
52032         subdir.
52033         * wctype/Makefile: Likewise.
52035 2014-02-26  Steve Ellcey  <sellcey@mips.com>
52037         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52038         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52039         (libc_feholdexcept_setround_mips): Ditto.
52040         (libc_feholdsetround): New.
52041         (libc_feholdsetroundf): New.
52042         (libc_feholdsetroundl): New.
52043         (libc_feupdateenv_test_mips): New.
52044         (libc_feupdateenv_test): New.
52045         (libc_feupdateenv_testf): New.
52046         (libc_feupdateenv_testl): New.
52047         (libc_feresetround): New.
52048         (libc_feresetroundf): New.
52049         (libc_feresetroundl): New.
52050         (libc_fetestexcept_mips): New.
52051         (libc_fetestexcept): New.
52052         (libc_fetestexceptf): New.
52053         (libc_fetestexceptl): New.
52054         (HAVE_RM_CTX): New.
52055         (libc_feholdexcept_setround_mips_ctx): New.
52056         (libc_feholdexcept_setround_ctx): New.
52057         (libc_feholdexcept_setroundf_ctx): New.
52058         (libc_feholdexcept_setroundl_ctx): New.
52059         (libc_fesetenv_mips_ctx): New.
52060         (libc_fesetenv_ctx): New.
52061         (libc_fesetenv_ctxf): New.
52062         (libc_fesetenv_ctxl): New.
52063         (libc_feupdateenv_mips_ctx): New.
52064         (libc_feupdateenv_ctx): New.
52065         (libc_feupdateenvf_ctx): New.
52066         (libc_feupdateenvl_ctx): New.
52067         (libc_feholdsetround_mips_ctx): New.
52068         (libc_feholdsetround_ctx): New.
52069         (libc_feholdsetroundf_ctx): New.
52070         (libc_feholdsetroundl_ctx): New.
52071         (libc_feresetround_mips_ctx): New.
52072         (libc_feresetround_ctx): New.
52073         (libc_feresetroundf_ctx): New.
52074         (libc_feresetroundl_ctx): New.
52076 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
52078         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
52080         * manual/ipc.texi: New file.
52081         * manual/Makefile (chapters): Add ipc.
52082         * manual/job.texi: Add "Inter-Process Communication" to next.
52083         * manual/process.texi: Add "Inter-Process Communication" to prev.
52085 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52089 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
52091         * malloc/malloc.c (__libc_calloc): Simplify implementation.
52093         * manual/arith.texi: Fix spaces after sentences.
52094         * manual/charset.texi: Likewise.
52095         * manual/errno.texi: Likewise.
52096         * manual/install.texi: Likewise.
52097         * manual/llio.texi: Likewise.
52098         * manual/locale.texi: Likewise.
52099         * manual/maint.texi: Likewise.
52100         * manual/math.texi: Likewise.
52101         * manual/memory.texi: Likewise.
52102         * manual/message.texi: Likewise.
52103         * manual/probes.texi: Likewise.
52104         * manual/resource.texi: Likewise.
52105         * manual/signal.texi: Likewise.
52106         * manual/socket.texi: Likewise.
52107         * manual/stdio.texi: Likewise.
52108         * manual/string.texi: Likewise.
52109         * manual/time.texi: Likewise.
52110         * manual/users.texi: Likewise.
52112 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
52114         [BZ #16632]
52115         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
52116         _DEFAULT_SOURCE is defined.
52118 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
52119             Carlos O'Donell  <carlos@redhat.com>
52121         [BZ #16613]
52122         * elf/dl-tls.c (_dl_count_modids): New function.
52123         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
52124         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
52125         audit library and increment generation counter.
52126         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
52127         * elf/tst-audit9.c: New file.
52128         * elf/tst-auditmod9a.c: New file.
52129         * elf/tst-auditmod9b.c: New file.
52130         * elf/Makefile: Add rules to build and run tst-audit9.
52132 2014-02-25  Florian Weimer  <fweimer@redhat.com>
52134         [BZ #15347]
52135         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
52137 2014-02-25  Will Newton  <will.newton@linaro.org>
52139         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
52140         (__longjmp): Restore sp and lr before restoring callee
52141         saved registers.  Add longjmp and longjmp_target
52142         SystemTap probe point.
52143         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
52144         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
52145         Define to zero to match jmpbuf layout.
52146         * sysdeps/arm/setjmp.S: Include stap-probe.h.
52147         (__sigsetjmp): Save sp and lr before saving callee
52148         saved registers.  Add setjmp SystemTap probe point.
52150 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
52152         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52154 2014-02-24  Andreas Schwab  <schwab@suse.de>
52156         [BZ #15804]
52157         * elf/pldd.c (wait_for_ptrace_stop): New function.
52158         (main): Call it after attaching.
52160 2014-02-22  Roland McGrath  <roland@hack.frob.com>
52162         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
52163         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
52164         Versions files is now verboten.
52165         * hurd/Versions (libc: GLIBC_2.0):
52166         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
52167         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
52168         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
52169         * mach/Versions: Likewise.
52171         * csu/Versions: Remove unused %include.
52172         * resolv/Versions: Likewise.
52174 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
52176         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
52177         ($(objpfx)check-local-headers.out): Likewise.
52178         ($(objpfx)begin-end-check.out): Likewise.
52179         * Makerules (check-abi-%.out): Likewise.
52180         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
52181         ($(objpfx)test2.cat): Likewise.
52182         ($(objpfx)de/libc.cat): Likewise.
52183         ($(objpfx)test-gencat.out): Likewise.
52184         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
52185         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
52186         ($(objpfx)noload-mem): Likewise.
52187         ($(objpfx)tst-pathopt.out): Likewise.
52188         ($(objpfx)tst-rtld-load-self.out): Likewise.
52189         ($(objpfx)tst-array1-cmp.out): Likewise.
52190         ($(objpfx)tst-array1-static-cmp.out): Likewise.
52191         ($(objpfx)tst-array2-cmp.out): Likewise.
52192         ($(objpfx)tst-array3-cmp.out): Likewise.
52193         ($(objpfx)tst-array4-cmp.out): Likewise.
52194         ($(objpfx)tst-array5-cmp.out): Likewise.
52195         ($(objpfx)tst-array5-static-cmp.out): Likewise.
52196         ($(objpfx)check-textrel.out): Likewise.
52197         ($(objpfx)check-execstack.out): Likewise.
52198         ($(objpfx)check-localplt.out): Likewise.
52199         ($(objpfx)order2-cmp.out): Likewise.
52200         ($(objpfx)tst-leaks1-mem): Likewise.
52201         ($(objpfx)tst-leaks1-static-mem): Likewise.
52202         ($(objpfx)tst-initorder-cmp.out): Likewise.
52203         ($(objpfx)tst-initorder2-cmp.out): Likewise.
52204         ($(objpfx)tst-unused-dep.out): Likewise.
52205         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
52206         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
52207         * iconv/Makefile (test-iconvconfig): Likewise.
52208         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
52209         ($(objpfx)iconv-test.out): Likewise.
52210         ($(objpfx)tst-tables.out): Likewise.
52211         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
52212         ($(objpfx)tst-gettext.out): Likewise.
52213         ($(objpfx)tst-translit.out): Likewise.
52214         ($(objpfx)tst-gettext2.out): Likewise.
52215         ($(objpfx)tst-gettext4.out): Likewise.
52216         ($(objpfx)tst-gettext6.out): Likewise.
52217         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
52218         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
52219         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52220         ($(objpfx)tst-fopenloc-mem.out): Likewise.
52221         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
52222         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
52223         * posix/Makefile ($(objpfx)globtest.out): Likewise.
52224         ($(objpfx)wordexp-tst.out): Likewise.
52225         ($(objpfx)annexc.out): Likewise.
52226         ($(objpfx)tst-fnmatch-mem): Likewise.
52227         ($(objpfx)bug-regex2-mem): Likewise.
52228         ($(objpfx)bug-regex14-mem): Likewise.
52229         ($(objpfx)bug-regex21-mem): Likewise.
52230         ($(objpfx)bug-regex31-mem): Likewise.
52231         ($(objpfx)tst-vfork3-mem): Likewise.
52232         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52233         ($(objpfx)tst-pcre-mem): Likewise.
52234         ($(objpfx)tst-boost-mem): Likewise.
52235         ($(objpfx)tst-getconf.out): Likewise.
52236         ($(objpfx)bug-ga2-mem): Likewise.
52237         ($(objpfx)bug-glob2-mem): Likewise.
52238         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
52239         ($(objpfx)mtrace-tst-leaks2): Likewise.
52240         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
52241         ($(objpfx)tst-printf.out): Likewise.
52242         ($(objpfx)tst-setvbuf1.out): Likewise.
52243         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
52244         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
52245         ($(objpfx)tst-fmtmsg.out): Likewise.
52246         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
52247         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
52249         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
52250         * bits/sigaction.h [__USE_MISC]: Likewise.
52251         * bits/waitstatus.h: Update #endif comments.
52252         * ctype/ctype.h: Likewise.
52253         * dirent/dirent.h: Likewise.
52254         [__USE_MISC]: Remove redundant conditionals.
52255         * grp/grp.h: Update #endif comments.
52256         [__USE_GNU]: Remove redundant conditionals.
52257         [__USE_MISC]: Likewise.
52258         * inet/netinet/in.h [__USE_GNU]: Likewise.
52259         * io/sys/stat.h [__USE_MISC]: Likewise.
52260         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
52261         * libio/bits/stdio.h: Update #endif comments.
52262         [__USE_MISC]: Remove redundant conditionals.
52263         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
52264         * libio/stdio.h: Update #endif comments.
52265         [__USE_MISC]: Remove redundant conditionals.
52266         * math/bits/math-finite.h [__USE_MISC]: Likewise.
52267         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
52268         * math/math.h: Update #else and #endif comments.
52269         [__USE_MISC]: Remove redundant conditionals.
52270         * misc/sys/uio.h: Update #endif comments.
52271         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
52272         * posix/glob.h [__USE_MISC]: Likewise.
52273         * posix/sys/types.h: Update #endif comments.
52274         [__USE_MISC]: Remove redundant conditionals.
52275         * posix/sys/wait.h: Update #endif comments.
52276         [__USE_MISC]: Remove redundant conditionals.
52277         * posix/unistd.h: Update #endif comments.
52278         [__USE_MISC]: Remove redundant conditionals.
52279         * pwd/pwd.h [__USE_GNU]: Likewise.
52280         [__USE_MISC]: Likewise.
52281         * resolv/netdb.h [__USE_GNU]: Likewise.
52282         * signal/signal.h: Update #endif comments.
52283         [__USE_MISC]: Remove redundant conditionals.
52284         * stdlib/stdlib.h: Update #else and #endif comments.
52285         [__USE_MISC]: Remove redundant conditionals.
52286         [__USE_GNU]: Likewise.
52287         * string/bits/string2.h [__USE_MISC]: Likewise.
52288         * string/string.h: Update #endif comments.
52289         [__USE_MISC]: Remove redundant conditionals.
52290         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
52291         Likewise.
52292         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
52293         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
52294         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
52295         Likewise.
52296         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
52297         Likewise.
52298         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
52299         comments.
52300         [__USE_MISC]: Remove redundant conditionals.
52301         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
52302         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
52303         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
52304         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
52305         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
52306         Likewise.
52307         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
52308         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
52309         Likewise.
52310         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
52311         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
52312         Likewise.
52313         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
52314         Likewise.
52315         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
52316         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
52317         Likewise.
52318         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
52319         Likewise.
52320         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
52321         * sysdeps/x86/bits/string.h: Update #endif comments.
52322         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
52323         conditionals.
52324         * time/sys/time.h: Update #endif comments.
52325         * time/time.h: Likewise.
52326         [__USE_MISC]: Remove redundant conditionals.
52328 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
52330         [BZ #16600]
52331         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
52333 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
52335         * Versions.def (librt): Add GLIBC_2.17.
52337 2014-02-21  Adam Conrad  <adconrad@0c3.net>
52339         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
52340         synonym for _SYS_AUXV_H to allow direct inclusion.
52341         * sysdeps/sparc/bits/hwcap.h: Likewise.
52342         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
52343         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
52344         * sysdeps/sparc/sysdep.h: Likewise.
52346 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52348         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
52350 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52352         * benchtests/bench-strrchr.c: Print length instead of position.
52354 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
52356         [BZ #16611]
52357         * sysdeps/unix/sysv/linux/kernel-features.h
52358         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
52359         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
52360         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
52361         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
52362         Likewise.
52363         [__i386__ || __powerpc__ || __sh__ || __sparc__]
52364         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52365         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
52366         (__ASSUME_SENDMMSG): Define instead of using previous
52367         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
52368         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52369         (__ASSUME_SENDMMSG_SYSCALL): Define.
52370         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52371         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
52372         Likewise.
52373         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52374         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52375         Likewise.
52376         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52377         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52378         Likewise.
52379         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
52380         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52381         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52382         [__ASSUME_SENDMMSG]: Change conditionals to
52383         [__ASSUME_SENDMMSG_SOCKETCALL].
52384         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52385         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
52386         Define.
52387         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52388         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
52389         Likewise.
52390         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
52391         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52392         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52393         [!__ASSUME_SENDMMSG]: Change conditional to
52394         [!__ASSUME_SENDMMSG_SOCKETCALL].
52395         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52396         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52397         Define.
52399         [BZ #16610]
52400         * sysdeps/unix/sysv/linux/kernel-features.h
52401         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
52402         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
52403         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
52404         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
52405         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
52406         [__i386__ || __sparc__]
52407         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52408         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
52409         (__ASSUME_RECVMMSG): Define instead of using previous
52410         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
52411         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52412         (__ASSUME_RECVMMSG_SYSCALL): Define.
52413         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52414         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52415         Likewise.
52416         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52417         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52418         Likewise.
52419         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52420         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52421         Likewise.
52422         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
52423         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52424         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52425         [__ASSUME_RECVMMSG]: Change condition to
52426         [__ASSUME_RECVMMSG_SOCKETCALL].
52427         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52428         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52429         Define.
52430         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52431         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52432         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52433         Likewise.
52434         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
52435         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52436         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52437         [!__ASSUME_RECVMMSG]: Change condition to
52438         [!__ASSUME_RECVMMSG_SOCKETCALL].
52439         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52440         (__ASSUME_RECVMMSG_SYSCALL): Define.
52442         [BZ #16609]
52443         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
52444         __powerpc__ || __s390__ || __sh__ || __sparc__]
52445         (__ASSUME_SOCKETCALL): Define.
52446         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
52447         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
52448         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
52449         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
52450         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52451         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
52452         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
52453         (__ASSUME_ACCEPT4): Define instead of using previous
52454         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
52455         __powerpc__ || __sparc__ || __s390__)] condition.
52456         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52457         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52458         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
52459         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52460         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52461         [!__ASSUME_ACCEPT4]: Change condition to
52462         [!__ASSUME_ACCEPT4_SOCKETCALL].
52463         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52464         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
52465         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
52466         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52467         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
52468         __ASSUME_ACCEPT4_SYSCALL.
52469         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
52470         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
52471         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52472         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
52473         __ASSUME_ACCEPT4_SYSCALL.
52474         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
52475         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52476         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52477         [__ASSUME_ACCEPT4]: Change condition to
52478         [__ASSUME_ACCEPT4_SOCKETCALL].
52479         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52480         (__ASSUME_SOCKETCALL): Define.
52481         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
52482         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52483         (__ASSUME_SOCKETCALL): Define.
52484         (__ASSUME_ACCEPT4): Remove.
52485         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
52486         Define.
52487         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52488         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
52489         Likewise.
52490         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52491         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52493         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
52494         macro.
52495         (HWCAP_ARM_LPAE): Likewise.
52496         (HWCAP_ARM_EVTSTRM): Likewise.
52497         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
52498         Add vpfd32, lpae and evtstrm.
52499         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
52500         Increase to 22.
52502 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
52504         * math/auto-libm-test-in: Add tests of clog10.
52505         * math/auto-libm-test-out: Regenerated.
52506         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
52507         * sysdeps/i386/fpu/libm-test-ulps: Update.
52508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52510 2014-02-18  Andreas Schwab  <schwab@suse.de>
52512         [BZ #16574]
52513         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
52514         Store non-zero if the second buffer was newly allocated.
52515         (send_dg): Likewise.
52516         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
52517         to send_vc and send_dg.
52518         (res_nsend): Pass NULL for ansp2_malloced.
52519         * resolv/res_query.c (__libc_res_nquery): Add parameter
52520         answerp2_malloced and pass it down to __libc_res_nsend.
52521         (res_nquery): Pass additional NULL to __libc_res_nquery.
52522         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
52523         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
52524         second answer buffer if answerp2_malloced was set.
52525         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
52526         (__libc_res_nquerydomain): Add parameter
52527         answerp2_malloced and pass it down to __libc_res_nquery.
52528         (res_nquerydomain): Pass additional NULL to
52529         __libc_res_nquerydomain.
52530         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
52531         additional NULL to __libc_res_nsend and __libc_res_nquery.
52532         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
52533         additional NULL to __libc_res_nsearch.
52534         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
52535         parameter of __libc_res_nsearch to check for separately allocated
52536         second buffer.
52537         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
52538         __libc_res_nquery.
52539         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
52540         additional NULL to __libc_res_nquery.
52541         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
52542         __libc_res_nsearch.
52543         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
52544         * include/resolv.h: Update prototypes of __libc_res_nquery,
52545         __libc_res_nsearch, __libc_res_nsend.
52547 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
52549         * math/auto-libm-test-in: Add tests of fma.
52550         * math/auto-libm-test-out: Regenerated.
52551         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
52552         (fma_towardzero_test_data): Likewise.
52553         (fma_downward_test_data): Likewise.
52554         (fma_upward_test_data): Likewise.
52555         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
52556         mpc_mode.
52557         (rounding_modes): Add values for new field.
52558         (func_calc_method): Add value mpfr_fff_f.
52559         (func_calc_desc): Add mpfr_fff_f union field.
52560         (test_function): Add field exact_args.
52561         (FUNC): Add macro argument EXACT_ARGS.
52562         (FUNC_mpfr_f_f): Update call to FUNC.
52563         (FUNC_mpfr_f_f): Likewise.
52564         (FUNC_mpfr_ff_f): Likewise.
52565         (FUNC_mpfr_if_f): Likewise.
52566         (FUNC_mpc_c_f): Likewise.
52567         (FUNC_mpc_c_c): Likewise.
52568         (test_functions): Add fma.  Update calls to FUNC.
52569         (handle_input_arg): Add argument exact_args.
52570         (add_test): Update call to handle_input_arg.
52571         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
52572         (output_for_one_input_case): Update call to calc_generic_results.
52573         Recalculate exact zero results in each rounding mode.
52575         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
52576         non-negative before setting low bit.
52577         * math/auto-libm-test-in: Mark one asin test possibly having
52578         spurious underflow.
52579         * math/auto-libm-test-out: Regenerated.
52580         * sysdeps/i386/fpu/libm-test-ulps: Update.
52581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52583 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
52585         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
52586         * sysdeps/unix/sysv/linux/microblaze: Move directory from
52587         ports/sysdeps/unix/sysv/linux/microblaze.
52588         * README: Add missing listing for microblaze*-*-linux-gnu.
52590 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
52592         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
52593         duplicate code
52595 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
52597         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
52598         * sysdeps/unix/sysv/linux/ia64: Move directory from
52599         ports/sysdeps/unix/sysv/linux/ia64.
52600         * README: Update listing for ia64-*-linux-gnu.
52602 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
52603             Joseph Myers  <joseph@codesourcery.com>
52605         * Makeconfig (test-name): New variable.
52606         (evaluate-test): Likewise.
52607         * Makerules (do-test-clean): Remove .test-result files.
52608         (common-mostlyclean): Likewise.
52609         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
52610         * scripts/evaluate-test.sh: New file.
52612 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
52614         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
52615         separate $(objpfx)tst-fopenloc-cmp.out and
52616         $(objpfx)tst-fopenloc-mem.out targets.
52617         (tests): Update dependencies.
52618         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
52619         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
52620         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
52621         (tst-rxspencer-no-utf8-ARGS): New variable.
52622         (tst-rxspencer-no-utf8-ENV): Likewise.
52623         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
52624         instead of $(objpfx)tst-rxspencer-mem.
52625         ($(objpfx)tst-rxspencer-mem): Change target to
52626         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
52627         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
52628         * posix/tst-rxspencer-no-utf8.c: New file.
52630         * elf/Makefile ($(objpfx)order.out): Remove rule.
52631         [$(run-built-tests) = yes] (tests): Depend on
52632         $(objpfx)order-cmp.out.
52633         ($(objpfx)order-cmp.out): New rule.
52634         [$(run-built-tests) = yes] (tests): Depend on
52635         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
52636         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
52637         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
52638         $(objpfx)tst-array5-static-cmp.out.
52639         ($(objpfx)tst-array1.out): Remove rule.
52640         ($(objpfx)tst-array1-cmp.out): New rule.
52641         ($(objpfx)tst-array1-static.out): Remove rule.
52642         ($(objpfx)tst-array1-static-cmp.out): New rule.
52643         ($(objpfx)tst-array2.out): Remove rule.
52644         ($(objpfx)tst-array2-cmp.out): New rule.
52645         ($(objpfx)tst-array3.out): Remove rule.
52646         ($(objpfx)tst-array3-cmp.out): New rule.
52647         ($(objpfx)tst-array4.out): Remove rule.
52648         ($(objpfx)tst-array4-cmp.out): New rule.
52649         ($(objpfx)tst-array5.out): Remove rule.
52650         ($(objpfx)tst-array5-cmp.out): New rule.
52651         ($(objpfx)tst-array5-static.out): Remove rule.
52652         ($(objpfx)tst-array5-static-cmp.out): New rule.
52653         [$(run-built-tests) = yes] (tests): Depend on
52654         $(objpfx)order2-cmp.out.
52655         ($(objpfx)order2.out): Remove rule.
52656         ($(objpfx)order2-cmp.out): New rule.
52657         ($(objpfx)tst-initorder.out): Remove rule.
52658         [$(run-built-tests) = yes] (tests): Depend on
52659         $(objpfx)tst-initorder-cmp.out.
52660         ($(objpfx)tst-initorder-cmp.out): New rule.
52661         ($(objpfx)tst-initorder2.out): Remove rule.
52662         [$(run-built-tests) = yes] (tests): Depend on
52663         $(objpfx)tst-initorder2-cmp.out.
52664         ($(objpfx)tst-initorder2-cmp.out): New rule.
52665         [$(run-built-tests) = yes] (tests): Depend on
52666         $(objpfx)tst-unused-dep-cmp.out.
52667         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
52668         ($(objpfx)tst-unused-dep-cmp.out): New rule.
52669         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
52670         on $(objpfx)tst-setvbuf1-cmp.out.
52671         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
52672         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
52673         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
52674         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
52675         ($(objpfx)tst-svc.out): Remove rule.
52676         ($(objpfx)tst-svc-cmp.out): New rule.
52678 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
52680         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
52681         * ctype/ctype.h [__USE_MISC]: Likewise.
52682         * dirent/dirent.h [__USE_MISC]: Likewise.
52683         * grp/grp.h [__USE_MISC]: Likewise.
52684         * io/fcntl.h [__USE_MISC]: Likewise.
52685         * io/sys/stat.h [__USE_MISC]: Likewise.
52686         * libio/stdio.h [__USE_MISC]: Likewise.
52687         * posix/unistd.h [__USE_MISC]: Likewise.
52688         * pwd/pwd.h [__USE_MISC]: Likewise.
52689         * stdlib.h [__USE_MISC]: Likewise.
52690         * string/bits/string2.h [__USE_MISC]: Likewise.
52691         * string/string.h [__USE_MISC]: Likewise.
52692         * time/time.h [__USE_MISC]: Likewise.
52694 2014-02-13  Andreas Schwab  <schwab@suse.de>
52696         [BZ #16574]
52697         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
52698         second answer buffer if it was separately allocated.
52700 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
52702         * sysdeps/mips/math-tests.h: Include <features.h>.
52703         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52704         (ROUNDING_TESTS_long_double): Do not define.
52705         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52706         (EXCEPTION_TESTS_long_double): Likewise.
52707         * sysdeps/mips/mips64/libm-test-ulps: Update.
52709         * include/features.h (__USE_BSD): Remove macro definitions.
52710         (__USE_SVID): Likewise.
52711         (_BSD_SOURCE): Likewise.
52712         (_SVID_SOURCE): Likewise.
52713         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
52714         from definition of _DEFAULT_SOURCE.
52715         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
52716         [_DEFAULT_SOURCE].
52717         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
52718         * bits/mman.h [__USE_BSD]: Likewise.
52719         * bits/termios.h [__USE_BSD]: Likewise.
52720         * bits/waitstatus.h [__USE_BSD]: Likewise.
52721         * ctype/ctype.h [__USE_SVID]: Likewise.
52722         * dirent/dirent.h [__USE_BSD]: Likewise.
52723         * grp/grp.h [__USE_SVID]: Likewise.
52724         [__USE_BSD]: Likewise.
52725         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
52726         * io/fcntl.h [__USE_BSD]: Likewise.
52727         * io/ftw.h [__USE_BSD]: Likewise.
52728         * io/sys/stat.h [__USE_BSD]: Likewise.
52729         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
52730         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
52731         * libio/stdio.h [__USE_SVID]: Likewise.
52732         [__USE_BSD]: Likewise.
52733         * math/math.h [__USE_SVID]: Likewise.
52734         [__USE_BSD]: Likewise.
52735         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
52736         * misc/bits/syslog.h [__USE_BSD]: Likewise.
52737         * misc/search.h [__USE_SVID]: Likewise.
52738         * misc/sys/mman.h [__USE_BSD]: Likewise.
52739         * misc/sys/syslog.h [__USE_BSD]: Likewise.
52740         * misc/sys/uio.h [__USE_BSD]: Likewise.
52741         * posix/bits/unistd.h [__USE_BSD]: Likewise.
52742         * posix/glob.h [__USE_BSD]: Likewise.
52743         * posix/regex.h [__USE_BSD]: Likewise.
52744         * posix/sys/types.h [__USE_BSD]: Likewise.
52745         [__USE_SVID]: Likewise.
52746         * posix/sys/utsname.h [__USE_SVID]: Likewise.
52747         * posix/sys/wait.h [__USE_BSD]: Likewise.
52748         [__USE_SVID]: Likewise.
52749         * posix/unistd.h [__USE_BSD]: Likewise.
52750         [__USE_SVID]: Likewise.
52751         * pwd/pwd.h [__USE_SVID]: Likewise.
52752         * resolv/netdb.h [__USE_BSD]: Likewise.
52753         * setjmp/setjmp.h [__USE_BSD]: Likewise.
52754         * signal/signal.h [__USE_BSD]: Likewise.
52755         [__USE_SVID]: Likewise.
52756         * socket/sys/socket.h [__USE_BSD]: Likewise.
52757         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
52758         * stdlib/stdlib.h [__USE_BSD]: Likewise.
52759         [__USE_SVID]: Likewise.
52760         * string/bits/string2.h [__USE_BSD]: Likewise.
52761         [__USE_SVID]: Likewise.
52762         * string/bits/string3.h [__USE_BSD]: Likewise.
52763         * string/endian.h [__USE_BSD]: Likewise.
52764         * string/string.h [__USE_SVID]: Likewise.
52765         [__USE_BSD]: Likewise.
52766         * string/strings.h [__USE_BSD]: Likewise.
52767         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
52768         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
52769         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
52770         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
52771         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
52772         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
52773         Likewise.
52774         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
52775         Likewise.
52776         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
52777         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
52778         Likewise.
52779         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
52780         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
52781         Likewise.
52782         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
52783         Likewise.
52784         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
52785         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
52786         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
52787         Likewise.
52788         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
52789         Likewise.
52790         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
52791         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
52792         * termios/termios.h [__USE_BSD]: Likewise.
52793         * time/sys/time.h [__USE_BSD]: Likewise.
52794         * time/time.h [__USE_BSD]: Likewise.
52795         [__USE_SVID]: Likewise.
52797         * Makefile (subdir_targets): Remove subdir_lint.out.
52799         * stdio-common/Makefile (do-tst-unbputc): Remove target.
52800         (do-tst-printf): Likewise.
52801         (tests): Depend directly on $(objpfx)tst-unbputc.out and
52802         $(objpfx)tst-printf.out.
52804         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
52806         * Makerules (check-abi-%): Change target to
52807         $(objpfx)check-abi-%.out.
52808         (check-abi target): Update dependencies.
52809         (check-abi-pattern variable): Redirect output of diff to $@.
52810         (check-abi variable): Likewise.
52811         * elf/Makefile (check-abi): Update dependencies.
52813         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
52814         unused.
52815         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
52816         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
52817         subnormal range.
52818         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
52819         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
52820         value has largest subnormal exponent.
52821         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
52822         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
52823         * sysdeps/aarch64/soft-fp/sfp-machine.h
52824         (_FP_TININESS_AFTER_ROUNDING): New macro.
52825         * sysdeps/alpha/soft-fp/sfp-machine.h
52826         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52827         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52828         Likewise.
52829         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
52830         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52831         * sysdeps/mips/soft-fp/sfp-machine.h
52832         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52833         * sysdeps/powerpc/soft-fp/sfp-machine.h
52834         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52835         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52836         Likewise.
52837         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52838         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52839         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52840         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52841         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52842         Likewise.
52844 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
52846         [BZ #16545]
52847         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
52848         model 1.
52850 2014-02-12  Richard Henderson  <rth@redhat.com>
52852         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
52853         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
52854         * sysdeps/unix/sysv/linux/alpha: Move directory from
52855         ports/sysdeps/unix/sysv/linux/alpha.
52856         * README: Update listing for alpha-*-linux-gnu.
52858 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
52860         * include/features.h: Update comment documenting feature test
52861         macros.
52862         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
52863         _DEFAULT_SOURCE.
52864         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
52865         (_SVID_SOURCE): Likewise.
52866         (_DEFAULT_SOURCE): Update description of default features.
52867         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
52868         with _GNU_SOURCE.
52869         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
52870         (S_ISVTX): Likewise.
52871         * manual/math.texi (Mathematical Constants): Likewise.
52872         * manual/signal.texi (Interrupted Primitives): Likewise.
52873         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
52874         * math/test-matherr.c (_SVID_SOURCE): Do not define.
52875         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
52876         Don't refer to _SVID_SOURCE in warning text.
52878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52880         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
52881         already defined.
52882         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
52883         * sysdeps/mips/dl-lookup.c: Remove.
52884         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
52886 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52888         [BZ #16447]
52889         * math/auto-libm-test-in: Add testcase for expl.
52890         * math/auto-libm-test-out: Regenerate.
52891         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
52892         calculation of unsafe.
52893         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
52895 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52897         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
52898         * sysdeps/unix/sysv/linux/aarch64: Move directory from
52899         ports/sysdeps/unix/sysv/linux/aarch64.
52900         * README: Update listing for aarch64*-*-linux-gnu.
52902 2014-02-11  Will Newton  <will.newton@linaro.org>
52904         * manual/probes.texi (Mathematical Function Probes): Use
52905         "triggered" instead of "hit".
52907         * manual/probes.texi (Internal Probes): Add documentation
52908         of setjmp, longjmp and longjmp_target probes.
52910         * include/stap-probe.h: Add comment about probe argument
52911         format.
52913         * malloc/mtrace.c (attribute_hidden): Remove unused macro
52914         definition.  (tr_where, tr_freehook, tr_mallochook,
52915         tr_reallochook, tr_memalignhook): Use ANSI protoype.
52917 2014-02-11  David S. Miller  <davem@davemloft.net>
52919         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
52920         processing int_tests.
52922 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
52924         * sysdeps/mips: Move directory from ports/sysdeps/mips.
52925         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
52926         * sysdeps/unix/sysv/linux/mips: Move directory from
52927         ports/sysdeps/unix/sysv/linux/mips.
52928         * README: Update listing for mips-*-linux-gnu and
52929         mips64-*-linux-gnu.
52931 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
52933         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
52934         * sysdeps/unix/sysv/linux/m68k: Move directory from
52935         ports/sysdeps/unix/sysv/linux/m68k.
52936         * README: Update listing for m68k-*-linux-gnu.
52938 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
52940         * sysdeps/tile: Move directory from ports/sysdeps/tile.
52941         * sysdeps/unix/sysv/linux/generic: Move directory from
52942         ports/sysdeps/unix/sysv/linux/generic.
52943         * sysdeps/unix/sysv/linux/tile: Move directory from
52944         ports/sysdeps/unix/sysv/linux/tile.
52945         * README: Update listing for tile*-*-linux-gnu.
52947 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
52949         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
52950         __builtin_expect.
52951         * benchtests/bench-memmem.c (simple_memmem): Likewise.
52952         * catgets/open_catalog.c (__open_catalog): Likewise.
52953         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
52954         * debug/confstr_chk.c: Likewise.
52955         * debug/fread_chk.c (__fread_chk): Likewise.
52956         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
52957         * debug/getgroups_chk.c: Likewise.
52958         * debug/mbsnrtowcs_chk.c: Likewise.
52959         * debug/mbsrtowcs_chk.c: Likewise.
52960         * debug/mbstowcs_chk.c: Likewise.
52961         * debug/memcpy_chk.c: Likewise.
52962         * debug/memmove_chk.c: Likewise.
52963         * debug/mempcpy_chk.c: Likewise.
52964         * debug/memset_chk.c: Likewise.
52965         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52966         * debug/strcat_chk.c (__strcat_chk): Likewise.
52967         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
52968         * debug/strncat_chk.c (__strncat_chk): Likewise.
52969         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
52970         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
52971         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
52972         * debug/wcpncpy_chk.c: Likewise.
52973         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52974         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
52975         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
52976         * debug/wcsncpy_chk.c: Likewise.
52977         * debug/wcsnrtombs_chk.c: Likewise.
52978         * debug/wcsrtombs_chk.c: Likewise.
52979         * debug/wcstombs_chk.c: Likewise.
52980         * debug/wmemcpy_chk.c: Likewise.
52981         * debug/wmemmove_chk.c: Likewise.
52982         * debug/wmempcpy_chk.c: Likewise.
52983         * debug/wmemset_chk.c: Likewise.
52984         * dirent/scandirat.c (SCANDIRAT): Likewise.
52985         * dlfcn/dladdr1.c (dladdr1): Likewise.
52986         * dlfcn/dladdr.c (dladdr): Likewise.
52987         * dlfcn/dlclose.c (dlclose_doit): Likewise.
52988         * dlfcn/dlerror.c (__dlerror): Likewise.
52989         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
52990         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
52991         * dlfcn/dlopen.c (dlopen_doit): Likewise.
52992         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
52993         * dlfcn/dlsym.c (dlsym_doit): Likewise.
52994         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
52995         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
52996         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
52997         Likewise.
52998         * elf/dl-conflict.c: Likewise.
52999         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
53000         * elf/dl-dst.h: Likewise.
53001         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
53002         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
53003         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
53004         * elf/dl-init.c (call_init, _dl_init): Likewise.
53005         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
53006         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
53007         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
53008         Likewise.
53009         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53010         Likewise.
53011         * elf/dl-minimal.c (__libc_memalign): Likewise.
53012         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53013         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53014         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53015         * elf/dl-sym.c (do_sym): Likewise.
53016         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53017         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53018         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53019         * elf/dl-writev.h (_dl_writev): Likewise.
53020         * elf/ldconfig.c (search_dir): Likewise.
53021         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53022         (dl_main): Likewise.
53023         * elf/setup-vdso.h (setup_vdso): Likewise.
53024         * grp/compat-initgroups.c (compat_call): Likewise.
53025         * grp/fgetgrent.c (fgetgrent): Likewise.
53026         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53027         * grp/putgrent.c (putgrent): Likewise.
53028         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53029         Likewise.
53030         * hurd/hurdinit.c: Likewise.
53031         * iconvdata/8bit-gap.c (struct): Likewise.
53032         * iconvdata/ansi_x3.110.c : Likewise.
53033         * iconvdata/big5.c : Likewise.
53034         * iconvdata/big5hkscs.c : Likewise.
53035         * iconvdata/cp1255.c: Likewise.
53036         * iconvdata/cp1258.c : Likewise.
53037         * iconvdata/cp932.c : Likewise.
53038         * iconvdata/euc-cn.c: Likewise.
53039         * iconvdata/euc-jisx0213.c : Likewise.
53040         * iconvdata/euc-jp.c: Likewise.
53041         * iconvdata/euc-jp-ms.c : Likewise.
53042         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53043         * iconvdata/gb18030.c : Likewise.
53044         * iconvdata/gbbig5.c (const): Likewise.
53045         * iconvdata/gbgbk.c: Likewise.
53046         * iconvdata/gbk.c : Likewise.
53047         * iconvdata/ibm1364.c : Likewise.
53048         * iconvdata/ibm930.c : Likewise.
53049         * iconvdata/ibm932.c: Likewise.
53050         * iconvdata/ibm933.c : Likewise.
53051         * iconvdata/ibm935.c : Likewise.
53052         * iconvdata/ibm937.c : Likewise.
53053         * iconvdata/ibm939.c : Likewise.
53054         * iconvdata/ibm943.c: Likewise.
53055         * iconvdata/iso_11548-1.c: Likewise.
53056         * iconvdata/iso-2022-cn.c : Likewise.
53057         * iconvdata/iso-2022-cn-ext.c : Likewise.
53058         * iconvdata/iso-2022-jp-3.c: Likewise.
53059         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
53060         * iconvdata/iso-2022-kr.c : Likewise.
53061         * iconvdata/iso646.c (gconv_end): Likewise.
53062         * iconvdata/iso_6937-2.c : Likewise.
53063         * iconvdata/iso_6937.c : Likewise.
53064         * iconvdata/iso8859-1.c: Likewise.
53065         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
53066         * iconvdata/shift_jisx0213.c : Likewise.
53067         * iconvdata/sjis.c : Likewise.
53068         * iconvdata/t.61.c : Likewise.
53069         * iconvdata/tcvn5712-1.c : Likewise.
53070         * iconvdata/tscii.c: Likewise.
53071         * iconvdata/uhc.c : Likewise.
53072         * iconvdata/unicode.c (gconv_end): Likewise.
53073         * iconvdata/utf-16.c (gconv_end): Likewise.
53074         * iconvdata/utf-32.c (gconv_end): Likewise.
53075         * iconvdata/utf-7.c (base64): Likewise.
53076         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
53077         * iconv/gconv_close.c (__gconv_close): Likewise.
53078         * iconv/gconv_open.c (__gconv_open): Likewise.
53079         * iconv/gconv_simple.c (internal_ucs4_loop_single)
53080         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
53081         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
53082         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
53083         (ucs4le_internal_loop_single): Likewise.
53084         * iconv/iconv.c (iconv): Likewise.
53085         * iconv/iconv_close.c: Likewise.
53086         * iconv/loop.c (SINGLE): Likewise.
53087         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
53088         * include/atomic.h: Likewise.
53089         * inet/inet6_option.c (option_alloc): Likewise.
53090         * intl/bindtextdom.c (set_binding_values): Likewise.
53091         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
53092         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
53093         * intl/localealias.c (read_alias_file): Likewise.
53094         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
53095         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
53096         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
53097         * libio/fmemopen.c (fmemopen): Likewise.
53098         * libio/iofgets.c (_IO_fgets): Likewise.
53099         * libio/iofgets_u.c (fgets_unlocked): Likewise.
53100         * libio/iofgetws.c (fgetws): Likewise.
53101         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
53102         * libio/iogetdelim.c (_IO_getdelim): Likewise.
53103         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
53104         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
53105         * locale/findlocale.c (_nl_find_locale): Likewise.
53106         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
53107         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
53108         Likewise.
53109         * locale/setlocale.c (setlocale): Likewise.
53110         * login/programs/pt_chown.c (main): Likewise.
53111         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
53112         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
53113         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
53114         (mmap, mmap64, mremap, munmap): Likewise.
53115         * math/e_exp2l.c: Likewise.
53116         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
53117         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
53118         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
53119         * math/s_catan.c (__catan): Likewise.
53120         * math/s_catanf.c (__catanf): Likewise.
53121         * math/s_catanh.c (__catanh): Likewise.
53122         * math/s_catanhf.c (__catanhf): Likewise.
53123         * math/s_catanhl.c (__catanhl): Likewise.
53124         * math/s_catanl.c (__catanl): Likewise.
53125         * math/s_ccosh.c (__ccosh): Likewise.
53126         * math/s_ccoshf.c (__ccoshf): Likewise.
53127         * math/s_ccoshl.c (__ccoshl): Likewise.
53128         * math/s_cexp.c (__cexp): Likewise.
53129         * math/s_cexpf.c (__cexpf): Likewise.
53130         * math/s_cexpl.c (__cexpl): Likewise.
53131         * math/s_clog10.c (__clog10): Likewise.
53132         * math/s_clog10f.c (__clog10f): Likewise.
53133         * math/s_clog10l.c (__clog10l): Likewise.
53134         * math/s_clog.c (__clog): Likewise.
53135         * math/s_clogf.c (__clogf): Likewise.
53136         * math/s_clogl.c (__clogl): Likewise.
53137         * math/s_csin.c (__csin): Likewise.
53138         * math/s_csinf.c (__csinf): Likewise.
53139         * math/s_csinh.c (__csinh): Likewise.
53140         * math/s_csinhf.c (__csinhf): Likewise.
53141         * math/s_csinhl.c (__csinhl): Likewise.
53142         * math/s_csinl.c (__csinl): Likewise.
53143         * math/s_csqrt.c (__csqrt): Likewise.
53144         * math/s_csqrtf.c (__csqrtf): Likewise.
53145         * math/s_csqrtl.c (__csqrtl): Likewise.
53146         * math/s_ctan.c (__ctan): Likewise.
53147         * math/s_ctanf.c (__ctanf): Likewise.
53148         * math/s_ctanh.c (__ctanh): Likewise.
53149         * math/s_ctanhf.c (__ctanhf): Likewise.
53150         * math/s_ctanhl.c (__ctanhl): Likewise.
53151         * math/s_ctanl.c (__ctanl): Likewise.
53152         * math/w_pow.c: Likewise.
53153         * math/w_powf.c: Likewise.
53154         * math/w_powl.c: Likewise.
53155         * math/w_scalb.c (sysv_scalb): Likewise.
53156         * math/w_scalbf.c (sysv_scalbf): Likewise.
53157         * math/w_scalbl.c (sysv_scalbl): Likewise.
53158         * misc/error.c (error_tail): Likewise.
53159         * misc/pselect.c (__pselect): Likewise.
53160         * nis/nis_callback.c (__nis_create_callback): Likewise.
53161         * nis/nis_call.c (__nisfind_server): Likewise.
53162         * nis/nis_creategroup.c (nis_creategroup): Likewise.
53163         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
53164         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
53165         * nis/nis_getservlist.c (nis_getservlist): Likewise.
53166         * nis/nis_lookup.c (nis_lookup): Likewise.
53167         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
53168         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
53169         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
53170         * nis/nis_xdr.c (xdr_endpoint): Likewise.
53171         * nis/nss_compat/compat-grp.c (getgrent_next_file)
53172         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
53173         * nis/nss_compat/compat-initgroups.c (add_group)
53174         (internal_getgrent_r): Likewise.
53175         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
53176         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
53177         * nis/nss_compat/compat-spwd.c (getspent_next_file)
53178         (internal_getspnam_r): Likewise.
53179         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
53180         (_nss_nis_getaliasbyname_r): Likewise.
53181         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
53182         (_nss_nis_getntohost_r): Likewise.
53183         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
53184         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
53185         (_nss_nis_getgrgid_r): Likewise.
53186         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
53187         (internal_nis_gethostent_r, internal_gethostbyname2_r)
53188         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
53189         (_nss_nis_gethostbyname4_r): Likewise.
53190         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
53191         (initgroups_netid): Likewise.
53192         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
53193         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
53194         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
53195         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
53196         (_nss_nis_getprotobynumber_r): Likewise.
53197         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
53198         (_nss_nis_getsecretkey): Likewise.
53199         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
53200         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
53201         (_nss_nis_getpwuid_r): Likewise.
53202         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
53203         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
53204         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
53205         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
53206         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
53207         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
53208         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
53209         Likewise.
53210         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
53211         (_nss_nisplus_getntohost_r): Likewise.
53212         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
53213         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
53214         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
53215         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
53216         Likewise.
53217         * nis/nss_nisplus/nisplus-initgroups.c
53218         (_nss_nisplus_initgroups_dyn): Likewise.
53219         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
53220         (_nss_nisplus_getnetbyaddr_r): Likewise.
53221         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
53222         (_nss_nisplus_getprotobynumber_r): Likewise.
53223         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
53224         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
53225         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
53226         Likewise.
53227         * nis/nss_nisplus/nisplus-service.c
53228         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
53229         (_nss_nisplus_getservbyport_r): Likewise.
53230         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
53231         (_nss_nisplus_getspnam_r): Likewise.
53232         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
53233         Likewise.
53234         * nscd/aicache.c (addhstaiX): Likewise.
53235         * nscd/cache.c (cache_search, prune_cache): Likewise.
53236         * nscd/connections.c (register_traced_file, send_ro_fd)
53237         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
53238         (main_loop_epoll): Likewise.
53239         * nscd/grpcache.c (addgrbyX): Likewise.
53240         * nscd/hstcache.c (addhstbyX): Likewise.
53241         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53242         * nscd/mem.c (gc, mempool_alloc): Likewise.
53243         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
53244         (addinnetgrX): Likewise.
53245         * nscd/nscd-client.h (__nscd_acquire_maplock)
53246         (__nscd_drop_map_ref): Likewise.
53247         * nscd/nscd_getai.c (__nscd_getai): Likewise.
53248         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
53249         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
53250         Likewise.
53251         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
53252         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53253         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
53254         (__nscd_get_map_ref): Likewise.
53255         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
53256         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
53257         Likewise.
53258         * nscd/pwdcache.c (addpwbyX): Likewise.
53259         * nscd/selinux.c (preserve_capabilities): Likewise.
53260         * nscd/servicescache.c (addservbyX): Likewise.
53261         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
53262         * posix/fnmatch.c (fnmatch): Likewise.
53263         * posix/getopt.c (_getopt_internal_r): Likewise.
53264         * posix/glob.c (glob, glob_in_dir): Likewise.
53265         * posix/wordexp.c (exec_comm_child): Likewise.
53266         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
53267         (getanswer_r, gaih_getanswer_slice): Likewise.
53268         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
53269         * resolv/res_init.c: Likewise.
53270         * resolv/res_mkquery.c (res_nmkquery): Likewise.
53271         * resolv/res_query.c (__libc_res_nquery): Likewise.
53272         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
53273         Likewise.
53274         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
53275         * stdio-common/perror.c (perror): Likewise.
53276         * stdio-common/printf_fp.c (___printf_fp): Likewise.
53277         * stdio-common/tmpnam.c (tmpnam): Likewise.
53278         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53279         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
53280         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
53281         Likewise.
53282         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
53283         * stdlib/putenv.c (putenv): Likewise.
53284         * stdlib/setenv.c (__add_to_environ): Likewise.
53285         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53286         * stdlib/strtol_l.c (INTERNAL): Likewise.
53287         * string/memmem.c (memmem): Likewise.
53288         * string/strerror.c (strerror): Likewise.
53289         * string/strnlen.c (__strnlen): Likewise.
53290         * string/test-memmem.c (simple_memmem): Likewise.
53291         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
53292         * sunrpc/pm_getport.c (__get_socket): Likewise.
53293         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
53294         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
53295         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
53296         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
53297         Likewise.
53298         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
53299         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
53300         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
53301         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
53302         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
53303         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
53304         Likewise.
53305         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
53306         Likewise.
53307         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
53308         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
53309         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53310         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
53311         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
53312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
53313         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53314         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
53315         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
53316         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
53317         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53318         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
53319         Likewise.
53320         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
53321         Likewise.
53322         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
53323         Likewise.
53324         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
53325         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53326         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
53327         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
53328         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
53329         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
53330         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53331         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
53332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
53333         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
53334         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
53335         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53336         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53337         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
53338         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53339         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
53340         Likewise.
53341         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
53342         Likewise.
53343         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
53344         Likewise.
53345         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
53346         Likewise.
53347         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53349         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
53350         Likewise.
53351         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
53352         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
53353         * sysdeps/posix/opendir.c (__opendirat): Likewise.
53354         * sysdeps/posix/sleep.c: Likewise.
53355         * sysdeps/posix/tempname.c: Likewise.
53356         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
53357         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53358         Likewise.
53359         * sysdeps/powerpc/powerpc32/dl-machine.h
53360         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
53361         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53362         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53363         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
53364         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
53365         Likewise.
53366         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
53367         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
53368         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53369         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
53370         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53371         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
53372         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
53373         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
53374         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53375         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
53376         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
53377         (elf_machine_lazy_rel): Likewise.
53378         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53379         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
53380         (elf_machine_lazy_rel): Likewise.
53381         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
53382         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
53383         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
53384         * sysdeps/unix/grantpt.c (grantpt): Likewise.
53385         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
53386         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
53387         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
53388         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53389         Likewise.
53390         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
53391         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
53392         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
53393         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
53394         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53395         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53396         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
53397         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
53398         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
53399         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53400         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53401         Likewise.
53402         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
53403         (__posix_fallocate64_l64): Likewise.
53404         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
53405         (posix_fallocate): Likewise.
53406         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
53407         Likewise.
53408         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53409         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
53410         (getifaddrs_internal): Likewise.
53411         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
53412         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
53413         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
53414         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
53415         * sysdeps/unix/sysv/linux/posix_fallocate64.c
53416         (__posix_fallocate64_l64): Likewise.
53417         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
53418         Likewise.
53419         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
53420         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
53421         (__get_clockfreq): Likewise.
53422         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
53423         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
53424         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
53425         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53427         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
53428         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
53429         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
53430         Likewise.
53431         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
53432         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
53433         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
53434         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
53435         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53436         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
53437         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
53438         Likewise.
53439         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53440         (posix_fallocate): Likewise.
53441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53442         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
53443         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
53444         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
53445         (elf_machine_rela, elf_machine_rela_relative)
53446         (elf_machine_lazy_rel): Likewise.
53447         * time/asctime.c (asctime_internal): Likewise.
53448         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
53449         * time/tzset.c (__tzset_parse_tz): Likewise.
53450         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
53451         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
53452         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
53453         * wcsmbs/wcsmbsload.h: Likewise.
53455         [BZ #15894]
53456         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
53458         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
53459         (arena_get2): Remove THREAD_STATS conditionals.
53460         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
53461         (__malloc_stats, int): Likewise.
53463 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
53465         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
53466         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
53468         * manual/setjmp.texi: Fix typos/grammar errors.
53470         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
53471         Only return early when n is <= 0.  Delete unused return statement.
53473         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
53474         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
53475         * debug/tst-longjmp_chk3.c: New file.
53477         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
53478         (test_main): Replace code with set_fortify_handler call.
53479         * debug/test-strcpy_chk.c: Likewise.
53480         * debug/tst-chk1.c: Likewise.
53481         * debug/tst-longjmp_chk.c: Likewise.
53482         * test-skeleton.c: Include fcntl.h & paths.h
53483         (set_fortify_handler): Define.
53485         * debug/tst-longjmp_chk.c: Add header comment and include
53486         ../test-skeleton.c.
53487         (do_test): Mark static.
53488         (TEST_FUNCTION): Define.
53490         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
53491         (IP_PMTUDISC_INTERFACE): Likewise.
53492         (IP_MULTICAST_IF): Likewise.
53493         (IP_MULTICAST_TTL): Likewise.
53494         (IP_MULTICAST_LOOP): Likewise.
53495         (IP_ADD_MEMBERSHIP): Likewise.
53496         (IP_DROP_MEMBERSHIP): Likewise.
53497         (IP_UNBLOCK_SOURCE): Likewise.
53498         (IP_BLOCK_SOURCE): Likewise.
53499         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
53500         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
53501         (IP_MSFILTER): Likewise.
53502         (MCAST_JOIN_GROUP): Likewise.
53503         (MCAST_BLOCK_SOURCE): Likewise.
53504         (MCAST_UNBLOCK_SOURCE): Likewise.
53505         (MCAST_LEAVE_GROUP): Likewise.
53506         (MCAST_JOIN_SOURCE_GROUP): Likewise.
53507         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
53508         (MCAST_MSFILTER): Likewise.
53509         (IP_MULTICAST_ALL): Likewise.
53510         (IP_UNICAST_IF): Likewise.
53512         * timezone/Makefile: Delete $(have-ksh) check.
53513         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
53514         * timezone/tzselect.ksh: Add +x mode bits.
53516         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
53517         (ANON_INODE_FS_MAGIC): Likewise.
53518         (BDEVFS_MAGIC): Likewise.
53519         (BINFMTFS_MAGIC): Likewise.
53520         (BTRFS_TEST_MAGIC): Likewise.
53521         (CRAMFS_MAGIC_WEND): Likewise.
53522         (DEBUGFS_MAGIC): Likewise.
53523         (ECRYPTFS_SUPER_MAGIC): Likewise.
53524         (EXT3_SUPER_MAGIC): Likewise.
53525         (EXT4_SUPER_MAGIC): Likewise.
53526         (FUTEXFS_SUPER_MAGIC): Likewise.
53527         (HOSTFS_SUPER_MAGIC): Likewise.
53528         (HUGETLBFS_MAGIC): Likewise.
53529         (MINIX3_SUPER_MAGIC): Likewise.
53530         (MTD_INODE_FS_MAGIC): Likewise.
53531         (NILFS_SUPER_MAGIC): Likewise.
53532         (OPENPROM_SUPER_MAGIC): Likewise.
53533         (PIPEFS_MAGIC): Likewise.
53534         (PSTOREFS_MAGIC): Likewise.
53535         (QNX6_SUPER_MAGIC): Likewise.
53536         (RAMFS_MAGIC): Likewise.
53537         (REISERFS_SUPER_MAGIC_STRING): Likewise.
53538         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
53539         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
53540         (SECURITYFS_MAGIC): Likewise.
53541         (SELINUX_MAGIC): Likewise.
53542         (SMACK_MAGIC): Likewise.
53543         (SOCKFS_MAGIC): Likewise.
53544         (SQUASHFS_MAGIC): Likewise.
53545         (STACK_END_MAGIC): Likewise.
53546         (TMPFS_MAGIC): Likewise.
53547         (USBDEVICE_SUPER_MAGIC): Likewise.
53548         (V9FS_MAGIC): Likewise.
53549         (XENFS_SUPER_MAGIC): Likewise.
53550         (CRAMFS_MAGIC): Fix typo in comment.
53551         (EXT2_SUPER_MAGIC): Update comment.
53552         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
53554 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
53556         * sysdeps/arm: Move directory from ports/sysdeps/arm.
53557         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
53558         * sysdeps/unix/sysv/linux/arm: Move directory from
53559         ports/sysdeps/unix/sysv/linux/arm.
53560         * README: Update listing for arm-*-linux-gnueabi.
53562         * README: Remove mention of am33.
53564 2014-02-07  Roland McGrath  <roland@hack.frob.com>
53566         * bits/sigset.h (__sigemptyset): Use a statement expression rather
53567         than the comma operator, to avoid "rhs of comma has no effect"
53568         compiler warnings.
53569         (__sigfillset, __sigandset, __sigorset): Likewise.
53570         * include/signal.h (__sigemptyset): Likewise.
53571         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
53573 2014-02-07  Allan McRae  <allan@archlinux.org>
53575         * version.h (RELEASE): Set to "development".
53576         (VERSION): Set to "2.19.90"
53577         * NEWS: Add 2.20 section.
53579 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
53581         [BZ #16529]
53582         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
53584 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53586         * manual/contrib.texi: Update entry for Carlos O'Donell,
53587         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
53589 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
53591         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
53593         * sysdeps/unix/sysv/linux/kernel-features.h
53594         [__LINUX_KERNEL_VERSION >= 0x020621]
53595         (__ASSUME_PROC_PID_TASK_COMM): Define.
53597 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53599         [BZ #16398]
53600         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
53601         conversion when destination buffer does not have enough space.
53602         * libio/tst-ftell-partial-wide.c: New test case.
53603         * libio/Makefile (tests): Add tst-ftell-partial-wide.
53605         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
53606         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
53607         Leonard and Allan McRae.
53609 2014-02-04  David S. Miller  <davem@davemloft.net>
53611         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
53612         32-bit.
53614 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
53617         New file
53618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
53619         New file
53620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
53621         New file.
53622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
53623         New file.
53624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
53625         New file.
53626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
53627         New file.
53628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
53629         New file.
53630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
53631         New file.
53632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
53633         New file.
53634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
53635         New file.
53636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
53637         New file.
53638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
53639         New file.
53640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
53641         New file.
53643 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53645         * nptl/shlib-versions: Change powerpc*le start to 2.17.
53646         * shlib-versions: Likewise.
53648 2014-02-04  Roland McGrath  <roland@hack.frob.com>
53649             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53651         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
53652         (abilist-pattern): New variable, set to %-le.abilist.
53654         * Makerules (abilist-pattern): New variable.
53655         (vpath): Use $(abilist-pattern) in place of %.abilist.
53656         (check-abi-% pattern rule): Likewise.
53657         (check-abi, update-abi): Likewise.
53659 2014-02-04  Eric Wong  <normalperson@yhbt.net>
53661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53663 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
53665         * manual/startup.texi: Add next, previous, and top entries for
53666         the `Program Arguments' and `Environment Variables' nodes.
53668 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
53670         * manual/macros.texi: Add comments before MTASC-safety macros.
53672         * manual/users.texi: Document MTASC-safety properties.
53674         * manual/threads.texi (pthread_key_create, pthread_key_delete)
53675         (pthread_getspecific, pthread_setspecific): Format with
53676         @deftypefun, and add @safety note.
53677         * manual/signal.texi: Move comments that analyze the above
53678         functions to their home place.
53680 2014-02-03  Allan McRae  <allan@archlinux.org>
53682         * po/sl.po: Update Slovenian translation from translation project.
53684 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
53686         * manual/time.texi (timegm): Add missing blank after @c.
53687         Reported by Joseph Myers <joseph@codesourcery.com>.
53689 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
53691         * manual/check-safety.sh: New.
53692         * manual/Makefile ($(objpfx)stamp-summary): Run it.
53694         * manual/terminal.texi: Document MTASC-safety properties.
53696         * manual/filesys.texi: Document MTASC-safety properties.
53698         * manual/errno.texi: Document MTASC-safety properties.
53700         * manual/intro.texi: Document safety identifiers and
53701         conditionals.
53703         * manual/string.texi (wcstok): Fix prototype.
53704         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
53706         * manual/time.texi: Document MTASC-safety properties.
53708         * manual/string.texi: Document MTASC-safety properties.
53710         * manual/threads.texi: Document MTASC-safety properties.
53712         * manual/stdio.texi: Document MTASC-safety properties.
53714         * manual/syslog.texi: Document MTASC-safety properties.
53716         * manual/sysinfo.texi: Document MTASC-safety properties.
53718         * manual/startup.texi: Document MTASC-safety properties.
53720         * manual/socket.texi: Document MTASC-safety properties.
53722         * manual/signal.texi: Document MTASC-safety properties.
53724 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
53726         * manual/setjmp.texi: Document MTASC-safety properties.
53728         * manual/search.texi: Document MTASC-safety properties.
53730         * manual/resource.texi: Document MTASC-safety properties.
53732         * manual/process.texi: Document MTASC-safety properties.
53734         * manual/platform.texi: Document MTASC-safety properties.
53736         * manual/pipe.texi: Document MTASC-safety properties.
53738         * manual/pattern.texi: Document MTASC-safety properties.
53740         * manual/message.texi: Document MTASC-safety properties.
53742         [BZ #12751]
53743         * manual/memory.texi: Document MTASC-safety properties.
53745         * manual/math.texi: Document MTASC-safety properties.
53747         * manual/locale.texi: Document MTASC-safety properties.
53749         * manual/llio.texi: Document MTASC-safety properties.
53751         * manual/libdl.texi: New.
53753         * manual/lang.texi: Document MTASC-safety properties.
53755         * manual/job.texi: Document MTASC-safety properties.
53757         * manual/getopt.texi: Document MTASC-safety properties.
53759         * manual/ctype.texi: Document MTASC-safety properties.
53761 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
53763         [BZ #16046]
53764         * csu/libc-tls.c (static_map): Remove variable.
53765         (__libc_setup_tls): Use main executable's link map for TLS data.
53766         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
53767         casing for LM_ID_BASE and GL(dl_nns).
53768         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
53769         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
53770         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
53771         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
53772         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
53773         member.
53774         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
53775         l_phnum members.
53777 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
53779         * manual/debug.texi: Document MTASC-safety properties.
53781 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
53783         [BZ #16510]
53784         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
53785         of __x86_64__ when disabling x87 inline functions.
53787 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
53789         * manual/charset.texi: Document MTASC-safety properties.
53791         * manual/crypt.texi: Document MTASC-safety properties.
53793         * manual/conf.texi: Document MTASC-safety properties.
53795         * manual/arith.texi: Document MTASC-safety properties.
53797         * manual/argp.texi: Document MTASC-safety properties.
53799         * manual/macros.texi: Introduce macros to document multi
53800         thread, asynchronous signal and asynchronous cancellation
53801         safety properties.
53802         * manual/intro.texi: Introduce the properties themselves.
53804 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53806         * sysdeps/sh/sh4/Makefile: New file.
53808 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
53810         * math/gen-libm-test.pl ($srcdir): New variable.
53811         ($auto_input): Use it.
53813 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53815         [BZ #16506]
53816         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
53817         access beyond array bounds when parsing netgroups file.
53819         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
53820         the old buffer before realloc.
53822 2014-01-27  Allan McRae  <allan@archlinux.org>
53824         * po/fr.po: Update French translation from translation project.
53826 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53828         * sysdeps/sh/libm-test-ulps: Regenerate.
53830 2014-01-24  David S. Miller  <davem@davemloft.net>
53832         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
53834 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53836         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
53837         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
53839 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53841         [BZ #16474]
53842         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
53843         string pointers after reallocation.
53845 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53847         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
53848         __SH4A__ instead of __SH_FPU_ANY__.
53850 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53852         * sysdeps/sh/fpu_control.h: New file.
53853         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
53854         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
53855         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
53856         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
53857         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
53858         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
53859         * sysdeps/sh/sys/ucontext.h: Remove.
53860         * sysdeps/sh/sys: Remove directory.
53862 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53864         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
53865         s390/sys/ucontext.h.
53866         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
53867         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
53869 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
53871         [BZ #15605]
53872         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
53874 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53876         [BZ #16431]
53877         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53878         Adjust the vDSO correctly for internal calls.
53879         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
53881 2014-01-20  Allan McRae  <allan@archlinux.org>
53883         * po/ca.po: Update Catalan translation from translation project.
53885 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
53887         * sysdeps/s390/sotruss-lib.c: New file.
53889 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53891         [BZ #16430]
53892         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
53893         (__GI___gettimeofday): Alias for a different internal symbol to avoid
53894         local calls issues by not having a PLT stub required for IFUNC calls.
53895         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
53897 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
53899         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
53900         * math/test-fpucw-static.c: Likewise.
53902 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53904         [BZ #16453]
53905         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
53907 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53909         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
53910         implementation for powerpc.
53912 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
53914         [BZ #14782]
53915         * sysdeps/posix/system.c (__libc_system): Do not enable
53916         asynchronous cancellation.
53918 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53920         [BZ #16427]
53921         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
53922         handling only for numbers special also in the IEEE case.
53924 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53926         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53928 2014-01-11  Allan McRae  <allan@archlinux.org>
53930         * po/bg.po: Update Bulgarian translation from translation project.
53932         * po/de.po: Update German translation from translation project.
53934 2014-01-10  Roland McGrath  <roland@hack.frob.com>
53936         * sysdeps/generic/gcc-compat.h: New file.
53938 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53940         * benchtests/asin-inputs: Correct slow inputs.
53941         * benchtests/acos-inputs: Likewise.
53943 2014-01-10  Allan McRae  <allan@archlinux.org>
53945         * po:sv.po: Update Swedish translation from translation project.
53947         * po/vi.po: Update Vietnamese translation from translation project.
53949         * po/eo.po: Update Esperanto translation from translation project.
53951         * po/cs.po: Update Czech translation from translation project.
53953         * po/nl.po: Update Dutch translation from translation project.
53955         * po/pl.po: Update Polish translation from translation project.
53957         * po/ru.po: Update Russian translation from translation project.
53959         * po/uk.po: Update Ukrainian translation from translation project.
53961 2014-01-08  Brooks Moses  <bmoses@google.com>
53963         * elf/dl-load.c: Fix comment typo.
53965 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
53967         * po/header.pot: Rename to...
53968         * po/pot.header: ... this.
53969         * po/Makefile: Use pot.header.
53971 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
53972             Maxim Kuvyrkov  <maxim@kugelworks.com>
53974         [BZ #16394]
53975         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
53976         SRC and DEST against LEN.
53978 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53980         [BZ #16414]
53981         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
53982         implementation.
53983         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
53985 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53989 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
53991         [BZ #16408]
53992         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
53993         for large positive arguments.
53995 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
53997         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
53999         * math/auto-libm-test-in: Mark various tests with
54000         xfail-rounding:ldbl-128ibm.
54001         * math/auto-libm-test-out: Regenerated.
54003         [BZ #16407]
54004         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
54005         Increase overflow threshold.
54007 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
54009         [BZ #14286]
54010         * stdio-common/vfprintf.c: Check for integer overflow.
54012 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54014         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54015         the first argument and return value of __tls_get_addr_internal.
54017 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54019         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54020         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54022 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54024         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54025         * sysdeps/s390/rtld-global-offsets.sym: New file.
54026         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54027         GLIBC_2.19 symbol.
54028         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54029         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54030         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54031         ... this.
54032         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54033         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54034         ... this.
54035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54036         Regenerate.
54037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54038         Regenerate.
54039         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54040         halfs of GPRs for high_gprs contexts.
54041         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54042         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
54043         field.
54044         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54045         uc_flags field.
54046         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54047         64 bit versions:
54048         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
54049         for high GPRs (uc_high_gprs) and for future extensions
54050         (__reserved).
54051         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
54052         for future extensions (__reserved).
54053         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54054         64 bit versions:
54055         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
54056         SC_HIGHGPRS offset definition.
54057         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
54058         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
54060         * Versions.def: Add GLIBC_2.19 for libpthread.
54061         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
54062         siglongjmp for libpthread with GLIBC_2.19 symver.
54063         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
54064         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
54065         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
54066         * sysdeps/s390/__longjmp.c: New file.
54067         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
54068         * sysdeps/s390/longjmp.c: New file.
54069         * sysdeps/s390/setjmp.S: New file.
54070         * sysdeps/s390/sigjmp.S: New file.
54071         * sysdeps/s390/v1-longjmp.c: New file.
54072         * sysdeps/s390/v1-setjmp.h: New file.
54073         * sysdeps/s390/v1-sigjmp.c: New file.
54074         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
54075         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
54076         GLIBC_2.19 version.
54077         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
54078         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
54079         versioned symbols for ____longjmp_chk.
54080         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
54081         Likewise.
54082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54083         Regenerate.
54084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54085         Regenerate.
54086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54087         Regenerate.
54088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54089         Regenerate.
54090         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
54091         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
54092         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
54093         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
54094         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
54095         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
54096         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
54097         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
54098         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
54099         * sysdeps/s390/rtld-__longjmp.c: New file.
54100         * sysdeps/s390/rtld-setjmp.S: New file.
54102 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
54104         [BZ #16400]
54105         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54106         Return -__logl (x) for small positive arguments without evaluating
54107         a polynomial.
54109 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
54111         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
54112         Rename to ...
54113         (__ptrace_peeksiginfo_args): ... this.
54114         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54115         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54116         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54118 2014-01-06  Allan McRae  <allan@archlinux.org>
54120         * inet/netinet/in.h: Fix typo in comment.
54122 2014-01-05  Andreas Jaeger  <aj@suse.de>
54124         * sysdeps/i386/fpu/libm-test-ulps: Update.
54126 2014-01-05  Allan McRae  <allan@archlinux.org>
54128         * po/libc.pot: Regenerated.
54130         * malloc/memusagestat.c: Fix gettext call formatting.
54132 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
54134         * nscd/nscd.c: Improve usage() output.
54136 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
54138         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
54139         * sysdeps/unix/sysv/linux/configure: Regenerated.
54140         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
54141         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
54143 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54145         [BZ #16390]
54146         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54147         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
54149 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54151         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
54152         extra tokens at end of #undef directive.
54153         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
54154         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
54155         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
54157 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54159         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54161         * math/auto-libm-test-in: Mark various tests with
54162         xfail-rounding:ldbl-128ibm.
54163         * math/auto-libm-test-out: Regenerated.
54165 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
54167         [BZ #16386]
54168         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
54169         numbers with subnormal high part when calculating exponent.
54171         [BZ #16385]
54172         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
54173         fabs.
54175         [BZ #16384]
54176         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
54177         M_LN2l.
54178         (__ieee754_acoshl): Use __log1pl not __log1p.
54180 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
54182         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
54183         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
54184         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
54185         (grow_heap, heap_trim, _int_new_arena, get_free_list)
54186         (reused_arena, arena_get2): Convert to GNU style.
54187         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
54188         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
54189         (memalign_check, __malloc_set_state): Likewise.
54190         * malloc/mallocbug.c (main): Likewise.
54191         * malloc/malloc.c (__malloc_assert, malloc_init_state)
54192         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
54193         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
54194         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
54195         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
54196         (__posix_memalign, malloc_info): Likewise.
54197         * malloc/malloc.h: Likewise.
54198         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
54199         (mallochook, memalignhook, reallochook, mabort): Likewise.
54200         * malloc/mcheck.h: Likewise.
54201         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
54202         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
54203         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
54204         * malloc/morecore.c (__default_morecore): Likewise.
54205         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
54206         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
54207         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
54208         (print_and_abort): Likewise.
54209         * malloc/obstack.h: Likewise.
54210         * malloc/set-freeres.c (__libc_freeres): Likewise.
54211         * malloc/tst-mallocstate.c (main): Likewise.
54212         * malloc/tst-mtrace.c (main): Likewise.
54213         * malloc/tst-realloc.c (do_test): Likewise.
54215 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54217         [BZ #16366]
54218         * nscd/netgroupcache.c (do_notfound): New function.
54219         (addgetnetgrentX): Use it.
54221         [BZ # 16365]
54222         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
54223         NSS_STATUS_NOTFOUND.
54225 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
54227         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54230 2014-01-01  Allan McRae  <allan@archlinux.org>
54232         * scripts/update-copyrights: Update configure input file suffix.
54234         * NEWS: Update copyright year.
54235         * catgets/gencat.c: Likewise.
54236         * csu/version.c: Likewise.
54237         * debug/catchsegv.sh: Likewise.
54238         * debug/pcprofiledump.c: Likewise.
54239         * debug/xtrace.sh: Likewise.
54240         * elf/ldconfig.c: Likewise.
54241         * elf/ldd.bash.in: Likewise.
54242         * elf/pldd.c: Likewise.
54243         * elf/sotruss.ksh: Likewise.
54244         * elf/sprof.c: Likewise.
54245         * iconv/iconv_prog.c: Likewise.
54246         * iconv/iconvconfig.c: Likewise.
54247         * locale/programs/locale.c: Likewise.
54248         * locale/programs/localedef.c: Likewise.
54249         * login/programs/pt_chown.c: Likewise.
54250         * malloc/memusage.sh: Likewise.
54251         * malloc/memusagestat.c: Likewise.
54252         * malloc/mtrace.pl: Likewise.
54253         * manual/libc.texinfo: Likewise.
54254         * nscd/nscd.c: Likewise.
54255         * nss/getent.c: Likewise.
54256         * nss/makedb.c: Likewise.
54257         * posix/getconf.c: Likewise.
54258         * scripts/test-installation.pl: Likewise.
54260         * All files with FSF copyright notices: Update copyright dates
54261         using scripts/update-copyrights.
54262         * intl/plural.c: Regenerated.
54263         * locale/programs/charmap-kw.h: Likewise.
54264         * locale/programs/locfile-kw.h: Likewise.
54266 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
54268         * sysdeps/unix/sysv/linux/configure: Regenerated.
54269         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
54270         the linux/fanotify.h header.
54271         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
54272         HAVE_LINUX_FANOTIFY_H is defined.
54274 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54276         * benchtests/cos-inputs: New inputs.
54277         * benchtests/sin-inputs: Likewise.
54279         * benchtests/atan-inputs: New inputs. Fix name of multiple
54280         precision fallback inputs.
54282         * benchtests/atanh-inputs: New inputs.
54283         * benchtests/tanh-inputs: Likewise.
54285         * benchtests/acosh-inputs: New inputs.
54286         * benchtests/asinh-inputs: Likewise.
54288         * benchtests/cosh-inputs: New inputs.
54289         * benchtests/sinh-inputs: Likewise.
54291         * benchtests/acos-inputs: Add more inputs.
54292         * benchtests/asin-inputs: Likewise.
54294 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
54296         [BZ #16375]
54297         * manual/arith.texi: Fix spelling.
54298         * manual/charset.texi: Likewise.
54299         * manual/errno.texi: Likewise.
54300         * manual/filesys.texi: Likewise.
54301         * manual/lang.texi: Likewise.
54302         * manual/llio.texi: Likewise.
54303         * manual/locale.texi: Likewise.
54304         * manual/message.texi: Likewise.
54305         * manual/resource.texi: Likewise.
54306         * manual/search.texi: Likewise.
54307         * manual/setjmp.texi: Likewise.
54308         * manual/stdio.texi: Likewise.
54309         * manual/string.texi: Likewise.
54310         * manual/sysinfo.texi: Likewise.
54311         * manual/time.texi: Likewise.
54313 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
54315         * po/sl.po: New file.
54317 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
54319         * .gitignore: Add core/.gdbinit/.gdb_history.
54321 2013-12-27  Allan McRae  <allan@archlinux.org>
54323         [BZ #16369]
54324         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
54325         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
54327 2013-12-24  Brooks Moses  <bmoses@google.com>
54329         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
54330         all compilers that claim C++98 compliance, not just GCC.
54331         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
54332         Likewise.
54334 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54336         * NEWS: Restore accidentally deleted bug-fix entries.
54338 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54339             Ondřej Bílka  <neleai@seznam.cz>
54341         [BZ #15073]
54342         * malloc/malloc.c (_int_free): Perform sanity check only if we
54343         have_lock.
54345 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
54347         [BZ #12986]
54348         * manual/stdio.texi (String Input Conversions): Clarify that character
54349         classes are not supported.
54351 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54355 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
54357         [BZ #16337]
54358         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54359         Calculate results for small negative arguments directly rather
54360         than using reflection formula with special underflow handling.
54362         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
54363         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
54364         sysdeps/unix/bsd/bsd4.4/syscalls.list.
54365         (fchflags): Likewise.
54366         (revoke): Likewise.
54367         (setlogin): Likewise.
54368         (sigaltstack): Likewise.
54369         (wait4): Likewise.
54370         (sigblock): Remove.
54371         (sigsetmask): Likewise.
54372         (wait3): Likewise.
54373         (waitpid): Likewise.
54374         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
54375         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
54376         file.
54377         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
54378         * sysdeps/unix/bsd/Makefile: ... here.
54379         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
54380         * sysdeps/unix/bsd/Versions: ... here.
54381         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
54382         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
54383         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
54384         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
54385         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
54386         * sysdeps/unix/bsd/sigblock.c: ... here.
54387         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
54388         * sysdeps/unix/bsd/sigsetmask.c: ... here.
54389         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
54390         * sysdeps/unix/bsd/sigvec.c: ... here.
54391         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
54392         * sysdeps/unix/bsd/tcdrain.c: ... here.
54393         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
54394         * sysdeps/unix/bsd/tcgetattr.c: ... here.
54395         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
54396         * sysdeps/unix/bsd/tcsetattr.c: ... here.
54397         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
54398         * sysdeps/unix/bsd/wait.c: ... here.
54399         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
54400         * sysdeps/unix/bsd/wait3.c: ... here.
54401         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
54402         * sysdeps/unix/bsd/waitpid.c: ... here.
54404 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
54406         [BZ #16356]
54407         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
54408         round-to-nearest for [!USE_AS_EXPM1L].
54409         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
54410         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
54411         more tests of exp and exp10.  Expect some exp10 tests to miss
54412         exceptions or fail in directed rounding modes.
54413         * math/auto-libm-test-out: Regenerated.
54414         * math/libm-test.inc (exp10_tonearest_test_data): New array.
54415         (exp10_test_tonearest): New function.
54416         (exp10_towardzero_test_data): New array.
54417         (exp10_test_towardzero): New function.
54418         (exp10_downward_test_data): New array.
54419         (exp10_test_downward): New function.
54420         (exp10_upward_test_data): New array.
54421         (exp10_test_upward): New function.
54422         (main): Call the new functions.
54423         * sysdeps/i386/fpu/libm-test-ulps: Update.
54424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54426 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
54428         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
54429         asinh, atan, atan2, atanh, cbrt, cos and cosh.
54430         * math/auto-libm-test-out: Regenerated.
54431         * math/libm-test.inc (acosh_test_data): Add more tests.
54432         (atanh_test_data): Likewise.
54433         (ceil_test_data): Likewise.
54434         (copysign_test_data): Likewise.
54435         * sysdeps/i386/fpu/libm-test-ulps: Update.
54436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54438         * timezone/checktab.awk: Update from tzcode 2013i.
54439         * timezone/private.h: Likewise.
54440         * timezone/scheck.c: Likewise.
54441         * timezone/tzfile.h: Likewise.
54442         * timezone/tzselect.ksh: Likewise.
54443         * timezone/zdump.c: Likewise.
54444         * timezone/zic.c: Likewise.
54446         * math/auto-libm-test-in: Add tests of cpow.
54447         * math/auto-libm-test-out: Regenerated.
54448         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
54449         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54450         mpc_cc_c.
54451         (func_calc_desc): Add mpc_cc_c union field.
54452         (test_functions): Add cpow.
54453         (special_fill_2pi): New function.
54454         (special_real_inputs): Add 2pi.
54455         (calc_generic_results): Handle mpc_cc_c.
54456         * sysdeps/i386/fpu/libm-test-ulps: Update.
54457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54459         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
54460         csqrt, ctan and ctanh.
54461         * math/auto-libm-test-out: Regenerated.
54462         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54463         (TEST_COND_x86): Likewise.
54464         (ccos_test_data): Use AUTO_TESTS_c_c.
54465         (ccosh_test_data): Likewise.
54466         (cexp_test_data): Likewise.
54467         (clog_test_data): Likewise.
54468         (csqrt_test_data): Likewise.
54469         (ctan_test_data): Likewise.
54470         (ctan_tonearest_test_data): Likewise.
54471         (ctan_towardzero_test_data): Likewise.
54472         (ctan_downward_test_data): Likewise.
54473         (ctan_upward_test_data): Likewise.
54474         (ctanh_test_data): Likewise.
54475         (ctanh_tonearest_test_data): Likewise.
54476         (ctanh_towardzero_test_data): Likewise.
54477         (ctanh_downward_test_data): Likewise.
54478         (ctanh_upward_test_data): Likewise.
54479         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54480         mpc_c_c.
54481         (func_calc_desc): Add mpc_c_c union field.
54482         (FUNC_mpc_c_c): New macro.
54483         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
54484         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
54485         ctanh.
54486         (special_fill_min_subnorm_p120): New function.
54487         (special_real_inputs): Add min_subnorm_p120.
54488         (calc_generic_results): Handle mpc_c_c.
54489         * sysdeps/i386/fpu/libm-test-ulps: Update.
54490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54492 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54494         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
54495         (do_sin_slow): New functions.
54496         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
54497         (cslow2, csloww1, csloww2): Use the new functions.
54499         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
54500         Use M to change sign of result instead of X.  Assume X is
54501         positive.
54502         (csloww1): Likewise.
54503         (__sin): Adjust.
54504         (__cos): Adjust.
54506         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
54507         arguments A and DA.
54508         (__sin): Adjust.
54509         (__cos): Likewise.
54511         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
54512         (__cos): Likewise.
54513         (sloww1): Don't adjust sign of DX.
54514         (csloww1): Likewise.
54515         (sloww2): Use X directly and don't adjust sign of DX.
54516         (csloww2): Likewise.
54518 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54520         * math/auto-libm-test-in: Add tests of cabs and carg.
54521         * math/auto-libm-test-out: Regenerated.
54522         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
54523         (carg_test_data): Likewise.
54524         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54525         mpc_c_f.
54526         (func_calc_desc): Add mpc_c_f union field.
54527         (test_functions): Add cabs and carg.
54528         (calc_generic_results): Handle mpc_c_f.
54530         * sysdeps/powerpc/powerpc32/libgcc-compat.S
54531         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
54532         as a macro and a compat symbol.
54533         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
54534         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
54535         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
54536         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
54537         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
54538         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
54539         not use .hidden.
54540         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
54541         Likewise.
54542         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
54543         Likewise.
54544         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
54545         Likewise.
54546         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
54547         Likewise.
54548         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
54549         Likewise.
54550         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
54551         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
54552         from GLIBC_2.3.2.
54554 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54558 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54560         * manual/texinfo.tex: Update to version 2013-11-26.10 with
54561         trailing whitespace removed.
54562         * scripts/config.guess: Update to version 2013-11-29.
54563         * scripts/config.sub: Update to version 2013-10-01.
54565         * math/auto-libm-test-in: Add tests of sincos.
54566         * math/auto-libm-test-out: Regenerated.
54567         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
54568         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54569         mpfr_f_11.
54570         (func_calc_desc): Add mpfr_f_11 union field.
54571         (test_functions): Add sincos.
54572         (calc_generic_results): Handle mpfr_f_11.
54573         * sysdeps/i386/fpu/libm-test-ulps: Update.
54574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54576 2013-12-19  Andreas Schwab  <schwab@suse.de>
54578         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
54579         CALL_MCOUNT.
54580         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54581         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
54582         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
54584 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54586         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
54587         * sysdeps/i386/fpu/libm-test-ulps: Update.
54588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54590         [BZ #16293]
54591         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
54592         round-to-nearest mode when using frndint.
54593         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
54594         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54595         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
54596         Likewise.
54597         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
54598         sinh test to fail.
54599         * math/auto-libm-test-out: Regenerated.
54600         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
54601         (TEST_COND_x86): Likewise.
54602         (expm1_tonearest_test_data): New array.
54603         (expm1_test_tonearest): New function.
54604         (expm1_towardzero_test_data): New array.
54605         (expm1_test_towardzero): New function.
54606         (expm1_downward_test_data): New array.
54607         (expm1_test_downward): New function.
54608         (expm1_upward_test_data): New array.
54609         (expm1_test_upward): New function.
54610         (main): Run the new test functions.
54611         * sysdeps/i386/fpu/libm-test-ulps: Update.
54612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54614         * include/features.h: Update comment documenting feature test
54615         macros.  Mention _DEFAULT_SOURCE in comment.
54616         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
54617         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
54618         _BSD_SOURCE and _SVID_SOURCE.
54619         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
54620         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
54621         !_SVID_SOURCE]: Likewise.
54622         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54623         (__USE_POSIX_IMPLICITLY): Define.
54624         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54625         (_POSIX_SOURCE): Undefine and redefine.
54626         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54627         (_POSIX_C_SOURCE): Likewise.
54628         * manual/creature.texi (_DEFAULT_SOURCE): Document.
54629         (Feature Test Macros): Update documentation of default features.
54631 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54633         * benchtests/Makefile: Add bench-strtok.
54634         * benchtests/bench-strtok.c: New file: strtok benchtest.
54636 2013-12-19  Allan McRae  <allan@archlinux.org>
54638         * manual/install.texi: Suppress menu for plain text output.
54639         * INSTALL: Regenerated.
54641 2013-12-18  Brooks Moses  <bmoses@google.com>
54643         [BZ #15846]
54644         * misc/getauxval.c: Include errno.h.
54645         (__getauxval): Set errno to ENOENT if the requested type is not
54646         found.
54647         * misc/sys/auxv.h (getauxval): Document that it may set errno;
54648         don't declare with __attribute_const__.
54649         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
54650         * manual/startup.texi: Document that getauxval sets errno.
54652 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54654         * math/auto-libm-test-in: Add tests of jn and yn.
54655         * math/auto-libm-test-out: Regenerated.
54656         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
54657         (yn_test_data): Likewise.
54658         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54659         mpfr_if_f.
54660         (func_calc_desc): Add mpfr_if_f union field.
54661         (FUNC_mpfr_if_f): New macro.
54662         (test_functions): Add jn and yn.
54663         (calc_generic_results): Assert type of second input for
54664         mpfr_ff_f.  Handle mpfr_if_f.
54665         (output_for_one_input_case): Disable all checking for arguments
54666         fitting floating-point types in case of an integer argument.
54667         * sysdeps/i386/fpu/libm-test-ulps: Update.
54668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54671         Don't expect fegetround reference in libm.so.
54673 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54675         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
54676         $(config-cflags-nofma).
54678 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54680         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
54681         * math/auto-libm-test-out: Regenerated.
54683         [BZ #16338]
54684         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
54685         to determine exponent and adjust argument to have exponent of -1.
54686         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
54687         log2.
54688         * math/auto-libm-test-out: Regenerated.
54689         * sysdeps/i386/fpu/libm-test-ulps: Update.
54690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54692 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
54694         * manual/probes.texi: Remove cases when per-thread arenas are
54695         disabled.
54697 2013-12-18  Andreas Schwab  <schwab@suse.de>
54699         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
54700         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
54701         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
54702         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
54703         * sysdeps/i386/i686/multiarch/Makefile: Update.
54704         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
54706 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54708         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
54709         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
54711 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
54713         [BZ #15968]
54714         Support TZ transition times < 00:00:00.
54715         This is needed for version-3 tz-format files; it supports time
54716         stamps past 2037 for America/Godthab (the only entry in the tz
54717         database for which this change is relevant).
54718         * manual/time.texi (TZ Variable): Document transition times
54719         from -167:59:59 through -00:00:01.
54720         * time/tzset.c (tz_rule): Time of day is now signed.
54721         (__tzset_parse_tz): Parse negative time of day.
54723         Document TZ transition times >= 25:00:00.
54724         * manual/time.texi (TZ Variable): Document transition times from
54725         25:00:00 through 167:59:59.  These are already supported, and this
54726         support will help with version-3 tz-format files.
54728         * manual/time.texi (TZ Variable): Modernize North America example
54729         to reflect current (i.e., 2007-and-later) daylight saving rules.
54731         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
54733 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54735         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
54736         * sysdeps/unix/bsd/bits/stat.h: Likewise.
54737         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
54738         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54739         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
54740         * sysdeps/unix/bsd/bsdstat.h: Likewise.
54741         * sysdeps/unix/bsd/clock.c: Likewise.
54742         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
54743         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
54744         * sysdeps/unix/bsd/init-posix.c: Likewise.
54745         * sysdeps/unix/bsd/poll.c: Likewise.
54746         * sysdeps/unix/bsd/ptsname.c: Likewise.
54747         * sysdeps/unix/bsd/seekdir.c: Likewise.
54748         * sysdeps/unix/bsd/setegid.c: Likewise.
54749         * sysdeps/unix/bsd/seteuid.c: Likewise.
54750         * sysdeps/unix/bsd/setgid.c: Likewise.
54751         * sysdeps/unix/bsd/setrgid.c: Likewise.
54752         * sysdeps/unix/bsd/setruid.c: Likewise.
54753         * sysdeps/unix/bsd/setsid.c: Likewise.
54754         * sysdeps/unix/bsd/setuid.c: Likewise.
54755         * sysdeps/unix/bsd/sigaction.c: Likewise.
54756         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
54757         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
54758         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
54759         * sysdeps/unix/bsd/telldir.c: Likewise.
54760         * sysdeps/unix/bsd/times.c: Likewise.
54761         * sysdeps/unix/bsd/usleep.c: Likewise.
54763         * misc/Makefile (install-lib): Remove libbsd-compat.a.
54764         ($(objpfx)libbsd-compat.a): Remove rule.
54766         * include/features.h (__FAVOR_BSD): Do not define.
54767         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
54768         features conflicting with POSIX.
54769         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
54770         (_BSD_SOURCE): Remove description of not being a subset of other
54771         feature test macros.
54772         * manual/job.texi (getpgrp): Do not document BSD version.
54773         (getpgid): Do not document by reference to BSD getpgrp.
54774         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
54775         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
54776         * signal/signal.h [__FAVOR_BSD]: Likewise.
54777         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
54778         instead of making contents conditional on [__FAVOR_BSD].
54779         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
54781 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54785 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54787         [BZ #16314]
54788         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
54789         values below 2**-450, not 2**-500.
54790         * math/auto-libm-test-in: Don't allow spurious underflow from
54791         hypot.
54792         * math/auto-libm-test-out: Regenerated.
54794         [BZ #16316]
54795         [BZ #16330]
54796         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
54797         values of ha and hb and sort them after adjusting subnormal
54798         arguments.
54799         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
54800         Likewise.
54801         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
54802         values of ea and eb and sort them after adjusting subnormal
54803         arguments.
54804         * math/auto-libm-test-in: Do not expect some hypot tests of
54805         subnormals to fail.  Add more hypot tests.
54806         * math/auto-libm-test-out: Regenerated.
54808 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54810         [BZ #13304]
54811         * sysdeps/sh/s_fma.c: New file.
54812         * sysdeps/sh/s_fmaf.c: New file.
54813         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
54814         version.
54815         * sysdeps/sh/Implies: Add sh/soft-fp.
54817 2013-12-16  Roland McGrath  <roland@hack.frob.com>
54819         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
54820         level of indirection to members `objname', `errstring', `malloced'.
54821         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
54822         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
54823         it as the __longjmp argument (just pass 1 instead).
54824         (_dl_catch_error): Initialize C with argument pointers and address of
54825         volatile local ERRCODE rather than copying values out of C at return.
54827 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
54829         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
54830         * math/auto-libm-test-out: Regenerated.
54831         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
54832         (hypot_test_data): Likewise.
54833         (pow_test_data): Likewise.
54834         (pow_tonearest_test_data): Likewise.
54835         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54836         mpfr_ff_f.
54837         (func_calc_desc): Add mpfr_ff_f union field.
54838         (FUNC_mpfr_ff_f): New macro.
54839         (test_functions): Add atan2, hypot and pow.
54840         (special_fill_min): New function.
54841         (special_fill_minus_min): Likewise.
54842         (special_fill_min_subnorm): Likewise.
54843         (special_fill_minus_min_subnorm): Likewise.
54844         (special_real_inputs): Add min, -min, min_subnorm and
54845         -min_subnorm.
54846         (calc_generic_results): Handle mpfr_ff_f.
54847         * sysdeps/i386/fpu/libm-test-ulps: Update.
54848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54850 2013-12-16  Will Newton  <will.newton@linaro.org>
54852         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
54853         (Aligned Memory Blocks): Add documentation for aligned_alloc
54854         and suggest it as an alternative to posix_memalign.
54855         (Hooks for Malloc): Document __memalign_hook is also called
54856         for aligned_alloc.  (Summary of Malloc): Add summary for
54857         aligned alloc.  Document __memalign_hook is also called
54858         for aligned_alloc.
54860 2013-12-16  Will Newton  <will.newton@linaro.org>
54862         * manual/memory.texi (Malloc Examples): Clarify default
54863         alignment documentation.  Suggest posix_memalign rather
54864         than memalign or valloc.
54865         (Aligned Memory Blocks): Remove suggestion to use memalign
54866         or valloc.  Remove obsolete comment about BSD.
54867         Document memalign errno values and mark the function obsolete.
54868         Document posix_memalign returned error codes.  Mark valloc
54869         as obsolete.  (Hooks for Malloc): __memalign_hook is also
54870         called for posix_memalign and valloc.
54871         (Summary of Malloc): Add posix_memalign to function summary.
54872         __memalign_hook is also called for posix_memalign and valloc.
54874 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54876         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
54877         TAYLOR_SIN.
54878         (__sin): Adjust.
54879         (__cos): Likewise.
54880         (sloww): Use mynumber union.  Expand ternary operator into
54881         if-else statements.
54882         (cslow): use mynumber union.
54884 2013-12-16  Allan McRae  <allan@archlinux.org>
54886         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
54887         * configure: Regenerated.
54889         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
54891         [BZ #14120]
54892         * configure.ac: Added --enable-maintainer-mode. Check for
54893         autoconf when enabled.
54894         * configure: Regenerated.
54896         * nscd/nscd.service: New file.
54897         * nscd/nscd.tmpfiles: New file.
54899 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
54901         [BZ #12100]
54902         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
54903         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
54904         * sysdeps/x86_64/multiarch/strstr.c: ... here.
54905         (strstr): Add __strstr_sse2_unaligned ifunc.
54906         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
54907         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
54908         (strcasestr): Remove __strcasestr_sse42 ifunc.
54909         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
54910         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54911         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54913 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54915         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
54916         * sysdeps/sh/bits/fenv.h: ... here.
54917         * sysdeps/sh/sh4/fpu/bits: Remove directory.
54919 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54921         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
54923         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
54924         hypotf multiarch implementations.
54925         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
54926         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
54927         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
54928         multiarch hypot for PPC64.
54929         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
54930         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
54931         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
54932         multiarch hypotf for PPC64.
54934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
54935         modff multiarch implementations.
54936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
54937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
54938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
54939         multiarch modf for PPC64.
54940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
54941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
54942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
54943         multiarch modff for PPC64.
54945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
54946         and logl multiarch implementations.
54947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
54948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
54949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
54950         multiarch logb for PPC64.
54951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
54952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
54953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
54954         multiarch logb for PPC64.
54955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
54956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
54957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
54958         multiarch logb for PPC64.
54960         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
54961         isinff multiarch implementation.
54962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
54963         file.
54964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
54965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
54966         multiarch isinf for PPC64.
54967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
54968         file.
54969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
54970         multiarch isinff for PPC64.
54972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
54973         finitef multiarch implementation.
54974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
54975         file.
54976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
54977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
54978         multiarch finite for PPC64.
54979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
54980         file.
54981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
54982         multiarch finitef for PPC64.
54984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
54985         lrint multiarch implementation.
54986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
54987         file.
54988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
54989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
54990         multiarch llrint for PPC64.
54991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
54992         multiarch lrint for PPC64.
54994         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
54995         copysignf multiarch implementation.
54996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
54997         file.
54998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
54999         file.
55000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
55001         multiarch copysign for PPC64.
55002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
55003         multiarch copysignf for PPC64.
55005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
55006         multiarch implementation.
55007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
55008         file.
55009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55010         file.
55011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55012         file.
55013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55014         file.
55015         multiarch llround for PPC64.
55016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55017         multiarch trunc for PPC64.
55018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55019         multiarch truncf for PPC64.
55021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55022         multiarch implementation.
55023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55024         file.
55025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55026         file.
55027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55028         file.
55029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55030         file.
55031         multiarch llround for PPC64.
55032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55033         multiarch round for PPC64.
55034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55035         multiarch roundf for PPC64.
55037         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55038         multiarch implementation.
55039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55040         file.
55041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55042         file.
55043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55044         file.
55045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55046         file.
55047         multiarch llround for PPC64.
55048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
55049         multiarch floor for PPC64.
55050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
55051         multiarch floorf for PPC64.
55053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
55054         multiarch implementation.
55055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
55056         file.
55057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
55058         file.
55059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
55060         file.
55061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
55062         file.
55063         multiarch llround for PPC64.
55064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
55065         multiarch ceil for PPC64.
55066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
55067         multiarch ceilf for PPC64.
55069         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55070         multiarch implementation.
55071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
55072         file.
55073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
55074         file.
55075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
55076         file.
55077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
55078         multiarch llround for PPC64.
55079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
55080         multiarch lround for PPC64.
55082         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55083         multiarch implementation.
55084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
55085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
55086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
55087         file.
55088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
55089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
55090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
55091         multiarch isnan for PPC64.
55092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
55093         multiarch isnanf for PPC64.
55095         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
55096         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
55097         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
55098         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
55099         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
55100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
55102         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
55103         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55104         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55105         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
55108         multiarch implementations.
55109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55110         (__libc_ifunc_impl_list): Likewise.
55111         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
55112         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
55113         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
55114         multiarch stpcpy for PPC64.
55116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
55117         multiarch implementations.
55118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55119         (__libc_ifunc_impl_list): Likewise.
55120         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
55121         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
55122         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
55123         multiarch strcpy for PPC64.
55125         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
55126         redefine function name.
55127         (_wordcopy_fwd_dest_aligned): Likewise.
55128         (_wordcopy_bwd_aligned): Likewise.
55129         (_wordcopy_bwd_dest_aligned): Likewise.
55130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
55131         multiarch implementations.
55132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55133         (__libc_ifunc_impl_list): Likewise.
55134         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
55135         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
55136         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
55137         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
55138         multiarch wcscpy for PPC64.
55140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
55141         multiarch implementations.
55142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55143         (__libc_ifunc_impl_list): Likewise.
55144         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
55145         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
55146         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
55147         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
55148         multiarch wcscpy for PPC64.
55150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
55151         multiarch implementations.
55152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55153         (__libc_ifunc_impl_list): Likewise.
55154         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
55155         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
55156         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
55157         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
55158         multiarch wcsrchr for PPC64.
55160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
55161         multiarch implementations.
55162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55163         (__libc_ifunc_impl_list): Likewise.
55164         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
55165         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
55166         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
55167         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
55168         multiarch wcschr for PPC64.
55170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
55171         multiarch implementations.
55172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55173         (__libc_ifunc_impl_list): Likewise.
55174         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
55175         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
55176         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
55177         multiarch strchrnul for PPC64.
55179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
55180         implementations.
55181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55182         (__libc_ifunc_impl_list): Likewise.
55183         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
55184         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
55185         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
55186         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
55187         strchr for PPC64.
55189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
55190         implementations.
55191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55192         (__libc_ifunc_impl_list): Likewise.
55193         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
55194         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
55195         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
55196         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
55197         strncmp for PPC64.
55199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
55200         multiarch implementations.
55201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55202         (__libc_ifunc_impl_list): Likewise.
55203         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
55204         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
55205         strncasecmp for PPC64.
55206         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
55207         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
55208         multiarch strncasecmp_l for PPC64.
55210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
55211         multiarch implementations.
55212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55213         (__libc_ifunc_impl_list): Likewise.
55214         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
55215         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
55216         multiarch strcasecmp for PPC64.
55217         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
55218         file.
55219         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
55220         multiarch strcasecmp_l for PPC64.
55222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
55223         implementations.
55224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55225         (__libc_ifunc_impl_list): Likewise.
55226         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
55227         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
55228         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
55229         strnlen for PPC64.
55231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
55232         implementations.
55233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55234         (__libc_ifunc_impl_list): Likewise.
55235         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
55236         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
55237         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
55238         strlen for PPC64.
55240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
55241         implementations.
55242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55243         (__libc_ifunc_impl_list): Likewise.
55244         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
55245         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
55246         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
55247         rawmemrchr for PPC64.
55249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
55250         implementation.
55251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55252         (__libc_ifunc_impl_list): Likewise.
55253         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
55254         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
55255         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
55256         memrchr for PPC64.
55258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
55259         implementation.
55260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55261         (__libc_ifunc_impl_list): Likewise.
55262         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
55263         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
55264         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
55265         memchr for PPC64.
55267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
55268         implementation.
55269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55270         (__libc_ifunc_impl_list): Likewise.
55271         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
55272         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
55273         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
55274         mempcpy for PPC64.
55276         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
55277         avoid cretion of __bzero symbol.
55278         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
55279         Likewise.
55280         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
55281         Likewise.
55282         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
55283         Likewise.
55284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
55285         multiarch implementations.
55286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55287         (__libc_ifunc_impl_list): Likewise.
55288         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
55289         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
55290         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
55291         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
55292         bzero for PPC32.
55293         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
55294         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
55295         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
55296         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
55297         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
55298         memset for PPC64.
55299         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
55301         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
55302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
55303         implementations.
55304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55305         (__libc_ifunc_impl_list): Likewise.
55306         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
55307         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
55308         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
55309         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
55310         memcmp for PPC64.
55312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
55313         multiarch for POWER/PPC64.
55314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
55315         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
55316         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
55317         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
55318         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
55319         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
55320         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
55321         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
55322         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
55323         memcpy for PPC64.
55325         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
55326         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
55327         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
55328         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
55329         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
55330         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
55331         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
55332         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
55333         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
55334         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
55335         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
55336         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
55337         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
55338         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
55339         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
55340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
55341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
55342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
55343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
55344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
55345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
55346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
55348 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55350         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
55352 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55354         * benchtests/Makefile (bench): Add exp2 and log2.
55355         (LDLIBS-bench-exp2): Add -lm.
55356         (LDLIBS-bench-log2): Likewise.
55357         * benchtests/exp2-inputs: New inputs file.
55358         * benchtests/log2-inputs: New inputs file.
55359         * benchtests/log-inputs: Add new inputs.
55360         * benchtests/tan-inputs: Likewise.
55362 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55364         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
55365         definition...
55366         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
55367         (csloww2): ... from here.
55369         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
55370         instead of structures.
55371         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
55372         (POLYNOMIAL): Likewise.
55373         (TAYLOR_SLOW): Likewise.
55374         (__sin): Likewise.
55375         (__cos): Likewise.
55376         (slow1): Likewise.
55377         (slow2): Likewise.
55378         (sloww): Likewise.
55379         (sloww1); Likewise.
55380         (sloww2): Likewise.
55381         (bsloww1): Likewise.
55382         (bsloww2): Likewise.
55383         (cslow2): Likewise.
55384         (csloww): Likewise.
55385         (csloww1): Likewise.
55386         (csloww2): Likewise.
55388 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
55390         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
55391         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
55392         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
55393         * malloc/hooks.c (realloc_check): Likewise.
55395         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
55396         * malloc/arena.c: Remove PER_THREAD conditional.
55397         [!PER_THREAD]: Remove code.
55398         (ptmalloc_unlock_all2): Likewise.
55399         (ptmalloc_init): Likewise.
55400         (_int_new_arena): Likewise.
55401         (arena_get2): Likewise.
55402         * malloc/hooks.c (__malloc_get_state): Likewise.
55403         (__malloc_set_state): Likewise.
55404         * malloc/malloc.c: Likewise.
55405         (struct malloc_state): Likewise.
55406         (struct malloc_par): Likewise.
55407         (__libc_realloc): Likewise.
55408         (__libc_mallopt): Likewise.
55410 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55412         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
55414 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
55416         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
55417         macro to a function.  Check for zero perturb_byte.
55418         (_int_malloc, _int_free): Remove zero perturb_byte checks.
55420         * malloc/malloc.c: (force_reg): Remove.
55421         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
55422         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
55423         force_reg by atomic_forced_read.
55424         * malloc/arena.c (ptmalloc_init): Likewise.
55425         * malloc/hooks.c (top_check): Likewise.
55427 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55431 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
55433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55435 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
55437         * math/auto-libm-test-in: Add tests of lgamma.
55438         * math/auto-libm-test-out: Regenerated.
55439         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
55440         (M_LOG_2_SQRT_PIl): Likewise.
55441         (lgamma_test_data): Use AUTO_TESTS_f_f1.
55442         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55443         mpfr_f_f1.
55444         (func_calc_desc): Add mpfr_f_f1 union field.
55445         (ARGS1): New macro.
55446         (ARGS2): Likewise.
55447         (ARGS3): Likewise.
55448         (ARGS4): Likewise.
55449         (RET1): Likewise.
55450         (RET2): Likewise.
55451         (CALC): Likewise.
55452         (FUNC): Likewise.
55453         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
55454         (test_functions): Add lgamma.
55455         (calc_generic_results): Handle mpfr_f_f1.
55456         * sysdeps/i386/fpu/libm-test-ulps: Update.
55457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55459 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55461         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
55462         __mpn_add_n for PowerPC64/POWER7.
55463         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
55464         __mpn_sub_n for PowerPC64/POWER7.
55466         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
55467         __mpn_addmul_1 for PowerPC64.
55468         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
55469         __mpn_submul_1 for PowerPC64.
55470         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
55471         for PowerPC64.
55472         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
55473         for PowerPC64.
55475 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
55477         [BZ #15089]
55478         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
55480 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55482         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
55484         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
55485         add multiarch folders.
55486         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
55487         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
55488         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
55489         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
55490         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
55491         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
55492         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
55493         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
55494         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
55495         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
55496         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
55497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
55498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
55499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
55500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
55501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
55502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
55504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55505         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
55506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
55507         New file.
55508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
55509         New file.
55510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
55511         multiarch __ieee754_hypot for PowerPC32.
55512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
55513         New file.
55514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
55515         New file.
55516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
55517         multiarch __ieee754_hypotf for PowerPC32.
55519         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
55520         long_double_symbol only if __logbl is defined.
55521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
55522         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
55523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
55524         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
55525         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
55526         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
55527         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
55528         path for implementation.
55529         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
55530         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
55531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
55532         logb, and logbl multiarch implementations for PowerPC32.
55533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
55534         file.
55535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
55536         file.
55537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
55538         multiarch logb for PowerPC32.
55539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
55540         file.
55541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
55542         file.
55543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
55544         multiarch logbf for PowerPC32.
55545         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
55546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
55547         file.
55548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
55549         multiarch logbl implementation for PowerPC32.
55551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
55552         and modff multiarch implementations.
55553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
55554         New file.
55555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
55556         New file.
55557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
55558         multiarch modf for PowerPC32.
55559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
55560         New file.
55561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
55562         New file.
55563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
55564         multiarch modff for PowerPC32.
55566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
55567         and lrintf multiarch implementations.
55568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
55569         New file.
55570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
55571         New file.
55572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
55573         multiarch lrint for PowerPC32.
55574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
55575         file: multiarch lrintf for PowerPC32.
55577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
55578         and lroundf multiarch implementations.
55579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
55580         New file.
55581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
55582         New file.
55583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
55584         New file.
55585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
55586         multiarch lround for PowerPC32.
55587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
55588         file: multiarch lroundf for PowerPC32.
55590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55591         copysign and copysignf multiarch implementations.
55592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
55593         New file.
55594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
55595         New file.
55596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
55597         file: multiarch copysign for PowerPC32.
55598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
55599         file: multiarch copysignf for PowerPC32.
55601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
55602         and truncf multiarch implementations.
55603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
55604         New file.
55605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
55606         file.
55607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
55608         multiarch trunc for PowerPC32.
55609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
55610         New file.
55611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
55612         New file.
55613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
55614         multiarch truncf for PowerPC32.
55616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
55617         and roundf multiarch implementations.
55618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
55619         New file.
55620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
55621         file.
55622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
55623         multiarch round for PowerPC32.
55624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
55625         New file.
55626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
55627         New file.
55628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
55629         multiarch roundf for PowerPC32.
55631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
55632         and floorf multiarch implementations.
55633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
55634         New file.
55635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
55636         file.
55637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
55638         multiarch floor for PowerPC32.
55639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
55640         New file.
55641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
55642         New file.
55643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
55644         multiarch floorf for PowerPC32.
55646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
55647         and ceilf multiarch implementations.
55648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
55649         New file.
55650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
55651         file.
55652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
55653         multiarch ceil for PowerPC32.
55654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
55655         New file.
55656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
55657         file.
55658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
55659         multiarch ceilf for PowerPC32.
55661         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
55662         is defined.
55663         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
55664         FINITEF is defined.
55665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
55666         and finitef multiarch implementations.
55667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
55668         New file.
55669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
55670         file.
55671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
55672         multiarch finite for PowerPC32.
55673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
55674         New file.
55675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
55676         file: multiarch finitef for PowerPC32.
55678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
55679         and isinff multiarch implementations.
55680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
55681         file.
55682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
55683         file.
55684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
55685         multiarch isinf for PowerPC32.
55686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
55687         New file.
55688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
55689         multiarch isinff for PowerPC32.
55691         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
55692         alias when __isnan is defined.
55693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
55694         and isnanf multiarch implementations.
55695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
55696         file.
55697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
55698         file.
55699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
55700         file.
55701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
55702         file.
55703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
55704         multiarch isnan for PowerPC32.
55705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
55706         New file.
55707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
55708         New file.
55709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
55710         multiarch isnanf for PowerPC32.
55712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
55713         and sqrtf multiarch implementations.
55714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
55715         file.
55716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
55717         file.
55718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
55719         multiarch sqrt for PowerPC32.
55720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
55721         file.
55722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
55723         file.
55724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
55725         multiarch sqrtf for PowerPC32.
55727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
55728         and llroundf multiarch implementations.
55729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
55730         New file.
55731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
55732         New file.
55733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
55734         New file.
55735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
55736         file: multiarch llround for PowerPC32.
55737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
55738         file: multiarch llroundf for PowerPC32.
55740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
55741         multiarch PowerPC32 fpu implementations.
55742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
55743         New file.
55744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
55745         New file.
55746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
55747         multiarch llrint for PowerPC32.
55748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
55749         New file.
55750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
55751         New file.
55752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
55753         file.
55755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
55757         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
55758         file.
55759         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
55760         file.
55761         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
55762         file.
55763         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
55764         multiarch wordcopy for PPC32.
55765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55766         wordcopy objects.
55767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55768         (__libc_ifunc_impl_list): Likewise.
55769         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
55770         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
55771         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
55772         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
55773         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
55774         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
55776         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
55777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
55778         file.
55779         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
55780         file.
55781         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
55782         file.
55783         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
55784         multiarch wcscpy for PPC32.
55785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55786         multiarch objects.
55787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55788         (__libc_ifunc_impl_list): Likewise.
55789         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55790         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55791         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
55792         sysdeps/powerpc/power6/wcscpy.c.
55794         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
55795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
55796         file.
55797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
55798         file.
55799         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
55800         file.
55801         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
55802         multiarch wcsrchr for PPC32.
55803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55804         multiarch objects.
55805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55806         (__libc_ifunc_impl_list): Likewise.
55807         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55808         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55809         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
55810         sysdeps/powerpc/power6/wcsrchr.c.
55812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
55813         file.
55814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
55815         file.
55816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
55817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
55818         multiarch wcschr for PPc32.
55819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55820         multiarch objects.
55821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55822         (__libc_ifunc_impl_list): Likewise.
55823         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
55824         * sysdeps/powerpc/power6/wcschr.c: ... to here.
55825         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
55826         sysdeps/powerpc/power6/wcschr.c.
55828         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
55829         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
55830         file.
55831         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
55832         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
55833         file: multiarch strchr for PPC32.
55834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
55835         multiarch objects.
55836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55837         (__libc_ifunc_impl_list): Likewise.
55839         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
55840         name.
55841         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
55842         file.
55843         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
55844         file.
55845         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
55846         multiarch strchrnul for PPC32.
55847         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
55848         multiarch objects.
55849         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55850         (__libc_ifunc_impl_list): Likewise.
55852         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
55853         file.
55854         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
55855         multiarch strncasecmp for PPC32.
55856         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
55857         file.
55858         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
55859         multiarch strncasecmp_l for PPC32.
55860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
55861         strncasecmp multiarch objects.
55862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55863         (__libc_ifunc_impl_list): Likewise.
55865         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
55866         file.
55867         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
55868         multiarch strncasecmp for PPC32.
55869         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
55870         New file.
55871         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
55872         multiarch strcasecmp_l for PPC32.
55873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
55874         multiarch objects.
55875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55876         (__libc_ifunc_impl_list): Likewise.
55878         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
55879         file.
55880         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
55881         file.
55882         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
55883         multiarch strncmp for PPC32.
55884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
55885         multiarch objects.
55886         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55887         (__libc_ifunc_impl_list): Likewise.
55889         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
55890         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
55891         file.
55892         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
55893         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
55894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
55895         multiarch objects.
55896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55897         (__libc_ifunc_impl_list): Likewise.
55899         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
55900         file.
55901         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
55902         file.
55903         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
55904         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
55905         multiarch objects.
55906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55907         (__libc_ifunc_impl_list): Likewise.
55909         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
55910         file.
55911         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
55912         file.
55913         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
55914         multiarch rawmemchr for PPC32.
55915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
55916         multiarch objects.
55917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55918         (__libc_ifunc_impl_list): Likewise.
55920         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
55921         file.
55922         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
55923         file.
55924         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
55925         file: memrchr multiarch for PPC32.
55926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
55927         multiarch objects.
55928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55929         (__libc_ifunc_impl_list): Likewise.
55931         * string/memchr.c (__memchr): Using macro to redefine symbol name.
55932         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
55933         file.
55934         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
55935         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
55936         multiarch memchr for PPC32.
55937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
55938         multiarch objects.
55939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55940         (__libc_ifunc_impl_list): Likewise.
55942         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
55943         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
55944         file.
55945         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
55946         file.
55947         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
55948         file: multiarch mempcpy for PPC32.
55949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
55950         multiarch objects.
55951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55952         (__libc_ifunc_impl_list): Likewise.
55954         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
55955         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
55956         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
55957         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
55958         multiarch bzero for PPC32.
55959         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
55960         file.
55961         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
55962         file.
55963         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
55964         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
55965         file: multiarch memset for PPC32.
55966         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
55967         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
55968         memset multiarch objects.
55969         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55970         (__libc_ifunc_impl_list): Likewise.
55972         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
55973         file.
55974         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
55975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
55976         memcmp for PPC32.
55977         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
55978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
55979         multiarch objects.
55980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55981         (__libc_ifunc_impl_list): Likewise.
55983         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
55984         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
55985         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
55986         file.
55987         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
55988         file.
55989         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
55990         file.
55991         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
55992         multiarch memcpy for PPC32.
55993         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
55994         multiarch objects.
55995         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55996         (__libc_ifunc_impl_list): Likewise.
55998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
55999         support multiarch for POWER/PPC32.
56000         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56001         Likewise.
56002         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
56003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
56004         Implies file to make multiarch folder appers before the fpu and
56005         default folder for power4 configuration.
56007 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56009         * scripts/bench.pl: Append volatile keyword to type.
56011 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56013         * sysdeps/sh/sotruss-lib.c: New file.
56014         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56016 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56020 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
56022         [BZ #6810]
56023         * math/w_tgamma.c: Include <errno.h>.
56024         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
56025         * math/w_tgammaf.c: Include <errno.h>.
56026         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
56027         * math/w_tgammal.c: Include <errno.h>.
56028         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
56029         * math/auto-libm-test-in: Do not allow missing errno on tgamma
56030         underflow.  Add more tgamma tests.
56031         * math/auto-libm-test-out: Regenerated.
56032         * sysdeps/i386/fpu/libm-test-ulps: Update.
56033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56035         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56036         sin, sinh, tan, tanh, tgamma, y0 and y1.
56037         * math/auto-libm-test-out: Regenerated.
56038         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56039         (TEST_COND_x86): Likewise.
56040         (M_E2l): Remove macro.
56041         (M_E3l): Likewise.
56042         (M_2_SQRT_PIl): Likewise.
56043         (M_SQRT_PIl): Likewise.
56044         (M_1_DIV_El): Likewise.
56045         (log_test_data): Use AUTO_TESTS_f_f.
56046         (log10_test_data): Likewise.
56047         (log1p_test_data): Likewise.
56048         (log2_test_data): Likewise.
56049         (sin_test_data): Likewise.
56050         (sin_tonearest_test_data): Likewise.
56051         (sin_towardzero_test_data): Likewise.
56052         (sin_downward_test_data): Likewise.
56053         (sin_upward_test_data): Likewise.
56054         (sinh_test_data): Likewise.
56055         (sinh_tonearest_test_data): Likewise.
56056         (sinh_towardzero_test_data): Likewise.
56057         (sinh_downward_test_data): Likewise.
56058         (sinh_upward_test_data): Likewise.
56059         (tan_test_data): Likewise.
56060         (tan_tonearest_test_data): Likewise.
56061         (tan_towardzero_test_data): Likewise.
56062         (tan_downward_test_data): Likewise.
56063         (tan_upward_test_data): Likewise.
56064         (tanh_test_data): Likewise.
56065         (tgamma_test_data): Likewise.
56066         (y0_test_data): Likewise.
56067         (y1_test_data): Likewise.
56068         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
56069         (special_real_inputs): Add pi/4.
56070         * sysdeps/i386/fpu/libm-test-ulps: Update.
56071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56073 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56075         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
56076         "longjmp_target" static probes.
56077         (__longjmp): Rename to __longjmp_symbol.
56078         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56079         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
56080         on which longjmp to generate.
56081         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56082         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
56083         probe.
56084         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56085         (__sigjmp_save): Rename to __sigjmp_save_symbol.
56086         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
56087         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
56088         and __sigjmp_save_symbol based on which sigsetjmp to generated.
56089         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
56091         __longjmp_symbol based on which __longjmp to generate.
56092         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
56093         probe.
56094         (setjmp): Rename to setjmp_symbol.
56095         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56096         (_setjmp): Rename to _setjmp_symbol.
56097         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56098         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
56099         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
56100         which setjmp to generate.
56101         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
56102         "longjmp_target" static probes.
56104 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56106         * benchtests/README: Add note about output arguments.
56107         * benchtests/bench-sincos.c: Remove file.
56108         * benchtests/sincos-inputs: New file.
56109         * scripts/bench.pl: Identify output arguments and define
56110         static variables for them.
56112         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
56114         [BZ #15941]
56115         * Makefile (INSTALL): Add install-plain.texi as the primary
56116         dependency.
56117         * manual/install-plain.texi: New file.
56118         * manual/install.texi: Include node directive only for
56119         non-plaintext output.
56121 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
56123         * stdlib/longlong.h: Update from GCC.
56125         [BZ #6807]
56126         [BZ #15901]
56127         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
56128         * math/w_j0f.c (y0f): Likewise.
56129         * math/w_j0l.c (__y0l): Likewise.
56130         * math/w_j1.c (y1): Likewise.
56131         * math/w_j1f.c (y1f): Likewise.
56132         * math/w_j1l.c (__y1l): Likewise.
56133         * math/w_jn.c (yn): Likewise.
56134         * math/w_jnf.c (ynf): Likewise.
56135         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
56136         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
56137         value for Bessel function domain errors outside _SVID_ mode.
56138         Adjust sign of return value for yn (negative integer, 0).
56139         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
56140         by zero in return for negative x and set sign appropriately for
56141         negative n.
56142         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
56143         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56144         * math/libm-test.inc (y0_test_data): Add more tests and adjust
56145         expectations in error cases.
56146         (y1_test_data): Likewise.
56147         (yn_test_data): Likewise.
56148         * sysdeps/i386/fpu/libm-test-ulps: Update.
56149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56151 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56153         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
56154         "64" to "64-v1".  Add "64-v2".
56155         (abi-64-options): Rename to ...
56156         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
56157         (abi-64-condition): Rename to ...
56158         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
56159         (abi-64-ld-soname): Rename to ...
56160         (abi-64-v1-ld-soname): ... this.
56161         (abi-64-v2-options): Define.
56162         (abi-64-v2-condition): Likewise.
56163         (abi-64-v2-ld-soname): Likewise.
56164         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
56165         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
56166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
56167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
56168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
56170 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56171             Alan Modra  <amodra@gmail.com>
56173         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
56174         New versions for use with the ELFv2 ABI.
56175         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
56176         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
56177         declaration.
56178         (struct La_ppc64v2_retval): Likewise.
56179         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
56180         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
56181         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
56182         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
56183         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
56184         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56185         Do not save or restore CR.
56186         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
56187         (_dl_profile_resolve): Do no save or restore CR.  Support extended
56188         return values for ELFv2 ABI.  Fix location of FPR return registers.
56189         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
56190         updated values for _CALL_ELF == 2.
56191         (La_regs, La_retval, int_retval): Likewise.
56193 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56195         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
56196         (FRAME_MIN_SIZE_PARM): Likewise.
56197         (FRAME_BACKCHAIN): Likewise.
56198         (FRAME_CR_SAVE): Likewise.
56199         (FRAME_LR_SAVE): Likewise.
56200         (FRAME_TOC_SAVE): Likewise.
56201         (FRAME_PARM_SAVE): Likewise.
56202         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
56203         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
56204         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56205         (call_mcount_parm_offset): New macro.
56206         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
56207         (PROF): Use symbolic stack frame offsets.
56208         (TAIL_CALL_SYSCALL_ERROR): Likewise.
56209         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
56210         Redefine in terms of FRAME_MIN_SIZE.
56211         (_dl_runtime_resolve): Use symbolic stack frame offsets.
56212         (_dl_profile_resolve): Likewise.  Update comment.
56213         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
56214         symbols stack frame offsets.
56215         (__sigsetjmp): Likewise.
56216         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
56217         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
56218         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
56219         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
56221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
56222         (FRAME_BACKCHAIN): Remove.
56223         (FRAME_CR_SAVE): Likewise.
56224         (FRAME_LR_SAVE): Likewise.
56225         (FRAME_COMPILER_DW): Likewise.
56226         (FRAME_LINKER_DW): Likewise.
56227         (FRAME_TOC_SAVE): Likewise.
56228         (FRAME_PARM_SAVE): Likewise.
56229         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
56230         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
56231         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
56233         (CHECK_SP): Use symbolic stack frame offsets.
56234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
56235         zone" instead of caller's parameter save area for temp storage.
56236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56237         Likewise.  Also, use symbolic stack frame offsets.
56238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
56239         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
56240         our own stack frame instead of the caller's.
56241         (__socket): Use symbolic stack frame offsets.
56243 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56244             Alan Modra  <amodra@gmail.com>
56246         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
56247         Define.
56248         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
56249         (PPC64_LOCAL_ENTRY_OFFSET): Define.
56250         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
56251         New function.
56252         (elf_machine_fixup_plt): Call it.
56253         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
56254         reloc arguments.
56255         (elf_machine_rela): Update call to elf_machine_plt_conflict.
56256         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56257         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
56258         r2 before calling target.
56260 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56261             Alan Modra  <amodra@gmail.com>
56263         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
56264         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
56265         versions of macros to support ELFv2 ABI.
56266         (LOCALENTRY): New macro.
56267         (ENTRY, EALIGN): Use it.
56268         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
56269         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
56270         fall through into ENTRY entry point.
56271         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
56272         Only define if _CALL_ELF != 2.
56274         (elf_machine_matches_host): Verify ABI version matches.
56275         (RTLD_START): Use LOCALENTRY.
56276         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
56277         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
56278         (PLT_ENTRY_WORDS): New macro.
56279         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
56280         (elf_machine_runtime_setup): Support ELFv2 ABI.
56281         (elf_machine_fixup_plt): Likewise.
56282         (elf_machine_plt_conflict): Likewise.
56283         (resolve_ifunc): Likewise.
56284         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56285         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56286         Likewise.
56287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
56288         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
56289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56290         (makecontext): Support ELFv2 ABI.
56291         * elf/elf.h (EF_PPC64_ABI): Define.
56293 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56295         * sysdeps/powerpc/powerpc64/sysdep.h
56296         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
56297         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
56298         (ENTRY) [ASSEMBLER]: ... but instead here ...
56299         (EALIGN) [ASSEMBLER]: ... and here.
56300         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
56301         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
56302         (ENTRY_2) [!ASSEMBLER]: Use it.
56303         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
56304         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
56305         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56306         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
56307         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
56308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
56309         Use PPC64_LOAD_FUNCPTR.
56311         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
56313 2013-12-04  Alan Modra  <amodra@gmail.com>
56315         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
56316         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
56317         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
56318         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
56320         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
56321         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
56322         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
56323         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
56324         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
56325         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
56327 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56330         (__makecontext): Fix incorrect CFI when backtracing out of
56331         context created via makecontext.
56332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
56333         (__setcontext): Fix incorrect CFI during switch to new context.
56334         (__novec_setcontext): Likewise.
56336 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56338         [BZ #4772]
56339         * time/strptime_l.c (__strptime_internal): Allow modifiers
56340         in strptime.
56341         * time/tst-strptime.c (day_tests): Add testcase.
56343 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56345         * scripts/bench.pl: Skip over blank lines.
56347 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
56349         [BZ #926]
56350         * manual/time.texi (Calendar Time): Clarify what timezone functions
56351         use.
56353 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56357 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56359         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
56360         implementation.
56361         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
56362         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
56363         * debug/memset_chk.c (__memset_chk): Likewise.
56364         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
56365         * debug/strncpy_chk.c: Likewise.
56367 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56369         [BZ #15268]
56370         [BZ #15425]
56371         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
56372         (__ieee754_exp): For possibly underflowing results, check size of
56373         result and force underflow exception if required.
56374         * math/auto-libm-test-in: Add more tests of exp.
56375         * math/auto-libm-test-out: Regenerated.
56376         * sysdeps/i386/fpu/libm-test-ulps: Update.
56377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56379         [BZ #16283]
56380         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
56381         * math/w_exp2f.c (__exp2f): Likewise.
56382         * math/w_exp2l.c (__exp2l): Likewise.
56383         * math/auto-libm-test-in: Do not allow missing errno on exp2
56384         underflow.
56385         * math/auto-libm-test-out: Regenerated.
56387 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
56389         [BZ #16274]
56390         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
56391         handle filename validation.
56392         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
56393         (do_open): Delete.
56395 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56397         [BZ #6786]
56398         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
56399         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
56400         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
56401         <float.h>.
56402         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
56403         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
56404         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56405         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
56406         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56407         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
56408         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56409         * math/auto-libm-test-in: Don't allow missing errno from erfc.
56410         Add more erfc tests.
56411         * math/auto-libm-test-out: Regenerated.
56412         * sysdeps/i386/fpu/libm-test-ulps: Update.
56413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56415         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
56416         exp2, expm1, j0 and j1.
56417         * math/auto-libm-test-out: Regenerated.
56418         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
56419         (erfc_test_data): Likewise.
56420         (exp_test_data): Likewise.
56421         (exp_tonearest_test_data): Likewise.
56422         (exp_towardzero_test_data): Likewise.
56423         (exp_downward_test_data): Likewise.
56424         (exp_upward_test_data): Likewise.
56425         (exp10_test_data): Likewise.
56426         (exp2_test_data): Likewise.
56427         (expm1_test_data): Likewise.
56428         (j0_test_data): Likewise.
56429         (j1_test_data): Likewise.
56430         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
56431         (input_flag_type): Add flag_xfail_rounding.
56432         (input_flags): Add xfail-rounding.
56433         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
56434         (output_for_one_input_case): Handle flag_xfail_rounding.
56435         * sysdeps/i386/fpu/libm-test-ulps: Update.
56436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56438 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
56440         [BZ #16289]
56441         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
56442         division by 0.
56444 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56446         [BZ #16195]
56447         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
56448         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
56449         (STAP_PROBE0): New macro.
56450         (STAP_PROBE1): Likewise.
56451         (STAP_PROBE2): Likewise.
56452         (STAP_PROBE3): Likewise.
56453         (STAP_PROBE4): Likewise.
56455 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
56457         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
56459 2013-12-02  Steve Ellcey  <sellcey@mips.com>
56461         * benchtests/Makefile (bench): Add sqrt.
56462         (LDLIBS-bench-sqrt): New.
56463         * benchtests/sqrt-input: New.
56465 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
56467         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
56468         (GAIH_EAI): Likewise.
56469         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
56470         (gaih_inet): Likewise.
56471         (getaddrinfo): Don't use GAIH_EAI.
56473         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
56474         (struct gaih): Remove definition.
56476 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56478         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
56479         Use HERRNOP directly.
56481 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56485 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
56487         * math/gen-auto-libm-tests.c (test_functions): Add more
56488         single-argument functions.
56489         (special_fill_pi_2): New function.
56490         (special_fill_minus_pi_2): Likewise.
56491         (special_fill_pi_6): Likewise.
56492         (special_fill_minus_pi_6): Likewise.
56493         (special_fill_pi_3): Likewise.
56494         (special_fill_2pi_3): Likewise.
56495         (special_fill_e): Likewise.
56496         (special_fill_1_e): Likewise.
56497         (special_fill_e_minus_1): Likewise.
56498         (special_real_inputs): Add more special inputs.
56499         (output_for_one_input_case): Do not require ERANGE on underflow to
56500         zero if round-to-nearest result does not underflow to zero, unless
56501         exact results required.
56502         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
56503         atan, atanh, cbrt, cos and cosh.
56504         * math/auto-libm-test-out: Regenerated.
56505         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
56506         (acos_tonearest_test_data): Likewise.
56507         (acos_towardzero_test_data): Likewise.
56508         (acos_downward_test_data): Likewise.
56509         (acos_upward_test_data): Likewise.
56510         (acosh_test_data): Likewise.
56511         (asin_test_data): Likewise.
56512         (asin_tonearest_test_data): Likewise.
56513         (asin_towardzero_test_data): Likewise.
56514         (asin_upward_test_data): Likewise.
56515         (asinh_test_data): Likewise.
56516         (atan_test_data): Likewise.
56517         (atanh_test_data): Likewise.
56518         (cbrt_test_data): Likewise.
56519         (cos_test_data): Likewise.
56520         (cos_tonearest_test_data): Likewise.
56521         (cos_towardzero_test_data): Likewise.
56522         (cos_downward_test_data): Likewise.
56523         (cos_upward_test_data): Likewise.
56524         (cosh_test_data): Likewise.
56525         (cosh_tonearest_test_data): Likewise.
56526         (cosh_towardzero_test_data): Likewise.
56527         (cosh_downward_test_data): Likewise.
56528         (cosh_upward_test_data): Likewise.
56529         * sysdeps/i386/fpu/libm-test-ulps: Update.
56530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56532 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
56534         [BZ #6787]
56535         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
56536         * math/w_exp10f.c (__exp10f): Likewise.
56537         * math/w_exp10l.c (__exp10l): Likewise.
56538         * math/libm-test.inc (exp10_test_data): Add more tests and expect
56539         errno settings in existing tests.
56541         [BZ #14032]
56542         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
56543         precision control set to double precision.
56544         * sysdeps/i386/fpu/w_sqrt.c: New file.
56545         * math/auto-libm-test-in: Add more tests.
56546         * math/auto-libm-test-out: Update.
56548         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
56549         (sqrt_test_tonearest): New function.
56550         (sqrt_towardzero_test_data): New variable.
56551         (sqrt_test_towardzero): New function.
56552         (sqrt_downward_test_data): New variable.
56553         (sqrt_test_downward): New function.
56554         (sqrt_upward_test_data): New variable.
56555         (sqrt_test_upward): New function.
56556         (main): Call the new functions.
56558         * math/gen-auto-libm-tests.c: New file.
56559         * math/auto-libm-test-in: Likewise.
56560         * math/auto-libm-test-out: New generated file.
56561         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
56562         variables.
56563         (%beautify): Add generated representations of zero.
56564         (top level): Set $auto_input and call parse_auto_input.
56565         (beautify): Remove trailing "f" from hex float constants.
56566         (parse_args): Handle XFAIL_TEST.
56567         (convert_condition): New function.
56568         (or_value): Likewise.
56569         (or_cond_value): Likewise.
56570         (generate_testfile): Handle AUTO_TESTS_* lines.
56571         (parse_auto_input): New function.
56572         * math/libm-test.inc (XFAIL_TEST): New macro.
56573         (ERRNO_UNCHANGED): Update value.
56574         (ERRNO_EDOM): Likewise.
56575         (ERRNO_ERANGE): Likewise.
56576         (IGNORE_RESULT): Likewise.
56577         (TEST_COND_flt_32): New macro.
56578         (TEST_COND_dbl_64): Likewise.
56579         (TEST_COND_ldbl_96_intel): Likewise.
56580         (TEST_COND_ldbl_96_m68k): Likewise.
56581         (TEST_COND_ldbl_128): Likewise.
56582         (TEST_COND_ldbl_128ibm): Likewise.
56583         (TEST_COND_long32): Likewise.
56584         (TEST_COND_long64): Likewise.
56585         (TEST_COND_before_rounding): Likewise.
56586         (TEST_COND_after_rounding): Likewise.
56587         (enable_test): Handle XFAIL_TEST flag.
56588         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
56589         with finite results.
56590         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
56591         auto-libm-test-out.
56593 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56594             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56596         [BZ #16214]
56597         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
56598         __tls_get_addr_internal instead of __tls_get_offset in order to
56599         avoid GOT pointer dependency.  Make rtld export
56600         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
56601         __tls_get_addr since we are a __tls_get_offset platform.
56602         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
56603         GOT pointer being set up before.
56604         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
56606 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
56608         * manual/math.texi (Errors in Math Functions): Document accuracy
56609         goals.
56611         [BZ #15004]
56612         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
56613         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
56614         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56615         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56616         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56617         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56618         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56619         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56620         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56621         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56622         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56623         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56624         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56625         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56626         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56627         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56629         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
56630         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
56631         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
56632         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
56633         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
56634         Likewise.
56635         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
56636         Likewise.
56637         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
56638         Likewise.
56639         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
56640         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
56641         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
56642         atomic-feupdateenv and flt-rounds.
56643         * sysdeps/powerpc/nofpu/Versions (libc): Add
56644         __atomic_feholdexcept, __atomic_feclearexcept,
56645         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
56646         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
56647         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
56648         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
56649         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
56650         here.
56651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
56652         Update.
56654         * manual/arith.texi (FP Exceptions): Document that exceptions may
56655         not be raised when matherr is used.
56656         (Math Error Reporting): Document overflow in directed rounding
56657         modes.  Document that errno may not be set when finite values are
56658         returned on overflow.  Document intent to set errno on underflow
56659         only for underflow to zero.
56661         [BZ #16271]
56662         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
56663         round-to-nearest then adjust result for other rounding modes.
56664         * include/fenv.h (fegetround): Use libm_hidden_proto.
56665         * math/fegetround.c (fegetround): Use libm_hidden_def.
56666         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
56667         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
56668         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56669         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
56670         Likewise.
56671         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
56672         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56673         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
56674         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
56676 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56678         [BZ #16077]
56679         * nss/Versions (libnss_files): Add
56680         _nss_files_gethostbyname3_r.
56681         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
56682         New function.
56683         (HOST_DB_LOOKUP): Remove macro.
56684         (_nss_files_gethostbyname_r): Implement function without the
56685         HOST_DB_LOOKUP macro.
56686         (_nss_files_gethostbyname2_r): Likewise.
56688 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
56690         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
56692 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
56694         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
56695         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
56696         warning.
56698 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56700         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
56701         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
56702         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
56703         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
56704         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
56705         __fe_nomask_env_priv and attribute_hidden.
56706         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
56707         (libc_feupdateenv_test_ppc): Likewise.
56708         (libc_feresetround_ppc): Likewise.
56709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56710         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
56711         compat_symbol macro.
56712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56713         (__fe_nomask_env): Likewise.
56714         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
56716 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56718         * string/Makefile: Remove ifunc tests.
56719         * string/test-string.h: Define TEST_IFUNC.
56720         * string/test-bcopy-ifunc.c: Remove.
56721         * string/test-bzero-ifunc.c: Likewise.
56722         * string/test-memccpy-ifunc.c: Likewise.
56723         * string/test-memchr-ifunc.c: Likewise.
56724         * string/test-memcmp-ifunc.c: Likewise.
56725         * string/test-memcpy-ifunc.c: Likewise.
56726         * string/test-memmem-ifunc.c: Likewise.
56727         * string/test-memmove-ifunc.c: Likewise.
56728         * string/test-mempcpy-ifunc.c: Likewise.
56729         * string/test-memrchr-ifunc.c: Likewise.
56730         * string/test-memset-ifunc.c: Likewise.
56731         * string/test-rawmemchr-ifunc.c: Likewise.
56732         * string/test-stpcpy-ifunc.c: Likewise.
56733         * string/test-stpncpy-ifunc.c: Likewise.
56734         * string/test-strcasecmp-ifunc.c: Likewise.
56735         * string/test-strcasestr-ifunc.c: Likewise.
56736         * string/test-strcat-ifunc.c: Likewise.
56737         * string/test-strchr-ifunc.c: Likewise.
56738         * string/test-strchrnul-ifunc.c: Likewise.
56739         * string/test-strcmp-ifunc.c: Likewise.
56740         * string/test-strcpy-ifunc.c: Likewise.
56741         * string/test-strcspn-ifunc.c: Likewise.
56742         * string/test-strlen-ifunc.c: Likewise.
56743         * string/test-strncasecmp-ifunc.c: Likewise.
56744         * string/test-strncat-ifunc.c: Likewise.
56745         * string/test-strncmp-ifunc.c: Likewise.
56746         * string/test-strncpy-ifunc.c: Likewise.
56747         * string/test-strnlen-ifunc.c: Likewise.
56748         * string/test-strpbrk-ifunc.c: Likewise.
56749         * string/test-strrchr-ifunc.c: Likewise.
56750         * string/test-strspn-ifunc.c: Likewise.
56751         * string/test-strstr-ifunc.c: Likewise.
56753 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56755         * benchtests/Makefile: Remove ifunc tests.
56756         * benchtests/bench-string.h: Define TEST_IFUNC.
56757         * benchtests/bench-bcopy-ifunc.c: Remove.
56758         * benchtests/bench-bzero-ifunc.c: Likewise.
56759         * benchtests/bench-memccpy-ifunc.c: Likewise.
56760         * benchtests/bench-memchr-ifunc.c: Likewise.
56761         * benchtests/bench-memcmp-ifunc.c: Likewise.
56762         * benchtests/bench-memcpy-ifunc.c: Likewise.
56763         * benchtests/bench-memmem-ifunc.c: Likewise.
56764         * benchtests/bench-memmove-ifunc.c: Likewise.
56765         * benchtests/bench-mempcpy-ifunc.c: Likewise.
56766         * benchtests/bench-memrchr-ifunc.c: Likewise.
56767         * benchtests/bench-memset-ifunc.c: Likewise.
56768         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
56769         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
56770         * benchtests/bench-stpcpy-ifunc.c: Likewise.
56771         * benchtests/bench-stpncpy-ifunc.c: Likewise.
56772         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
56773         * benchtests/bench-strcasestr-ifunc.c: Likewise.
56774         * benchtests/bench-strcat-ifunc.c: Likewise.
56775         * benchtests/bench-strchr-ifunc.c: Likewise.
56776         * benchtests/bench-strchrnul-ifunc.c: Likewise.
56777         * benchtests/bench-strcmp-ifunc.c: Likewise.
56778         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
56779         * benchtests/bench-strcpy-ifunc.c: Likewise.
56780         * benchtests/bench-strcspn-ifunc.c: Likewise.
56781         * benchtests/bench-strlen-ifunc.c: Likewise.
56782         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
56783         * benchtests/bench-strncat-ifunc.c: Likewise.
56784         * benchtests/bench-strncmp-ifunc.c: Likewise.
56785         * benchtests/bench-strncpy-ifunc.c: Likewise.
56786         * benchtests/bench-strnlen-ifunc.c: Likewise.
56787         * benchtests/bench-strpbrk-ifunc.c: Likewise.
56788         * benchtests/bench-strrchr-ifunc.c: Likewise.
56789         * benchtests/bench-strsep-ifunc.c: Likewise.
56790         * benchtests/bench-strspn-ifunc.c: Likewise.
56791         * benchtests/bench-strstr-ifunc.c: Likewise.
56793 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56795         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
56797 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56799         * resolv/netdb.h: Use __glibc_reserved instead __unused.
56800         * rt/aio.h: Likewise.
56801         * sysdeps/gnu/bits/utmp.h: Likewise.
56802         * sysdeps/gnu/bits/utmpx.h: Likewise.
56803         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56804         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
56805         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
56806         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
56807         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
56808         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
56809         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
56810         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
56811         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
56812         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
56813         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
56814         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
56815         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
56816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
56817         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56818         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
56819         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
56820         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
56821         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
56822         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
56823         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
56824         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
56825         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
56826         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56827         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
56828         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56829         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
56830         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
56831         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
56832         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
56833         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
56834         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
56835         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
56836         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
56837         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
56838         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
56839         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
56840         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
56841         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
56842         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
56843         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
56844         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56846 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
56848         [BZ #16245]
56849         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
56850         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
56852 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
56854         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
56855         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
56856         Likewise.
56858 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56860         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
56861         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
56862         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
56863         (__fesetround): Remove define.
56864         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
56865         rounding and exceptions handling.
56866         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
56867         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
56868         (__fe_nomask_env): Likewise.
56869         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
56870         __fegetround instead of fegetround.
56871         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56872         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
56874 2013-11-21  Roland McGrath  <roland@hack.frob.com>
56876         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
56877         it's there.
56879         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
56881 2013-11-21  Meador Inge  <meadori@codesourcery.com>
56883         [BZ #11157]
56884         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
56885         (encrypt_r): Likewise.
56886         * malloc/obstack.h (obstack_free): Likewise.
56887         * posix/unistd.h (encrypt): Likewise.
56889 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
56891         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
56892         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
56893         DL_CALL_DT_FINI() that call the functions directly.
56894         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
56895         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
56896         * elf/dl-fini.c: Likewise.
56898 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
56900         * malloc/hooks.c (memalign_check): Add alignment rounding.
56901         * malloc/malloc.c (_mid_memalign): New function.
56902         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
56903         Implement by calling _mid_memalign.
56904         * manual/probes.texi (Memory Allocation Probes): Remove
56905         memory_valloc_retry and memory_pvalloc_retry.
56907 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56909         * locale/programs/locarchive.c (open_archive): Add const
56910         qualifier to ARCHIVEFNAME and copy default fname to
56911         DEFAULT_FNAME.
56913         [BZ #15601]
56914         * libio/tst-widetext.input: Rename Oriya to Odia.
56915         * locale/iso-639.def: Likewise.
56917         * manual/probes.texi (Mathematical Function Probes): Add
56918         documentation for sin, cos, asin and acos probes.
56919         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
56920         (__sin32): Add slowasin probe.
56921         (__cos32): Add slowacos probe.
56922         (__mpsin): Add slowsin probe.
56923         (__mpcos): Add slowcos probe.
56925 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
56927         [BZ #15483]
56928         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
56929         thread-local __sim_exceptions_thread and global
56930         __sim_exceptions_global.
56931         (__sim_disabled_exceptions): Change to thread-local
56932         __sim_disabled_exceptions_thread and global
56933         __sim_disabled_exceptions_global.
56934         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56935         and global __sim_round_mode_global.
56936         (__simulate_exceptions): Use thread-local floating-point state and
56937         set global state from it as needed.
56938         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
56939         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
56940         __sim_round_mode_thread.
56941         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
56942         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
56943         and global __sim_exceptions_global.
56944         (__sim_disabled_exceptions): Change to thread-local
56945         __sim_disabled_exceptions_thread and global
56946         __sim_disabled_exceptions_global.
56947         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56948         and global __sim_round_mode_global.
56949         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
56950         (SIM_SET_GLOBAL): Likewise.
56951         * sysdeps/powerpc/soft-fp/sfp-machine.h
56952         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
56953         __sim_round_mode_thread.
56954         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
56955         __sim_disabled_exceptions_thread.
56956         (__sim_exceptions): Change to __sim_exceptions_thread.
56957         (__sim_disabled_exceptions): Change to
56958         __sim_disabled_exceptions_thread.
56959         (__sim_round_mode): Change to __sim_round_mode_thread.
56960         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
56961         thread-local floating-point state and set global state from it as
56962         needed.
56963         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
56964         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
56965         (__sim_disabled_exceptions): Remove extern declaration.
56966         (feenableexcept): Use thread-local floating-point state and set
56967         global state from it as needed.
56968         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
56969         extern declaration.
56970         (__sim_disabled_exceptions): Likewise.
56971         (__sim_round_mode): Likewise.
56972         (__fegetenv): Use thread-local floating-point state.
56973         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
56974         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56975         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
56976         floating-point state and set global state from it as needed.
56977         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
56978         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
56979         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
56980         Likewise.
56981         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
56982         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
56983         Likewise.
56984         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
56985         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
56986         Use __sim_round_mode_thread.
56987         * math/test-fenv-tls.c: New file.
56988         * math/Makefile (tests): Add test-fenv-tls.
56989         ($(objpfx)test-fenv-tls): Depend on
56990         $(common-objpfx)nptl/libpthread.so.
56992 2013-11-19  Andreas Schwab  <schwab@suse.de>
56994         * locale/programs/locale.c (show_info): Decode wordarray elements.
56995         * locale/categories.def (LC_MONETARY): Add element for
56996         _NL_MONETARY_CRNCYSTR.
56997         * locale/C-monetary.c (conversion_rate): New variable.
56998         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
56999         element.
57001 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
57003         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
57004         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
57006 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57008         * elf/Makefile (tst-auxv): New test.
57009         * elf/tst-auxv.c: New
57010         * elf/rtld.c (dl_main): Adjust AT_EXECFN
57012 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
57014         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57015         (hidden_proto): Caller changed.
57016         (hidden_tls_proto): New macro.
57017         (libc_hidden_tls_proto): Likewise.
57018         (rtld_hidden_tls_proto): Likewise.
57019         (libm_hidden_tls_proto): Likewise.
57020         (libresolv_hidden_tls_proto): Likewise.
57021         (librt_hidden_tls_proto): Likewise.
57022         (libdl_hidden_tls_proto): Likewise.
57023         (libnss_files_hidden_tls_proto): Likewise.
57024         (libnsl_hidden_tls_proto): Likewise.
57025         (libnss_nisplus_hidden_tls_proto): Likewise.
57026         (libutil_hidden_tls_proto): Likewise.
57028 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
57030         [BZ #10253]
57031         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57032         (decompose_rpath): Defer expansion to fillin_rpath.
57033         (_dl_init_paths): Pass linkmap to fillin_rpath.
57035 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57037         * benchtests/Makefile: Add strsep.
57038         * benchtests/bench-strsep.c: New file: strsep benchtest.
57039         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57041 2013-11-18  Andreas Schwab  <schwab@suse.de>
57043         * locale/programs/locale.c (show_info) [case byte]: Check for
57044         '\377' instead of '\177'.
57045         * locale/C-monetary.c (not_available): Always use "\377".
57046         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57047         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
57048         detect unavailable sign_posn locale elements.
57049         * locale/localeconv.c (__localeconv): For grouping and
57050         mon_grouping handle "\177" and "\377" like no grouping.
57051         (INT_ELEM): New macro.  Use it to set all numeric members.
57052         * locale/programs/ld-monetary.c (monetary_read)
57053         <tok_mon_grouping>: Normalize single -1 to the empty string.
57054         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
57055         Likewise.
57057 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57059         [BZ #16055]
57060         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
57061         when we match (nil).
57062         * stdio-common/tst-sscanf.c (struct test): Add testcase.
57064 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
57066         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
57067         (NO_TEST_INLINE): Update value.
57068         (ERRNO_UNCHANGED): Likewise.
57069         (ERRNO_EDOM): Likewise.
57070         (ERRNO_ERANGE): Likewise.
57071         (IGNORE_RESULT): Likewise.
57072         (check_float_internal): Check signs of NaN results if
57073         TEST_NAN_SIGN used.
57074         (check_complex): Pass TEST_NAN_SIGN flag through to second
57075         check_float_internal call.
57076         (copysign_test_data): Add tests with quiet NaNs as second
57077         argument.  Use TEST_NAN_SIGN.
57078         (fabs_test_data): Add test of negative quiet NaN argument.  Use
57079         TEST_NAN_SIGN.
57080         (signbit_test_data): Add tests of quiet NaN argument.
57081         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
57083         * math/gen-libm-test.pl (show_exceptions): Take extra argument
57084         $ignore_result.
57085         (parse_args): Handle function results specified as IGNORE.
57086         * math/libm-test.inc (IGNORE_RESULT): New macro.
57087         (check_float_internal): Do not check numerical result if flag
57088         IGNORE_RESULT set.
57089         (check_complex): Pass through IGNORE_RESULT to second
57090         check_float_internal call.
57091         (check_int): Do not check numerical result if flag IGNORE_RESULT
57092         set.
57093         (check_long): Likewise.
57094         (check_bool): Likewise.
57095         (check_longlong): Likewise.
57096         (lrint_test_data): Add tests of infinite and NaN arguments.
57097         (lrint_tonearest_test_data): Likewise.
57098         (lrint_towardzero_test_data): Likewise.
57099         (lrint_downward_test_data): Likewise.
57100         (lrint_upward_test_data): Likewise.
57101         (llrint_test_data): Likewise.
57102         (llrint_tonearest_test_data): Likewise.
57103         (llrint_towardzero_test_data): Likewise.
57104         (llrint_downward_test_data): Likewise.
57105         (llrint_upward_test_data): Likewise.
57106         (lround_test_data): Likewise.
57107         (llround_test_data): Likewise.
57109         * math/libm-test.inc (NO_TEST_INLINE): New macro.
57110         (ERRNO_UNCHANGED): Update value.
57111         (ERRNO_EDOM): Likewise.
57112         (ERRNO_ERANGE): Likewise.
57113         (NO_TEST_INLINE_FLOAT): New macro.
57114         (NO_TEST_INLINE_DOUBLE): Likewise.
57115         (enable_test): New function.
57116         (RUN_TEST_f_f): Check enable_test before running test.
57117         (RUN_TEST_2_f): Likewise.
57118         (RUN_TEST_fff_f): Likewise.
57119         (RUN_TEST_c_f): Likewise.
57120         (RUN_TEST_f_f1): Likewise.
57121         (RUN_TEST_fF_f1): Likewise.
57122         (RUN_TEST_fI_f1): Likewise.
57123         (RUN_TEST_ffI_f1): Likewise.
57124         (RUN_TEST_c_c): Likewise.
57125         (RUN_TEST_cc_c): Likewise.
57126         (RUN_TEST_f_i): Likewise.
57127         (RUN_TEST_f_i_tg): Likewise.
57128         (RUN_TEST_ff_i_tg): Likewise.
57129         (RUN_TEST_f_b): Likewise.
57130         (RUN_TEST_f_b_tg): Likewise.
57131         (RUN_TEST_f_l): Likewise.
57132         (RUN_TEST_f_L): Likewise.
57133         (RUN_TEST_fFF_11): Likewise.
57134         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
57135         conditionals.
57136         (cosh_test_data): Likewise.
57137         (exp_test_data): Likewise.
57138         (expm1_test_data): Likewise.
57139         (hypot_test_data): Likewise.
57140         (pow_test_data): Likewise.
57141         (sinh_test_data): Likewise.
57142         (tanh_test_data): Likewise.
57143         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
57144         flags argument.
57146         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
57147         tests with quiet NaN input and output.
57148         (acosh_test_data): Likewise.
57149         (asin_test_data): Likewise.
57150         (asinh_test_data): Likewise.
57151         (atan_test_data): Likewise.
57152         (atanh_test_data): Likewise.
57153         (atan2_test_data): Likewise.
57154         (cbrt_test_data): Likewise.
57155         (cos_test_data): Likewise.
57156         (cosh_test_data): Likewise.
57157         (erf_test_data): Likewise.
57158         (erfc_test_data): Likewise.
57159         (exp_test_data): Likewise.
57160         (exp10_test_data): Likewise.
57161         (exp2_test_data): Likewise.
57162         (expm1_test_data): Likewise.
57163         (hypot_test_data): Likewise.
57164         (j0_test_data): Likewise.
57165         (j1_test_data): Likewise.
57166         (jn_test_data): Likewise.
57167         (lgamma_test_data): Likewise.
57168         (log_test_data): Likewise.
57169         (log10_test_data): Likewise.
57170         (log1p_test_data): Likewise.
57171         (log2_test_data): Likewise.
57172         (pow_test_data): Likewise.
57173         (scalb_test_data): Likewise.
57174         (sin_test_data): Likewise.
57175         (sincos_test_data): Likewise.
57176         (sinh_test_data): Likewise.
57177         (tan_test_data): Likewise.
57178         (tanh_test_data): Likewise.
57179         (tgamma_test_data): Likewise.
57180         (y0_test_data): Likewise.
57181         (y1_test_data): Likewise.
57182         (yn_test_data): Likewise.
57184         [BZ #16167]
57185         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
57186         argument being NaN and avoid computations with second argument in
57187         that case.
57188         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57189         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
57190         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57192 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
57194         * locale/iso-639.def: Add Chitwani Tharu (the).
57196 2013-11-14  Andreas Schwab  <schwab@suse.de>
57198         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
57199         word instead of empty string.
57201 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57204         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
57205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57206         (__fe_nomask_env): Likewise.
57208 2013-11-13  Steve Ellcey  <sellcey@mips.com>
57210         * benchtests/bench-timing.h: Include time.h.
57212 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
57214         [BZ #15997]
57215         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
57216         to 3.4.0 for x32.
57217         * sysdeps/unix/sysv/linux/configure: Regenerated.
57219 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
57221         [BZ #16151]
57222         * stdlib/strtod_l.c (round_and_return): Do not consider
57223         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
57224         exponent one less than half the least subnormal exponent.
57225         * stdlib/test-strtod-round-data: Add more tests.
57226         * stdlib/tst-strtod-round.c (tests): Regenerated.
57228 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57230         [BZ #14143]
57231         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
57232         (__fe_mask_env): Likewise.
57233         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
57234         libm_hidden_proto and add function prototype.
57235         (__fe_mask_env): Add function prototype.
57236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57237         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
57238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57239         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
57240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57241         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
57243 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57245         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
57246         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
57248 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57250         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
57251         of htab_find_slot().
57253 2013-11-11  David S. Miller  <davem@davemloft.net>
57255         [BZ #16150]
57256         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
57257         symbol in the non-vis3 case in static builds.
57258         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
57259         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
57260         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
57261         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
57263 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
57265         [BZ #387]
57266         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
57267         it is empty.
57269 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57271         * benchtests/Makefile: Add bench-strtod.
57272         * benchtests/bench-strtod.c: New file: strtod benchtest
57274 2013-11-11  Andreas Schwab  <schwab@suse.de>
57276         [BZ #16153]
57277         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
57278         terminating NUL in key length.
57280 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57282         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57283         Add artificial ODP entry for vDSO symbol for PPC64.
57284         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
57285         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
57287 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57289         [BZ #15374]
57290         * nss/getent.c (services_keys): Recognize services starting with digit.
57292 2013-11-06  David S. Miller  <davem@davemloft.net>
57294         [BZ #15985]
57295         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
57296         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
57298 2013-11-06  Will Newton  <will.newton@linaro.org>
57300         * manual/memory.texi (Malloc Examples): Remove register
57301         keyword from examples.
57303 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
57305         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
57307 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
57309         [BZ #6981]
57310         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
57311         depending on [__GCC_IEC_559 > 0].
57312         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
57313         depending on [__GCC_IEC_559_COMPLEX > 0].
57315 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
57317         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
57318         to iso-639.def.
57320 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
57322         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
57324 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
57326         [BZ #16112]
57327         * malloc/malloc (malloc_info): Do not handle first bin as
57328         special case.
57330 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
57332         * locale/iso-639.def: Add Central Nahuatl (nhn).
57334 2013-11-01  Bruno Haible  <bruno@clisp.org>
57336         [BZ #7003]
57337         * manual/math.texi (BSD Random): Specify range upper bound as
57338         in POSIX.
57340 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
57342         * locale/iso-639.def: Add Meadow Mari (mhr).
57344 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
57346         [BZ #14752], [BZ #15763]
57347         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
57348         Validate name.
57349         * rt/tst_shm.c: Add test for escaping directory.
57351 2013-10-31  Andreas Schwab  <schwab@suse.de>
57353         [BZ #15917]
57354         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
57355         followed by 'x' as part of digit sequence.
57356         * stdio-common/tst-sscanf.c (double_tests2): New tests.
57358 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
57360         [BZ #16037]
57361         * configure.ac: allow GNU Make 4.0 and greater.
57362         * configure: Regenerated.
57364 2013-10-30  Will Newton  <will.newton@linaro.org>
57366         [BZ #16038]
57367         * malloc/hooks.c (memalign_check): Limit alignment to the
57368         maximum representable power of two.
57369         * malloc/malloc.c (__libc_memalign): Likewise.
57370         * malloc/tst-memalign.c (do_test): Add test for very
57371         large alignment values.
57372         * malloc/tst-posix_memalign.c (do_test): Likewise.
57374 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57376         [BZ #11087]
57377         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
57378         (munmap_chunk): Likewise.
57379         (mremap_chunk): Likewise.
57381 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57383         [BZ #15799]
57384         * stdlib/div.c (div): Remove obsolete code.
57385         * stdlib/ldiv.c (ldiv): Likewise.
57386         * stdlib/lldiv.c (lldiv): Likewise.
57388 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57390         [BZ #16071]
57391         * nss/nss_files/files-XXX.c (get_contents_ret): New
57392         enumerator.
57393         (get_contents): New function.
57394         (internal_getent): Use it.  Expand size of LINEBUFLEN.
57396 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
57398         * configure.in: Moved to ...
57399         * configure.ac: ... here. Change reference to configure.in
57400         to configure.ac.
57401         * sysdeps/arm/preconfigure.ac: ... here.
57402         configure.in to configure.ac.
57403         * sysdeps/gnu/configure.in: Moved to ...
57404         * sysdeps/gnu/configure.ac: ... here.
57405         * sysdeps/i386/configure.in: Moved to ...
57406         * sysdeps/i386/configure.ac: ... here.
57407         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
57408         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
57409         * sysdeps/mach/configure.in: Moved to ...
57410         * sysdeps/mach/configure.ac: ... here.
57411         * sysdeps/mach/hurd/configure.in: Moved to ...
57412         * sysdeps/mach/hurd/configure.ac: ... here.
57413         * sysdeps/powerpc/configure.in: Moved to ...
57414         * sysdeps/powerpc/configure.ac: ... here.
57415         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
57416         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
57417         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
57418         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
57419         * sysdeps/s390/s390-32/configure.in: Moved to ...
57420         * sysdeps/s390/s390-32/configure.ac: ... here.
57421         * sysdeps/s390/s390-64/configure.in: Moved to ...
57422         * sysdeps/s390/s390-64/configure.ac: ... here.
57423         * sysdeps/sh/configure.in: Moved to ...
57424         * sysdeps/sh/configure.ac: ... here.
57425         * sysdeps/sparc/configure.in: Moved to ...
57426         * sysdeps/sparc/configure.ac: ... here.
57427         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
57428         * sysdeps/unix/sysv/linux/configure.ac: ... here.
57429         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
57430         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
57431         * sysdeps/x86_64/configure.in: Moved to ...
57432         * sysdeps/x86_64/configure.ac: ... here.
57433         * sysdeps/x86_64/preconfigure.in: Moved to ...
57434         * sysdeps/x86_64/preconfigure.ac: ... here.
57435         * aclocal.m4: Change reference to configure.in to configure.ac.
57436         * config.h.in: Likewise.
57437         * manual/install.texi: Likewise.
57438         * manual/maint.texi: Likewise.
57439         * Makefile: Likewise.
57440         * malloc/Makefile: Likewise.
57441         * nscd/Makefile: Likewise.
57442         * Makeconfig: Change reference to configure.in and
57443         preconfigure.in to configure.ac and preconfigure.ac
57444         respectively.
57445         * INSTALL: Regenerated.
57446         * configure: Likewise.
57447         * sysdeps/gnu/configure: Likewise.
57448         * sysdeps/i386/configure: Likewise.
57449         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
57450         * sysdeps/mach/configure: Likewise.
57451         * sysdeps/mach/hurd/configure: Likewise.
57452         * sysdeps/powerpc/configure: Likewise.
57453         * sysdeps/powerpc/powerpc32/configure: Likewise.
57454         * sysdeps/powerpc/powerpc64/configure: Likewise.
57455         * sysdeps/s390/s390-32/configure: Likewise.
57456         * sysdeps/s390/s390-64/configure: Likewise.
57457         * sysdeps/sh/configure: Likewise.
57458         * sysdeps/sparc/configure: Likewise.
57459         * sysdeps/unix/sysv/linux/configure: Likewise.
57460         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
57461         * sysdeps/x86_64/configure: Likewise.
57462         * sysdeps/x86_64/preconfigure: Likewise.
57464 2013-10-29  Andreas Schwab  <schwab@suse.de>
57466         * stdio-common/Makefile (tst-swscanf-ENV): Define.
57468 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57470         * benchtests/pow-inputs: Add new inputs.
57472         * benchtests/exp-inputs: Add new inputs.
57474         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
57475         conditional check for return value.
57476         (__cos32): Likewise.
57478 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57480         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
57481         to provide a boost for large inputs with word alignment.
57482         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
57483         implementation based on optimized PPC64 strcpy.
57484         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
57485         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
57486         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
57487         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
57489 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57491         [BZ #2801]
57492         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
57494 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57496         [BZ #14876]
57497         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
57498         * time/tst-strptime.c (day_tests): Add testcase.
57500 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57502         [BZ #14029]
57503         * manual/pattern.texi: Acknowledge that fnmatch can fail.
57505 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
57507         [BZ #16074]
57508         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
57509         MAP_FAILED on error.
57511 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57513         [BZ #16072]
57514         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
57515         heap for large requests.
57517 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
57519         [BZ #9954]
57520         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
57521         result if the result has no associated interface.
57522         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
57523         interface for all 127.X.Y.Z addresses.
57525 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
57527         * locale/iso-639.def: Add Ligurian (lij)
57529 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
57531         [BZ #15825]
57532         * sunrpc/rpc_main.c: Document rpcgen -5.
57534 2013-10-19  Michael Stahl  <mstahl@redhat.com>
57536         * elf/rtld.c (do_preload): Print the reason why preloading failed.
57538 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57540         [BZ #10278]
57541         * posix/glob.c: Match only directories when trailing slash is present.
57542         * posix/tst-gnuglob.c (my_opendir): Do not open files.
57543         (main): Add testcase.
57545 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57547         [BZ #15670]
57548         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
57550 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
57552         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
57553         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
57554         AUTH_DES and cindex for FIPS 140-2.
57555         (DES Encryption): Add cindex FIPS 46-3.
57557         * locale/locarchive.h (struct locarhandle): Add fname.
57558         * locale/programs/localedef.c (main): Pass ARGV[remaining]
57559         if an optional argument was specified to --list-archive,
57560         otherwise NULL.
57561         * locale/programs/locarchive.c (show_archive_content): Take new
57562         argument fname and pass it via ah.fname to open_archive.
57563         * locale/programs/localedef.h: Update decl.
57564         (open_archive): If AH->fname is non-null, open that file
57565         rather than the default file name, and don't ignore ENOENT.
57566         (create_archive): Set AH.fname to NULL.
57567         (delete_locales_from_archive): Likewise.
57568         (add_locales_to_archive): Likewise.
57569         * locale/programs/locfile.c (write_all_categories): Likewise.
57571 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
57572             Aldy Hernandez  <aldyh@redhat.com>
57574         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
57575         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
57576         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
57577         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
57578         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
57579         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
57580         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
57581         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
57582         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
57583         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
57584         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
57585         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
57586         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
57587         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
57588         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
57589         Likewise.
57590         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
57591         Likewise.
57592         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
57593         Likewise.
57594         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
57595         Likewise.
57596         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
57597         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
57598         Likewise.
57599         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
57600         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
57601         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
57602         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
57603         Likewise.
57604         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
57605         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
57606         * sysdeps/powerpc/preconfigure: Likewise.
57607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
57608         Likewise.
57609         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
57610         Replace contents of file by #include of <fenv_libc.h>.
57611         * sysdeps/powerpc/soft-fp/sfp-machine.h
57612         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
57613         and <sys/prctl.h>.
57614         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
57615         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
57616         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
57617         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
57618         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
57619         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
57620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
57621         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
57622         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
57623         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
57624         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
57625         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
57626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57627         Allow copysignl PLT reference to be missing.
57629 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
57630             Joseph Myers  <joseph@codesourcery.com
57632         [BZ #15948]
57633         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
57634         single character.
57635         (add_to_tablewc): Assert sequence of wide characters is nonempty.
57637 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57639         * elf/tst-tls-dlinfo.c: Don't include tls.h.
57640         * elf/tst-tls1.c: Likewise.
57641         * elf/tst-tls10.h: Likewise.
57642         * elf/tst-tls14.c: Likewise.
57643         * elf/tst-tls2.c: Likewise.
57644         * elf/tst-tls3.c: Likewise.
57645         * elf/tst-tls4.c: Likewise.
57646         * elf/tst-tls5.c: Likewise.
57647         * elf/tst-tls6.c: Likewise.
57648         * elf/tst-tls7.c: Likewise.
57649         * elf/tst-tls8.c: Likewise.
57650         * elf/tst-tls9.c: Likewise.
57651         * elf/tst-tlsmod1.c: Likewise.
57652         * elf/tst-tlsmod13.c: Likewise.
57653         * elf/tst-tlsmod13a.c: Likewise.
57654         * elf/tst-tlsmod14a.c: Likewise.
57655         * elf/tst-tlsmod16a.c: Likewise.
57656         * elf/tst-tlsmod16b.c: Likewise.
57657         * elf/tst-tlsmod2.c: Likewise.
57658         * elf/tst-tlsmod3.c: Likewise.
57659         * elf/tst-tlsmod4.c: Likewise.
57660         * elf/tst-tlsmod5.c: Likewise.
57661         * elf/tst-tlsmod6.c: Likewise.
57663 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
57665         [BZ #12486]
57666         * malloc/malloc.c: remove checks for statistics.
57668 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57670         [BZ #15277]
57671         * inet/inet_net.c (inet_network): Detect additional invalid strings.
57672         * inet/tst-network.c: Add testcase.
57674 2013-10-17  Andreas Schwab  <schwab@suse.de>
57676         [BZ #15218]
57677         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
57678         to determine canonical name.
57680 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57682         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
57683         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
57684         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57685         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57686         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57687         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57688         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57689         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57690         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57691         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57692         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57693         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57694         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57695         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57696         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57697         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57698         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57699         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57700         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57701         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57702         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57703         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57704         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57705         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
57706         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
57707         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57708         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57709         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
57710         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57711         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
57712         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57713         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57714         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57715         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57716         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57717         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57718         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57719         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57720         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57721         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57722         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57723         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57724         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57725         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57726         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57727         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57728         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57729         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57730         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57731         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57732         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57733         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57734         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57735         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57736         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57737         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57739         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57741 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
57743         [BZ #16041]
57744         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
57745         make result into a quiet NaN.
57747 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
57749         * soft-fp/adddf3.c: Fix horizontal whitespace.
57750         * soft-fp/addsf3.c: Likewise.
57751         * soft-fp/addtf3.c: Likewise.
57752         * soft-fp/divdf3.c: Likewise.
57753         * soft-fp/divsf3.c: Likewise.
57754         * soft-fp/divtf3.c: Likewise.
57755         * soft-fp/double.h: Likewise.
57756         * soft-fp/eqdf2.c: Likewise.
57757         * soft-fp/eqsf2.c: Likewise.
57758         * soft-fp/eqtf2.c: Likewise.
57759         * soft-fp/extenddftf2.c: Likewise.
57760         * soft-fp/extended.h: Likewise.
57761         * soft-fp/extendsfdf2.c: Likewise.
57762         * soft-fp/extendsftf2.c: Likewise.
57763         * soft-fp/extendxftf2.c: Likewise.
57764         * soft-fp/fixdfdi.c: Likewise.
57765         * soft-fp/fixdfsi.c: Likewise.
57766         * soft-fp/fixdfti.c: Likewise.
57767         * soft-fp/fixsfdi.c: Likewise.
57768         * soft-fp/fixsfsi.c: Likewise.
57769         * soft-fp/fixsfti.c: Likewise.
57770         * soft-fp/fixtfdi.c: Likewise.
57771         * soft-fp/fixtfsi.c: Likewise.
57772         * soft-fp/fixtfti.c: Likewise.
57773         * soft-fp/fixunsdfdi.c: Likewise.
57774         * soft-fp/fixunsdfsi.c: Likewise.
57775         * soft-fp/fixunsdfti.c: Likewise.
57776         * soft-fp/fixunssfdi.c: Likewise.
57777         * soft-fp/fixunssfsi.c: Likewise.
57778         * soft-fp/fixunssfti.c: Likewise.
57779         * soft-fp/fixunstfdi.c: Likewise.
57780         * soft-fp/fixunstfsi.c: Likewise.
57781         * soft-fp/fixunstfti.c: Likewise.
57782         * soft-fp/floatdidf.c: Likewise.
57783         * soft-fp/floatdisf.c: Likewise.
57784         * soft-fp/floatditf.c: Likewise.
57785         * soft-fp/floatsidf.c: Likewise.
57786         * soft-fp/floatsisf.c: Likewise.
57787         * soft-fp/floatsitf.c: Likewise.
57788         * soft-fp/floattidf.c: Likewise.
57789         * soft-fp/floattisf.c: Likewise.
57790         * soft-fp/floattitf.c: Likewise.
57791         * soft-fp/floatundidf.c: Likewise.
57792         * soft-fp/floatundisf.c: Likewise.
57793         * soft-fp/floatunditf.c: Likewise.
57794         * soft-fp/floatunsidf.c: Likewise.
57795         * soft-fp/floatunsisf.c: Likewise.
57796         * soft-fp/floatunsitf.c: Likewise.
57797         * soft-fp/floatuntidf.c: Likewise.
57798         * soft-fp/floatuntisf.c: Likewise.
57799         * soft-fp/floatuntitf.c: Likewise.
57800         * soft-fp/fmadf4.c: Likewise.
57801         * soft-fp/fmasf4.c: Likewise.
57802         * soft-fp/fmatf4.c: Likewise.
57803         * soft-fp/gedf2.c: Likewise.
57804         * soft-fp/gesf2.c: Likewise.
57805         * soft-fp/getf2.c: Likewise.
57806         * soft-fp/ledf2.c: Likewise.
57807         * soft-fp/lesf2.c: Likewise.
57808         * soft-fp/letf2.c: Likewise.
57809         * soft-fp/muldf3.c: Likewise.
57810         * soft-fp/mulsf3.c: Likewise.
57811         * soft-fp/multf3.c: Likewise.
57812         * soft-fp/negdf2.c: Likewise.
57813         * soft-fp/negsf2.c: Likewise.
57814         * soft-fp/negtf2.c: Likewise.
57815         * soft-fp/op-1.h: Likewise.
57816         * soft-fp/op-2.h: Likewise.
57817         * soft-fp/op-4.h: Likewise.
57818         * soft-fp/op-8.h: Likewise.
57819         * soft-fp/op-common.h: Likewise.
57820         * soft-fp/quad.h: Likewise.
57821         * soft-fp/single.h: Likewise.
57822         * soft-fp/soft-fp.h: Likewise.
57823         * soft-fp/sqrtdf2.c: Likewise.
57824         * soft-fp/sqrtsf2.c: Likewise.
57825         * soft-fp/sqrttf2.c: Likewise.
57826         * soft-fp/subdf3.c: Likewise.
57827         * soft-fp/subsf3.c: Likewise.
57828         * soft-fp/subtf3.c: Likewise.
57829         * soft-fp/truncdfsf2.c: Likewise.
57830         * soft-fp/trunctfdf2.c: Likewise.
57831         * soft-fp/trunctfsf2.c: Likewise.
57832         * soft-fp/trunctfxf2.c: Likewise.
57833         * soft-fp/unorddf2.c: Likewise.
57834         * soft-fp/unordsf2.c: Likewise.
57835         * soft-fp/unordtf2.c: Likewise.
57837 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
57839         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
57840         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
57842 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
57844         * elf/dl-libc.c: Clear initfini list after freeing.
57846 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
57848         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
57849         * soft-fp/addsf3.c: Likewise.
57850         * soft-fp/addtf3.c: Likewise.
57851         * soft-fp/divdf3.c: Likewise.
57852         * soft-fp/divsf3.c: Likewise.
57853         * soft-fp/divtf3.c: Likewise.
57854         * soft-fp/double.h: Likewise.
57855         * soft-fp/eqdf2.c: Likewise.
57856         * soft-fp/eqsf2.c: Likewise.
57857         * soft-fp/eqtf2.c: Likewise.
57858         * soft-fp/extenddftf2.c: Likewise.
57859         * soft-fp/extended.h: Likewise.
57860         * soft-fp/extendsfdf2.c: Likewise.
57861         * soft-fp/extendsftf2.c: Likewise.
57862         * soft-fp/extendxftf2.c: Likewise.
57863         * soft-fp/fixdfdi.c: Likewise.
57864         * soft-fp/fixdfsi.c: Likewise.
57865         * soft-fp/fixdfti.c: Likewise.
57866         * soft-fp/fixsfdi.c: Likewise.
57867         * soft-fp/fixsfsi.c: Likewise.
57868         * soft-fp/fixsfti.c: Likewise.
57869         * soft-fp/fixtfdi.c: Likewise.
57870         * soft-fp/fixtfsi.c: Likewise.
57871         * soft-fp/fixtfti.c: Likewise.
57872         * soft-fp/fixunsdfdi.c: Likewise.
57873         * soft-fp/fixunsdfsi.c: Likewise.
57874         * soft-fp/fixunsdfti.c: Likewise.
57875         * soft-fp/fixunssfdi.c: Likewise.
57876         * soft-fp/fixunssfsi.c: Likewise.
57877         * soft-fp/fixunssfti.c: Likewise.
57878         * soft-fp/fixunstfdi.c: Likewise.
57879         * soft-fp/fixunstfsi.c: Likewise.
57880         * soft-fp/fixunstfti.c: Likewise.
57881         * soft-fp/floatdidf.c: Likewise.
57882         * soft-fp/floatdisf.c: Likewise.
57883         * soft-fp/floatditf.c: Likewise.
57884         * soft-fp/floatsidf.c: Likewise.
57885         * soft-fp/floatsisf.c: Likewise.
57886         * soft-fp/floatsitf.c: Likewise.
57887         * soft-fp/floattidf.c: Likewise.
57888         * soft-fp/floattisf.c: Likewise.
57889         * soft-fp/floattitf.c: Likewise.
57890         * soft-fp/floatundidf.c: Likewise.
57891         * soft-fp/floatundisf.c: Likewise.
57892         * soft-fp/floatunsidf.c: Likewise.
57893         * soft-fp/floatunsisf.c: Likewise.
57894         * soft-fp/floatuntidf.c: Likewise.
57895         * soft-fp/floatuntisf.c: Likewise.
57896         * soft-fp/floatuntitf.c: Likewise.
57897         * soft-fp/fmadf4.c: Likewise.
57898         * soft-fp/fmasf4.c: Likewise.
57899         * soft-fp/fmatf4.c: Likewise.
57900         * soft-fp/gedf2.c: Likewise.
57901         * soft-fp/gesf2.c: Likewise.
57902         * soft-fp/getf2.c: Likewise.
57903         * soft-fp/ledf2.c: Likewise.
57904         * soft-fp/lesf2.c: Likewise.
57905         * soft-fp/letf2.c: Likewise.
57906         * soft-fp/muldf3.c: Likewise.
57907         * soft-fp/mulsf3.c: Likewise.
57908         * soft-fp/multf3.c: Likewise.
57909         * soft-fp/negdf2.c: Likewise.
57910         * soft-fp/negsf2.c: Likewise.
57911         * soft-fp/negtf2.c: Likewise.
57912         * soft-fp/op-1.h: Likewise.
57913         * soft-fp/op-2.h: Likewise.
57914         * soft-fp/op-4.h: Likewise.
57915         * soft-fp/op-8.h: Likewise.
57916         * soft-fp/op-common.h: Likewise.
57917         * soft-fp/quad.h: Likewise.
57918         * soft-fp/single.h: Likewise.
57919         * soft-fp/soft-fp.h: Likewise.
57920         * soft-fp/sqrtdf2.c: Likewise.
57921         * soft-fp/sqrtsf2.c: Likewise.
57922         * soft-fp/sqrttf2.c: Likewise.
57923         * soft-fp/subdf3.c: Likewise.
57924         * soft-fp/subsf3.c: Likewise.
57925         * soft-fp/subtf3.c: Likewise.
57926         * soft-fp/truncdfsf2.c: Likewise.
57927         * soft-fp/trunctfdf2.c: Likewise.
57928         * soft-fp/trunctfsf2.c: Likewise.
57929         * soft-fp/trunctfxf2.c: Likewise.
57930         * soft-fp/unorddf2.c: Likewise.
57931         * soft-fp/unordsf2.c: Likewise.
57932         * soft-fp/unordtf2.c: Likewise.
57934 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
57936         [BZ #15672]
57937         * misc/error.c (error_tail): Fix possible buffer overflow.
57939 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
57941         [BZ #13028]
57942         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
57943         address.
57945 2013-10-14  P. J. McDermott  <pj@pehjota.net>
57947         [BZ #832]
57948         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
57949         testing pipefail option.
57951 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57953         * soft-fp/double.h: Indent preprocessor directives inside #if.
57954         * soft-fp/extended.h: Likewise.
57955         * soft-fp/op-2.h: Likewise.
57956         * soft-fp/op-4.h: Likewise.
57957         * soft-fp/op-common.h: Likewise.
57958         * soft-fp/quad.h: Likewise.
57959         * soft-fp/single.h: Likewise.
57960         * soft-fp/soft-fp.h: Likewise.
57962 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
57964         * iconv/iconv_prog.c: Fix typos.
57965         * stdio-common/psiginfo-data.h: Likewise.
57967 2013-10-12   Reuben Thomas <rrt@sc3d.org>
57969         [BZ #15764]
57970         * locale/setlocale.c: Fix typo.
57972 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57974         [BZ #16036]
57975         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
57976         signaling NaN arguments.
57977         * soft-fp/unordsf2.c (__unordsf2): Likewise.
57978         * soft-fp/unordtf2.c (__unordtf2): Likewise.
57980         [BZ #14910]
57981         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
57982         unordered operands.
57983         * soft-fp/gesf2.c (__gesf2): Likewise.
57984         * soft-fp/getf2.c (__getf2): Likewise.
57985         * soft-fp/ledf2.c (__ledf2): Likewise.
57986         * soft-fp/lesf2.c (__lesf2): Likewise.
57987         * soft-fp/letf2.c (__letf2): Likewise.
57989         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
57990         * soft-fp/eqsf2.c (__eqsf2): Likewise.
57991         * soft-fp/eqtf2.c (__eqtf2): Likewise.
57992         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
57993         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
57994         * soft-fp/fixdfti.c (__fixdfti): Likewise.
57995         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
57996         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
57997         * soft-fp/fixsfti.c (__fixsfti): Likewise.
57998         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
57999         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
58000         * soft-fp/fixtfti.c (__fixtfti): Likewise.
58001         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
58002         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
58003         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
58004         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
58005         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
58006         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
58007         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58008         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58009         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58010         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58011         * soft-fp/floatdisf.c (__floatdisf): Likewise.
58012         * soft-fp/floatsisf.c (__floatsisf): Likewise.
58013         * soft-fp/floattidf.c (__floattidf): Likewise.
58014         * soft-fp/floattisf.c (__floattisf): Likewise.
58015         * soft-fp/floattitf.c (__floattitf): Likewise.
58016         * soft-fp/floatundidf.c (__floatundidf): Likewise.
58017         * soft-fp/floatundisf.c (__floatundisf): Likewise.
58018         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58019         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58020         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58021         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58022         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58023         * soft-fp/gesf2.c (__gesf2): Likewise.
58024         * soft-fp/getf2.c (__getf2): Likewise.
58025         * soft-fp/ledf2.c (__ledf2): Likewise.
58026         * soft-fp/lesf2.c (__lesf2): Likewise.
58027         * soft-fp/letf2.c (__letf2): Likewise.
58029         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58030         Undefine and redefine.
58031         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58032         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58033         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58034         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58035         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58036         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58037         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58038         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58039         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58040         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58041         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58042         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58043         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58044         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58045         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58047         [BZ #16032]
58048         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
58049         without decrementing exponent if mantissa >= that for the
58050         denominator, not >.
58051         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
58052         denominator, not >.  Decrement exponent in < case instead of
58053         incrementing in >= case.
58054         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
58055         without decrementing exponent if mantissa >= that for the
58056         denominator, not >.
58058         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
58059         computing saturated result for unsigned overflow.
58061 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58062             Jeff Law  <law@redhat.com>
58064         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
58065         (atan2Mp): Add systemtap probe marker.
58066         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
58067         (__ieee754_log): Add systemtap probe marker.
58068         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
58069         (atanMp): Add systemtap probe marker.
58070         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
58071         (tanMp): Add systemtap probe marker.
58072         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
58073         (__slowexp): Add systemtap probe marker.
58074         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
58075         (__slowpow): Add systemtap probe marker.
58076         * manual/probes.texi: Document probes.
58078 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
58080         [BZ #15362]
58081         * libio/fileops.c (_IO_new_file_write): Return count of bytes
58082         written.
58083         (_IO_new_file_xsputn): Don't return EOF if nothing has been
58084         written.
58085         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
58086         written to buffer but not flushed.
58087         * libio/iofwrite_u.c:  Likewise.
58088         * libio/iopadn.c:  Return bytes returned even if EOF was
58089         encountered.
58090         * libio/iowpadn.c:  Likewise.
58091         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
58092         if _IO_padn does not write the whole buffer.
58093         [!COMPILE_WPRINTF] (PAD): Likewise.
58095 2013-10-10  David S. Miller  <davem@davemloft.net>
58097         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
58098         directory block.
58100 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58102         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
58103         instead of FSF address.
58104         * soft-fp/fixdfti.c: Likewise.
58105         * soft-fp/fixsfti.c: Likewise.
58106         * soft-fp/fixtfti.c: Likewise.
58107         * soft-fp/fixunsdfti.c: Likewise.
58108         * soft-fp/fixunssfti.c: Likewise.
58109         * soft-fp/fixunstfti.c: Likewise.
58110         * soft-fp/floattidf.c: Likewise.
58111         * soft-fp/floattisf.c: Likewise.
58112         * soft-fp/floattitf.c: Likewise.
58113         * soft-fp/floatuntidf.c: Likewise.
58114         * soft-fp/floatuntisf.c: Likewise.
58115         * soft-fp/floatuntitf.c: Likewise.
58116         * soft-fp/trunctfxf2.c: Likewise.
58118         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
58119         * soft-fp/fixdfti.c: Likewise.
58120         * soft-fp/fixsfti.c: Likewise.
58121         * soft-fp/fixtfti.c: Likewise.
58122         * soft-fp/fixunsdfti.c: Likewise.
58123         * soft-fp/fixunssfti.c: Likewise.
58124         * soft-fp/fixunstfti.c: Likewise.
58125         * soft-fp/floattidf.c: Likewise.
58126         * soft-fp/floattisf.c: Likewise.
58127         * soft-fp/floattitf.c: Likewise.
58128         * soft-fp/floatuntidf.c: Likewise.
58129         * soft-fp/floatuntisf.c: Likewise.
58130         * soft-fp/floatuntitf.c: Likewise.
58131         * soft-fp/trunctfxf2.c: Likewise.
58133 2013-10-10  David S. Miller  <davem@davemloft.net>
58135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58137 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
58139         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58140         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
58141         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
58142         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
58143         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
58144         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
58145         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
58147         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
58148         for NaNs before doing comparisons on argument.
58149         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
58150         Likewise.
58152 2013-10-10  Will Newton  <will.newton@linaro.org>
58154         * malloc/hooks.c (memalign_check): Ensure the value of bytes
58155         passed to _int_memalign does not overflow.
58157 2013-10-10  Torvald Riegel  <triegel@redhat.com>
58159         * scripts/bench.pl: Add include-sources directive.
58160         * benchtests/README: Update documentation.
58162 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58164         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
58165         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
58166         instead of FP_INIT_ROUNDMODE.
58167         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
58168         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
58170         [BZ #16034]
58171         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
58172         copy class of input value.
58173         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
58174         not handle exceptions.
58175         * soft-fp/negsf2.c (__negsf2): Likewise.
58176         * soft-fp/negtf2.c (__negtf2): Likewise.
58177         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
58179 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
58181         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
58182         semicolon.  From Linux kernel.
58184 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
58186         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
58188 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
58190         [BZ #156]
58191         * manual/socket.texi: Added statement about buffer
58192         for gethostbyname2_r.
58194 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
58196         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
58197         Use .p2align directive instead, throughout.
58198         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58199         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
58200         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
58201         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58202         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58203         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
58204         * sysdeps/x86_64/strchr.S: Likewise.
58205         * sysdeps/x86_64/strrchr.S: Likewise.
58207 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58209         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
58211         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
58213         * sysdeps/generic/math_private.h (__mpsin1): Remove
58214         declaration.
58215         (__mpcos1): Likewise.
58216         (__mpsin): New argument __range_reduce.
58217         (__mpcos): Likewise.
58218         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58219         (slow): Use __mpsin and __mpcos.
58220         (slow1): Likewise.
58221         (slow2): Likewise.
58222         (sloww): Likewise.
58223         (sloww1): Likewise.
58224         (sloww2): Likewise.
58225         (bsloww): Likewise.
58226         (bsloww1): Likewise.
58227         (bsloww2): Likewise.
58228         (cslow2): Likewise.
58229         (csloww): Likewise.
58230         (csloww1): Likewise.
58231         (csloww2): Likewise.
58232         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
58233         range_reduce.  Merge in __mpsin1.
58234         (__mpcos): Likewise.
58235         (__mpsin1): Remove.
58236         (__mpcos1): Likewise.
58238 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
58240         * locale/loadlocale.c (_nl_intern_locale_data): Use
58241         LOCFILE_ALIGNED_P.
58242         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
58243         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
58244         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
58245         obstack data is appropriately aligned.
58246         (obstack_int32_grow_fast): Likewise.
58247         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
58248         * locale/programs/locfile.c (add_locale_uint32): Likewise.
58249         (add_locale_uint32_array): Likewise.
58251 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58253         * benchtests/Makefile: Remove ARGLIST and RET variables.
58254         ($(objpfx)bench-%.c): Pass only function name to the script.
58255         * benchtests/README: Update documentation.
58256         * benchtests/acos-inputs: Add new directives.
58257         * benchtests/acosh-inputs: Likewise.
58258         * benchtests/asin-inputs: Likewise.
58259         * benchtests/asinh-inputs: Likewise.
58260         * benchtests/atan-inputs: Likewise.
58261         * benchtests/atanh-inputs: Likewise.
58262         * benchtests/cos-inputs: Likewise.
58263         * benchtests/cosh-inputs: Likewise.
58264         * benchtests/exp-inputs: Likewise.
58265         * benchtests/log-inputs: Likewise.
58266         * benchtests/pow-inputs: Likewise.
58267         * benchtests/rint-inputs: Likewise.
58268         * benchtests/sin-inputs: Likewise.
58269         * benchtests/sinh-inputs: Likewise.
58270         * benchtests/tan-inputs: Likewise.
58271         * benchtests/tanh-inputs: Likewise.
58272         * scripts/bench.pl: Add support for new directives.
58274 2013-10-07  Alan Modra  <amodra@gmail.com>
58276         * README: Fix careless merge.
58278 2013-10-05  Alan Modra  <amodra@gmail.com>
58280         * NEWS: Mention powerpc64le support and bugs fixed.
58281         * README: Both big-endian and little-endian powerpc64 supported.
58283 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58285         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
58286         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
58287         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
58288         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
58290 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
58292         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
58293         match prototype.
58295 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
58297         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
58298         Move -mhard-float appending from
58299         ports/sysdeps/powerpc/powerpc32/Makefile.
58300         [$(with-fp) = yes] (ASFLAGS): Likewise.
58301         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
58302         * sysdeps/powerpc/nofpu: Move directory from
58303         ports/sysdeps/powerpc/nofpu.
58304         * sysdeps/powerpc/soft-fp: Move directory from
58305         ports/sysdeps/powerpc/soft-fp.
58306         * sysdeps/powerpc/powerpc32/405: Move directory from
58307         ports/sysdeps/powerpc/powerpc32/405.
58308         * sysdeps/powerpc/powerpc32/440: Move directory from
58309         ports/sysdeps/powerpc/powerpc32/440.
58310         * sysdeps/powerpc/powerpc32/464: Move directory from
58311         ports/sysdeps/powerpc/powerpc32/464.
58312         * sysdeps/powerpc/powerpc32/476: Move directory from
58313         ports/sysdeps/powerpc/powerpc32/476.
58314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
58315         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
58316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
58317         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
58318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
58319         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
58320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
58321         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
58322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
58323         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
58324         * README: Update for powerpc-*-linux-gnu software floating point
58325         support in libc.
58327         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
58328         case to powerpc/powerpc32*.
58329         * sysdeps/unix/sysv/linux/configure: Regenerated.
58331         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
58332         (_FPU_MASK_OM): Define as 0x04.
58333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
58334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
58335         0x00c10080.
58336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
58337         0x0000003c.
58338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
58340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
58341         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58342         getcontext_e500.
58343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
58344         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58345         setcontext_e500.
58346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
58347         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
58348         and setcontext_e500.
58350 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
58352         * locale/iso-3166.def: Update iso-1366.def and related occurrences
58354 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58356         * manual/threads.texi (Default Thread Attributes): Fix typo.
58358 2013-10-04  Will Newton  <will.newton@linaro.org>
58360         * malloc/Makefile: Add tst-memalign.
58361         * malloc/tst-memalign.c: New file.
58363         * malloc/tst-posix_memalign.c: Add comments.
58364         (do_test): Add comments and call free on all potentially
58365         allocated pointers. Add space after cast.
58367         * malloc/tst-pvalloc.c: Add comments.
58368         (do_test): Add comments and call free on all potentially
58369         allocated pointers. Remove duplicate check for NULL pointer.
58370         Add space after cast.
58372         * malloc/tst-valloc.c: Add comments.
58373         (do_test): Add comments and call free on all potentially
58374         allocated pointers. Remove duplicate check for NULL pointer.
58375         Add space after cast.
58377 2013-10-04  Alan Modra  <amodra@gmail.com>
58379         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58380         Use stdint types in rather than __attribute__((mode())).
58381         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58383 2013-10-04  Alan Modra  <amodra@gmail.com>
58385         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58386         Correct handling of unaligned relocs for little-endian.
58387         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58389 2013-10-04  Alan Modra  <amodra@gmail.com>
58391         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
58392         * configure: Regenerate.
58393         * nptl/shlib-versions: Powerpc*le starts at 2.18.
58394         * shlib-versions: Likewise.
58396 2013-10-04  Alan Modra  <amodra@gmail.com>
58398         * string/tester.c (test_memrchr): Increment reported test cycle.
58400 2013-10-04  Alan Modra  <amodra@gmail.com>
58402         * string/test-memcpy.c (do_one_test): When reporting errors, print
58403         string address and don't overrun end of string.
58405 2013-10-04  Alan Modra  <amodra@gmail.com>
58407         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
58408         insrdi.  Make better use of reg selection to speed exit slightly.
58409         Schedule entry path a little better.  Remove useless "are we done"
58410         checks on entry to main loop.  Handle wrapping around zero address.
58411         Correct main loop count.  Handle single left-over word from main
58412         loop inline rather than by using loop_small.  Remove extra word
58413         case in loop_small caused by wrong loop count.  Add little-endian
58414         support.
58415         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58416         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
58417         cache hint.
58418         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58419         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
58420         support.  Avoid rlwimi.
58421         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
58423 2013-10-04  Alan Modra  <amodra@gmail.com>
58425         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
58426         insrdi.  Formatting.
58427         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
58428         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58429         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
58430         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58431         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58432         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
58434 2013-10-04  Alan Modra  <amodra@gmail.com>
58436         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
58437         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58438         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
58439         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
58440         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58441         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58442         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58443         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58444         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
58445         use of regs.  Use power7 mtocrf.  Tidy function tails.
58447 2013-10-04  Alan Modra  <amodra@gmail.com>
58449         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
58450         Formatting.  Consistently use rXXX register defines or rN defines.
58451         Use early exit labels that avoid restoring unused non-volatile regs.
58452         Make cr field use more consistent with rWORDn compares.  Rename
58453         regs used as shift registers for unaligned loop, using rN defines
58454         for short lifetime/multiple use regs.
58455         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58456         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
58457         addi 1,1,64 to pop stack frame.  Simplify return value code.
58458         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58460 2013-10-04  Alan Modra  <amodra@gmail.com>
58462         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
58463         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
58464         rather than rlwimi.
58465         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
58466         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
58467         little-endian support.  Correct typos.
58468         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
58469         rather than rlwimi.
58470         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
58471         in loop and entry code to keep "and." results.
58472         (strchr): Add little-endian support.  Comment.  Move cntlzd
58473         earlier in tail.
58474         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
58476 2013-10-04  Alan Modra  <amodra@gmail.com>
58478         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
58479         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
58480         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
58481         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
58483 2013-10-04  Alan Modra  <amodra@gmail.com>
58485         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
58486         (rTMP): Define as r11.
58487         (strcmp): Add little-endian support.  Optimise tail.
58488         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
58489         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58490         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58491         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58492         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58493         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58494         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58496 2013-10-04  Alan Modra  <amodra@gmail.com>
58498         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
58499         little-endian support.  Remove unnecessary "are we done" tests.
58500         Handle "s" wrapping around zero and extremely large "size".
58501         Correct main loop count.  Handle single left-over word from main
58502         loop inline rather than by using small_loop.  Correct comments.
58503         Delete "zero" tail, use "end_max" instead.
58504         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
58506 2013-10-04  Alan Modra  <amodra@gmail.com>
58508         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
58509         support.  Don't branch over align.
58510         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
58511         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
58512         support.  Rearrange tmp reg use to suit.  Comment.
58513         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
58515 2013-10-04  Alan Modra  <amodra@gmail.com>
58517         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
58519 2013-10-04  Alan Modra  <amodra@gmail.com>
58521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
58522         conditional form of branch and link when obtaining pc.
58523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
58525 2013-10-04  Alan Modra  <amodra@gmail.com>
58527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
58528         HIWORD/LOWORD.
58529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
58530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
58532 2013-10-04  Alan Modra  <amodra@gmail.com>
58534         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
58535         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
58536         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
58537         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
58538         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58539         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58540         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
58541         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58542         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
58543         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
58545 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58546             Alistair Popple <alistair@ozlabs.au.ibm.com>
58547             Alan Modra <amodra@gmail.com>
58549         [BZ #15723]
58550         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
58551         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
58552         _dl_hwcap access for little-endian.
58553         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
58554         destroy vmx regs when saving unaligned.
58555         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
58556         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
58557         destroy vmx regs when saving unaligned.
58559 2013-10-04  Alan Modra  <amodra@gmail.com>
58561         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
58562         Don't use a union to pack hi/low value.
58564 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58566         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
58567         for little-endian.
58568         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58569         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
58570         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58571         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58572         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58574 2013-10-04  Alan Modra  <amodra@gmail.com>
58576         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
58577         constants to usual value for .cst8 section, and remove redundant
58578         high address load.
58579         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
58580         constant for 0x1p52.  Load little-endian words of double from
58581         correct stack offsets.
58583 2013-10-04  Alan Modra  <amodra@gmail.com>
58585         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
58586         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
58587         words of double from correct stack offsets.
58588         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
58589         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
58590         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58591         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58592         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58593         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58594         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58595         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
58596         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
58597         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58598         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58599         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58600         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58601         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58602         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58603         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
58604         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
58606 2013-10-04  Alan Modra  <amodra@gmail.com>
58608         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
58609         64-bit int/double union.
58610         (_FPU_SETCW): Likewise.
58611         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
58612         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
58614 2013-10-04  Alan Modra  <amodra@gmail.com>
58616         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
58617         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
58619 2013-10-04  Alan Modra  <amodra@gmail.com>
58621         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
58622         use vector int constants.
58623         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
58625 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58627         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
58628         array with long long.
58629         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
58630         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
58631         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
58632         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
58633         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
58634         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
58635         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
58636         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
58637         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
58638         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
58639         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
58640         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
58641         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
58643 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58645         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
58646         (__signbit): Likewise.  Correct for little-endian.
58647         (__signbitl): Call __signbit.
58648         (lrint): Correct for little-endian.
58649         (lrintf): Call lrint.
58651 2013-10-04  Alan Modra  <amodra@gmail.com>
58653         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
58654         union 32-bit int array member with 64-bit int array.
58655         (t515, tm256): Double rather than long double.
58656         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
58658 2013-10-04  Alan Modra  <amodra@gmail.com>
58660         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
58661         Delete.
58662         (IEEE854_LONG_DOUBLE_BIAS): Delete.
58663         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
58664         version of math_ldbl.h.
58666 2013-10-04  Alan Modra  <amodra@gmail.com>
58668         [BZ #15734], [BZ #15735]
58669         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
58670         all uses of ieee875 long double macros and unions.  Simplify test
58671         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
58672         ldbl_extract_mantissa value for ix,iy exponents.  Properly
58673         normalize after ldbl_extract_mantissa, and don't add hidden bit
58674         already handled.  Don't treat low word of ieee854 mantissa like
58675         low word of IBM long double and mask off bit when testing for
58676         zero.
58677         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
58678         all uses of ieee875 long double macros and unions.  Simplify tests
58679         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
58680         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
58681         two1022, instead use their values.  Recognise that tests for large
58682         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
58683         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
58684         Rewrite all uses of ieee875 long double macros and unions.  Simplify
58685         test for 0.0L and nan.  Correct negation.
58686         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
58687         ieee875 long double macros and unions.  Correct output for large
58688         magnitude x.  Correct absolute value calculation.
58689         (__erfcl): Likewise.
58690         * math/libm-test.inc: Add tests for errors discovered in IBM long
58691         double versions of fmodl, remainderl, erfl and erfcl.
58693 2013-10-04  Alan Modra  <amodra@gmail.com>
58695         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
58696         all uses of ieee854 long double macros and unions.  Simplify tests
58697         for long doubles that are fully specified by the high double.
58698         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
58699         Likewise.
58700         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
58701         Remove dead code too.
58702         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
58703         (__ieee754_ynl): Likewise.
58704         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
58705         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
58706         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
58707         Remove dead code too.
58708         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
58709         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
58710         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
58711         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
58712         Simplify.
58713         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
58714         Simplify.
58715         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
58716         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
58717         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
58718         Comment on variable precision.
58719         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
58720         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58721         Likewise.
58722         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
58723         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
58724         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
58725         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
58726         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
58728 2013-10-04  Alan Modra  <amodra@gmail.com>
58730         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
58731         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
58732         all uses of ieee854 long double macros and unions.
58733         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
58734         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58735         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
58736         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
58737         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
58738         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58739         Likewise.
58740         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
58741         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58742         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
58743         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58744         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
58745         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
58746         Simplify sign and nan test too.
58747         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
58748         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
58749         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
58750         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
58751         Likewise.
58752         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58753         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
58754         Likewise.
58755         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58756         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
58757         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
58758         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
58759         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
58760         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
58762 2013-10-04  Alan Modra  <amodra@gmail.com>
58764         * stdio-common/printf_size.c (__printf_size): Don't use
58765         union ieee854_long_double in fpnum union.
58766         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
58767         signbit macro to retrieve sign from long double.
58768         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
58769         retrieve sign from long double.
58770         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
58771         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
58772         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
58773         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
58774         * math/test-misc.c (main): Don't use union ieee854_long_double.
58776 2013-10-04  Alan Modra  <amodra@gmail.com>
58778         [BZ #15680]
58779         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
58780         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
58781         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
58782         calculation.  Remove unnecessary test for denormal exponent.
58783         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
58784         Correct handling of denormals.  Avoid undefined shift behaviour.
58785         Correct normalisation of low mantissa when low double is denormal.
58786         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
58787         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
58788         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
58789         Correct normalisation of low mantissa.  Test for overflow of high
58790         mantissa and normalise.
58791         (ldbl_nearbyint): Use more readable constant for two52.
58792         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
58793         (__mpn_construct_long_double): Fix test for overflow of high
58794         mantissa and correct normalisation.  Avoid undefined shift.
58796 2013-10-04  Alan Modra  <amodra@gmail.com>
58798         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58799         (union ibm_extended_long_double): Define as an array of ieee754_double.
58800         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
58801         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
58802         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
58803         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58804         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58805         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
58806         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58807         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58808         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58809         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
58810         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58812 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
58814         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
58815         page size instead of calling getpagesize.
58817         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
58818         (LOCFILE_ALIGN_MASK): Likewise.
58819         (LOCFILE_ALIGN_UP): Likewise.
58820         (LOCFILE_ALIGNED_P): Likewise.
58821         * locale/programs/ld-collate.c (collate_output): Use the new
58822         macros instead of __alignof__ (int32_t).
58823         * locale/weight.h (findidx): Likewise.
58825 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
58827         [BZ #431]
58828         * manual/string.texi: Fix strncat and wcsncat.
58830 2013-10-03  Brooks Moses  <bmoses@google.com>
58832         [BZ #15915]
58833         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
58834         * Makerules: ...here, and adjust associated comments.
58836 2013-10-02  Will Newton  <will.newton@linaro.org>
58838         * malloc/Makefile: Add tst-pvalloc.
58839         * malloc/tst-pvalloc.c: New file.
58841 2013-10-02  Will Newton  <will.newton@linaro.org>
58843         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
58844         improve test coverage.
58846 2013-10-02  Will Newton  <will.newton@linaro.org>
58848         * malloc/Makefile: Add tst-posix_memalign.
58849         * malloc/tst-posix_memalign.c: New file.
58851 2013-10-01  Eric Blake  <eblake@redhat.com>
58853         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
58854         Use __THROWNL rather than __THROW on static functions.
58856 2013-09-30  Petr Machata  <pmachata@redhat.com>
58858         * elf/elf.h (R_AARCH64_ABS16): New macro.
58859         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
58860         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
58861         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
58862         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
58863         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
58864         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
58865         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
58866         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
58867         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
58868         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
58869         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
58870         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
58871         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
58872         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
58873         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
58874         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
58875         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
58876         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
58877         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
58878         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
58879         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
58880         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
58881         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
58882         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
58883         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
58884         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
58885         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
58886         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
58887         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
58888         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
58889         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
58890         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
58891         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
58892         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
58893         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
58894         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
58895         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
58896         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
58897         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
58898         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
58899         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
58900         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
58901         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
58902         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
58903         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
58904         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
58905         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
58906         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
58907         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
58908         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
58909         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
58910         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
58911         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
58912         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
58913         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
58914         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
58915         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
58916         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
58917         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
58918         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
58919         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
58920         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
58921         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
58922         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
58923         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
58924         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
58925         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
58926         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
58927         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
58928         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
58929         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
58930         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
58931         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
58932         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
58933         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
58934         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
58935         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
58936         (R_AARCH64_TLSDESC_LDR): Likewise.
58937         (R_AARCH64_TLSDESC_ADD): Likewise.
58938         (R_AARCH64_TLSDESC_CALL): Likewise.
58940 2013-09-30  Andreas Schwab  <schwab@suse.de>
58942         [BZ #15048]
58943         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
58944         the nss database lookup.
58945         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58948 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
58950         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
58952 2013-09-28  P. J. McDermott  <pj@pehjota.net>
58954         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
58955         ${Bash-specific parameter/pattern/string} parameter expansion.
58956         * sysdeps/unix/make-syscalls.sh: Likewise.
58958 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58960         * sysdeps/sh/stackguard-macros.h: New file.
58962 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
58964         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
58966         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
58967         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
58968         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58969         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
58971 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58973         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
58974         Fix thread ID register.
58976 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
58978         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
58979         [POSIX || UNIX98]: Require rather than permitting all symbols from
58980         <time.h>.
58981         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
58982         element of struct sched_param.
58983         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
58984         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
58985         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
58986         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
58987         constant.
58989 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
58991         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
58992         argument calculation.
58994 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
58996         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
58997         Expect macro.
58998         [POSIX] (pthread_attr_t): Do not require type.
58999         [POSIX] (pthread_cond_t): Likewise.
59000         [POSIX] (pthread_condattr_t): Likewise.
59001         [POSIX] (pthread_key_t): Likewise.
59002         [POSIX] (pthread_mutex_t): Likewise.
59003         [POSIX] (pthread_mutexattr_t): Likewise.
59004         [POSIX] (pthread_once_t): Likewise.
59005         [POSIX] (pthread_t): Likewise.
59006         [POSIX-based standards] (pthread_atfork): Expect function.
59008 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59009             Richard Sandiford  <richard@codesourcery.com>
59011         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59012         (swap_endianness_p): New extern variable.
59013         (set_big_endian): New inline function.
59014         (maybe_swap_uint32): Likewise.
59015         (maybe_swap_uint32_array): Likewise.
59016         (maybe_swap_uint32_obstack): Likewise.
59017         * locale/programs/locfile.c: Include <stdbool.h>.
59018         (swap_endianness_p): New variable.
59019         (add_locale_uint32): Call maybe_swap_uint32.
59020         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59021         (write_locale_data): Call maybe_swap_uint32_array.
59022         * locale/programs/ld-collate.c (obstack_int32_grow): Call
59023         maybe_swap_uint32.
59024         (obstack_int32_grow_fast): Likewise.
59025         (output_weightwc): Call maybe_swap_uint32_obstack.
59026         (collate_output): Likewise.
59027         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59028         (OPT_LITTLE_ENDIAN): Likewise.
59029         (options): Add --little-endian and --big-endian options.
59030         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59031         * locale/programs/locarchive.c: Include "locfile.h".
59032         (GET): New macro.
59033         (SET): Likewise.
59034         (INC): Likewise.
59035         (create_archive): Use the new macros to access fields of
59036         structures directly mapped from or written to locale archives.
59037         (oldlocrecentcmp): Likewise.
59038         (enlarge_archive): Likewise.
59039         (insert_name): Likewise.
59040         (add_alias): Likewise.
59041         (add_locale): Likewise.
59042         (delete_locales_from_archive): Likewise.
59043         (show_archive_content): Likewise.
59044         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
59045         locale data.
59047 2013-09-24  Roland McGrath  <roland@hack.frob.com>
59049         * manual/freemanuals.texi: Updated from (newly) canonical copy at
59050         http://www.gnu.org/doc/freemanuals.texi.
59051         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59053 2013-09-24  Will Newton  <will.newton@linaro.org>
59055         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
59056         macro.
59058 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
59060         * locale/hashval.h (compute_hashval): Interpret bytes of key as
59061         unsigned char.
59063 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
59065         * manual/threads.texi (POSIX Threads): Fix a typo.
59067 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59069         [BZ #14547]
59070         * string/tst-strcoll-overflow.c: New test case.
59071         * string/Makefile (xtests): Add tst-strcoll-overflow.
59072         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
59073         cache if string sizes may cause integer overflow.
59075         [BZ #14547]
59076         * string/strcoll_l.c (coll_seq): New members rule, idx,
59077         save_idx and back_us.
59078         (get_next_seq_nocache): New function.
59079         (do_compare_nocache): New function.
59080         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
59081         when malloc fails.
59083 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
59085         [BZ #15754]
59086         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
59087         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
59088         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
59090         [BZ #15754]
59091         * elf/Makefile (tests): Add tst-ptrguard1.
59092         (tests-static): Add tst-ptrguard1-static.
59093         (tst-ptrguard1-ARGS): Define.
59094         (tst-ptrguard1-static-ARGS): Define.
59095         * elf/tst-ptrguard1.c: New file.
59096         * elf/tst-ptrguard1-static.c: New file.
59097         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
59098         * sysdeps/i386/stackguard-macros.h: Likewise.
59099         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59100         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59101         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59102         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59103         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59104         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59106 2013-09-23  Hector Marco  <hecmargi@upv.es>
59107             Ismael Ripoll  <iripoll@disca.upv.es>
59108             Carlos O'Donell  <carlos@redhat.com>
59110         [BZ #15754]
59111         * sysdeps/generic/stackguard-macros.h: Define
59112         __pointer_chk_guard_local and POINTER_CHK_GUARD.
59113         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
59114         Define __pointer_chk_guard_local.
59115         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
59116         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
59118 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
59120         [BZ #15859]
59121         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
59123 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
59125         * include/string.h (__ffs): Declare as hidden.
59126         * string/ffs.c (__ffs): Define as hidden.
59127         * sysdeps/i386/ffs.c (__ffs): Likewise.
59128         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
59129         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
59130         * sysdeps/s390/ffs.c (__ffs): Likewise.
59131         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
59133 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
59135         * NEWS: Mention malloc probes.
59137         * malloc/arena.c (new_heap): New memory_heap_new probe.
59138         (grow_heap): New memory_heap_more probe.
59139         (shrink_heap): New memory_heap_less probe.
59140         (heap_trim): New memory_heap_free probe.
59141         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
59142         (systrim): New memory_sbrk_less probe.
59143         * manual/probes.texi: Document them.
59145         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
59146         * manual/probes.texi: Document it.
59148         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
59149         (__libc_realloc): Add memory_realloc_retry probe.
59150         (__libc_memalign): Add memory_memalign_retry probe.
59151         (__libc_valloc): Add memory_valloc_retry probe.
59152         (__libc_pvalloc): Add memory_pvalloc_retry probe.
59153         (__libc_calloc): Add memory_calloc_retry probe.
59154         * manual/probes.texi: Document them.
59156         * malloc/arena.c (get_free_list): Add probe
59157         memory_arena_reuse_free_list.
59158         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
59159         and memory_arena_reuse.
59160         (arena_get2) [!PER_THREAD]: Likewise.
59161         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
59162         memory_arena_reuse_realloc.
59163         * manual/probes.texi: Document them.
59165         * malloc/malloc.c (__libc_free): Add
59166         memory_mallopt_free_dyn_thresholds probe.
59167         (__libc_mallopt): Add multiple memory_mallopt probes.
59168         * manual/probes.texi: Document them.
59170         * malloc/malloc.c: Include stap-probe.h.
59171         (__libc_mallopt): Add memory_mallopt probe.
59172         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
59173         * manual/probes.texi: New.
59174         * manual/Makefile (chapters): Add probes.
59175         * manual/threads.texi: Set next node.
59177 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
59179         [BZ #15963, #13985]
59180         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
59181         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
59182         Add `Chinese' to `nan' entry name.
59184 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59186         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
59187         (POLYNOMIAL): Likewise.
59188         (TAYLOR_SINCOS): Likewise.
59189         (TAYLOR_SLOW): Likewise.
59190         (__sin): Use TAYLOR_SINCOS.
59191         (__cos): Likewise.
59192         (slow): Use TAYLOR_SLOW.
59193         (sloww): Likewise.
59194         (bsloww): Likewise.
59195         (csloww): Likewise.
59197 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59199         * stdlib/strtod_l.c: Fix buffer overrun.
59201 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59203         * benchtests/Makefile (bench): Add sincos.
59204         * benchtests/bench-sincos.c: New file.
59206         * math/libm-test.inc (cos_test_data): New test inputs.
59207         (sin_test_data): Likewise.
59209         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
59210         macro.
59211         (__sin): Use it.
59212         (__cos): Likewise.
59213         (slow1): Likewise.
59214         (slow2): Likewise.
59215         (sloww1): Likewise.
59216         (sloww2): Likewise.
59217         (bsloww1): Likewise.
59218         (bsloww2): Likewise.
59219         (cslow2): Likewise.
59220         (csloww1): Likewise.
59221         (csloww2): Likewise.
59223         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
59224         function.
59225         (__sin): Use it.
59226         (__cos): Likewise.
59228         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
59229         gotos.
59230         (__cos): Likewise.
59232 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
59234         * config.h.in (HAVE_MIPS_NAN2008): New macro.
59235         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
59236         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
59237         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
59238         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
59239         * elf/cache.c (print_entry): Handle the new cache flags.
59241 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59242             Aldy Hernandez  <aldyh@redhat.com>
59244         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
59245         Change condition to [_SOFT_FLOAT].
59246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
59247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
59248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
59249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
59250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
59251         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
59252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
59253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
59254         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
59255         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
59256         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
59257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
59258         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
59259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
59260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
59261         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
59262         declaration.
59264 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59266         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
59267         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59268         (__longjmp): Use LOAD_GP to load saved GPRs.
59269         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
59270         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59271         (__sigsetjmp): Use SAVE_GP to save GPRs.
59273         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
59274         Do not append -msoft-float.
59275         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
59277 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59279         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
59281 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
59283         [BZ #15966]
59284         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
59285         (_FPU_GETCW): Use initial "__" on variable and field names but not
59286         on macro parameter name.
59287         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
59288         parentheses around reference to macro parameter.
59290 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
59292         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
59293         prototype.
59294         (ctype_startup): Use uint32_t in cast and sizeof for
59295         ctype->charnames.
59297 2013-09-11  Jia Liu  <proljc@gmail.com>
59299         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
59300         __daddr_t_defined.
59301         [__FreeBSD__]: Likewise.
59303 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
59305         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
59306         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
59307         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
59308         (strchr): Remove __strchr_sse42 ifunc selection.
59309         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
59310         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
59312 2013-09-11  Will Newton  <will.newton@linaro.org>
59314         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
59315         parameter to RES. Remove hardcoded 1000 value.
59316         * benchtests/bench-skeleton.c (main): Pass RES parameter
59317         to TIMING_INIT and multiply result by 1000.
59319 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59323 2013-09-11  Andreas Schwab  <schwab@suse.de>
59325         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
59326         if not defined.
59327         (O_TMPFILE) [__USE_GNU]: Define.
59328         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
59329         Define.
59331 2013-09-11  Will Newton  <will.newton@linaro.org>
59333         [BZ #15857]
59334         * malloc/malloc.c (__libc_memalign): Check the value of bytes
59335         does not overflow.
59337 2013-09-11  Will Newton  <will.newton@linaro.org>
59339         [BZ #15856]
59340         * malloc/malloc.c (__libc_valloc): Check the value of bytes
59341         does not overflow.
59343 2013-09-11  Will Newton  <will.newton@linaro.org>
59345         [BZ #15855]
59346         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
59347         does not overflow.
59349 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
59351         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
59352         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59353         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59354         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59355         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59357 2013-09-10  Allan McRae  <allan@archlinux.org>
59359         [BZ #15748]
59360         * manual/arith.texi (Parsing of Floats): Clarify
59361         cross-reference.
59363         [BZ #15849]
59364         * manual/install.texi (Running make install): Mention
59365         --enable-pt-chown.
59366         * INSTALL: Regenerated.
59368 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
59370         * csu/init-first.c (_init): Remove the !SHARED condition around
59371         FPU control word initialization.
59372         * elf/dl-support.c (_dl_fpu_control): New variable.
59373         (_dl_aux_init) <AT_FPUCW>: Initialize it.
59374         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
59375         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
59376         * math/test-fpucw-static.c: New file.
59377         * math/test-fpucw-ieee.c: New file.
59378         * math/test-fpucw-ieee-static.c: New file.
59379         * math/Makefile (tests): Add `test-fpucw-ieee' and
59380         `$(tests-static)'.
59381         (tests-static): New variable.
59382         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
59383         dependency to...
59384         [($(build-shared),yes)]
59385         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
59386         ... this.
59387         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
59388         New dependency.
59390 2013-09-09  Allan McRae  <allan@archlinux.org>
59392         [BZ #15939]
59393         * manual/string.texi (Collation Functions): Fix typo in
59394         strcoll example.
59395         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
59397         [BZ #15893]
59398         * stdlib/isomac.c (get_null_defines): Fix memory leak.
59400         [BZ #15892]
59401         * libio/memstream.c (open_memstream): Fix memory leak.
59402         * libio/wmemstream.c (open_wmemstream): Likewise.
59404         [BZ #15895]
59405         * nscd/netgroupcache.c: Fix nesting of ifdefs.
59407 2013-09-09  Will Newton  <will.newton@linaro.org>
59409         * malloc/Makefile: Add tst-realloc to tests.
59410         * malloc/tst-realloc.c: New file.
59412 2013-09-09  Allan McRae  <allan@archlinux.org>
59414         [BZ #15844]
59415         * COPYING: Update from GNU website to fix FSF address.
59416         * COPYING.LIB: Likewise.
59418 2013-09-06  David S. Miller  <davem@davemloft.net>
59420         * po/zh_TW.po: Update Chinese (traditional) translation from
59421         translation project.
59423 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
59424             Joseph Myers  <joseph@codesourcery.com>
59426         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
59427         "localeinfo.h".
59428         (obstack_chunk_alloc): New macro.
59429         (obstack_chunk_free): Likewise.
59430         (record_offset): New function.
59431         (init_locale_data): Likewise.
59432         (align_locale_data): Likewise.
59433         (add_locale_empty): Likewise.
59434         (add_locale_raw_data): Likewise.
59435         (add_locale_raw_obstack): Likewise.
59436         (add_locale_string): Likewise.
59437         (add_locale_wstring): Likewise.
59438         (add_locale_uint32): Likewise.
59439         (add_locale_uint32_array): Likewise.
59440         (add_locale_char): Likewise.
59441         (start_locale_structure): Likewise.
59442         (end_locale_structure): Likewise.
59443         (start_locale_prelude): Likewise.
59444         (end_locale_prelude): Likewise.
59445         (write_locale_data): Take locale_file structure rather than an
59446         iovec.
59447         * locale/programs/locfile.h: Include "obstack.h".
59448         (struct locale_file): Change to store locale file contents instead
59449         of header.
59450         (init_locale_data): New prototype.
59451         (align_locale_data): Likewise.
59452         (add_locale_empty): Likewise.
59453         (add_locale_raw_data): Likewise.
59454         (add_locale_raw_obstack): Likewise.
59455         (add_locale_string): Likewise.
59456         (add_locale_wstring): Likewise.
59457         (add_locale_uint32): Likewise.
59458         (add_locale_uint32_array): Likewise.
59459         (add_locale_char): Likewise.
59460         (start_locale_structure): Likewise.
59461         (end_locale_structure): Likewise.
59462         (start_locale_prelude): Likewise.
59463         (end_locale_prelude): Likewise.
59464         (write_locale_data): Update prototype.
59465         * locale/programs/3level.h (struct TABLE): Remove result field.
59466         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
59467         Use new locale_file interface.
59468         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
59469         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
59470         * locale/programs/ld-address.c (address_output): Use new
59471         locale_file interface.
59472         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
59473         NO_ADD_LOCALE.
59474         (collate_finish): Don't call collseq_table_finalize.
59475         (collate_output): Use new locale_file interface.
59476         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
59477         in file.
59478         (NO_FINALIZE): Change to NO_ADD_LOCALE.
59479         (TABLE): Move defines earlier in file.
59480         (ELEMENT): Likewise.
59481         (DEFAULT): Likewise.
59482         (wctrans_table_add): Move macro and inline function earlier in
59483         file.
59484         (struct wctype_table): Move type earlier in file.
59485         (add_locale_wctype_table): New static prototype.
59486         (struct locale_ctype_t): Use logical types instead of struct iovec
59487         pointers for members.
59488         (ctype_output): Use new locale_file interface.
59489         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
59490         new locale_file interface.
59491         (allocate_arrays): Update for use of new locale_file interface.
59492         * locale/programs/ld-identification.c (identification_output): Use
59493         new locale_file interface.
59494         * locale/programs/ld-measurement.c (measurement_output): Likewise.
59495         * locale/programs/ld-messages.c (messages_output): Likewise.
59496         * locale/programs/ld-monetary.c (monetary_output): Likewise.
59497         * locale/programs/ld-name.c (name_output): Likewise.
59498         * locale/programs/ld-numeric.c (numeric_output): Likewise.
59499         * locale/programs/ld-paper.c (paper_output): Likewise.
59500         * locale/programs/ld-telephone.c (telephone_output): Likewise.
59501         * locale/programs/ld-time.c (time_output): Likewise.
59503 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59505         * benchtests/Makefile: Add memrchr benchmark.
59506         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
59507         benchmark as memrchr.
59508         * benchtests/bench-memrchr-ifunc.c: New file.
59509         * benchtests/bench-memrchr.c: New file.
59511 2013-09-06   Will Newton  <will.newton@linaro.org>
59513         * benchtests/Makefile (string-bench): Add memcpy.
59515 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
59516             Cong Wang  <amwang@redhat.com>
59518         [BZ #15850]
59519         * sysdeps/unix/sysv/linux/bits/in.h
59520         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
59521         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
59522         before __USE_KERNEL_IPV6_DEFS uses.
59523         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
59524         IPPROTO_BEETPH.
59525         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
59526         sockaddr_in6, or ipv6_mreq.
59528 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59530         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
59531         memory access for final bytes in some large inputs.
59532         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
59534 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59536         * string/test-memrchr.c: New file.
59537         * string/test-memrchr-ifunc.c: New file.
59538         * string/Makefile: Add new memrchr testcase.
59540 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
59542         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
59543         fanotify_init returns EPERM.
59545 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59547         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
59548         errors.
59549         (top level): Treat second token from macro or constant entries for
59550         allowed headers as allowed.
59551         * include/complex.h: Condition internal declarations on
59552         [!_ISOMAC].
59553         * include/fenv.h: Condition include of <stdbool.h> and internal
59554         declarations on [!_ISOMAC].
59556 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
59558         [BZ #15923]
59559         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
59561 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59563         * configure.in (--enable-versioning): Remove configure option.
59564         (libc_cv_asm_symver_directive): Remove configure test.
59565         (libc_cv_ld_version_script_option): Likewise.
59566         (VERSIONING): Remove variable and AC_SUBST.
59567         (DO_VERSIONING): Remove AC_DEFINE.
59568         * configure: Regenerated.
59569         * config.h.in (DO_VERSIONING): Remove macro.
59570         * Makerules [$(versioning) = yes]: Change conditionals to
59571         [$(build-shared) = yes].
59572         * config.make.in (versioning): Remove variable.
59573         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
59574         [$(build-shared) = yes].
59575         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
59576         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
59577         * elf/Makefile [$(versioning) = yes]: Change conditionals to
59578         [$(build-shared) = yes].
59579         * extra-lib.mk [$(versioning) = yes]: Likewise.
59580         * hurd/Makefile [$(versioning) = yes]: Likewise.
59581         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
59582         [SHARED].
59583         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
59584         [SHARED].
59585         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59586         [SHARED && !NO_HIDDEN].
59587         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
59588         [SHARED].
59589         [SHARED && DO_VERSIONING]: Likewise..
59590         * libio/Makefile [$(versioning) = yes]: Change conditionals to
59591         [$(build-shared) = yes].
59592         * manual/install.texi (--disable-versioning): Remove
59593         documentation.
59594         * INSTALL: Regenerated.
59595         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
59596         to [SHARED].
59597         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
59598         [$(build-shared) = yes].
59599         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
59600         * sysdeps/i386/i686/multiarch/strstr-c.c
59601         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59602         [SHARED && !NO_HIDDEN].
59603         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
59604         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
59605         * sysdeps/powerpc/powerpc32/dl-machine.c
59606         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
59607         * sysdeps/powerpc/powerpc32/sysdep.h
59608         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
59609         to [SHARED && PIC && !NO_HIDDEN].
59610         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
59611         conditional to [SHARED].
59613 2013-09-04   Will Newton  <will.newton@linaro.org>
59615         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
59616         * benchtests/bench-string.h: Include bench-timing.h instead
59617         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
59618         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
59619         call to HP_TIMING_DIFF_INIT.
59620         * benchtests/bench-memccpy.c: Use bench-timing.h macros
59621         instead of hp-timing.h macros.
59622         * benchtests/bench-memchr.c: Likewise.
59623         * benchtests/bench-memcmp.c: Likewise.
59624         * benchtests/bench-memcpy.c: Likewise.
59625         * benchtests/bench-memmem.c: Likewise.
59626         * benchtests/bench-memmove.c: Likewise.
59627         * benchtests/bench-memset.c: Likewise.
59628         * benchtests/bench-rawmemchr.c: Likewise.
59629         * benchtests/bench-strcasecmp.c: Likewise.
59630         * benchtests/bench-strcasestr.c: Likewise.
59631         * benchtests/bench-strcat.c: Likewise.
59632         * benchtests/bench-strchr.c: Likewise.
59633         * benchtests/bench-strcmp.c: Likewise.
59634         * benchtests/bench-strcpy.c: Likewise.
59635         * benchtests/bench-strcpy_chk.c: Likewise.
59636         * benchtests/bench-strlen.c: Likewise.
59637         * benchtests/bench-strncasecmp.c: Likewise.
59638         * benchtests/bench-strncat.c: Likewise.
59639         * benchtests/bench-strncmp.c: Likewise.
59640         * benchtests/bench-strncpy.c: Likewise.
59641         * benchtests/bench-strnlen.c: Likewise.
59642         * benchtests/bench-strpbrk.c: Likewise.
59643         * benchtests/bench-strrchr.c: Likewise.
59644         * benchtests/bench-strspn.c: Likewise.
59645         * benchtests/bench-strstr.c: Likewise.
59647 2013-09-04  Will Newton  <will.newton@linaro.org>
59649         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
59651 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
59653         [BZ #15427]
59654         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
59655         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
59656         * math/libm-test.inc (lgamma_test_data): Add more tests.
59657         * sysdeps/i386/fpu/libm-test-ulps: Update.
59658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59660 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
59662         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
59663         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59664         Add ifunc.
59665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59666         Add strcmp-sse2-unaligned
59667         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
59669 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59671         * Versions.def (libc): Add GLIBC_2.19.
59673 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59675         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
59676         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
59678 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
59680         [BZ #14155]
59681         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
59682         intermediate calculations in recurrence.
59683         (__ieee754_ynf): Likewise.
59684         * math/libm-test.inc (jn_test_data): Do not allow spurious
59685         underflow exception.  Add more tests.
59686         (yn_test_data): Add more tests.
59687         * sysdeps/i386/fpu/libm-test-ulps: Update.
59688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59690 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
59692         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
59694 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59696         * csu/init-first.c: Fix then/than typos.
59697         * locale/programs/ld-collate.c: Likewise.
59698         * locale/programs/linereader.h: Likewise.
59699         * manual/charset.texi: Likewise.
59700         * manual/filesys.texi: Likewise.
59701         * manual/stdio.texi: Likewise.
59702         * manual/string.texi: Likewise.
59703         * stdlib/fmtmsg.c: Likewise.
59704         * sysdeps/i386/stpncpy.S: Likewise.
59705         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59706         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59707         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59708         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59710 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59712         * elf/dl-open.c: Fix typos.
59713         * iconvdata/gbbig5.c: Likewise.
59714         * iconvdata/iso-2022-jp.c: Likewise.
59715         * iconv/gconv_int.h: Likewise.
59716         * iconv/loop.c: Likewise.
59717         * nis/rpcsvc/nis.h: Likewise.
59718         * resolv/ns_name.c: Likewise.
59719         * stdio-common/vfscanf.c: Likewise.
59720         * streams/stropts.h: Likewise.
59721         * sunrpc/rpc_thread.c: Likewise.
59722         * sysdeps/i386/strpbrk.S: Likewise.
59723         * sysdeps/ieee754/k_standard.c: Likewise.
59724         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59725         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59726         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
59727         * sysdeps/mach/hurd/profil.c: Likewise.
59728         * sysdeps/s390/dl-procinfo.h: Likewise.
59729         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
59730         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
59731         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
59732         * sysdeps/x86_64/dl-trampoline.S: Likewise.
59733         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59735 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
59737         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
59738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
59740 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
59742         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
59743         aix specific files.
59744         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
59745         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
59746         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
59747         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
59748         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
59749         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
59750         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
59751         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
59753 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59754             Roland McGrath  <roland@hack.frob.com>
59756         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
59757         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
59759 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59761         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
59762         __executable_start symbol instead of _start.
59764 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59766         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
59767         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
59768         Move macros to...
59769         * sysdeps/gnu/ldsodefs.h: ... this new file.
59771         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
59772         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
59773         instead of ELFOSABI_LINUX.
59775         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
59776         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
59777         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
59778         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
59779         Likewise.
59780         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
59781         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
59782         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
59783         Likewise.
59784         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59785         (ibm_extended_long_double): Add ieee_nan member.
59786         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
59787         (do_test): New function.
59789         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
59790         TEST_TRUNC.
59791         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
59792         functions, renamed from truncdfsf_test, trunctfsf_test,
59793         trunctfdf_test.
59794         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
59795         functions.
59796         (do_test): Run all these.
59798 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
59800         * argp/argp-help.c: Fix typos.
59801         * argp/argp-parse.c: Likewise.
59802         * debug/backtracesyms.c: Likewise.
59803         * elf/elf.h: Likewise.
59804         * malloc/malloc.c: Likewise.
59805         * nis/nis_print.c: Likewise.
59806         * resolv/res_comp.c: Likewise.
59807         * stdlib/stdlib.h: Likewise.
59808         * sunrpc/clnt_tcp.c: Likewise.
59809         * sunrpc/clnt_udp.c: Likewise.
59810         * sunrpc/clnt_unix.c: Likewise.
59811         * sysdeps/unix/bsd/ptsname.c: Likewise.
59812         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
59813         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
59814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
59815         Likewise.
59816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
59817         Likewise.
59818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
59819         Likewise.
59820         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59822 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59824         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
59825         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59827 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
59829         [BZ #15897]
59830         * dlfcn/Makefile (tests): Add bug-dl-leaf.
59831         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
59832         ($(objpfx)bug-dl-leaf): New rule.
59833         ($(objpfx)bug-dl-leaf.so): Likewise.
59834         ($(objpfx)bug-dl-leaf.out): Likewise.
59835         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
59836         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
59837         * dlfcn/bug-dl-leaf.c: New test.
59838         * dlfcn/bug-dl-leaf-lib.c: Likewise.
59839         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
59840         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
59841         (dlclose): Likewise.
59842         (dlmopen): Likewise.
59844 2013-08-27  Roland McGrath  <roland@hack.frob.com>
59846         * include/netdb.h [!_ISOMAC]:
59847         Don't include <tls.h>.
59848         (h_errno, __libc_h_errno): Move declaration and macros out of
59849         [_LIBC_REENTRANT].
59851         * include/resolv.h [_RESOLV_H_]:
59852         Don't include <tls.h>.
59853         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
59854         * resolv/res_libc.c: Don't include <tls.h>.
59855         (_res): Use __attribute__ ((nocommon)) in place of
59856         __attribute__ ((section (".bss"))).
59858         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
59859         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
59861         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
59863         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
59864         only under [SIOCGIFCONF && SIOCGIFNETMASK].
59866         * resolv/res_mkquery.c: Include <sys/time.h>.
59868         * inet/ifreq.c: Moved to ...
59869         * sysdeps/unix/ifreq.c: ... here.
59870         * inet/ifreq.c: New file, true stub version.
59872         * socket/sa_len.c: New file.
59873         * socket/Makefile (aux): Add it.
59874         * sysdeps/unix/sysv/linux/Makefile
59875         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
59876         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
59877         and #include <socket/sa_len.c>.
59878         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
59879         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
59881         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
59882         * bits/socket.h: ... here.
59884         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
59885         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
59886         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
59888 2013-08-27  Andreas Schwab  <schwab@suse.de>
59890         [BZ #15736]
59891         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
59892         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
59893         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
59894         * string/test-strcasecmp.c (test_main): Run tests in several
59895         locales.
59896         * string/test-strncasecmp.c (test_main): Likewise.
59898         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
59899         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
59900         to __strcasecmp_nonascii and __strncasecmp_nonascii.
59901         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
59902         (__strncasecmp_ssse3) [PIC]: Likewise.
59904 2013-08-26  Roland McGrath  <roland@hack.frob.com>
59906         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
59908         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
59909         instead of explicitly declaring xdecrypt.
59910         * nis/nss_nis/nis-publickey.c: Likewise.
59912 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59914         [BZ #15890]
59915         * nscd/aicache.c: Include res_hconf.h.
59916         (addhstaiX): Initialize res_hconf.
59918 2013-08-26  Andreas Schwab  <schwab@suse.de>
59920         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
59921         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
59923 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59925         * nscd/aicache.c (addhstaiX): Fix indentation.
59927 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
59929         * configure.ac: Quote $build_pt_chown test.
59930         * configure: Regenerated.
59932 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
59934         [BZ #15532]
59935         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
59936         * math/s_cexpf.c (__cexpf): Likewise.
59937         * math/s_cexpl.c (__cexpl): Likewise.
59938         * math/libm-test.inc (cexp_test_data): Correct expected return
59939         value for NaN + i0.  Add another test.
59941 2013-08-22  David S. Miller  <davem@davemloft.net>
59943         * po/ca.po: Update Catalan translation from translation project.
59944         * po/uk.po: Add Ukrainian translations from translation project.
59946 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
59948         [BZ #15797]
59949         * math/s_fdim.c (__fdim): Check for infinite arguments if result
59950         is infinite, not alongside NaN test.
59951         * math/s_fdimf.c (__fdimf): Likewise.
59952         * math/s_fdiml.c (__fdiml): Likewise.
59953         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
59954         errno is unchanged.
59956 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
59958         * argp/argp-help.c: Fix typos.
59959         * crypt/speeds.c: Likewise.
59960         * csu/check_fds.c: Likewise.
59961         * elf/dl-load.c: Likewise.
59962         * elf/dl-open.c: Likewise.
59963         * elf/reldep3.c: Likewise.
59964         * elf/reldep.c: Likewise.
59965         * elf/sprof.c: Likewise.
59966         * iconv/iconv_charmap.c: Likewise.
59967         * iconv/skeleton.c: Likewise.
59968         * iconv/strtab.c: Likewise.
59969         * io/lockf64.c: Likewise.
59970         * libio/libioP.h: Likewise.
59971         * resolv/gai_notify.c: Likewise.
59972         * resolv/ns_name.c: Likewise.
59973         * resolv/ns_samedomain.c: Likewise.
59974         * resolv/res_send.c: Likewise.
59975         * stdlib/random.c: Likewise.
59976         * sunrpc/rpc/xdr.h: Likewise.
59977         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
59978         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
59979         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
59980         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59981         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
59982         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
59983         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
59984         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
59985         * sysdeps/mach/hurd/check_fds.c: Likewise.
59986         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59987         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59988         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59989         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59990         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59991         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59992         * sysdeps/pthread/aio_notify.c: Likewise.
59993         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
59994         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
59995         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
59996         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59997         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59999 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60001         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
60002         version if bit_Slow_SSE4_2 is set.
60003         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60004         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60006 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60008         [BZ #15867]
60009         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60010         trampoline stack frame information.
60011         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60012         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60013         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60014         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60015         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60016         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60017         (_libc_vdso_platform_setup): Initialize the signal trampolines.
60018         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60019         sa_flags value.
60020         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60021         interrupting a syscall and set with option SA_SIGINFO.
60023 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60025         [BZ #15531]
60026         * math/s_cproj.c (__cproj): Only return an infinity if one part of
60027         argument is infinite.
60028         * math/s_cprojf.c (__cprojf): Likewise.
60029         * math/s_cprojl.c (__cprojl): Likewise.
60030         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60031         * math/libm-test.inc (cproj_test_data): Add more tests.
60033         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60035         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60036         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60037         size.  Use __ffs to determine corresponding shift.
60039 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60040             Roland McGrath  <roland@hack.frob.com>
60042         * Makefile (INSTALL): Remove trailing blank lines from output of
60043         makeinfo.
60045 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60047         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60048         Align 32 bit compat elf_greg to 8 bytes.
60050 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
60052         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
60054 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60056         * string/strcoll_l.c (coll_seq): New structure.
60057         (get_next_seq_cached): New function.
60058         (get_next_seq): New function.
60059         (do_compare): New function.
60060         (STRCOLL): Use GNU style definition.  Simplify implementation
60061         by using get_next_seq, get_next_seq_cached and do_compare.
60063 2013-08-16  Florian Weimer  <fweimer@redhat.com>
60065         [BZ #14699]
60066         CVE-2013-4237
60067         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
60068         member.
60069         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
60070         member.
60071         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
60072         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
60073         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
60074         conditional.
60075         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
60076         GETDENTS_64BIT_ALIGNED.
60077         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60078         * manual/filesys.texi (Reading/Closing Directory): Document
60079         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
60080         strongly.
60081         * manual/conf.texi (Limits for Files): Add portability note to
60082         NAME_MAX, PATH_MAX.
60083         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
60085 2013-08-13  Andreas Schwab  <schwab@suse.de>
60087         [BZ #15749]
60088         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
60089         of fabs.
60090         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
60091         LDBL_MAX_EXP >= 16384]: Add tests for it.
60093 2013-08-12  David S. Miller  <davem@davemloft.net>
60095         * version.h (RELEASE): Set to "development".
60096         (VERSION): Set to "2.18.90".
60097         * NEWS: Add 2.19 section.
60099 2013-08-03  David S. Miller  <davem@davemloft.net>
60101         * po/ko.po: Update Korean translation from translation project.
60103 2013-08-01  David S. Miller  <davem@davemloft.net>
60105         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
60106         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
60107         Bilka.
60109 2013-07-30  David S. Miller  <davem@davemloft.net>
60111         * po/fr.po: Update French translation from translation project.
60113 2013-07-28  David S. Miller  <davem@davemloft.net>
60115         * po/cs.po: Update Czech translation from translation project.
60117         * po/sv.po: Update Swedish translation from translation project.
60119 2013-07-27  David S. Miller  <davem@davemloft.net>
60121         * po/eo.po: Update Esperanto translation from translation project.
60123         * po/vi.po: Update Vietnamese translation from translation project.
60125         * po/de.po: Update German translation from translation project.
60127 2013-07-26  David S. Miller  <davem@davemloft.net>
60129         * po/bg.po: Update Bulgarian translation from translation project.
60131         * po/nl.po: Update Dutch translation from translation project.
60132         * po/pl.po: Update Polish translation from translation project.
60133         * po/ru.po: Update Russian translation from translation project.
60135 2013-07-24  David S. Miller  <davem@davemloft.net>
60137         * po/libc.pot: Update.
60139 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60141         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
60142         variable page size.
60143         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
60144         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
60145         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
60147 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60149         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
60151 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60152             Andreas Schwab  <schwab@suse.de>
60153             Roland McGrath  <roland@hack.frob.com>
60154             Joseph Myers  <joseph@codesourcery.com>
60155             Carlos O'Donell  <carlos@redhat.com>
60157         [BZ #15755]
60158         * config.h.in: Define HAVE_PT_CHOWN.
60159         * config.make.in (build-pt-chown): New variable.
60160         * configure.in (--enable-pt_chown): New configure option.
60161         * configure: Regenerate.
60162         * login/Makefile: Include Makeconfig.  Build pt_chown only if
60163         build-pt-chown is enabled.
60164         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
60165         pt_chown to fix pty ownership.
60166         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
60167         CLOSE_ALL_FDS.
60168         * manual/install.texi (Configuring and compiling): Mention
60169         --enable-pt_chown. Add @findex for grantpt.
60170         * INSTALL: Regenerate.
60172 2013-07-20  David S. Miller  <davem@davemloft.net>
60174         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
60175         difference between 32-bit and 64-bit.
60177 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
60179         [BZ #15711]
60180         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
60181         Avoid system header dependency with -ffreestanding.
60182         ($(objpfx)bits/syscall%d): Likewise.
60184 2013-07-13  David S. Miller  <davem@davemloft.net>
60186         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
60187         underflows from atanl/atan2l due to bug 15319.
60188         (casinh_test_data): Likewise.
60190 2013-07-07  David S. Miller  <davem@davemloft.net>
60192         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
60194 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
60196         * sysdeps/i386/fpu/libm-test-ulps: Update.
60197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60199 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60201         * configure.in (--enable-lock-elision): Fix message text.
60202         * INSTALL: Regenerate.
60203         * configure: Regenerate.
60205 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60209 2013-07-03  Andreas Jaeger  <aj@suse.de>
60211         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
60212         define.
60213         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
60214         (ptrace_peeksiginfo_args): Add.
60215         (__ptrace_peeksiginfo_flags): Add.
60216         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60217         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60218         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60220 2013-07-03  Allan McRae  <allan@archlinux.org>
60222         * sysdeps/i386/fpu/libm-test-ulps: Update.
60224 2013-07-02  David S. Miller  <davem@davemloft.net>
60226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60228 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
60230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60232 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60234         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
60235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60237 2013-07-02  Andi Kleen <ak@linux.intel.com>
60239         * config.h.in (ENABLE_LOCK_ELISION): Add.
60240         * configure.in (--enable-lock-elision): Add option.
60241         * manual/install.texi: Document --enable lock elision.
60242         * configure: Regenerate
60243         * INSTALL: Regenerate.
60245 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
60247         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
60248         SSE4.2 strcasecmp for libc.a.
60249         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
60251 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60253         [BZ #13304]
60254         * soft-fp/op-common.h (_FP_FMA): New macro.
60255         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
60256         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
60257         (_FP_MUL_MEAT_1_imm): ... here.
60258         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
60259         (_FP_MUL_MEAT_1_wide): ... here.
60260         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
60261         (_FP_MUL_MEAT_1_hard): ... here.
60262         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
60263         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
60264         (_FP_MUL_MEAT_2_wide): ... here.
60265         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
60266         (_FP_MUL_MEAT_2_wide_3mul): ... here.
60267         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
60268         (_FP_MUL_MEAT_2_gmp): ... here.
60269         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
60270         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
60271         (_FP_MUL_MEAT_4_wide): ... here.
60272         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
60273         (_FP_MUL_MEAT_4_gmp): ... here.
60274         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
60275         (_FP_WFRACBITS_DW_S): Likewise.
60276         (_FP_WFRACXBITS_DW_S): Likewise.
60277         (_FP_HIGHBIT_DW_S): Likewise.
60278         (FP_FMA_S): Likewise.
60279         (_FP_FRAC_HIGH_DW_S): Likewise.
60280         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
60281         (_FP_WFRACBITS_DW_D): Likewise.
60282         (_FP_WFRACXBITS_DW_D): Likewise.
60283         (_FP_HIGHBIT_DW_D): Likewise.
60284         (FP_FMA_D): Likewise.
60285         (_FP_FRAC_HIGH_DW_D): Likewise.
60286         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
60287         (_FP_WFRACBITS_DW_E): Likewise.
60288         (_FP_WFRACXBITS_DW_E): Likewise.
60289         (_FP_HIGHBIT_DW_E): Likewise.
60290         (FP_FMA_E): Likewise.
60291         (_FP_FRAC_HIGH_DW_E): Likewise.
60292         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
60293         (_FP_WFRACBITS_DW_Q): Likewise.
60294         (_FP_WFRACXBITS_DW_Q): Likewise.
60295         (_FP_HIGHBIT_DW_Q): Likewise.
60296         (FP_FMA_Q): Likewise.
60297         (_FP_FRAC_HIGH_DW_Q): Likewise.
60298         * soft-fp/fmasf4.c: New file.
60299         * soft-fp/fmadf4.c: Likewise.
60300         * soft-fp/fmatf4.c: Likewise.
60302 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60305         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
60306         Silvermont.
60307         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
60308         macro.
60309         (index_Slow_SSE4_2): Likewise.
60310         (index_Prefer_PMINUB_for_stringop): Likewise.
60311         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
60312         bit_Slow_SSE4_2 is set.
60313         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60314         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60316 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60318         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
60319         rtld_global._dl_hwcap2.
60320         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
60321         POWER8.
60322         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
60323         POWER8 feature descriptions defined in _dl_hwcap2.
60324         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
60325         string handling for POWER8 feature bits.
60326         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
60327         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
60328         _dl_powerpc_cap_flags.
60329         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
60330         * sysdeps/powerpc/rtld-global-offsets.sym
60331         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
60332         _dl_hwcap2 in the rtld_global_ro structure.
60334 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60336         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
60337         hardware capabilities in support of AT_HWCAP2.
60338         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
60339         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
60340         GLRO(dl_hwcap2).
60341         (_dl_show_auxv): Add support for calling _dl_procinfo to display
60342         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
60343         explicitly the unknown a_type display mechanism is used.
60344         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
60345         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
60346         struct member.
60347         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
60348         to macro prototype for AT_HWCAP2 support.
60349         * sysdeps/i386/dl-procinfo.h: Likewise.
60350         * sysdeps/s390/dl-procinfo.h: Likewise.
60351         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
60352         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
60353         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
60354         return -1 for unknown a_type display fallback.
60355         * sysdeps/sparc/dl-procinfo.h: Likewise.
60356         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
60357         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
60359 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
60361         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
60362         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
60364 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
60366         [BZ #12492]
60367         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
60368         mprotect making __stack_prot writable.
60370 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
60371             Joseph Myers  <joseph@codesourcery.com>
60373         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
60374         as being properly aligned.
60376 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
60378         * dlfcn/modstatic5.c: New file.
60379         * dlfcn/tststatic5.c: New file.
60380         * dlfcn/Makefile (tests): Add tststatic5.
60381         (tests-static): Likewise.
60382         (modules-names): Add modstatic5.
60383         (tststatic5-ENV): New variable.
60384         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
60386         [BZ #15022]
60387         * elf/dl-support.c (_dl_main_map): New variable.
60388         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
60389         (_dl_nns, _dl_load_adds): Set to 1.
60390         (_dl_initial_searchlist): Refer to _dl_main_map.
60391         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
60392         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
60393         call to _dl_get_origin.
60394         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
60395         around call_map.
60396         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
60397         * dlfcn/modstatic3.c: New file.
60398         * dlfcn/tststatic3.c: New file.
60399         * dlfcn/tststatic4.c: New file.
60400         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
60401         (tests-static): Likewise.
60402         (modules-names): Add modstatic3.
60403         (tststatic3-ENV, tststatic4-ENV): New variables.
60404         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
60405         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
60407 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
60409         * configure.in (CC): Require GCC version 4.4 or later.
60410         * configure: Regenerated.
60411         * manual/install.texi (Tools for Compilation): Update GCC version
60412         requirement.
60413         * INSTALL: Regenerated.
60415 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60417         [BZ #15674]
60418         * string/test-memcmp.c (check2): New.
60419         (main): Call check2.
60421         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
60423 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
60425         [BZ #15022]
60426         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
60427         over to...
60428         (dl_open_worker) [!SHARED]: ... here.
60430 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60432         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
60434 2013-06-25  Richard Henderson  <rth@redhat.com>
60436         * locale/programs/locarchive.c: Include <libc-internal.h>
60438 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
60440         * manual/texinfo.tex: Update to version 2013-06-21.17, with
60441         trailing whitespace removed.
60443 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
60445         [BZ #10283]
60446         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
60447         * locale/programs/locarchive.c: Include libc-mmap.h.
60448         (prepare_address_space): Take two new outputs (the mmap base and len).
60449         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
60450         values.
60451         (create_archive): Declare new mmap base and len values for
60452         prepare_address_space, and store the result in ah.
60453         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
60454         (enlarge_archive): If ah->mmap_base is not NULL, use that and
60455         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60456         Declare new mmap base and len values for
60457         prepare_address_space, and store the result in new_ah.
60458         (open_archive): Declare new mmap base and len values for
60459         prepare_address_space, and store the result in ah.
60460         (close_archive): If ah->mmap_base is not NULL, use that and
60461         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60462         * sysdeps/generic/libc-mmap.h: New file.
60464 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
60466         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
60467         (ALIGN_UP): Likewise.
60468         (PTR_ALIGN_DOWN): Likewise.
60469         (PTR_ALIGN_UP): Likewise.
60471 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60473         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
60474         entry mapped to PPC_PLATFORM_POWER8.
60475         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
60476         POWER8.
60477         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
60478         (_dl_string_platform): Add case for exporting platform position for
60479         POWER8.
60480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
60481         search path to sysdeps/powerpc/powerpc32/power8 directory.
60482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
60483         search path to sysdeps/powerpc/powerpc64/power8 directory.
60484         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
60485         power7 directories.
60486         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
60487         power7 directories.
60489 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60491         * INSTALL: Regenerate.
60493         * nscd/connections.c (nscd_init): Fix comment.
60495 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
60497         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
60499         [BZ #15667]
60500         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
60501         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
60503 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60505         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
60506         DL_DST_REQ_STATIC.
60507         (DL_DST_REQ_STATIC): Remove macro.
60509 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
60511         [BZ #7006]
60512         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
60513         with a shift of 0 bits.
60515 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60517         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
60518         $(tststatic-ENV).
60520 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60522         [BZ #15655]
60523         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
60525 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60527         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
60528         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
60529         accepts -fno-tree-loop-distribute-patterns.
60530         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
60531         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
60532         recursive call.
60533         * string/memset.c (memset): Likewise.
60534         * string/test-memmove.c (simple_memmove): Disable loop transformation
60535         to library calls.
60536         * string/test-memset.c (simple_memset): Likewise.
60537         * benchtests/bench-memmove.c (simple_memmove): Likewise.
60538         * benchtests/bench-memset.c (simple_memset): Likewise.
60539         * configure: Regenerated.
60541 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
60543         * math/test-misc.c (main): Ignore fesetround failure when failures
60544         of subsequent rounding tests would be ignored.
60546         [BZ #15654]
60547         * math/fedisblxcpt.c (fedisableexcept): Return 0.
60548         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
60549         * math/fegetenv.c (__fegetenv): Return 0.
60550         * math/fegetexcept.c (fegetexcept): Return 0.
60551         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
60552         FE_TONEAREST.
60553         * math/feholdexcpt.c (feholdexcept): Return 0.
60554         * math/fesetenv.c (__fesetenv): Return 0.
60555         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
60556         argument FE_TONEAREST.
60557         * math/feupdateenv.c (__feupdateenv): Return 0.
60558         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
60560 2013-06-18  Roland McGrath  <roland@hack.frob.com>
60562         * elf/rtld-Rules (rtld-compile-command.S): New variable.
60563         (rtld-compile-command.s, rtld-compile-command.c): New variables.
60564         ($(objpfx)rtld-%.os rules): Use them.
60566 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60568         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
60569         fields.
60571 2013-06-17  Roland McGrath  <roland@hack.frob.com>
60573         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
60574         length of target pattern, then descending length of dependency pattern.
60575         * configure.in (AWK): Require gawk 3.1.2 or newer.
60576         * manual/install.texi (Tools for Compilation): Say that we do.
60577         * configure: Regenerated.
60579         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
60580         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
60581         * scripts/sysd-rules.awk: ... this new script.
60582         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
60583         than a glob-style pattern.
60585 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
60587         * math/test-misc.c (main): Do not treat incorrectly rounded
60588         conversions as failure unless ROUNDING_TESTS passes.
60590 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
60592         [BZ #15631]
60593         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
60594         restore exception state around main square root computation, then
60595         check for inexactness explicitly.
60597         * math/libm-test.inc (fma_test_data): Add another test.
60599 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60601         * manual/threads.texi (Non-POSIX Extensions): New document
60602         node.  Document pthread_getattr_default_np and
60603         pthread_setattr_default_np.
60605         * Versions.def (libpthread): Add GLIBC_2.18.
60606         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
60607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60608         Likewise.
60609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60610         Likewise.
60611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60612         Likewise.
60613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60614         Likewise.
60615         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
60616         Likewise.
60617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60618         Likewise.
60619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60620         Likewise.
60621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60622         Likewise.
60623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60624         Likewise.
60626 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60629         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
60631 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60632             H.J. Lu  <hjl.tools@gmail.com>
60634         [BZ #15627]
60635         * sysdeps/x86_64/rtld-memset.c: Remove file.
60636         * sysdeps/x86_64/rtld-memset.S: New file.
60638 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
60640         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
60641         (test_in_one_mode): Take arguments for whether the rounding mode
60642         is supported for each floating-point type.
60643         (do_test): Pass new arguments to test_in_one_mode using
60644         ROUNDING_TESTS.
60646 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60648         * posix/tst-waitid.c (do_test): Distinguish different instances of
60649         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
60650         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
60651         before entering the kernel for waitpid.
60653 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60655         * NEWS: Fix note on clock function precision.  Text by Roland
60656         McGrath.
60658 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60660         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
60661         it into place only when and if the sanity check passes.
60663 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
60665         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
60666         output for whether conversion result is exact.  Take argument
60667         indicating whether type is IBM long double.
60668         (round_for_all): Change need_exact field to ibm_ld.
60669         * stdlib/tst-strtod-round.c (struct exactness): New type.
60670         (struct test): Change bool ld_ok field to struct exactness exact.
60671         (TEST): Update all definitions for change to field.
60672         (tests): Regenerate array contents.
60673         (test_in_one_mode): Take pointer to new field instead of old ld_ok
60674         field value.  Check for IBM long double here.
60675         (do_test): Update calls to test_in_one_mode.
60677 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60679         [BZ #12515]
60680         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
60681         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
60683 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60685         [BZ #15605]
60686         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
60687         generated by the compiler on loop optimizations.
60688         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
60689         general definitions.
60691 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
60693         * math/bug-nextafter.c: Include <math-tests.h>.
60694         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60695         the relevant type.
60696         * math/bug-nexttoward.c: Include <math-tests.h>.
60697         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60698         the relevant type.
60699         * math/test-misc.c: Include <math-tests.h>.
60700         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60701         the relevant type.
60703 2013-06-12  Andreas Jaeger  <aj@suse.de>
60705         * po/ia.po: Update Interlingua translation from translation
60706         project.
60708 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60710         * include/fenv.h: Include stdbool.h.
60711         (struct rm_ctx): New structure.
60712         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
60713         Define macro.
60714         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
60715         (SET_RESTORE_ROUNDF): Likewise.
60716         (SET_RESTORE_ROUNDL): Likewise.
60717         (SET_RESTORE_ROUND_NOEX): Likewise.
60718         (SET_RESTORE_ROUND_NOEXF): Likewise.
60719         (SET_RESTORE_ROUND_NOEXL): Likewise.
60720         (SET_RESTORE_ROUND_53BIT): Likewise.
60721         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
60722         (libc_feresetround_noexf_ctx): Likewise.
60723         (libc_feresetround_noexl_ctx): Likewise.
60724         (libc_feholdsetround_53bit_ctx): Likewise.
60725         (libc_feresetround_53bit_ctx): Likewise.
60726         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
60727         (libc_feholdexcept_setround_sse_ctx): New function.
60728         (libc_fesetenv_sse_ctx): Likewise.
60729         (libc_feupdateenv_sse_ctx): Likewise.
60730         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
60731         (libc_feholdexcept_setround_387_ctx): Likewise.
60732         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
60733         (libc_feholdsetround_387_prec_ctx): Likewise.
60734         (libc_feholdsetround_387_ctx): Likewise.
60735         (libc_feholdsetround_387_53bit_ctx): Likewise.
60736         (libc_feholdsetround_sse_ctx): Likewise.
60737         (libc_feresetround_sse_ctx): Likewise.
60738         (libc_feresetround_387_ctx): Likewise.
60739         (libc_feupdateenv_387_ctx): Likewise.
60740         (libc_feholdexcept_setroundf_ctx): Define macro.
60741         (libc_fesetenvf_ctx): Likewise.
60742         (libc_feupdateenvf_ctx): Likewise.
60743         (libc_feholdsetroundf_ctx): Likewise.
60744         (libc_feresetroundf_ctx): Likewise.
60745         (libc_feholdexcept_setround_ctx): Likewise.
60746         (libc_fesetenv_ctx): Likewise.
60747         (libc_feupdateenv_ctx): Likewise.
60748         (libc_feholdsetround_ctx): Likewise.
60749         (libc_feresetround_ctx): Likewise.
60750         (libc_feholdexcept_setroundl_ctx): Likewise.
60751         (libc_feupdateenvl_ctx): Likewise.
60752         (libc_feholdsetroundl_ctx): Likewise.
60753         (libc_feresetroundl_ctx): Likewise.
60754         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
60755         (libc_feresetround_53bit_ctx): Likewise.
60757 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60759         * locale/iso-639.def: Convert to UTF-8.
60761 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
60763         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
60764         (EXCEPTION_TESTS_double): Likewise.
60765         (EXCEPTION_TESTS_long_double): Likewise.
60766         (EXCEPTION_TESTS): Likewise.
60767         * math/libm-test.inc (test_exceptions): Only test exceptions if
60768         EXCEPTION_TESTS (FLOAT).
60770 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60772         * benchtests/Makefile (string-bench): Add strcpy_chk and
60773         stpcpy_chk.
60774         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
60775         * benchtests/bench-stpcpy_chk.c: New file.
60776         * benchtests/bench-strcpy_chk-ifunc.c: New file.
60777         * benchtests/bench-strcpy_chk.c: New file.
60778         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
60779         code.
60780         (do_test): Likewise.
60782 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60784         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
60785         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
60786         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
60787         with tabs where appropriate.
60788         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
60789         dl-procinfo.h.
60790         [PPC_PLATFORM_PPC440]: Likewise.
60791         [PPC_PLATFORM_PPC464]: Likewise.
60792         [PPC_PLATFORM_PPC476]: Likewise.
60793         (_dl_string_platform): Add support for detecting ppc405, ppc440,
60794         ppc464, and ppc476 platform strings merging from ports/
60795         dl-procinfo.h.
60797 2013-06-11  Andreas Schwab  <schwab@suse.de>
60799         [BZ #14991]
60800         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
60801         (from_ucs4_idx): Regenerate.
60802         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
60803         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
60804         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
60805         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
60806         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
60807         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
60808         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
60809         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
60810         from FROM_LOOP and TO_LOOP specific macros.
60811         (BODY): Handle combining characters.
60812         * iconvdata/BIG5HKSCS.irreversible: Update.
60813         * iconvdata/BIG5HKSCS.precomposed: New file.
60814         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
60815         characters.
60816         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
60818 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60820         * include/sys/time.h: Fix indentation and add copyright header.
60822         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
60823         (do_test): Likewise.
60824         * string/test-memchr.c (do_one_test): Likewise.
60825         (do_test): Likewise.
60826         * string/test-memcmp.c (do_one_test): Likewise.
60827         (do_test): Likewise.
60828         * string/test-memcpy.c (do_one_test): Likewise.
60829         (do_test): Likewise.
60830         * string/test-memmem.c (do_one_test): Likewise.
60831         (do_test): Likewise.
60832         (do_random_tests): Likewise.
60833         * string/test-memmove.c (do_one_test): Likewise.
60834         (do_test): Likewise.
60835         * string/test-memset.c (do_one_test): Likewise.
60836         (do_test): Likewise.
60837         * string/test-rawmemchr.c (do_one_test): Likewise.
60838         (do_test): Likewise.
60839         * string/test-strcasecmp.c (do_one_test): Likewise.
60840         (do_test): Likewise.
60841         * string/test-strcasestr.c (do_one_test): Likewise.
60842         (do_test): Likewise.
60843         * string/test-strcat.c (do_one_test): Likewise.
60844         (do_test): Likewise.
60845         * string/test-strchr.c (do_one_test): Likewise.
60846         (do_test): Likewise.
60847         * string/test-strcmp.c (do_one_test): Likewise.
60848         (do_test): Likewise.
60849         * string/test-strcpy.c (do_one_test): Likewise.
60850         (do_test): Likewise.
60851         * string/test-string.h: Likewise.
60852         (test_init): Likewise.
60853         * string/test-strlen.c (do_one_test): Likewise.
60854         (do_test): Likewise.
60855         * string/test-strncasecmp.c (do_one_test): Likewise.
60856         (do_test): Likewise.
60857         * string/test-strncat.c (do_one_test): Likewise.
60858         (do_test): Likewise.
60859         * string/test-strncmp.c (do_one_test): Likewise.
60860         (do_test_limit): Likewise.
60861         (do_test): Likewise.
60862         * string/test-strncpy.c (do_one_test): Likewise.
60863         (do_test): Likewise.
60864         * string/test-strnlen.c (do_one_test): Likewise.
60865         (do_test): Likewise.
60866         * string/test-strpbrk.c (do_one_test): Likewise.
60867         (do_test): Likewise.
60868         * string/test-strrchr.c (do_one_test): Likewise.
60869         (do_test): Likewise.
60870         * string/test-strspn.c (do_one_test): Likewise.
60871         (do_test): Likewise.
60872         * string/test-strstr.c (do_one_test): Likewise.
60873         (do_test): Likewise.
60875         * benchtests/Makefile (string-bench): Add string benchmarks.
60876         * benchtests/bench-bcopy-ifunc.c: New file.
60877         * benchtests/bench-bcopy.c: New file.
60878         * benchtests/bench-bzero-ifunc.c: New file.
60879         * benchtests/bench-bzero.c: New file.
60880         * benchtests/bench-memccpy-ifunc.c: New file.
60881         * benchtests/bench-memccpy.c: New file.
60882         * benchtests/bench-memchr-ifunc.c: New file.
60883         * benchtests/bench-memchr.c: New file.
60884         * benchtests/bench-memcmp-ifunc.c: New file.
60885         * benchtests/bench-memcmp.c: New file.
60886         * benchtests/bench-memmem-ifunc.c: New file.
60887         * benchtests/bench-memmem.c: New file.
60888         * benchtests/bench-memmove-ifunc.c: New file.
60889         * benchtests/bench-memmove.c: New file.
60890         * benchtests/bench-mempcpy-ifunc.c: New file.
60891         * benchtests/bench-mempcpy.c: New file.
60892         * benchtests/bench-memset-ifunc.c: New file.
60893         * benchtests/bench-memset.c: New file.
60894         * benchtests/bench-rawmemchr-ifunc.c: New file.
60895         * benchtests/bench-rawmemchr.c: New file.
60896         * benchtests/bench-stpcpy-ifunc.c: New file.
60897         * benchtests/bench-stpcpy.c: New file.
60898         * benchtests/bench-stpncpy-ifunc.c: New file.
60899         * benchtests/bench-stpncpy.c: New file.
60900         * benchtests/bench-strcasecmp-ifunc.c: New file.
60901         * benchtests/bench-strcasecmp.c: New file.
60902         * benchtests/bench-strcasestr-ifunc.c: New file.
60903         * benchtests/bench-strcasestr.c: New file.
60904         * benchtests/bench-strcat-ifunc.c: New file.
60905         * benchtests/bench-strcat.c: New file.
60906         * benchtests/bench-strchr-ifunc.c: New file.
60907         * benchtests/bench-strchr.c: New file.
60908         * benchtests/bench-strchrnul-ifunc.c: New file.
60909         * benchtests/bench-strchrnul.c: New file.
60910         * benchtests/bench-strcmp-ifunc.c: New file.
60911         * benchtests/bench-strcmp.c: New file.
60912         * benchtests/bench-strcpy-ifunc.c: New file.
60913         * benchtests/bench-strcpy.c: New file.
60914         * benchtests/bench-strcspn-ifunc.c: New file.
60915         * benchtests/bench-strcspn.c: New file.
60916         * benchtests/bench-strlen-ifunc.c: New file.
60917         * benchtests/bench-strlen.c: New file.
60918         * benchtests/bench-strncasecmp-ifunc.c: New file.
60919         * benchtests/bench-strncasecmp.c: New file.
60920         * benchtests/bench-strncat-ifunc.c: New file.
60921         * benchtests/bench-strncat.c: New file.
60922         * benchtests/bench-strncmp-ifunc.c: New file.
60923         * benchtests/bench-strncmp.c: New file.
60924         * benchtests/bench-strncpy-ifunc.c: New file.
60925         * benchtests/bench-strncpy.c: New file.
60926         * benchtests/bench-strnlen-ifunc.c: New file.
60927         * benchtests/bench-strnlen.c: New file.
60928         * benchtests/bench-strpbrk-ifunc.c: New file.
60929         * benchtests/bench-strpbrk.c: New file.
60930         * benchtests/bench-strrchr-ifunc.c: New file.
60931         * benchtests/bench-strrchr.c: New file.
60932         * benchtests/bench-strspn-ifunc.c: New file.
60933         * benchtests/bench-strspn.c: New file.
60934         * benchtests/bench-strstr-ifunc.c: New file.
60935         * benchtests/bench-strstr.c: New file.
60937         * benchtests/Makefile: Disable parallel execution of targets.
60938         (string-bench): Add memcpy.
60939         (benchset): New variable to store a list of benchmark sets.
60940         (bench-func): Renamed from bench.
60941         (bench-set): New target.
60942         (bench): Depend on bench-func and bench-set.
60943         * benchtests/README: Add section on benchmark sets.
60944         * benchtests/bench-memcpy-ifunc.c: New file.
60945         * benchtests/bench-memcpy.c: New file.
60946         * benchtests/bench-string.h: New file.
60948 2013-06-11  Andreas Schwab  <schwab@suse.de>
60950         [BZ #15577]
60951         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
60952         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
60953         values in the triple.
60954         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
60955         terminator in the group key.
60957 2013-06-11  Andreas Jaeger  <aj@suse.de>
60959         * po/zh_TW.po: Update Chinese (traditional) translation from
60960         translation project.
60962 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60964         * include/time.h (__clock_gettime): Add libc_hidden_proto.
60965         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
60966         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
60967         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60968         (clock_getcpuclockid): Likewise.
60969         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
60970         Add weak_alias and libc_hidden_def.
60971         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
60972         * rt/clock_gettime.c (clock_gettime): Rename to
60973         __clock_gettime.  Add weak_alias and libc_hidden_def.
60974         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
60975         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
60976         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
60977         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
60978         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
60979         Likewise.
60980         * rt/clock_settime.c (clock_settime): Rename to
60981         __clock_settime.  Add weak_alias and libc_hidden_def.
60982         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
60984 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
60986         * mach/err_boot.sub: Remove trailing whitespace.
60987         * mach/err_ipc.sub: Likewise.
60988         * mach/err_mach.sub: Likewise.
60990         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
60991         (ROUNDING_TESTS_double): Likewise.
60992         (ROUNDING_TESTS_long_double): Likewise.
60993         (ROUNDING_TESTS): Likewise.
60994         * math/libm-test.inc: Include <math-tests.h>.
60995         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
60996         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60997         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60998         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61000 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61002         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
61003         of assigning.
61005 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
61007         * sysdeps/gnu/errlist.awk: Do not generate space at end of
61008         otherwise empty TRANS lines.
61009         * sysdeps/gnu/errlist.c: Regenerated.
61011         * catgets/gencat.c (error_print): Use (void) in function
61012         definition.
61013         * crypt/crypt_util.c (__init_des): Likewise.
61014         * crypt/speeds.c (Stop): Likewise.
61015         (main): Likewise.
61016         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61017         * inet/ruserpass.c (token): Likewise.
61018         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61019         * intl/localealias.c (extend_alias_table): Likewise.
61020         * intl/plural-exp.c (init_germanic_plural): Likewise.
61021         * libio/fcloseall.c (__fcloseall): Likewise.
61022         * libio/genops.c (_IO_flush_all): Likewise.
61023         (_IO_flush_all_linebuffered): Likewise.
61024         (_IO_cleanup): Likewise.
61025         (_IO_iter_begin): Likewise.
61026         (_IO_iter_end): Likewise.
61027         (_IO_list_lock): Likewise.
61028         (_IO_list_unlock): Likewise.
61029         (_IO_list_resetlock): Likewise.
61030         * libio/getchar.c (getchar): Likewise.
61031         * libio/getchar_u.c (getchar_unlocked): Likewise.
61032         * libio/getwchar.c (getwchar): Likewise.
61033         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61034         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61035         * login/getpt.c (__getpt): Likewise.
61036         * login/tst-utmp.c (main): Likewise.
61037         * malloc/hooks.c (__malloc_check_init): Likewise.
61038         * malloc/malloc.c (__malloc_stats): Likewise.
61039         * malloc/mtrace.c (tr_break): Likewise.
61040         (mtrace): Likewise.
61041         (muntrace): Likewise.
61042         * misc/fstab.c (endfsent): Likewise.
61043         * misc/getclktck.c (__getclktck): Likewise.
61044         * misc/getdtsz.c (__getdtablesize): Likewise.
61045         * misc/gethostid.c (gethostid): Likewise.
61046         * misc/getpagesize.c (__getpagesize): Likewise.
61047         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61048         (__get_nprocs): Likewise.
61049         (__get_phys_pages): Likewise.
61050         (__get_avphys_pages): Likewise.
61051         * misc/getttyent.c (getttyent): Likewise.
61052         (setttyent): Likewise.
61053         (endttyent): Likewise.
61054         * misc/getusershell.c (getusershell): Likewise.
61055         (endusershell): Likewise.
61056         (setusershell): Likewise.
61057         (initshells): Likewise.
61058         * misc/hsearch.c (__hdestroy): Likewise.
61059         * misc/sync.c (sync): Likewise.
61060         * misc/syslog.c (closelog_internal): Likewise.
61061         (closelog): Likewise.
61062         * misc/ttyslot.c (ttyslot): Likewise.
61063         * misc/vhangup.c (vhangup): Likewise.
61064         * posix/fork.c (__fork): Likewise.
61065         * posix/getegid.c (__getegid): Likewise.
61066         * posix/geteuid.c (__geteuid): Likewise.
61067         * posix/getgid.c (__getgid): Likewise.
61068         * posix/getpid.c (__getpid): Likewise.
61069         * posix/getppid.c (__getppid): Likewise.
61070         * posix/getuid.c (__getuid): Likewise.
61071         * posix/pause.c (pause): Likewise.
61072         * posix/setpgrp.c (setpgrp): Likewise.
61073         * posix/setsid.c (__setsid): Likewise.
61074         * posix/test-vfork.c (noop): Likewise.
61075         * resolv/gethnamaddr.c (_endhtent): Likewise.
61076         (_gethtent): Likewise.
61077         (ht_endhostent): Likewise.
61078         (gethostent): Likewise.
61079         (dns_service): Likewise.
61080         * stdlib/drand48.c (drand48): Likewise.
61081         * stdlib/lrand48.c (lrand48): Likewise.
61082         * stdlib/mrand48.c (mrand48): Likewise.
61083         * stdlib/rand.c (rand): Likewise.
61084         * stdlib/random.c (__random): Likewise.
61085         * stdlib/setenv.c (clearenv): Likewise.
61086         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
61087         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
61088         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
61089         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
61090         (__get_nprocs): Likewise.
61091         (__get_phys_pages): Likewise.
61092         (__get_avphys_pages): Likewise.
61093         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
61094         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
61095         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
61096         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
61097         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
61098         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
61099         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
61100         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
61101         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
61102         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
61103         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
61104         * sysdeps/mach/hurd/sync.c (sync): Likewise.
61105         * sysdeps/posix/clock.c (clock): Likewise.
61106         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
61107         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
61108         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
61109         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
61110         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
61111         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
61112         (__get_nprocs_conf): Likewise.
61113         (__get_phys_pages): Likewise.
61114         (__get_avphys_pages): Likewise.
61115         * time/clock.c (clock): Likewise.
61116         * time/tzset.c (__tzname_max): Likewise.
61118 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
61120         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
61121         (__bswap_32): Do not use "register".
61122         * crypt/crypt.c (_ufc_doit_r): Likewise.
61123         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
61124         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
61125         * gmon/gmon.c (__monstartup): Likewise.
61126         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
61127         * hurd/hurdmalloc.c (more_memory): Likewise.
61128         (malloc): Likewise.
61129         (free): Likewise.
61130         (realloc): Likewise.
61131         (malloc_fork_prepare): Likewise.
61132         (malloc_fork_parent): Likewise.
61133         (malloc_fork_child): Likewise.
61134         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
61135         (_svcauth_des): Likewise.
61136         * inet/inet_lnaof.c (inet_lnaof): Likewise.
61137         * inet/inet_net.c (inet_network): Likewise.
61138         * inet/inet_netof.c (inet_netof): Likewise.
61139         * inet/rcmd.c (__validuser2_sa): Likewise.
61140         * io/fts.c (fts_open): Likewise.
61141         (fts_load): Likewise.
61142         (fts_close): Likewise.
61143         (fts_read): Likewise.
61144         (fts_children): Likewise.
61145         (fts_build): Likewise.
61146         (fts_stat): Likewise.
61147         (fts_sort): Likewise.
61148         (fts_alloc): Likewise.
61149         (fts_lfree): Likewise.
61150         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
61151         (_IO_file_xsgetn): Likewise.
61152         (_IO_file_xsgetn_mmap): Likewise.
61153         * libio/iofopncook.c (_IO_cookie_read): Likewise.
61154         (_IO_cookie_write): Likewise.
61155         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
61156         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
61157         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
61158         * malloc/obstack.c (_obstack_begin): Likewise.
61159         (_obstack_begin_1): Likewise.
61160         (_obstack_newchunk): Likewise.
61161         (_obstack_allocated_p): Likewise.
61162         (obstack_free): Likewise.
61163         (_obstack_memory_used): Likewise.
61164         * misc/getttyent.c (getttynam): Likewise.
61165         (getttyent): Likewise.
61166         (skip): Likewise.
61167         (value): Likewise.
61168         * misc/getusershell.c (initshells): Likewise.
61169         * misc/syslog.c (__vsyslog_chk): Likewise.
61170         * misc/ttyslot.c (ttyslot): Likewise.
61171         * nis/nis_hash.c (__nis_hash): Likewise.
61172         * posix/fnmatch_loop.c (FCT): Likewise.
61173         * posix/getconf.c (print_all): Likewise.
61174         (main): Likewise.
61175         * posix/getopt.c (exchange): Likewise.
61176         * posix/glob.c (globfree): Likewise.
61177         (prefix_array): Likewise.
61178         (__glob_pattern_type): Likewise.
61179         * resolv/arpa/nameser.h (NS_GET16): Likewise.
61180         (NS_GET32): Likewise.
61181         (NS_PUT16): Likewise.
61182         (NS_PUT32): Likewise.
61183         * resolv/gethnamaddr.c (getanswer): Likewise.
61184         (gethostbyname2): Likewise.
61185         (gethostbyaddr): Likewise.
61186         (_gethtent): Likewise.
61187         (_gethtbyname2): Likewise.
61188         (_gethtbyaddr): Likewise.
61189         * resolv/ns_print.c (dst_s_get_int16): Likewise.
61190         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
61191         * resolv/res_init.c (__res_vinit): Likewise.
61192         (net_mask): Likewise.
61193         * resolv/res_mkquery.c (outchar): Likewise.
61194         (PRINT): Likewise.
61195         * stdio-common/printf_fp.c (outchar): Likewise.
61196         (PRINT): Likewise.
61197         * stdio-common/printf_fphex.c (outchar): Likewise.
61198         (PRINT): Likewise.
61199         * stdio-common/printf_size.c (outchar): Likewise.
61200         (PRINT): Likewise.
61201         * stdio-common/test_rdwr.c (main): Likewise.
61202         * stdio-common/tfformat.c (matches): Likewise.
61203         * stdio-common/vfprintf.c (outchar): Likewise.
61204         (printf_unknown): Likewise.
61205         (buffered_vfprintf): Likewise.
61206         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
61207         * stdio-common/xbug.c (AppendToBuffer): Likewise.
61208         (ReadFile): Likewise.
61209         * stdlib/qsort.c (SWAP): Likewise.
61210         (_quicksort): Likewise.
61211         * stdlib/setenv.c (__add_to_environ): Likewise.
61212         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
61213         * stdlib/strtol_l.c (__strtol_l): Likewise.
61214         * stdlib/tst-strtod.c (main): Likewise.
61215         * stdlib/tst-strtol.c (main): Likewise.
61216         * stdlib/tst-strtoll.c (main): Likewise.
61217         * string/bits/string2.h (__strcmp_cc): Likewise.
61218         (__strcmp_cg): Likewise.
61219         (__strcspn_c1): Likewise.
61220         (__strcspn_c2): Likewise.
61221         (__strcspn_c3): Likewise.
61222         (__strspn_c1): Likewise.
61223         (__strspn_c2): Likewise.
61224         (__strspn_c3): Likewise.
61225         (__strsep_1c): Likewise.
61226         (__strsep_2c): Likewise.
61227         (__strsep_3c): Likewise.
61228         * string/memccpy.c (__memccpy): Likewise.
61229         * string/stpcpy.c (__stpcpy): Likewise.
61230         * string/strcmp.c (strcmp): Likewise.
61231         * string/strrchr.c (strrchr): Likewise.
61232         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
61233         Likewise.
61234         * sysdeps/mach/hurd/getcwd.c
61235         (_hurd_canonicalize_directory_name_internal): Likewise.
61236         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
61237         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
61238         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
61239         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
61240         Likewise, in both definitions.
61241         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
61242         definitions.
61243         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
61244         64] (__bswap_64): Likewise.
61245         * time/test_time.c (main): Likewise.
61246         * time/tzfile.c (__tzfile_read): Likewise.
61247         (__tzfile_compute): Likewise.
61248         * time/tzset.c (__tzset_parse_tz): Likewise.
61249         (tzset_internal): Likewise.
61250         (compute_change): Likewise.
61251         * wcsmbs/wcscat.c (__wcscat): Likewise.
61252         * wcsmbs/wcschr.c (wcschr): Likewise.
61253         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
61254         * wcsmbs/wcscspn.c (wcscspn): Likewise.
61255         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
61256         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
61257         * wcsmbs/wcsspn.c (wcsspn): Likewise.
61258         * wcsmbs/wcsstr.c (wcsstr): Likewise.
61259         * wcsmbs/wmemchr.c (wmemchr): Likewise.
61260         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61261         * wcsmbs/wmemset.c (wmemset): Likewise.
61263 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
61265         * scripts/config.guess: Update to version 2013-05-16.
61266         * scripts/config.sub: Update to version 2013-04-24.
61267         * scripts/install-sh: Update to version 2011-11-20.07.
61268         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
61269         * scripts/move-if-change: Update to version 2012-01-06 07:23.
61271 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
61273         * debug/fgetws_u_chk.c: Fix leading whitespaces.
61274         * elf/sln.c: Likewise.
61275         * hurd/hurd/ioctl.h: Likewise.
61276         * hurd/hurdmalloc.c: Likewise.
61277         * hurd/xattr.c: Likewise.
61278         * include/shlib-compat.h: Likewise.
61279         * inet/ruserpass.c: Likewise.
61280         * libio/iofgets_u.c: Likewise.
61281         * libio/iofgetws_u.c: Likewise.
61282         * locale/programs/ld-identification.c: Likewise.
61283         * locale/programs/ld-time.c: Likewise.
61284         * mach/msg-destroy.c: Likewise.
61285         * nss/nss_files/files-netgrp.c: Likewise.
61286         * resolv/res_data.c: Likewise.
61287         * soft-fp/op-1.h: Likewise.
61288         * soft-fp/op-2.h: Likewise.
61289         * soft-fp/op-4.h: Likewise.
61290         * soft-fp/op-common.h: Likewise.
61291         * stdio-common/printf_fphex.c: Likewise.
61292         * stdlib/strtod_l.c: Likewise.
61293         * sunrpc/rpc/clnt.h: Likewise.
61294         * sysdeps/generic/framestate.c: Likewise.
61295         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61296         * sysdeps/i386/bsd-setjmp.S: Likewise.
61297         * sysdeps/i386/__longjmp.S: Likewise.
61298         * sysdeps/i386/setjmp.S: Likewise.
61299         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61300         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61301         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61302         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61303         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61304         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61305         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61306         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61307         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61308         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61309         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61310         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61311         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61312         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61313         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61314         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61315         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61316         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
61317         * sysdeps/ieee754/support.c: Likewise.
61318         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61319         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
61320         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
61321         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
61322         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
61323         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
61324         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
61325         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
61326         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
61327         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
61328         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
61329         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
61330         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
61331         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
61332         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
61333         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
61334         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
61337 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
61339         * posix/transbug.c: Remove executable mode.
61341 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
61343         * crypt/speeds.c: Remove trailing whitespace.
61344         * dlfcn/default.c: Likewise.
61345         * elf/ifuncdep2.c: Likewise.
61346         * elf/ifuncmain1.c: Likewise.
61347         * elf/ifuncmain1vis.c: Likewise.
61348         * elf/testobj.h: Likewise.
61349         * elf/tst-stackguard1.c: Likewise.
61350         * gmon/sys/gmon.h: Likewise.
61351         * hurd/hurdmsg.c: Likewise.
61352         * hurd/new-fd.c: Likewise.
61353         * hurd/ports-get.c: Likewise.
61354         * iconvdata/ibm1008_420.c: Likewise.
61355         * inet/tst-getni1.c: Likewise.
61356         * inet/tst-getni2.c: Likewise.
61357         * libio/ioungetc.c: Likewise.
61358         * libio/wfiledoalloc.c: Likewise.
61359         * manual/libm-err-tab.pl: Likewise.
61360         * math/w_dremf.c: Likewise.
61361         * misc/ftruncate.c: Likewise.
61362         * posix/bug-glob2.c: Likewise.
61363         * posix/tst-pcre.c: Likewise.
61364         * posix/wait4.c: Likewise.
61365         * resolv/README: Likewise.
61366         * resolv/res_debug.h: Likewise.
61367         * resolv/tst-inet_ntop.c: Likewise.
61368         * setjmp/bug269-setjmp.c: Likewise.
61369         * soft-fp/extended.h: Likewise.
61370         * soft-fp/op-1.h: Likewise.
61371         * soft-fp/op-2.h: Likewise.
61372         * soft-fp/op-4.h: Likewise.
61373         * soft-fp/op-8.h: Likewise.
61374         * soft-fp/testit.c: Likewise.
61375         * stdio-common/bug16.c: Likewise.
61376         * stdlib/random.c: Likewise.
61377         * sunrpc/rpcsvc/rquota.x: Likewise.
61378         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
61379         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61380         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61381         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61382         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61383         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61384         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61385         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61386         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61387         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61388         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61389         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61390         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61391         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61392         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61393         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61394         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61395         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61396         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61397         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61398         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61399         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61400         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
61401         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61402         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61403         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61405         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61406         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61407         * sysdeps/ieee754/s_lib_version.c: Likewise.
61408         * sysdeps/mach/hurd/check_fds.c: Likewise.
61409         * sysdeps/mach/hurd/getsockname.c: Likewise.
61410         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
61411         * sysdeps/mach/hurd/recvfrom.c: Likewise.
61412         * sysdeps/powerpc/bits/link.h: Likewise.
61413         * sysdeps/powerpc/dl-procinfo.c: Likewise.
61414         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
61415         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
61416         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
61417         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61418         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61419         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
61420         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61421         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
61422         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
61423         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
61424         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61425         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
61426         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
61427         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
61428         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
61429         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61430         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61431         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
61432         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61433         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61434         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
61435         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61436         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61437         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
61438         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61439         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61440         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61441         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61442         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61443         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61444         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61445         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61446         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61447         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
61448         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61449         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
61450         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61451         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
61452         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
61453         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
61454         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
61455         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
61456         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
61457         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61458         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
61459         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
61460         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61461         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
61462         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
61463         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61464         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61465         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61466         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61467         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
61468         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
61469         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
61470         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61471         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
61472         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
61473         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
61474         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
61475         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
61476         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61477         * sysdeps/powerpc/sysdep.h: Likewise.
61478         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61479         * sysdeps/s390/s390-64/sub_n.S: Likewise.
61480         * sysdeps/sh/dl-trampoline.S: Likewise.
61481         * sysdeps/sh/memset.S: Likewise.
61482         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
61483         * sysdeps/sh/strlen.S: Likewise.
61484         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
61485         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
61486         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
61487         * sysdeps/sparc/sparc32/rem.S: Likewise.
61488         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
61489         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
61490         * sysdeps/sparc/sparc32/strchr.S: Likewise.
61491         * sysdeps/sparc/sparc32/udiv.S: Likewise.
61492         * sysdeps/sparc/sparc32/urem.S: Likewise.
61493         * sysdeps/sparc/sparc64/add_n.S: Likewise.
61494         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61495         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
61496         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
61497         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
61498         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
61499         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
61500         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
61501         * sysdeps/unix/bsd/times.c: Likewise.
61502         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
61503         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
61504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
61505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
61506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
61507         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
61508         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61509         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
61510         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
61511         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
61512         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
61513         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61514         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
61515         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61516         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61517         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
61518         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61519         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
61520         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
61521         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
61522         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
61523         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
61524         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61525         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
61526         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
61527         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
61528         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
61529         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61530         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
61531         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
61532         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
61533         * sysdeps/x86_64/strcspn.S: Likewise.
61535 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61537         * locale/C-translit.h: Revert #include <stdint.h> because this is a
61538         generated file.  Regenerate properly from gen-translit.pl.
61539         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
61540         locale/C-translit.h.
61542 2013-06-05  Andreas Schwab  <schwab@suse.de>
61544         [BZ #15100]
61545         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
61546         week as 6 instead of -1.
61547         * time/tst-strptime.c (day_tests): Add test case.
61549 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61551         * sysdeps/generic/math_private.h
61552         (libc_feholdexcept_setround_53bit): Replace with
61553         libc_feholdsetround_53bit.
61554         (libc_feupdateenv_53bit): Replace with
61555         libc_feresetround_53bit.
61556         (SET_RESTORE_ROUND_53BIT): Adjust.
61558 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61560         * string/test-strchrnul.c: Add copyright header.
61562         * posix/tst-getaddrinfo4.c: Increase test timeout.
61564 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
61566         [BZ #15536]
61567         * math/libm-test.inc (MAX_EXP): Remove
61568         (MIN_EXP): Define.
61569         (ulp): Use MIN_EXP - MANT_DIG.
61570         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
61572 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
61574         * po/be.po: Revert last change.
61575         * po/zh_CN.po: Likewise.
61576         * po/header.pot: Likewise.
61578 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
61580         * Makefile ($(common-objpfx)linkobj/libc.so): Define
61581         link-libc-deps to empty as target-specific variable.
61582         * Makerules (link-libc-args): New variable.
61583         (libc-for-link): Likewise.
61584         (link-libc-deps): Likewise.
61585         (lib%.so): Depend on $(link-libc-deps).  Link with
61586         $(link-libc-args).
61587         (build-module): Link with $(link-libc-args).
61588         (build-module-asneeded): Likewise.
61589         (build-module-helper-objlist): Filter out $(link-libc-deps) from
61590         list of objects.
61591         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
61592         target-specific variable.
61593         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
61594         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
61595         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
61596         libc.
61597         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
61598         libc and ld.so.
61599         ($(objpfx)libpcprofile.so): Likewise.
61600         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
61601         libc_nonshared.a.
61602         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
61603         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
61604         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
61605         $(link-libc-deps).
61606         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
61607         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
61608         * login/Makefile ($(objpfx)libutil.so): Likewise.
61609         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
61610         * math/Makefile ($(objpfx)libm.so): Likewise.
61611         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
61612         $(objpfx)libnsl.so): Define libc-for-link as target-specific
61613         variable instead of depending directly on libc.
61614         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
61615         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
61616         $(link-libc-deps).
61617         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
61618         libc.
61619         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
61620         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
61621         ($(objpfx)libanl.so): Likewise.
61622         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
61623         ld.so.
61624         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
61625         $(link-libc-deps).
61626         * sysdeps/i386/fpu/Makefile: Remove file.
61627         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
61628         ($(objpfx)libm.so): Remove dependency on ld.so.
61630 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
61632         [BZ # 15553]
61633         * nis/yp_xdr.c (XDRMAXNAME): Define.
61634         (XDRMAXRECORD): Define.
61635         (xdr_domainname): Use XDRMAXNAME.
61636         (xdr_mapname): Likewise.
61637         (xdr_peername): Likewise.
61638         (xdr_keydat): Use XDRMAXRECORD.
61639         (xdr_valdat): Likewise.
61641 2013-05-30  Jeff Law  <law@redhat.com>
61643         [BZ #14256]
61644         * manual/errno.texi (ESTALE): Update to account for more than
61645         just NFS file systems.
61646         * sysdeps/gnu/errlist.c: Regenerated.
61648 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61650         [BZ #15465]
61651         * elf/Makefile (tests): Add tst-null-argv.
61652         (modules-names):  Add tst-null-argv-lib.
61653         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
61654         (tst-null-argv-ENV): Set environment for tst-null-argv.
61655         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
61656         (RTLD_PROGNAME): New macro.
61657         * elf/tst-null-argv.c: New test case.
61658         * elf/tst-null-argv-lib.c: Library for test case.
61659         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
61660         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
61661         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
61662         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
61663         * elf/dl-init.c (call_init): Likewise.
61664         (_dl_init): Likewise.
61665         * elf/dl-load.c (print_search_path): Likewise.
61666         (_dl_map_object): Likewise.
61667         * elf/dl-lookup.c (do_lookup_x): Likewise.
61668         (add_dependency): Likewise.
61669         (_dl_lookup_symbol_x): Likewise.
61670         (_dl_debug_bindings): Likewise.
61671         * elf/dl-open.c (_dl_show_scope): Likewise.
61672         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
61673         * elf/dl-version.c (match_symbol): Likewise.
61674         (_dl_check_map_versions): Likewise.
61675         * elf/rtld.c (dl_main): Likewise.
61676         (print_unresolved): Use RTLD_PROGNAME.
61677         (print_missing_version): Likewise.
61678         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
61679         (elf_machine_rela): Likewise.
61680         * sysdeps/powerpc/powerpc32/dl-machine.c
61681         (__process_machine_rela): Likewise.
61682         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61683         Likewise.
61684         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61685         Likewise.
61686         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
61687         Likewise.
61688         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61689         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
61690         Likewise.
61691         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
61692         Likewise.
61693         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61695 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
61697         * po/be.po: Add descriptive title.
61698         * po/zh_CN.po: Likewise.
61699         * po/header.pot: Likewise.
61701 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
61703         * locale/programs/locarchive.c (create_archive): Inlucde fname in
61704         error message.
61705         (enlarge_archive): Likewise.
61707 2013-05-28  Ben North  <ben@redfrontdoor.org>
61709         * manual/arith.texi (frexp): It is the magnitude of the return
61710         value which lies in [0.5, 1), not the return value itself.
61712 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61716 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
61718         * stdio-common/bug26.c (main): Correct fscanf template.
61720         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
61721         declare _dl_skip_args.
61723         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
61724         Don't declare.
61726         * manual/platform.texi: Add missing @end deftypefun.
61728 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61730         [BZ #15529]
61731         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
61732         bit of mantissa of 2^16382.
61733         * math/libm-test.inc (hypot_test_data): Add more tests.
61735         * math/libm-test.inc: Add drem and pow10 to list of tested
61736         functions.
61737         (pow10_test): New function.
61738         (drem_test): Likewise.
61739         (drem_test_tonearest): Likewise.
61740         (drem_test_towardzero): Likewise.
61741         (drem_test_downward): Likewise.
61742         (drem_test_upward): Likewise.
61743         (main): Call the new functions.
61745         * math/libm-test.inc (finite_test_data): Remove.
61746         (finite_test): Run tests from isfinite_test_data.
61747         (gamma_test_data): Remove.
61748         (gamma_test): Run tests from lgamma_test_data.
61749         * sysdeps/i386/fpu/libm-test-ulps: Update.
61750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61752 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61754         * manual/platform.texi: Add PowerPC PPR function set documentation.
61755         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
61756         implementation.
61758 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
61760         * math/libm-test.inc (MAX_EXP): Define.
61761         (ULPDIFF): Define.
61762         (ulp): New function.
61763         (check_float_internal): Use ULPDIFF.
61764         (cpow_test): Disable failing test.
61765         (check_ulp): Test ulp() implementation.
61766         (main): Call check_ulp before starting tests.
61768 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61770         * math/gen-libm-test.pl (generate_testfile): Do not handle
61771         START_DATA and END_DATA.
61772         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
61773         END_DATA.
61774         (acos_tonearest_test_data): Likewise.
61775         (acos_towardzero_test_data): Likewise.
61776         (acos_downward_test_data): Likewise.
61777         (acos_upward_test_data): Likewise.
61778         (acosh_test_data): Likewise.
61779         (asin_test_data): Likewise.
61780         (asin_tonearest_test_data): Likewise.
61781         (asin_towardzero_test_data): Likewise.
61782         (asin_downward_test_data): Likewise.
61783         (asin_upward_test_data): Likewise.
61784         (asinh_test_data): Likewise.
61785         (atan_test_data): Likewise.
61786         (atanh_test_data): Likewise.
61787         (atan2_test_data): Likewise.
61788         (cabs_test_data): Likewise.
61789         (cacos_test_data): Likewise.
61790         (cacosh_test_data): Likewise.
61791         (carg_test_data): Likewise.
61792         (casin_test_data): Likewise.
61793         (casinh_test_data): Likewise.
61794         (catan_test_data): Likewise.
61795         (catanh_test_data): Likewise.
61796         (cbrt_test_data): Likewise.
61797         (ccos_test_data): Likewise.
61798         (ccosh_test_data): Likewise.
61799         (ceil_test_data): Likewise.
61800         (cexp_test_data): Likewise.
61801         (cimag_test_data): Likewise.
61802         (clog_test_data): Likewise.
61803         (clog10_test_data): Likewise.
61804         (conj_test_data): Likewise.
61805         (copysign_test_data): Likewise.
61806         (cos_test_data): Likewise.
61807         (cos_tonearest_test_data): Likewise.
61808         (cos_towardzero_test_data): Likewise.
61809         (cos_downward_test_data): Likewise.
61810         (cos_upward_test_data): Likewise.
61811         (cosh_test_data): Likewise.
61812         (cosh_tonearest_test_data): Likewise.
61813         (cosh_towardzero_test_data): Likewise.
61814         (cosh_downward_test_data): Likewise.
61815         (cosh_upward_test_data): Likewise.
61816         (cpow_test_data): Likewise.
61817         (cproj_test_data): Likewise.
61818         (creal_test_data): Likewise.
61819         (csin_test_data): Likewise.
61820         (csinh_test_data): Likewise.
61821         (csqrt_test_data): Likewise.
61822         (ctan_test_data): Likewise.
61823         (ctan_tonearest_test_data): Likewise.
61824         (ctan_towardzero_test_data): Likewise.
61825         (ctan_downward_test_data): Likewise.
61826         (ctan_upward_test_data): Likewise.
61827         (ctanh_test_data): Likewise.
61828         (ctanh_tonearest_test_data): Likewise.
61829         (ctanh_towardzero_test_data): Likewise.
61830         (ctanh_downward_test_data): Likewise.
61831         (ctanh_upward_test_data): Likewise.
61832         (erf_test_data): Likewise.
61833         (erfc_test_data): Likewise.
61834         (exp_test_data): Likewise.
61835         (exp_tonearest_test_data): Likewise.
61836         (exp_towardzero_test_data): Likewise.
61837         (exp_downward_test_data): Likewise.
61838         (exp_upward_test_data): Likewise.
61839         (exp10_test_data): Likewise.
61840         (exp2_test_data): Likewise.
61841         (expm1_test_data): Likewise.
61842         (fabs_test_data): Likewise.
61843         (fdim_test_data): Likewise.
61844         (finite_test_data): Likewise.
61845         (floor_test_data): Likewise.
61846         (fma_test_data): Likewise.
61847         (fma_towardzero_test_data): Likewise.
61848         (fma_downward_test_data): Likewise.
61849         (fma_upward_test_data): Likewise.
61850         (fmax_test_data): Likewise.
61851         (fmin_test_data): Likewise.
61852         (fmod_test_data): Likewise.
61853         (fpclassify_test_data): Likewise.
61854         (frexp_test_data): Likewise.
61855         (gamma_test_data): Likewise.
61856         (hypot_test_data): Likewise.
61857         (ilogb_test_data): Likewise.
61858         (isfinite_test_data): Likewise.
61859         (isgreater_test_data): Likewise.
61860         (isgreaterequal_test_data): Likewise.
61861         (isinf_test_data): Likewise.
61862         (isless_test_data): Likewise.
61863         (islessequal_test_data): Likewise.
61864         (islessgreater_test_data): Likewise.
61865         (isnan_test_data): Likewise.
61866         (isnormal_test_data): Likewise.
61867         (issignaling_test_data): Likewise.
61868         (isunordered_test_data): Likewise.
61869         (j0_test_data): Likewise.
61870         (j1_test_data): Likewise.
61871         (jn_test_data): Likewise.
61872         (ldexp_test_data): Likewise.
61873         (lgamma_test_data): Likewise.
61874         (lrint_test_data): Likewise.
61875         (lrint_tonearest_test_data): Likewise.
61876         (lrint_towardzero_test_data): Likewise.
61877         (lrint_downward_test_data): Likewise.
61878         (lrint_upward_test_data): Likewise.
61879         (llrint_test_data): Likewise.
61880         (llrint_tonearest_test_data): Likewise.
61881         (llrint_towardzero_test_data): Likewise.
61882         (llrint_downward_test_data): Likewise.
61883         (llrint_upward_test_data): Likewise.
61884         (log_test_data): Likewise.
61885         (log10_test_data): Likewise.
61886         (log1p_test_data): Likewise.
61887         (log2_test_data): Likewise.
61888         (logb_test_data): Likewise.
61889         (logb_downward_test_data): Likewise.
61890         (lround_test_data): Likewise.
61891         (llround_test_data): Likewise.
61892         (modf_test_data): Likewise.
61893         (nearbyint_test_data): Likewise.
61894         (nextafter_test_data): Likewise.
61895         (nexttoward_test_data): Likewise.
61896         (pow_test_data): Likewise.
61897         (pow_tonearest_test_data): Likewise.
61898         (pow_towardzero_test_data): Likewise.
61899         (pow_downward_test_data): Likewise.
61900         (pow_upward_test_data): Likewise.
61901         (remainder_test_data): Likewise.
61902         (remainder_tonearest_test_data): Likewise.
61903         (remainder_towardzero_test_data): Likewise.
61904         (remainder_downward_test_data): Likewise.
61905         (remainder_upward_test_data): Likewise.
61906         (remquo_test_data): Likewise.
61907         (rint_test_data): Likewise.
61908         (rint_tonearest_test_data): Likewise.
61909         (rint_towardzero_test_data): Likewise.
61910         (rint_downward_test_data): Likewise.
61911         (rint_upward_test_data): Likewise.
61912         (round_test_data): Likewise.
61913         (scalb_test_data): Likewise.
61914         (scalbn_test_data): Likewise.
61915         (scalbln_test_data): Likewise.
61916         (signbit_test_data): Likewise.
61917         (sin_test_data): Likewise.
61918         (sin_tonearest_test_data): Likewise.
61919         (sin_towardzero_test_data): Likewise.
61920         (sin_downward_test_data): Likewise.
61921         (sin_upward_test_data): Likewise.
61922         (sincos_test_data): Likewise.
61923         (sinh_test_data): Likewise.
61924         (sinh_tonearest_test_data): Likewise.
61925         (sinh_towardzero_test_data): Likewise.
61926         (sinh_downward_test_data): Likewise.
61927         (sinh_upward_test_data): Likewise.
61928         (sqrt_test_data): Likewise.
61929         (tan_test_data): Likewise.
61930         (tan_tonearest_test_data): Likewise.
61931         (tan_towardzero_test_data): Likewise.
61932         (tan_downward_test_data): Likewise.
61933         (tan_upward_test_data): Likewise.
61934         (tanh_test_data): Likewise.
61935         (tgamma_test_data): Likewise.
61936         (trunc_test_data): Likewise.
61937         (y0_test_data): Likewise.
61938         (y1_test_data): Likewise.
61939         (yn_test_data): Likewise.
61940         (significand_test_data): Likewise.
61942         * math/gen-libm-test.pl (@functions): Remove variable.
61943         (generate_testfile): Don't handle START and END lines.
61944         * math/libm-test.inc (START): New macro.
61945         (END): Likewise.
61946         (END_COMPLEX): Likewise.
61947         (acos_test): Use END macro without arguments.
61948         (acos_test_tonearest): Likewise.
61949         (acos_test_towardzero): Likewise.
61950         (acos_test_downward): Likewise.
61951         (acos_test_upward): Likewise.
61952         (acosh_test): Likewise.
61953         (asin_test): Likewise.
61954         (asin_test_tonearest): Likewise.
61955         (asin_test_towardzero): Likewise.
61956         (asin_test_downward): Likewise.
61957         (asin_test_upward): Likewise.
61958         (asinh_test): Likewise.
61959         (atan_test): Likewise.
61960         (atanh_test): Likewise.
61961         (atan2_test): Likewise.
61962         (cabs_test): Likewise.
61963         (cacos_test): Use END_COMPLEX macro without arguments.
61964         (cacosh_test): Likewise.
61965         (carg_test): Use END macro without arguments.
61966         (casin_test): Use END_COMPLEX macro without arguments.
61967         (casinh_test): Likewise.
61968         (catan_test): Likewise.
61969         (catanh_test): Likewise.
61970         (cbrt_test): Use END macro without arguments.
61971         (ccos_test): Use END_COMPLEX macro without arguments.
61972         (ccosh_test): Likewise.
61973         (ceil_test): Use END macro without arguments.
61974         (cexp_test): Use END_COMPLEX macro without arguments.
61975         (cimag_test): Use END macro without arguments.
61976         (clog_test): Use END_COMPLEX macro without arguments.
61977         (clog10_test): Likewise.
61978         (conj_test): Likewise.
61979         (copysign_test): Use END macro without arguments.
61980         (cos_test): Likewise.
61981         (cos_test_tonearest): Likewise.
61982         (cos_test_towardzero): Likewise.
61983         (cos_test_downward): Likewise.
61984         (cos_test_upward): Likewise.
61985         (cosh_test): Likewise.
61986         (cosh_test_tonearest): Likewise.
61987         (cosh_test_towardzero): Likewise.
61988         (cosh_test_downward): Likewise.
61989         (cosh_test_upward): Likewise.
61990         (cpow_test): Use END_COMPLEX macro without arguments.
61991         (cproj_test): Likewise.
61992         (creal_test): Use END macro without arguments.
61993         (csin_test): Use END_COMPLEX macro without arguments.
61994         (csinh_test): Likewise.
61995         (csqrt_test): Likewise.
61996         (ctan_test): Likewise.
61997         (ctan_test_tonearest): Likewise.
61998         (ctan_test_towardzero): Likewise.
61999         (ctan_test_downward): Likewise.
62000         (ctan_test_upward): Likewise.
62001         (ctanh_test): Likewise.
62002         (ctanh_test_tonearest): Likewise.
62003         (ctanh_test_towardzero): Likewise.
62004         (ctanh_test_downward): Likewise.
62005         (ctanh_test_upward): Likewise.
62006         (erf_test): Use END macro without arguments.
62007         (erfc_test): Likewise.
62008         (exp_test): Likewise.
62009         (exp_test_tonearest): Likewise.
62010         (exp_test_towardzero): Likewise.
62011         (exp_test_downward): Likewise.
62012         (exp_test_upward): Likewise.
62013         (exp10_test): Likewise.
62014         (exp2_test): Likewise.
62015         (expm1_test): Likewise.
62016         (fabs_test): Likewise.
62017         (fdim_test): Likewise.
62018         (finite_test): Likewise.
62019         (floor_test): Likewise.
62020         (fma_test): Likewise.
62021         (fma_test_towardzero): Likewise.
62022         (fma_test_downward): Likewise.
62023         (fma_test_upward): Likewise.
62024         (fmax_test): Likewise.
62025         (fmin_test): Likewise.
62026         (fmod_test): Likewise.
62027         (fpclassify_test): Likewise.
62028         (frexp_test): Likewise.
62029         (gamma_test): Likewise.
62030         (hypot_test): Likewise.
62031         (ilogb_test): Likewise.
62032         (isfinite_test): Likewise.
62033         (isgreater_test): Likewise.
62034         (isgreaterequal_test): Likewise.
62035         (isinf_test): Likewise.
62036         (isless_test): Likewise.
62037         (islessequal_test): Likewise.
62038         (islessgreater_test): Likewise.
62039         (isnan_test): Likewise.
62040         (isnormal_test): Likewise.
62041         (issignaling_test): Likewise.
62042         (isunordered_test): Likewise.
62043         (j0_test): Likewise.
62044         (j1_test): Likewise.
62045         (jn_test): Likewise.
62046         (ldexp_test): Likewise.
62047         (lgamma_test): Likewise.
62048         (lrint_test): Likewise.
62049         (lrint_test_tonearest): Likewise.
62050         (lrint_test_towardzero): Likewise.
62051         (lrint_test_downward): Likewise.
62052         (lrint_test_upward): Likewise.
62053         (llrint_test): Likewise.
62054         (llrint_test_tonearest): Likewise.
62055         (llrint_test_towardzero): Likewise.
62056         (llrint_test_downward): Likewise.
62057         (llrint_test_upward): Likewise.
62058         (log_test): Likewise.
62059         (log10_test): Likewise.
62060         (log1p_test): Likewise.
62061         (log2_test): Likewise.
62062         (logb_test): Likewise.
62063         (logb_test_downward): Likewise.
62064         (lround_test): Likewise.
62065         (llround_test): Likewise.
62066         (modf_test): Likewise.
62067         (nearbyint_test): Likewise.
62068         (nextafter_test): Likewise.
62069         (nexttoward_test): Likewise.
62070         (pow_test): Likewise.
62071         (pow_test_tonearest): Likewise.
62072         (pow_test_towardzero): Likewise.
62073         (pow_test_downward): Likewise.
62074         (pow_test_upward): Likewise.
62075         (remainder_test): Likewise.
62076         (remainder_test_tonearest): Likewise.
62077         (remainder_test_towardzero): Likewise.
62078         (remainder_test_downward): Likewise.
62079         (remainder_test_upward): Likewise.
62080         (remquo_test): Likewise.
62081         (rint_test): Likewise.
62082         (rint_test_tonearest): Likewise.
62083         (rint_test_towardzero): Likewise.
62084         (rint_test_downward): Likewise.
62085         (rint_test_upward): Likewise.
62086         (round_test): Likewise.
62087         (scalb_test): Likewise.
62088         (scalbn_test): Likewise.
62089         (scalbln_test): Likewise.
62090         (signbit_test): Likewise.
62091         (sin_test): Likewise.
62092         (sin_test_tonearest): Likewise.
62093         (sin_test_towardzero): Likewise.
62094         (sin_test_downward): Likewise.
62095         (sin_test_upward): Likewise.
62096         (sincos_test): Likewise.
62097         (sinh_test): Likewise.
62098         (sinh_test_tonearest): Likewise.
62099         (sinh_test_towardzero): Likewise.
62100         (sinh_test_downward): Likewise.
62101         (sinh_test_upward): Likewise.
62102         (sqrt_test): Likewise.
62103         (tan_test): Likewise.
62104         (tan_test_tonearest): Likewise.
62105         (tan_test_towardzero): Likewise.
62106         (tan_test_downward): Likewise.
62107         (tan_test_upward): Likewise.
62108         (tanh_test): Likewise.
62109         (tgamma_test): Likewise.
62110         (trunc_test): Likewise.
62111         (y0_test): Likewise.
62112         (y1_test): Likewise.
62113         (yn_test): Likewise.
62114         (significand_test): Likewise.
62116 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
62118         [BZ #15381]
62119         * libio/genops.c (_IO_no_init): Initialize wide struct info.
62121 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62123         [BZ #14894]
62124         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
62125         __ppc_mdoio and __ppc_mdoom.
62126         * manual/platform.texi: Document new functions __ppc_yield,
62127         __ppc_mdoio and __ppc_mdoom.
62129 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
62131         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
62132         (main): Mention "tls" pseudo-hwcap is legacy.
62133         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
62135 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62137         * math/gen-libm-test.pl (parse_args): Output only string of
62138         arguments as text for test name, not full call or descriptions of
62139         tests for extra outputs.
62140         (generate_testfile): Do not pass function name to parse_args.
62141         Generate this_func variable from START.
62142         * math/libm-test.inc (struct test_f_f_data): Rename test_name
62143         field to arg_str.
62144         (struct test_ff_f_data): Likewise.
62145         (test_ff_f_data_nexttoward): Likewise.
62146         (struct test_fi_f_data): Likewise.
62147         (struct test_fl_f_data): Likewise.
62148         (struct test_if_f_data): Likewise.
62149         (struct test_fff_f_data): Likewise.
62150         (struct test_c_f_data): Likewise.
62151         (struct test_f_f1_data): Likewise.  Remove field extra_name.
62152         (struct test_fF_f1_data): Likewise.
62153         (struct test_ffI_f1_data): Likewise.
62154         (struct test_c_c_data): Rename test_name field to arg_str.
62155         (struct test_cc_c_data): Likewise.
62156         (struct test_f_i_data): Likewise.
62157         (struct test_ff_i_data): Likewise.
62158         (struct test_f_l_data): Likewise.
62159         (struct test_f_L_data): Likewise.
62160         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
62161         and extra2_name.
62162         (COMMON_TEST_SETUP): New macro.
62163         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
62164         (COMMON_TEST_CLEANUP): Likewise.
62165         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
62166         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
62167         macros.
62168         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
62169         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
62170         macros.
62171         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
62172         (RUN_TEST_fff_f): Take argument string.  Call new setup and
62173         cleanup macros.
62174         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
62175         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
62176         macros.
62177         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
62178         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
62179         macros.
62180         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62181         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
62182         cleanup macros.
62183         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62184         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
62185         cleanup macros.
62186         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62187         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
62188         cleanup macros.
62189         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62190         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
62191         macros.
62192         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
62193         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
62194         macros.
62195         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
62196         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
62197         macros.
62198         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
62199         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
62200         cleanup macros.
62201         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
62202         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
62203         cleanup macros.
62204         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
62205         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
62206         macros.
62207         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
62208         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
62209         cleanup macros.
62210         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
62211         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
62212         macros.
62213         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
62214         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
62215         macros.
62216         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
62217         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
62218         cleanup macros.
62219         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
62221 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
62223         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
62224         to _sifields.sigfault.
62225         (si_addr_lsb): Define new macro.
62226         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62227         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62228         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
62230 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
62232         [BZ #15441]
62233         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
62234         returns -1.
62235         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
62236         null return -1.
62237         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
62238         loading the domain.
62240 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62242         * math/gen-libm-test.pl (parse_args): Do not include expected
62243         result in test name.
62244         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
62245         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62246         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62247         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62248         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62251 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62253         * benchtests/Makefile: Sort function entries.
62255         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
62256         tanh, asinh, acosh, atanh.
62257         * benchtests/acos-inputs: New file.
62258         * benchtests/acosh-inputs: New file.
62259         * benchtests/asin-inputs: New file.
62260         * benchtests/asinh-inputs: New file.
62261         * benchtests/atanh-inputs: New file.
62262         * benchtests/cosh-inputs: New file.
62263         * benchtests/log-inputs: New file.
62264         * benchtests/sinh-inputs: New file.
62265         * benchtests/tanh-inputs: New file.
62267 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
62269         [BZ #15339]
62270         * posix/tst-getaddrinfo4.c: New test.
62271         * posix/Makefile (tests): Add it.
62273 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62275         [BZ #15339]
62276         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
62277         when no services were used.
62278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
62279         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
62281 2013-05-21  Andreas Schwab  <schwab@suse.de>
62283         [BZ #15014]
62284         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
62285         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
62286         successful.
62287         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
62288         redundant variable declarations and reallocation of buffer when
62289         parsing as IPv6 address.  Always set NSS status when called from
62290         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
62291         buffer too small.  Correct computation of needed size.
62292         * nss/Makefile (tests): Add test-digits-dots.
62293         * nss/test-digits-dots.c: New test.
62295 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62297         * benchtests/Makefile: Remove instructions for adding
62298         benchmark tests.
62299         * benchtests/README: New file to explain how to execute and
62300         enhance the benchmark tests.
62302 2013-05-21  Andreas Schwab  <schwab@suse.de>
62304         [BZ #15493]
62305         * setjmp/Makefile (tests): Add tst-sigsetjmp.
62306         * setjmp/tst-sigsetjmp.c: New test.
62308 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62310         * sysdeps/x86_64/memset.S (memset): New implementation.
62311         (__bzero): Likewise.
62312         (__memset_tail): New function.
62314 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62316         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
62317         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
62318         __memcpy_sse2_unaligned ifunc selection.
62319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62320         Add memcpy-sse2-unaligned.S.
62321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62322         Add: __memcpy_sse2_unaligned.
62324 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
62326         [BZ #15490]
62327         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62328         math_force_eval before restoring floating-point envrionment.
62329         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
62330         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
62331         Likewise.
62332         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
62333         <math_private.h>.
62334         (__nearbyintl): Use math_force_eval before restoring
62335         floating-point environment.
62336         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
62338         * math/gen-libm-test.pl (special_functions): Remove.
62339         (parse_args): Don't handle TEST_extra.  Handle functions with no
62340         return value.
62341         * math/libm-test.inc (struct test_sincos_data): Replace with
62342         struct test_fFF_11_data.
62343         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
62344         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
62345         (sincos_test_data): Change element type to struct
62346         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
62347         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
62348         RUN_TEST_LOOP_sincos.
62349         * math/README.libm-test: Don't mention special handling of
62350         individual functions.
62351         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
62352         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62353         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62354         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62355         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62358         * math/gen-libm-test.pl (get_variable): Remove function.
62359         (parse_args): Don't show pointer parameters to call in test
62360         names.  Use "extra output N" in test names for extra outputs
62361         rather than naming variables.
62363 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
62365         [BZ #15488]
62366         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
62367         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
62368         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
62369         double tests.
62370         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
62371         disable.
62372         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
62373         check_long_double.
62375         * math/gen-libm-test.pl (@tests): Remove variable.
62376         ($count): Likewise.
62377         (new_test): Remove function.
62378         (show_exceptions): New function.
62379         (special_functions): Use show_exceptions instead of new_test.
62380         (parse_args): Likewise.
62381         (generate_testfile): Pass only function name in generated call to
62382         print_max_error or print_complex_max_error.
62383         (get_ulps): Do not handle complex tests specially.
62384         (output_test): Rename to ...
62385         (get_all_ulps_for_test): ... this.  Return a string rather than
62386         printing to a file.  Require ulps to be present.
62387         (output_ulps): Generate arrays rather than #defines.
62388         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
62389         (struct ulp_data): New type.
62390         (BUILD_COMPLEX_ULP): Remove macro.
62391         (compare_ulp_data): New function.
62392         (find_ulps): Likewise.
62393         (find_test_ulps): Likewise.
62394         (find_function_ulps): Likewise.
62395         (find_complex_function_ulps): Likewise.
62396         (print_max_error): Determine allowed ulps using
62397         find_function_ulps.
62398         (print_complex_max_error): Determine allowed ulps using
62399         find_complex_function_ulps.
62400         (check_float_internal): Determine max ulps using find_test_ulps.
62401         (check_float): Do not take max_ulp parameter.  Update call to
62402         check_float_internal.
62403         (check_complex): Likewise.
62404         (check_int): Do not take max_ulp parameter.
62405         (check_long): Likewise.
62406         (check_bool): Likewise.
62407         (check_longlong): Likewise.
62408         (struct test_f_f_data): Remove max_ulp field.
62409         (struct test_ff_f_data): Likewise.
62410         (struct test_ff_f_data_nexttoward): Likewise.
62411         (struct test_fi_f_data): Likewise.
62412         (struct test_fl_f_data): Likewise.
62413         (struct test_if_f_data): Likewise.
62414         (struct test_fff_f_data): Likewise.
62415         (struct test_c_f_data): Likewise.
62416         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
62417         (struct test_fF_f1_data): Likewise.
62418         (struct test_ffI_f1_data): Likewise.
62419         (struct test_c_c_data): Remove max_ulp field.
62420         (struct test_cc_c_data): Likewise.
62421         (struct test_f_i_data): Likewise.
62422         (struct test_ff_i_data): Likewise.
62423         (struct test_f_l_data): Likewise.
62424         (struct test_f_L_data): Likewise.
62425         (struct test_sincos_data): Likewise.
62426         (RUN_TEST_f_f): Do not handle ulps.
62427         (RUN_TEST_LOOP_f_f): Likewise.
62428         (RUN_TEST_2_f): Likewise.
62429         (RUN_TEST_LOOP_2_f): Likewise.
62430         (RUN_TEST_fff_f): Likewise.
62431         (RUN_TEST_LOOP_fff_f): Likewise.
62432         (RUN_TEST_c_f): Likewise.
62433         (RUN_TEST_LOOP_c_f): Likewise.
62434         (RUN_TEST_f_f1): Likewise.
62435         (RUN_TEST_LOOP_f_f1): Likewise.
62436         (RUN_TEST_fF_f1): Likewise.
62437         (RUN_TEST_LOOP_fF_f1): Likewise.
62438         (RUN_TEST_fI_f1): Likewise.
62439         (RUN_TEST_LOOP_fI_f1): Likewise.
62440         (RUN_TEST_ffI_f1): Likewise.
62441         (RUN_TEST_LOOP_ffI_f1): Likewise.
62442         (RUN_TEST_c_c): Likewise.
62443         (RUN_TEST_LOOP_c_c): Likewise.
62444         (RUN_TEST_cc_c): Likewise.
62445         (RUN_TEST_LOOP_cc_c): Likewise.
62446         (RUN_TEST_f_i): Likewise.
62447         (RUN_TEST_LOOP_f_i): Likewise.
62448         (RUN_TEST_f_i_tg): Likewise.
62449         (RUN_TEST_LOOP_f_i_tg): Likewise.
62450         (RUN_TEST_ff_i_tg): Likewise.
62451         (RUN_TEST_LOOP_ff_i_tg): Likewise.
62452         (RUN_TEST_f_b): Likewise.
62453         (RUN_TEST_LOOP_f_b): Likewise.
62454         (RUN_TEST_f_b_tg): Likewise.
62455         (RUN_TEST_LOOP_f_b_tg): Likewise.
62456         (RUN_TEST_f_l): Likewise.
62457         (RUN_TEST_LOOP_f_l): Likewise.
62458         (RUN_TEST_f_L): Likewise.
62459         (RUN_TEST_LOOP_f_L): Likewise.
62460         (RUN_TEST_sincos): Likewise.
62461         (RUN_TEST_LOOP_sincos): Likewise.
62463 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
62465         [BZ #15480]
62466         [BZ #15485]
62467         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
62468         main case of finite arguments, set rounding mode to FE_TONEAREST
62469         and discard exceptions.
62470         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
62471         exceptions.
62472         (remainder_tonearest_test_data): New variable.
62473         (remainder_test_tonearest): New function.
62474         (remainder_towardzero_test_data): New variable.
62475         (remainder_test_towardzero): New function.
62476         (remainder_downward_test_data): New variable.
62477         (remainder_test_downward): New function.
62478         (remainder_upward_test_data): New variable.
62479         (remainder_test_upward): New function.
62480         (main): Call the new test functions.
62482         * math/libm-test.inc (struct test_f_f1_data): Remove field
62483         extra_init.
62484         (struct test_fF_f1_data): Likewise.
62485         (struct test_ffI_f1_data): Likewise.
62486         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
62487         based on value of EXTRA_EXPECTED.
62488         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62489         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
62490         EXTRA_VAR based on value of EXTRA_EXPECTED.
62491         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62492         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
62493         EXTRA_VAR based on value of EXTRA_EXPECTED.
62494         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62495         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
62496         EXTRA_VAR based on value of EXTRA_EXPECTED.
62497         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62498         * math/gen-libm-test.pl (parse_args): Don't output initializers
62499         for extra output values.
62501         * math/libm-test.inc (check_int): Expect result to be exactly
62502         equal to expected value and do not handle ulps.
62503         (check_long): Likewise.
62504         (check_longlong): Likewise.
62506         * math/libm-test.inc (ceil_test_data): Test for "inexact"
62507         exceptions.
62508         (cimag_test_data): Likewise.
62509         (conj_test_data): Likewise.
62510         (copysign_test_data): Likewise.
62511         (cproj_test_data): Likewise.
62512         (creal_test_data): Likewise.
62513         (fabs_test_data): Likewise.
62514         (fdim_test_data): Likewise.
62515         (finite_test_data): Likewise.
62516         (floor_test_data): Likewise.
62517         (fmax_test_data): Likewise.
62518         (fmin_test_data): Likewise.
62519         (fmod_test_data): Likewise.
62520         (fpclassify_test_data): Likewise.
62521         (frexp_test_data): Likewise.
62522         (ilogb_test_data): Likewise.
62523         (isfinite_test_data): Likewise.
62524         (isgreater_test_data): Likewise.
62525         (isgreaterequal_test_data): Likewise.
62526         (isinf_test_data): Likewise.
62527         (isless_test_data): Likewise.
62528         (islessequal_test_data): Likewise.
62529         (islessgreater_test_data): Likewise.
62530         (isnan_test_data): Likewise.
62531         (isnormal_test_data): Likewise.
62532         (issignaling_test_data): Likewise.
62533         (isunordered_test_data): Likewise.
62534         (ldexp_test_data): Likewise.
62535         (lrint_test_data): Likewise.
62536         (lrint_test_data) [TEST_FLOAT]: Disable one test.
62537         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
62538         (lrint_tonearest_test_data): Test for "inexact" exceptions.
62539         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62540         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
62541         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62542         test input.
62543         (lrint_towardzero_test_data): Test for "inexact" exceptions.
62544         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62545         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
62546         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
62547         that test input.
62548         (lrint_downward_test_data): Test for "inexact" exceptions.
62549         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62550         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
62551         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62552         test input.
62553         (lrint_upward_test_data): Test for "inexact" exceptions.
62554         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
62555         test input.
62556         (llrint_test_data): Test for "inexact" exceptions.
62557         (llrint_test_data) [TEST_FLOAT]: Disable one test.
62558         (llrint_tonearest_test_data): Test for "inexact" exceptions.
62559         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62560         (llrint_towardzero_test_data): Test for "inexact" exceptions.
62561         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62562         (llrint_downward_test_data): Test for "inexact" exceptions.
62563         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62564         (llrint_upward_test_data): Test for "inexact" exceptions.
62565         (logb_test_data): Likewise.
62566         (logb_downward_test_data): Likewise.
62567         (nextafter_test_data): Likewise.
62568         (nexttoward_test_data): Likewise.
62569         (remainder_test_data): Likewise.
62570         (remquo_test_data): Likewise.
62571         (scalbn_test_data): Likewise.
62572         (scalbln_test_data): Likewise.
62573         (signbit_test_data): Likewise.
62574         (sqrt_test_data): Likewise.
62575         (significand_test_data): Likewise.
62577 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62579         [BZ #15424]
62580         * benchtests/bench-modf.c (struct args): Mark arg0 as
62581         volatile.
62582         * scripts/bench.pl: Mark members of struct args as volatile.
62584 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62586         [BZ # 15497]
62587         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
62588         negative infinity on POWER6 or lower.
62589         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
62591 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
62593         [BZ #15442]
62594         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
62595         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
62596         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
62597         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
62598         (_FP_SETQNAN): New macro.
62599         (_FP_SETQNAN_SEMIRAW): Likewise.
62600         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
62601         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
62602         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
62603         (FP_EXTEND): Use _FP_FRAC_SNANP.
62604         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
62605         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
62606         into account.
62607         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62608         New macro.
62609         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62610         Likewise.
62612 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62614         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
62615         with DIVIDE_BY_ZERO_EXCEPTION.
62616         (gamma_test_data): Likewise.
62617         (lgamma_test_data): Likewise.
62618         (log_test_data): Likewise.
62619         (log10_test_data): Likewise.
62620         (log2_test_data): Likewise.
62621         (tgamma_test_data): Likewise.
62623         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
62624         (acos_test_tonearest): Likewise.
62625         (acos_test_towardzero): Likewise.
62626         (acos_test_downward): Likewise.
62627         (acos_test_upward): Likewise.
62628         (acosh_test): Likewise.
62629         (asin_test): Likewise.
62630         (asin_test_tonearest): Likewise.
62631         (asin_test_towardzero): Likewise.
62632         (asin_test_downward): Likewise.
62633         (asin_test_upward): Likewise.
62634         (asinh_test): Likewise.
62635         (atan_test): Likewise.
62636         (atanh_test): Likewise.
62637         (atan2_test): Likewise.
62638         (cabs_test): Likewise.
62639         (cacos_test): Likewise.
62640         (cacosh_test): Likewise.
62641         (casin_test): Likewise.
62642         (casinh_test): Likewise.
62643         (catan_test): Likewise.
62644         (catanh_test): Likewise.
62645         (cbrt_test): Likewise.
62646         (ccos_test): Likewise.
62647         (ccosh_test): Likewise.
62648         (cexp_test): Likewise.
62649         (clog_test): Likewise.
62650         (clog10_test): Likewise.
62651         (cos_test): Likewise.
62652         (cos_test_tonearest): Likewise.
62653         (cos_test_towardzero): Likewise.
62654         (cos_test_downward): Likewise.
62655         (cos_test_upward): Likewise.
62656         (cosh_test): Likewise.
62657         (cosh_test_tonearest): Likewise.
62658         (cosh_test_towardzero): Likewise.
62659         (cosh_test_downward): Likewise.
62660         (cosh_test_upward): Likewise.
62661         (cpow_test): Likewise.
62662         (csin_test): Likewise.
62663         (csinh_test): Likewise.
62664         (csqrt_test): Likewise.
62665         (ctan_test): Likewise.
62666         (ctan_test_tonearest): Likewise.
62667         (ctan_test_towardzero): Likewise.
62668         (ctan_test_downward): Likewise.
62669         (ctan_test_upward): Likewise.
62670         (ctanh_test): Likewise.
62671         (ctanh_test_tonearest): Likewise.
62672         (ctanh_test_towardzero): Likewise.
62673         (ctanh_test_downward): Likewise.
62674         (ctanh_test_upward): Likewise.
62675         (erf_test): Likewise.
62676         (erfc_test): Likewise.
62677         (exp_test): Likewise.
62678         (exp_test_tonearest): Likewise.
62679         (exp_test_towardzero): Likewise.
62680         (exp_test_downward): Likewise.
62681         (exp_test_upward): Likewise.
62682         (exp10_test): Likewise.
62683         (exp2_test): Likewise.
62684         (expm1_test): Likewise.
62685         (fmod_test): Likewise.
62686         (gamma_test): Likewise.
62687         (hypot_test): Likewise.
62688         (j0_test): Likewise.
62689         (j1_test): Likewise.
62690         (jn_test): Likewise.
62691         (lgamma_test): Likewise.
62692         (log_test): Likewise.
62693         (log10_test): Likewise.
62694         (log1p_test): Likewise.
62695         (log2_test): Likewise.
62696         (logb_test_downward): Likewise.
62697         (pow_test): Likewise.
62698         (pow_test_tonearest): Likewise.
62699         (pow_test_towardzero): Likewise.
62700         (pow_test_downward): Likewise.
62701         (pow_test_upward): Likewise.
62702         (remainder_test): Likewise.
62703         (remquo_test): Likewise.
62704         (sin_test): Likewise.
62705         (sin_test_tonearest): Likewise.
62706         (sin_test_towardzero): Likewise.
62707         (sin_test_downward): Likewise.
62708         (sin_test_upward): Likewise.
62709         (sincos_test): Likewise.
62710         (sinh_test): Likewise.
62711         (sinh_test_tonearest): Likewise.
62712         (sinh_test_towardzero): Likewise.
62713         (sinh_test_downward): Likewise.
62714         (sinh_test_upward): Likewise.
62715         (sqrt_test): Likewise.
62716         (tan_test): Likewise.
62717         (tan_test_tonearest): Likewise.
62718         (tan_test_towardzero): Likewise.
62719         (tan_test_downward): Likewise.
62720         (tan_test_upward): Likewise.
62721         (tanh_test): Likewise.
62722         (tgamma_test): Likewise.
62723         (y0_test): Likewise.
62724         (y1_test): Likewise.
62725         (yn_test): Likewise.
62727         * math/gen-libm-test.pl (adjust_arg): Remove function.
62728         (special_function): Remove argument $in_func.  Only handle
62729         generating output for tables of tests, not inside functions.
62730         (parse_args): Likewise.
62731         (generate_testfile): Remove variable $in_func.  Update call to
62732         parse_args.
62733         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
62734         (MINUS_ZERO_INIT): Rename macro to minus_zero.
62735         (PLUS_INFTY_INIT): Rename macro to plus_infty.
62736         (MINUS_INFTY_INIT): Rename macro to minus_infty.
62737         (QNAN_VALUE_INIT): Rename macro to qnan_value.
62738         (MAX_VALUE_INIT): Rename macro to max_value.
62739         (MIN_VALUE_INIT): Rename macro to min_value.
62740         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
62741         (plus_zero): Remove variable.
62742         (minus_zero): Likewise.
62743         (plus_infty): Likewise.
62744         (minus_infty): Likewise.
62745         (qnan_value): Likewise.
62746         (max_value): Likewise.
62747         (min_value): Likewise.
62748         (min_subnorm_value): Likewise.
62750 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62752         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
62753         uint64_t or uint32_t usage.
62754         * crypt/sha256-block.c: Likewise.
62755         * crypt/sha256-crypt.c: Likewise.
62756         * crypt/sha256.c: Likewise.
62757         * crypt/sha512-block.c: Likewise.
62758         * crypt/sha512-crypt.c: Likewise.
62759         * crypt/sha512.c: Likewise.
62760         * debug/backtrace-tst.c: Likewise.
62761         * debug/pcprofiledump.c: Likewise.
62762         * elf/cache.c: Likewise.
62763         * elf/dl-cache.c: Likewise.
62764         * elf/dl-misc.c: Likewise.
62765         * elf/dl-profile.c: Likewise.
62766         * elf/dl-support.c: Likewise.
62767         * elf/ldconfig.c: Likewise.
62768         * elf/sprof.c: Likewise.
62769         * iconv/dummy-repertoire.c: Likewise.
62770         * iconv/iconv_charmap.c: Likewise.
62771         * iconv/skeleton.c: Likewise.
62772         * iconvdata/8bit-generic.c: Likewise.
62773         * iconvdata/cp737.h: Likewise.
62774         * iconvdata/cp775.h: Likewise.
62775         * iconvdata/ibm1008.h: Likewise.
62776         * iconvdata/ibm1025.h: Likewise.
62777         * iconvdata/ibm1046.h: Likewise.
62778         * iconvdata/ibm1097.h: Likewise.
62779         * iconvdata/ibm1112.h: Likewise.
62780         * iconvdata/ibm1122.h: Likewise.
62781         * iconvdata/ibm1123.h: Likewise.
62782         * iconvdata/ibm1124.h: Likewise.
62783         * iconvdata/ibm1129.h: Likewise.
62784         * iconvdata/ibm1130.h: Likewise.
62785         * iconvdata/ibm1132.h: Likewise.
62786         * iconvdata/ibm1133.h: Likewise.
62787         * iconvdata/ibm1137.h: Likewise.
62788         * iconvdata/ibm1140.h: Likewise.
62789         * iconvdata/ibm1141.h: Likewise.
62790         * iconvdata/ibm1142.h: Likewise.
62791         * iconvdata/ibm1143.h: Likewise.
62792         * iconvdata/ibm1144.h: Likewise.
62793         * iconvdata/ibm1145.h: Likewise.
62794         * iconvdata/ibm1146.h: Likewise.
62795         * iconvdata/ibm1147.h: Likewise.
62796         * iconvdata/ibm1148.h: Likewise.
62797         * iconvdata/ibm1149.h: Likewise.
62798         * iconvdata/ibm1153.h: Likewise.
62799         * iconvdata/ibm1154.h: Likewise.
62800         * iconvdata/ibm1155.h: Likewise.
62801         * iconvdata/ibm1156.h: Likewise.
62802         * iconvdata/ibm1157.h: Likewise.
62803         * iconvdata/ibm1158.h: Likewise.
62804         * iconvdata/ibm1160.h: Likewise.
62805         * iconvdata/ibm1161.h: Likewise.
62806         * iconvdata/ibm1162.h: Likewise.
62807         * iconvdata/ibm1163.h: Likewise.
62808         * iconvdata/ibm1164.h: Likewise.
62809         * iconvdata/ibm1166.h: Likewise.
62810         * iconvdata/ibm1167.h: Likewise.
62811         * iconvdata/ibm12712.h: Likewise.
62812         * iconvdata/ibm1390.h: Likewise.
62813         * iconvdata/ibm1399.h: Likewise.
62814         * iconvdata/ibm16804.h: Likewise.
62815         * iconvdata/ibm4517.h: Likewise.
62816         * iconvdata/ibm4899.h: Likewise.
62817         * iconvdata/ibm4909.h: Likewise.
62818         * iconvdata/ibm4971.h: Likewise.
62819         * iconvdata/ibm5347.h: Likewise.
62820         * iconvdata/ibm803.h: Likewise.
62821         * iconvdata/ibm856.h: Likewise.
62822         * iconvdata/ibm901.h: Likewise.
62823         * iconvdata/ibm902.h: Likewise.
62824         * iconvdata/ibm9030.h: Likewise.
62825         * iconvdata/ibm9066.h: Likewise.
62826         * iconvdata/ibm921.h: Likewise.
62827         * iconvdata/ibm922.h: Likewise.
62828         * iconvdata/ibm9448.h: Likewise.
62829         * iconvdata/isiri-3342.h: Likewise.
62830         * iconvdata/jis0201.h: Likewise.
62831         * include/link.h: Likewise.
62832         * include/netdb.h: Likewise.
62833         * inet/check_native.c: Likewise.
62834         * inet/check_pf.c: Likewise.
62835         * inet/getipv4sourcefilter.c: Likewise.
62836         * inet/getnameinfo.c: Likewise.
62837         * inet/getsourcefilter.c: Likewise.
62838         * inet/htonl.c: Likewise.
62839         * inet/setipv4sourcefilter.c: Likewise.
62840         * inet/setsourcefilter.c: Likewise.
62841         * inet/test-inet6_opt.c: Likewise.
62842         * inet/tst-network.c: Likewise.
62843         * locale/C-collate.c: Likewise.
62844         * locale/C-ctype.c: Likewise.
62845         * locale/C-time.c: Likewise.
62846         * locale/C-translit.h: Likewise.
62847         * locale/loadarchive.c: Likewise.
62848         * locale/programs/3level.h: Likewise.
62849         * locale/programs/charmap.c: Likewise.
62850         * locale/programs/charmap.h: Likewise.
62851         * locale/programs/ld-address.c: Likewise.
62852         * locale/programs/ld-collate.c: Likewise.
62853         * locale/programs/ld-ctype.c: Likewise.
62854         * locale/programs/ld-identification.c: Likewise.
62855         * locale/programs/ld-measurement.c: Likewise.
62856         * locale/programs/ld-messages.c: Likewise.
62857         * locale/programs/ld-monetary.c: Likewise.
62858         * locale/programs/ld-name.c: Likewise.
62859         * locale/programs/ld-numeric.c: Likewise.
62860         * locale/programs/ld-paper.c: Likewise.
62861         * locale/programs/ld-telephone.c: Likewise.
62862         * locale/programs/ld-time.c: Likewise.
62863         * locale/programs/linereader.c: Likewise.
62864         * locale/programs/locale.c: Likewise.
62865         * locale/programs/locarchive.c: Likewise.
62866         * locale/programs/locfile.h: Likewise.
62867         * locale/programs/repertoire.c: Likewise.
62868         * locale/programs/simple-hash.c: Likewise.
62869         * locale/programs/simple-hash.h: Likewise.
62870         * malloc/memusage.c: Likewise.
62871         * malloc/memusagestat.c: Likewise.
62872         * nis/nis_defaults.c: Likewise.
62873         * nis/nis_hash.c: Likewise.
62874         * nis/nis_print.c: Likewise.
62875         * nis/nis_xdr.c: Likewise.
62876         * nscd/connections.c: Likewise.
62877         * nscd/hstcache.c: Likewise.
62878         * nscd/nscd_gethst_r.c: Likewise.
62879         * nscd/nscd_getserv_r.c: Likewise.
62880         * nscd/nscd_helper.c: Likewise.
62881         * nscd/servicescache.c: Likewise.
62882         * nss/makedb.c: Likewise.
62883         * nss/nss_db/db-XXX.c: Likewise.
62884         * nss/nss_db/db-initgroups.c: Likewise.
62885         * nss/nss_db/db-netgrp.c: Likewise.
62886         * nss/nss_files/files-network.c: Likewise.
62887         * nss/nss_files/files-parse.c: Likewise.
62888         * posix/bug-regex5.c: Likewise.
62889         * posix/fnmatch_loop.c: Likewise.
62890         * posix/regcomp.c: Likewise.
62891         * posix/regexec.c: Likewise.
62892         * posix/tst-rfc3484-2.c: Likewise.
62893         * posix/tst-rfc3484-3.c: Likewise.
62894         * posix/tst-rfc3484.c: Likewise.
62895         * resolv/nss_dns/dns-canon.c: Likewise.
62896         * resolv/nss_dns/dns-network.c: Likewise.
62897         * resolv/res_init.c: Likewise.
62898         * resolv/res_mkquery.c: Likewise.
62899         * resolv/tst-aton.c: Likewise.
62900         * stdlib/cxa_atexit.c: Likewise.
62901         * stdlib/cxa_finalize.c: Likewise.
62902         * stdlib/gen-fpioconst.c: Likewise.
62903         * stdlib/strtol_l.c: Likewise.
62904         * string/tst-endian.c: Likewise.
62905         * sunrpc/auth_des.c: Likewise.
62906         * sunrpc/clnt_udp.c: Likewise.
62907         * sunrpc/rtime.c: Likewise.
62908         * sunrpc/svcauth_des.c: Likewise.
62909         * sunrpc/xdr.c: Likewise.
62910         * sunrpc/xdr_intXX_t.c: Likewise.
62911         * sunrpc/xdr_rec.c: Likewise.
62912         * sysdeps/generic/ldconfig.h: Likewise.
62913         * sysdeps/generic/ldsodefs.h: Likewise.
62914         * sysdeps/generic/memusage.h: Likewise.
62915         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62916         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
62917         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
62918         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62919         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62920         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62921         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62922         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62923         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62924         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62925         * sysdeps/posix/getaddrinfo.c: Likewise.
62926         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62927         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62928         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
62929         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62930         * sysdeps/powerpc/test-gettimebase.c: Likewise.
62931         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
62932         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
62933         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
62934         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
62935         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
62936         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62937         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62938         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
62939         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
62940         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
62941         * sysdeps/x86_64/dl-tls.h: Likewise.
62942         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
62943         * time/alt_digit.c: Likewise.
62944         * time/era.c: Likewise.
62945         * wcsmbs/tst-c16c32-1.c: Likewise.
62947 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62949         * math/libm-test.inc (struct test_sincos_data): New type.
62950         (RUN_TEST_LOOP_sincos): New macro.
62951         (sincos_test_data): New variable.
62952         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
62954 2013-05-16  Richard Henderson  <rth@redhat.com>
62956         * math/atest-exp2.c (LIMB64): New macro.
62957         (CONSTSZ): New macro.
62958         (mp_exp1, mp_exp_m1, mp_log2): New variables.
62959         (hexdig): Move ...
62960         (print_mpn_fp): ... to function scope.
62961         (read_mpn_hex): Remove.
62962         (get_log2): Remove.
62963         (exp2_mpn): Use mp_log2.
62964         (main): Use mp_exp1.
62966 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62968         * math/libm-test.inc: Remove comment about not testing "inexact"
62969         exceptions.
62970         (INEXACT_EXCEPTION): New macro.
62971         (NO_INEXACT_EXCEPTION): Likewise.
62972         (INVALID_EXCEPTION_OK): Update value.
62973         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62974         (OVERFLOW_EXCEPTION_OK): Likewise.
62975         (UNDERFLOW_EXCEPTION_OK): Likewise.
62976         (IGNORE_ZERO_INF_SIGN): Likewise.
62977         (ERRNO_UNCHANGED): Likewise.
62978         (ERRNO_EDOM): Likewise.
62979         (ERRNO_ERANGE): Likewise.
62980         (test_exceptions): Handle testing "inexact" exceptions.
62981         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
62982         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
62983         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
62984         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
62985         INEXACT_EXCEPTION.
62986         (rint_towardzero_test_data): Likewise.
62987         (rint_downward_test_data): Likewise.
62988         (rint_upward_test_data): Likewise.
62990         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
62991         with OVERFLOW_EXCEPTION.
62992         (exp10_test_data): Likewise.
62993         (exp2_test_data): Likewise.
62994         (expm1_test_data): Likewise.
62995         (lgamma_test_data): Likewise.
62996         (pow_test_data): Likewise.
62997         (tgamma_test_data): Likewise.
62998         (yn_test_data): Remove duplicate test of overflow.
63000         * math/libm-test.inc (struct test_cc_c_data): New type.
63001         (RUN_TEST_LOOP_cc_c): New macro.
63002         (cpow_test_data): New variable.
63003         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
63005         * math/libm-test.inc (struct test_f_L_data): New type.
63006         (RUN_TEST_LOOP_f_L): New macro.
63007         (llrint_test_data): New variable.
63008         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63009         (llrint_tonearest_test_data): New variable.
63010         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63011         (llrint_towardzero_test_data): New variable.
63012         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63013         (llrint_downward_test_data): New variable.
63014         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63015         (llrint_upward_test_data): New variable.
63016         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63017         (llround_test_data): New variable.
63018         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63020 2013-05-13  Peter Collingbourne  <pcc@google.com>
63022         * math/atest-exp2.c (get_log2): Remove const attribute.
63024 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63026         * math/libm-test.inc (struct test_f_l_data): New type.
63027         (RUN_TEST_LOOP_f_l): New macro.
63028         (lrint_test_data): New variable.
63029         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63030         (lrint_tonearest_test_data): New variable.
63031         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63032         (lrint_towardzero_test_data): New variable.
63033         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63034         (lrint_downward_test_data): New variable.
63035         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63036         (lrint_upward_test_data): New variable.
63037         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63038         (lround_test_data): New variable.
63039         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63041 2013-05-15  Peter Collingbourne  <pcc@google.com>
63043         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63044         (EXTRACT_WORDS64) Use where appropriate.
63045         (INSERT_WORDS64) Likewise.
63047         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63048         constraints with x constraints.
63049         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63051         * malloc/obstack.c (_obstack_compat): Add initializer.
63053 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63055         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
63056         si_trapno and add si_addr_lsb to _sifields.sigfault.
63057         (si_trapno): Remove macro.
63058         (si_addr_lsb): Define new macro.
63059         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63061 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63063         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
63064         instead of TEST_f_l.
63065         (llrint_test_tonearest): Likewise.
63066         (llrint_test_towardzero): Likewise.
63067         (llrint_test_downward): Likewise.
63068         (llrint_test_upward): Likewise.
63069         (llround_test): Likewise.
63071         * math/libm-test.inc (struct test_f_i_data): Add comment.
63072         (RUN_TEST_LOOP_f_b): New macro.
63073         (RUN_TEST_LOOP_f_b_tg): Likewise.
63074         (finite_test_data): New variable.
63075         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
63076         (isfinite_test_data): New variable.
63077         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63078         (isinf_test_data): New variable.
63079         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63080         (isnan_test_data): New variable.
63081         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63082         (isnormal_test_data): New variable.
63083         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63084         (issignaling_test_data): New variable.
63085         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63086         (signbit_test_data): New variable.
63087         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63089         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
63090         with INVALID_EXCEPTION.
63091         (acosh_test_data): Likewise.
63092         (asin_test_data): Likewise.
63093         (atanh_test_data): Likewise.
63094         (fmod_test_data): Likewise.
63095         (log_test_data): Likewise.
63096         (log10_test_data): Likewise.
63097         (log2_test_data): Likewise.
63098         (pow_test_data): Likewise.
63099         (sqrt_test_data): Likewise.
63100         (y0_test_data): Likewise.
63101         (y1_test_data): Likewise.
63102         (yn_test_data): Likewise.
63104         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
63105         function contents.
63107         * math/libm-test.inc (struct test_ff_i_data): New type.
63108         (RUN_TEST_LOOP_ff_i_tg): New macro.
63109         (isgreater_test_data): New variable.
63110         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63111         (isgreaterequal_test_data): New variable.
63112         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63113         (isless_test_data): New variable.
63114         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63115         (islessequal_test_data): New variable.
63116         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63117         (islessgreater_test_data): New variable.
63118         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63119         (isunordered_test_data): New variable.
63120         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63122 2013-05-14  David S. Miller  <davem@davemloft.net>
63124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63126 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
63128         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
63130         * math/libm-test.inc (struct test_fF_f1_data): Change type of
63131         extra_test to int.
63132         (struct test_f_i_data): Change type of max_ulp to int.
63134         * math/libm-test.inc (test_ffI_f1_data): New type.
63135         (RUN_TEST_LOOP_ffI_f1): New macro.
63136         (remquo_test_data): New variable.
63137         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
63139         * setjmp/tst-setjmp-fp.c: New file.
63140         * setjmp/Makefile (tests): Add tst-setjmp-fp.
63141         (link-libm): New variable.
63142         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
63144         * math/libm-test.inc (struct test_f_i_data): New type.
63145         (RUN_TEST_LOOP_f_i): New macro.
63146         (RUN_TEST_LOOP_f_i_tg): Likewise.
63147         (fpclassify_test_data): New variable.
63148         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
63149         (ilogb_test_data): New variable.
63150         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
63152         * math/libm-test.inc (scalbln_test): Correct function name in END
63153         call.
63155         * math/libm-test.inc (struct test_f_f1_data): Add comment.
63156         (RUN_TEST_LOOP_fI_f1): New macro.
63157         (frexp_test_data): New variable.
63158         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
63160         * math/libm-test.inc (struct test_fF_f1_data): New type.
63161         (RUN_TEST_LOOP_fF_f1): New macro.
63162         (modf_test_data): New variable.
63163         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
63165         * math/libm-test.inc (struct test_f_f1_data): New type.
63166         (RUN_TEST_LOOP_f_f1): New macro.
63167         (gamma_test_data): New variable.
63168         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63169         (lgamma_test_data): New variable.
63170         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63172 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
63174         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
63175         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
63176         (main): Comment "tls" pseudo-hwcap.
63178 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
63180         * math/libm-test.inc (struct test_fl_f_data): New type.
63181         (RUN_TEST_LOOP_fl_f): New variable.
63182         (scalbln_test_data): New variable.
63183         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
63185         * math/libm-test.inc (struct test_fi_f_data): New type.
63186         (RUN_TEST_LOOP_fi_f): New macro.
63187         (ldexp_test_data): New variable.
63188         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
63189         (scalbn_test_data): New variable.
63190         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
63192         * math/libm-test.inc (struct test_c_f_data): New type.
63193         (RUN_TEST_LOOP_c_f): New macro.
63194         (cabs_test_data): New variable.
63195         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
63196         (carg_test_data): New variable.
63197         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
63198         (cimag_test_data): New variable.
63199         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
63200         (creal_test_data): New variable.
63201         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
63203         * math/libm-test.inc (struct test_if_f_data): New type.
63204         (RUN_TEST_LOOP_if_f): New macro.
63205         (jn_test_data): New variable.
63206         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
63207         (yn_test_data): New variable.
63208         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
63210         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
63212 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63214         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
63215         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
63217 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63219         * benchtests/Makefile (CPPFLAGS-nonlib): Add
63220         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
63221         (bench-deps): Add bench-timing.h.
63222         * benchtests-bench-skeleton.c: Include bench-timing.h.
63223         (main): Use TIMING_* macros instead of clock_gettime.
63224         * benchtests/bench-timing.h: New file.
63226         [BZ #14582]
63227         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
63228         Renamed from _LIB_VERSION.
63229         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
63231 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
63233         * math/libm-test.inc (struct test_fff_f_data): New type.
63234         (RUN_TEST_LOOP_fff_f): New macro.
63235         (fma_test_data): New variable.
63236         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
63237         (fma_towardzero_test_data): New variable.
63238         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
63239         (fma_downward_test_data): New variable.
63240         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
63241         (fma_upward_test_data): New variable.
63242         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
63244         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
63245         (struct test_c_c_data): New type.
63246         (RUN_TEST_LOOP_c_c): New macro.
63247         (cacos_test_data): New variable.
63248         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
63249         (cacosh_test_data): New variable.
63250         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
63251         (casin_test_data): New variable.
63252         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
63253         (casinh_test_data): New variable.
63254         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
63255         (catan_test_data): New variable.
63256         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
63257         (catanh_test_data): New variable.
63258         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
63259         (ccos_test_data): New variable.
63260         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
63261         (ccosh_test_data): New variable.
63262         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
63263         (cexp_test_data): New variable.
63264         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
63265         (clog_test_data): New variable.
63266         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
63267         (clog10_test_data): New variable.
63268         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
63269         (conj_test_data): New variable.
63270         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
63271         (cproj_test_data): New variable.
63272         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
63273         (csin_test_data): New variable.
63274         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
63275         (csinh_test_data): New variable.
63276         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
63277         (csqrt_test_data): New variable.
63278         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
63279         (ctan_test_data): New variable.
63280         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
63281         (ctan_tonearest_test_data): New variable.
63282         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63283         (ctan_towardzero_test_data): New variable.
63284         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63285         (ctan_downward_test_data): New variable.
63286         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63287         (ctan_upward_test_data): New variable.
63288         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63289         (ctanh_test_data): New variable.
63290         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
63291         (ctanh_tonearest_test_data): New variable.
63292         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63293         (ctanh_towardzero_test_data): New variable.
63294         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63295         (ctanh_downward_test_data): New variable.
63296         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63297         (ctanh_upward_test_data): New variable.
63298         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63299         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
63300         of BUILD_COMPLEX.
63302         * math/libm-test.inc (struct test_ff_f_data): New type.
63303         (struct test_ff_f_data_nexttoward): Likewise.
63304         (RUN_TEST_LOOP_2_f): New macro.
63305         (RUN_TEST_LOOP_ff_f): Likewise.
63306         (atan2_test_data): New variable.
63307         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
63308         (copysign_test_data): New variable.
63309         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
63310         (fdim_test_data): New variable.
63311         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
63312         (fmax_test_data): New variable.
63313         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
63314         (fmin_test_data): New variable.
63315         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
63316         (fmod_test_data): New variable.
63317         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
63318         (hypot_test_data): New variable.
63319         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
63320         (nextafter_test_data): New variable.
63321         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
63322         (nexttoward_test_data): New variable.
63323         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
63324         (pow_test_data): New variable.
63325         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
63326         (pow_tonearest_test_data): New variable.
63327         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
63328         (pow_towardzero_test_data): New variable.
63329         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
63330         (pow_downward_test_data): New variable.
63331         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
63332         (pow_upward_test_data): New variable.
63333         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
63334         (remainder_test_data): New variable.
63335         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
63336         (scalb_test_data): New variable.
63337         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
63338         * sysdeps/i386/fpu/libm-test-ulps: Update.
63340 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
63342         * math/libm-test.inc (fma_test): Use max_value instead of local
63343         variable fltmax.
63344         (nextafter_test): Likewise.
63346         * math/libm-test.inc (acos_towardzero_test_data): New variable.
63347         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63348         (acos_downward_test_data): New variable.
63349         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63350         (acos_upward_test_data): New variable.
63351         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63352         (acosh_test_data): New variable.
63353         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
63354         (asin_test_data): New variable.
63355         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
63356         (asin_tonearest_test_data): New variable.
63357         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63358         (asin_towardzero_test_data): New variable.
63359         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63360         (asin_downward_test_data): New variable.
63361         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63362         (asin_upward_test_data): New variable.
63363         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63364         (asinh_test_data): New variable.
63365         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
63366         (atan_test_data): New variable.
63367         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
63368         (atanh_test_data): New variable.
63369         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
63370         (cbrt_test_data): New variable.
63371         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
63372         (ceil_test_data): New variable.
63373         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
63374         (cos_test_data): New variable.
63375         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
63376         (cos_tonearest_test_data): New variable.
63377         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63378         (cos_towardzero_test_data): New variable.
63379         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63380         (cos_downward_test_data): New variable.
63381         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63382         (cos_upward_test_data): New variable.
63383         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63384         (cosh_test_data): New variable.
63385         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
63386         (cosh_tonearest_test_data): New variable.
63387         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63388         (cosh_towardzero_test_data): New variable.
63389         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63390         (cosh_downward_test_data): New variable.
63391         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63392         (cosh_upward_test_data): New variable.
63393         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63394         (erf_test_data): New variable.
63395         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
63396         (erfc_test_data): New variable.
63397         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
63398         (exp_test_data): New variable.
63399         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
63400         (exp_tonearest_test_data): New variable.
63401         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63402         (exp_towardzero_test_data): New variable.
63403         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63404         (exp_downward_test_data): New variable.
63405         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63406         (exp_upward_test_data): New variable.
63407         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63408         (exp10_test_data): New variable.
63409         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
63410         (exp2_test_data): New variable.
63411         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
63412         (expm1_test_data): New variable.
63413         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
63414         (fabs_test_data): New variable.
63415         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
63416         (floor_test_data): New variable.
63417         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
63418         (j0_test_data): New variable.
63419         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
63420         (j1_test_data): New variable.
63421         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
63422         (log_test_data): New variable.
63423         (log_test): Run tests with RUN_TEST_LOOP_f_f.
63424         (log10_test_data): New variable.
63425         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
63426         (log1p_test_data): New variable.
63427         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
63428         (log2_test_data): New variable.
63429         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
63430         (logb_test_data): New variable.
63431         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
63432         (logb_downward_test_data): New variable.
63433         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63434         (nearbyint_test_data): New variable.
63435         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
63436         (rint_test_data): New variable.
63437         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
63438         (rint_tonearest_test_data): New variable.
63439         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63440         (rint_towardzero_test_data): New variable.
63441         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63442         (rint_downward_test_data): New variable.
63443         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63444         (rint_upward_test_data): New variable.
63445         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63446         (round_test_data): New variable.
63447         (round_test): Run tests with RUN_TEST_LOOP_f_f.
63448         (sin_test_data): New variable.
63449         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
63450         (sin_tonearest_test_data): New variable.
63451         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63452         (sin_towardzero_test_data): New variable.
63453         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63454         (sin_downward_test_data): New variable.
63455         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63456         (sin_upward_test_data): New variable.
63457         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63458         (sinh_test_data): New variable.
63459         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
63460         (sinh_tonearest_test_data): New variable.
63461         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63462         (sinh_towardzero_test_data): New variable.
63463         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63464         (sinh_downward_test_data): New variable.
63465         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63466         (sinh_upward_test_data): New variable.
63467         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63468         (sqrt_test_data): New variable.
63469         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
63470         (tan_test_data): New variable.
63471         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
63472         (tan_tonearest_test_data): New variable.
63473         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63474         (tan_towardzero_test_data): New variable.
63475         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63476         (tan_downward_test_data): New variable.
63477         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63478         (tan_upward_test_data): New variable.
63479         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63480         (tanh_test_data): New variable.
63481         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
63482         (tgamma_test_data): New variable.
63483         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
63484         (trunc_test_data): New variable.
63485         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
63486         (y0_test_data): New variable.
63487         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
63488         (y1_test_data): New variable.
63489         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
63490         (significand_test_data): New variable.
63491         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
63493 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
63495         [BZ #12387]
63496         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
63498 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63500         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
63502 2013-05-10  Andreas Jaeger  <aj@suse.de>
63504         [BZ #15448]
63505         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
63506         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
63508 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63510         * math/gen-libm-test.pl (adjust_arg): New function.
63511         (special_functions): Handle generating output in both functions
63512         and arrays.
63513         (parse_args): Likewise.
63514         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
63515         $in_func argument to parse_args.
63516         * math/libm-test.inc (struct test_f_f_data): New type.
63517         (IF_ROUND_INIT_): New macro.
63518         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
63519         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63520         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63521         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63522         (ROUND_RESTORE_): Likewise.
63523         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
63524         (ROUND_RESTORE_FE_TONEAREST): Likewise.
63525         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
63526         (ROUND_RESTORE_FE_UPWARD): Likewise.
63527         (RUN_TEST_LOOP_f_f): New macro.
63528         (acos_test_data): New variable.
63529         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
63530         (acos_tonearest_test_data): New variable.
63531         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63533 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63535         * benchtests/bench-skeleton.c (startup): Fix coding style.
63537 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63539         [BZ #6809]
63540         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
63541         negative infinity argument.
63542         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
63543         negative infinity argument.
63544         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
63545         negative infinity argument.
63546         * math/libm-test.inc (tgamma_test): Expect errno to be set for
63547         domain errors.
63549 2013-05-10  Florian Weimer  <fweimer@redhat.com>
63551         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
63552         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
63553         * iconv/iconv_prog.c (main): Likewise.
63554         * locale/programs/charmap-dir.c (charmap_readdir)
63555         (fopen_uncompressed): Likewise.
63556         * locale/programs/locfile.c (siblings_uncached)
63557         (write_locale_data): Use lstat64 instead of lstat.
63558         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
63559         stat.
63561 2013-05-10  Andreas Jaeger  <aj@suse.de>
63563         [BZ #15395]
63564         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
63565         localization.
63566         Include <locale.h>.
63568 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
63570         * elf/dl-close.c (_dl_close_worker): Add comments.
63572 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
63574         [BZ #15359]
63575         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
63576         high part of pi/2.
63577         (__ieee754_rem_pio2l): Update comments.
63579         [BZ #15429]
63580         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
63581         high part of pi/2.
63582         (__ieee754_rem_pio2l): Update comments.
63584         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
63585         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
63587         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
63588         M_PI_4l.
63590         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
63591         (M_PI_34_LOG10El): Likewise.
63592         (M_PI2_LOG10El): Likewise.
63593         (M_PI4_LOG10El): Likewise.
63594         (M_PI_LOG10El): Likewise.
63596 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63600 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
63602         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
63603         (MINUS_ZERO_INIT): Likewise.
63604         (PLUS_INFTY_INIT): Likewise.
63605         (MINUS_INFTY_INIT): Likewise.
63606         (QNAN_VALUE_INIT): Likewise.
63607         (MAX_VALUE_INIT): Likewise.
63608         (MIN_VALUE_INIT): Likewise.
63609         (MIN_SUBNORM_VALUE_INIT): Likewise.
63610         (plus_zero): Initialize with PLUS_ZERO_INIT.
63611         (minus_zero): Initialize with MINUS_ZERO_INIT.
63612         (plus_infty): Initialize with PLUS_INFTY_INIT.
63613         (minus_infty): Initialize with MINUS_INFTY_INIT.
63614         (qnan_value): Initialize with QNAN_VALUE_INIT.
63615         (max_value): Initialize with MAX_VALUE_INIT.
63616         (min_value): Initialize with MIN_VALUE_INIT.
63617         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
63619         * math/libm-test.inc (RUN_TEST_if_f): New macro.
63620         (jn_test): Use TEST_if_f instead of TEST_ff_f.
63621         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
63622         (yn_test): Use TEST_if_f instead of TEST_ff_f.
63624         * math/libm-test.inc (RUN_TEST_f_f): New macro.
63625         (RUN_TEST_2_f): Likewise.
63626         (RUN_TEST_ff_f): Likewise.
63627         (RUN_TEST_fi_f): Likewise.
63628         (RUN_TEST_fl_f): Likewise.
63629         (RUN_TEST_fff_f): Likewise.
63630         (RUN_TEST_c_f): Likewise.
63631         (RUN_TEST_f_f1): Likewise.
63632         (RUN_TEST_fF_f1): Likewise.
63633         (RUN_TEST_fI_f1): Likewise.
63634         (RUN_TEST_ffI_f1): Likewise.
63635         (RUN_TEST_c_c): Likewise.
63636         (RUN_TEST_cc_c): Likewise.
63637         (RUN_TEST_f_i): Likewise.
63638         (RUN_TEST_f_i_tg): Likewise.
63639         (RUN_TEST_ff_i_tg): Likewise.
63640         (RUN_TEST_f_b): Likewise.
63641         (RUN_TEST_f_b_tg): Likewise.
63642         (RUN_TEST_f_l): Likewise.
63643         (RUN_TEST_f_L): Likewise.
63644         (RUN_TEST_sincos): Likewise.
63645         * math/gen-libm-test.pl (new_test): Take new argument to indicate
63646         whether to show exceptions.  Do not include ");\n" in return
63647         value.
63648         (special_functions): Output call to RUN_TEST_sincos instead of
63649         check_float calls.  Update calls to new_test.
63650         (parse_args): Output call to single RUN_TEST_* macro instead of
63651         check_* calls and other assignments.  Update calls to new_test.
63653         [BZ #2546]
63654         [BZ #2560]
63655         [BZ #5159]
63656         [BZ #15426]
63657         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
63658         input to result for tgamma overflow.
63659         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
63660         (gamma_coeff): New variable.
63661         (NCOEFF): New macro.
63662         (gamma_positive): New function.
63663         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
63664         underflow here.  Use gamma_positive instead of exp (lgamma) for
63665         other arguments.
63666         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
63667         (gamma_coeff): New variable.
63668         (NCOEFF): New macro.
63669         (gammaf_positive): New function.
63670         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
63671         underflow here.  Use gamma_positive instead of exp (lgamma) for
63672         other arguments.
63673         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
63674         (gamma_coeff): New variable.
63675         (NCOEFF): New macro.
63676         (gammal_positive): New function.
63677         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
63678         underflow here.  Use gamma_positive instead of exp (lgamma) for
63679         other arguments.
63680         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
63681         (gamma_coeff): New variable.
63682         (NCOEFF): New macro.
63683         (gammal_positive): New function.
63684         (__ieee754_gammal_r): Handle positive infinity, overflow and
63685         underflow here.  Handle NaN the same as positive infinity.  Remove
63686         check x < 0xffffffff for negative integers.  Use gamma_positive
63687         instead of exp (lgamma) for other arguments.
63688         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
63689         (gamma_coeff): New variable.
63690         (NCOEFF): New macro.
63691         (gammal_positive): New function.
63692         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
63693         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
63694         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
63695         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
63696         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
63697         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
63698         * sysdeps/generic/math_private.h (__gamma_productf): New
63699         prototype.
63700         (__gamma_product): Likewise.
63701         (__gamma_productl): Likewise.
63702         * math/Makefile (libm-calls): Add gamma_product.
63703         * math/libm-test.inc (tgamma_test): Add more tests.
63704         * sysdeps/i386/fpu/libm-test-ulps: Update.
63705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63707 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
63709         * benchtests/bench-skeleton.c (main): Preheat CPU.
63711 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
63713         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
63715 2013-05-07  Roland McGrath  <roland@hack.frob.com>
63717         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
63718         and _dl_skip_args_internal.
63720 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
63722         * manual/message.texi (Message Translation): Talk about users.
63723         Message to key mapping impacts design.
63725 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63727         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
63729         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
63731         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
63732         * sysdeps/wordsize-64/glob64.c: ... here.
63734         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
63735         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
63736         New macros.
63738         * debug/getlogin_r_chk.c: Moved to ...
63739         * login/getlogin_r_chk.c: ... here.
63740         * debug/Makefile (routines): Move getlogin_r_chk to ...
63741         * login/Makefile (routines): ... here.
63742         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
63743         * login/Versions (libc: GLIBC_2.4): ... here.
63745         * io/poll.c (__poll): Renamed from poll.
63746         Add libc_hidden_def.
63747         (poll): Define as weak alias.
63749         * debug/ptsname_r_chk.c: Moved to ...
63750         * login/ptsname_r_chk.c: ... here.
63751         * debug/Makefile (routines): Move ptsname_r_chk to ...
63752         * login/Makefile (routines): ... here.
63753         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
63754         * login/Versions (libc: GLIBC_2.4): ... here.
63756         * posix/getlogin.c: Moved to ...
63757         * login/getlogin.c: ... here.
63758         * posix/getlogin_r.c: Moved to ...
63759         * login/getlogin_r.c: ... here.
63760         * posix/getlogin_r.c: Moved to ...
63761         * login/getlogin_r.c: ... here.
63762         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
63763         * login/Makefile (routines): ... here.
63764         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
63765         * login/Versions (libc: GLIBC_2.0): ... here.
63767         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
63768         (setrlimit): Define as weak alias.
63770         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
63771         Call __ names for open, ftruncate, and close.
63772         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
63773         (truncate): Define as weak alias.
63775 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
63777         * math/gen-libm-test.pl (parse_args): Initialize x before each
63778         test of frexp, modf and remquo.
63780         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
63781         test signgam value.
63783 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63785         [BZ #15418]
63786         [BZ #15419]
63787         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
63788         internal tests.
63789         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63791 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63793         * elf/dl-writev.h: New file.
63794         * elf/dl-misc.c: Include it.
63795         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
63796         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
63798 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
63800         * math/libm-test.inc (noXFails): Remove variable.
63801         (noXPasses): Likewise.
63802         (BUILD_COMPLEX_INT): Remove macro.
63803         (print_screen): Remove xfail argument.
63804         (print_screen_max_error): Likewise.
63805         (update_stats): Likewise.
63806         (print_max_error): Likewise.  Update calls to other affected
63807         functions.
63808         (print_complex_max_error): Likewise.
63809         (test_single_exception): Update calls to print_screen.
63810         (test_single_errno): Likewise.
63811         (check_float_internal): Remove xfail argument.  Update calls to
63812         other affected functions.
63813         (check_float): Likewise.
63814         (check_complex): Likewise.
63815         (check_int): Likewise.
63816         (check_long): Likewise.
63817         (check_bool): Likewise.
63818         (check_longlong): Likewise.
63819         (main): Don't print noXFails and noXPasses.
63820         * math/gen-libm-test.pl (top level): Don't mention expected
63821         failure handling in comment.
63822         (new_test): Don't handle expected failures.
63823         (parse_args): Don't mention expected failure handling in comment.
63824         (generate_testfile): Don't handle expected failures.
63825         (parse_ulps): Likewise.
63826         (print_ulps_file): Likewise.
63827         (get_failure): Remove function.
63828         (output_test): Don't handle expected failures.
63829         * make/README.libm-test: Don't mention expected failure handling.
63831         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
63832         (minus_zero): Likewise.
63833         (plus_infty): Likewise.
63834         (minus_infty): Likewise.
63835         (qnan_value): Likewise.
63836         (max_value): Likewise.
63837         (min_value): Likewise.
63838         (min_subnorm_value): Likewise.
63839         (initialize): Do not initialize those variables dynamically.
63841 2013-05-03  Roland McGrath  <roland@hack.frob.com>
63843         * io/open.c (__open_2): Moved to ...
63844         * io/open_2.c: ... this new file.
63845         * io/open64.c (__open64_2): Moved to ...
63846         * io/open64_2.c: ... this new file.
63847         * io/openat.c (__openat_2): Moved to ...
63848         * io/openat_2.c: ... this new file.
63849         * io/openat64.c (__openat64_2): Moved to ...
63850         * io/openat64_2.c: ... this new file.
63851         * io/Makefile (routines): Add them.
63852         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
63853         * sysdeps/unix/sysv/linux/open_2.c: File removed.
63854         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
63855         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
63856         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
63857         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
63858         (__openat64): Add hidden_ver.
63859         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
63860         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
63862         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
63863         Separately conditionalize setting of GLRO(dl_sysinfo) so
63864         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
63865         as well, but the actual setting is only under [NEED_DL_SYSINFO].
63867 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63869         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
63870         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
63871         definition.
63872         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
63873         * sysdeps/unix/sysv/linux/powerpc/init-first.c
63874         (_libc_vdso_platform_setup): Add __vdso_time initialization.
63875         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
63876         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
63878 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
63880         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
63881         test signgam value.
63883         * math/libm-test.inc (hypot_test): Do not use
63884         IGNORE_ZERO_INF_SIGN.
63886 2013-05-03  Andreas Jaeger  <aj@suse.de>
63888         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
63889         Linux 3.9.
63890         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
63891         (PF_MAX): Adjust for VSOCK change.
63893 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63897 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
63899         [BZ #15264]
63900         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
63901         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
63902         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
63904 2013-05-02  David S. Miller  <davem@davemloft.net>
63906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63908 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
63910         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
63912 2013-05-01  Roland McGrath  <roland@hack.frob.com>
63914         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
63916 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
63918         [BZ #14952]
63919         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
63920         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63921         Use __attribute__ ((__gnu_inline__)).
63922         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63923         Don't use __attribute__ ((__gnu_inline__)).
63925 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
63927         [BZ #15423]
63928         * math/s_catan.c (__catan): Handle small real or imaginary part of
63929         input specially to avoid spurious underflow.
63930         * math/s_catanf.c (__catanf): Likewise.
63931         * math/s_catanh.c (__catanh): Likewise.
63932         * math/s_catanhf.c (__catanhf): Likewise.
63933         * math/s_catanhl.c (__catanhl): Likewise.
63934         * math/s_catanl.c (__catanl): Likewise.
63935         * math/libm-test.inc (catan_test): Add more tests.
63936         (catanh_test): Likewise.
63937         * sysdeps/i386/fpu/libm-test-ulps: Update.
63938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63940 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63944 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
63946         [BZ #15416]
63947         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
63948         accurately for denominator in atan2.
63949         * math/s_catanf.c (__catanf): Likewise.
63950         * math/s_catanh.c (__catanh): Likewise.
63951         * math/s_catanhf.c (__catanhf): Likewise.
63952         * math/s_catanhl.c (__catanhl): Likewise.
63953         * math/s_catanl.c (__catanl): Likewise.
63954         * math/libm-test.inc (catan_test): Add more tests.
63955         (catanh_test): Likewise.
63956         * sysdeps/i386/fpu/libm-test-ulps: Update.
63957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63959 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63961         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
63963         * benchtests/Makefile (bench): Remove slow benchmarks.
63964         * benchtests/atan-inputs: Add slow benchmark inputs.
63965         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
63966         (BENCH_FUNC): Accept variant offset.
63967         (VARIANT): Define.
63968         * benchtests/bench-skeleton.c (main): Run benchmark for each
63969         variant.
63970         * benchtests/cos-inputs: Add slow benchmark inputs.
63971         * benchtests/exp-inputs: Likewise.
63972         * benchtests/pow-inputs: Likewise.
63973         * benchtests/sin-inputs: Likewise.
63974         * benchtests/slowatan-inputs: Remove.
63975         * benchtests/slowatan.c: Remove.
63976         * benchtests/slowcos-inputs: Remove.
63977         * benchtests/slowcos.c: Remove.
63978         * benchtests/slowexp-inputs: Remove.
63979         * benchtests/slowexp.c: Remove.
63980         * benchtests/slowpow-inputs: Remove.
63981         * benchtests/slowpow.c: Remove.
63982         * benchtests/slowsin-inputs: Remove.
63983         * benchtests/slowsin.c: Remove.
63984         * benchtests/slowtan-inputs: Remove.
63985         * benchtests/slowtan.c: Remove.
63986         * benchtests/tan-inputs: Add slow benchmark inputs.
63987         * scripts/bench.pl: Parse comments and directives.
63989         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
63990         in CPPFLAGS.
63991         ($(objpfx)bench-%.c): Remove *-ITER.
63992         * benchtests/bench-modf.c: Remove definition of ITER.
63993         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
63994         (main): Loop for DURATION seconds instead of fixed number of
63995         iterations.
63996         * scripts/bench.pl: Don't expect iterations in parameters.
63998 2013-04-29  Roland McGrath  <roland@hack.frob.com>
64000         * io/fchdir.c (__fchdir): Renamed from fchdir.
64001         (fchdir): Define as weak alias.
64003 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64005         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
64006         (ERRNO_EDOM): Likewise.
64007         (ERRNO_ERANGE): Likewise.
64008         (noErrnoTests): New variable.
64009         (init_max_error): Set errno to 0.
64010         (test_single_errno): New function.
64011         (test_errno): Likewise.
64012         (check_float_internal): Call test_errno.  Set errno to 0.
64013         (check_complex): Refer to errno tests in comment.
64014         (check_int): Call test_errno.  Set errno to 0.
64015         (check_long): Likewise.
64016         (check_bool): Likewise.
64017         (check_longlong): Likewise.
64018         (cos_test): Use ERRNO_* flags for errno tests instead of
64019         check_int.
64020         (expm1_test): Likewise.
64021         (fmod_test): Likewise.
64022         (ilogb_test): Likewise.
64023         (lgamma_test): Likewise.
64024         (pow_test): Likewise.
64025         (remainder_test): Likewise.
64026         (sin_test): Likewise.
64027         (tan_test): Likewise.
64028         (yn_test): Likewise.
64029         (initialize): Set errno to 0.
64030         (main): Print number of errno tests.
64031         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64033 2013-04-29  Andreas Jaeger  <aj@suse.de>
64035         [BZ #15084]
64036         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64037         and RES_USEVC.
64039         [BZ #15085]
64040         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64041         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64042         unimplemented.
64044         [BZ #15380]
64045         * stdlib/random.c (__initstate): Return NULL if
64046         __initstate fails.
64048         [BZ #15086]
64049         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64050         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
64051         RES_SNGLKUPREOP.
64053 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64057 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64059         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
64060         of individual tests.
64061         (casin_test): Likewise.
64062         (casinh_test): Likewise.
64064 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
64066         [BZ #15409]
64067         * math/s_catan.c (__catan): Handle arguments with large real or
64068         imaginary part separately without squaring.
64069         * math/s_catanf.c (__catanf): Likewise.
64070         * math/s_catanh.c (__catanh): Likewise.
64071         * math/s_catanhf.c (__catanhf): Likewise.
64072         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64073         and redefine.
64074         (__catanhl): Handle arguments with large real or imaginary part
64075         separately without squaring.
64076         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64077         and redefine.
64078         (__catanl): Handle arguments with large real or imaginary part
64079         separately without squaring.
64080         * math/libm-test.inc (catan_test): Add more tests.
64081         (catanh_test): Likewise.
64082         * sysdeps/i386/fpu/libm-test-ulps: Update.
64083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64085 2013-04-27  Andreas Jaeger  <aj@suse.de>
64087         [BZ #15007]
64088         * stdlib/stdlib.h: Update guards for qecvt.
64089         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
64090         <stdlib.h>.
64092 2013-04-27  Allan McRae  <allan@archlinux.org>
64094         * sysdeps/i386/fpu/libm-test-ulps: Update.
64096 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
64098         [BZ #15406]
64099         * math/s_catan.c: Include <float.h>.
64100         (__catan): Ensure underflow exception occurs for underflowed
64101         result.
64102         * math/s_catanf.c: Include <float.h>.
64103         (__catanf): Ensure underflow exception occurs for underflowed
64104         result.
64105         * math/s_catanh.c: Include <float.h>.
64106         (__catanh): Ensure underflow exception occurs for underflowed
64107         result.
64108         * math/s_catanhf.c: Include <float.h>.
64109         (__catanhf): Ensure underflow exception occurs for underflowed
64110         result.
64111         * math/s_catanhl.c: Include <float.h>.
64112         (__catanhl): Ensure underflow exception occurs for underflowed
64113         result.
64114         * math/s_catanl.c: Include <float.h>.
64115         (__catanl): Ensure underflow exception occurs for underflowed
64116         result.
64117         * math/libm-test.inc (catan_test): Add more tests.
64118         (catanh_test): Likewise.
64120         [BZ #15405]
64121         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
64122         underflowed result.
64123         * math/s_ccoshf.c (__ccoshf): Likewise.
64124         * math/s_ccoshl.c (__ccoshl): Likewise.
64125         * math/s_csin.c (__csin): Likewise.
64126         * math/s_csinf.c (__csinf): Likewise.
64127         * math/s_csinh.c (__csinh): Likewise.
64128         * math/s_csinhf.c (__csinhf): Likewise.
64129         * math/s_csinhl.c (__csinhl): Likewise.
64130         * math/s_csinl.c (__csinl): Likewise.
64131         * math/libm-test.inc (ccos_test): Add more tests.
64132         (ccosh_test): Likewise.
64133         (csin_test): Likewise.
64134         (csinh_test): Likewise.
64136 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64138         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
64139         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
64140         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
64141         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
64142         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
64143         powerpc/power5+/fpu folders.
64144         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
64147 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64151 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
64153         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
64154         additions to variable.
64155         [$(config-machine) = x86_64] (modules-names): Likewise.
64156         ($(objpfx)tst-audit3): Remove dependency.
64157         ($(objpfx)tst-audit3.out): Likewise.
64158         ($(objpfx)tst-audit4): Likewise.
64159         ($(objpfx)tst-audit4.out): Likewise.
64160         ($(objpfx)tst-audit5): Likewise.
64161         ($(objpfx)tst-audit5.out): Likewise.
64162         ($(objpfx)tst-audit6): Likewise.
64163         ($(objpfx)tst-audit6.out): Likewise.
64164         ($(objpfx)tst-audit7): Likewise.
64165         ($(objpfx)tst-audit7.out): Likewise.
64166         (tst-audit3-ENV): Remove variable.
64167         (tst-audit4-ENV): Likewise.
64168         (tst-audit5-ENV): Likewise.
64169         (tst-audit6-ENV): Likewise.
64170         (tst-audit7-ENV): Likewise.
64171         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
64172         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
64173         addition to variable.
64174         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
64175         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
64176         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
64177         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
64178         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
64179         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
64180         tst-audit3, tst-audit4 and tst-audit5.
64181         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
64182         tst-audit6 and tst-audit7.
64183         [$(subdir) = elf] (modules-names): Add audit modules for those
64184         tests.
64185         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
64186         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
64187         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
64188         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
64189         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
64190         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
64191         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
64192         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
64193         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
64194         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
64195         [$(subdir) = elf] (tst-audit3-ENV): New variable.
64196         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
64197         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
64198         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
64199         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
64200         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
64201         Likewise.
64202         [$(subdir) = elf && $(config-cflags-avx) = yes]
64203         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
64204         [$(subdir) = elf && $(config-cflags-avx) = yes]
64205         (CFLAGS-tst-auditmod4a.c): Likewise.
64206         [$(subdir) = elf && $(config-cflags-avx) = yes]
64207         (CFLAGS-tst-auditmod4b.c): Likewise.
64208         [$(subdir) = elf && $(config-cflags-avx) = yes]
64209         (CFLAGS-tst-auditmod6b.c): Likewise.
64210         [$(subdir) = elf && $(config-cflags-avx) = yes]
64211         (CFLAGS-tst-auditmod6c.c): Likewise.
64212         [$(subdir) = elf && $(config-cflags-avx) = yes]
64213         (CFLAGS-tst-auditmod7b.c): Likewise.
64214         * elf/tst-audit3.c: Move to ...
64215         * sysdeps/x86_64/tst-audit3.c: ... here.
64216         * elf/tst-audit4.c: Move to ...
64217         * sysdeps/x86_64/tst-audit4.c: ... here.
64218         * elf/tst-audit5.c: Move to ...
64219         * sysdeps/x86_64/tst-audit5.c: ... here.
64220         * elf/tst-audit6.c: Move to ...
64221         * sysdeps/x86_64/tst-audit6.c: ... here.
64222         * elf/tst-audit7.c: Move to ...
64223         * sysdeps/x86_64/tst-audit7.c: ... here.
64224         * elf/tst-auditmod3a.c: Move to ...
64225         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
64226         * elf/tst-auditmod3b.c: Move to ...
64227         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
64228         * elf/tst-auditmod4a.c: Move to ...
64229         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
64230         * elf/tst-auditmod4b.c: Move to ...
64231         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
64232         * elf/tst-auditmod5a.c: Move to ...
64233         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
64234         * elf/tst-auditmod5b.c: Move to ...
64235         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
64236         * elf/tst-auditmod6a.c: Move to ...
64237         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
64238         * elf/tst-auditmod6b.c: Move to ...
64239         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
64240         * elf/tst-auditmod6c.c: Move to ...
64241         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
64242         * elf/tst-auditmod7a.c: Move to ...
64243         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
64244         * elf/tst-auditmod7b.c: Move to ...
64245         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
64247 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
64249         [BZ #15366]
64250         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
64251         define unconditionally.
64252         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
64253         define unconditionally.
64254         (INT8_C, INT16_C, etc.): Likewise.
64256 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
64258         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
64259         __ehdr_start with hidden visibility.
64261         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
64263 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
64265         * math/libm-test.inc (cos_test): Use accurate hex constants.
64266         (sincost_test): Likewise.
64268 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
64270         * math/libm-test.inc (catan_test): Add more tests.
64271         (catanh_test): Likewise.
64273         * math/s_catanf.c (__catanf): Use suffixed floating-point
64274         constants.
64275         * math/s_catanhf.c (__catanhf): Likewise.
64276         * math/s_catanhl.c (__catanhl): Likewise.
64277         * math/s_catanl.c (__catanl): Likewise.
64279         [BZ #15394]
64280         * math/s_catan.c (__catan): Calculate imaginary part of result
64281         with log1p not log unless computing log of number close to 0.
64282         * math/s_catanf.c (__catanf): Likewise.
64283         * math/s_catanl.c (__catanl): Likewise.
64284         * math/s_catanh.c (__catanh): Calculate real part of result with
64285         log1p not log unless computing log of number close to 0.
64286         * math/s_catanhf.c (__catanhf): Likewise.
64287         * math/s_catanhl.c (__catanhl): Likewise.
64288         * math/libm-test.inc (catan_test): Add more tests.
64289         (catanh_test): Likewise.
64290         * sysdeps/i386/fpu/libm-test-ulps: Update.
64291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64293 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64295         * benchtests/Makefile: Mention files in which fast and slow
64296         paths of math functions are implemented.
64298 2013-04-23  Roland McGrath  <roland@hack.frob.com>
64300         * sysdeps/posix/timespec_get.c: New file.
64302 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64304         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
64305         POWER.
64306         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
64307         for POWER.
64308         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
64309         powerpc/power5/fpu folders.
64310         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
64311         * benchtests/Makefile: Add modf testcase.
64312         * benchtests/bench-modf.c: New file: Benchmark test for mo
64314 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
64316         [BZ #14888]
64317         * time/Makefile (tests): Add tst-strptime-whitespace.
64318         * time/strptime_l.c (get_number): Use ISSPACE.
64319         (__strptime_internal): Likewise.
64320         * time/tst-strptime-whitespace.c: New test case.
64322 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
64324         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
64325         member.
64326         (_nss_files_init): Set it here.
64328 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
64330         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
64331         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
64332         unsigned.
64334 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
64336         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
64338 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64340         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
64341         size just once.
64343 2013-04-21  David S. Miller  <davem@davemloft.net>
64345         * po/ru.po: Update Russion translation from translation project.
64347 2013-04-17  Adam Conrad  <adconrad@0c3.net>
64349         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
64350         and setfsgid.
64352 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
64354         * configure.in: Remove i386 configure warning. Remove i386 case.
64355         * configure: Regenerate.
64356         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
64357         Add example to error message.
64358         * sysdeps/i386/configure: Regenerate.
64360 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64362         * benchtests/Makefile (bench): Add cos, tan, slowcos and
64363         slowtan.
64364         * benchtests/cos-inputs: New file.
64365         * benchtests/slowcos-inputs: New file.
64366         * benchtests/slowcos.c: New file.
64367         * benchtests/slowtan-inputs: New file.
64368         * benchtests/slowtan.c: New file.
64369         * benchtests/tan-inputs: New file.
64371 2013-04-16  Roland McGrath  <roland@hack.frob.com>
64373         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
64374         considered kosher.
64376 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64378         * benchtests/Makefile: Include cppflags-iterator.mk to add
64379         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
64381         * Makefile.in (bench-clean): New target.
64382         * benchtests/Makefile (bench-clean): Likewise.
64384 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
64386         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
64388 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
64390         * stdio-common/tstdiomisc.c: Fix coding-style violation.
64392 2013-04-15  Andreas Schwab  <schwab@suse.de>
64394         * nscd/grpcache.c (cache_addgr): Properly check for short write.
64395         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64396         * nscd/pwdcache.c (cache_addpw): Likewise.
64397         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
64398         more than recsize.
64400 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64402         * benchtests/Makefile (bench): Write all output to
64403         bench-out.tmp together.
64405 2013-04-15  Andreas Schwab  <schwab@suse.de>
64407         * nscd/nscd.c (main): Don't fork again after closing files.
64409 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64411         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
64413         * benchtests/Rules (bench-deps): Collect dependencies into a
64414         single variable.  Add Makefile to dependencies.
64415         ($(objpfx)bench-%.c): Depend on bench-deps.
64417 2013-04-12  Roland McGrath  <roland@hack.frob.com>
64418             Xavier Roche  <roche+kml2@exalead.com>
64420         [BZ #15361]
64421         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
64422         just that it's a file descriptor.
64423         * manual/llio.texi (Synchronizing AIO Operations): Update description
64424         for EBADF error from aio_fsync.
64426 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64428         * Rules (bench): Move target definition...
64429         * benchtests/Makefile: ... here.
64431 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
64433         * math/libm-test.inc (cos_test): Fix PI/2 test.
64434         (sincos_test): Likewise.
64435         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
64436         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
64438 2013-04-11  Andreas Schwab  <schwab@suse.de>
64440         [BZ #13988]
64441         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
64442         accept exponent character only when digits were seen.
64443         * stdio-common/Makefile (tests): Add bug26.
64444         * stdio-common/bug26.c: New file.
64446         [BZ #14293]
64447         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
64448         non-freeable.
64450 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64452         * Makeconfig (rtld-prefix): Define built linker prefix.
64453         * Rules (run-bench): Use it.
64454         * math/Makefile (run-regen-ulps): Likewise.
64456         * Rules (bench): Remove eval.
64458 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64459             Roland McGrath  <roland@hack.frob.com>
64460             Ondrej Bilka  <neleai@seznam.cz>
64462         [BZ #15346]
64463         * time/getdate.c: Include ctype.h and alloca.h.
64464         (__getdate_r): Trim leading and trailing spaces of input.
64465         * time/tst-getdate.c (tests): Add tests with leading and
64466         trailing spaces.
64468 2013-04-08  Roland McGrath  <roland@hack.frob.com>
64470         [BZ #14280]
64471         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
64472         when computing value.
64474 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64476         * math/README.libm-test (How can I generate "libm-test-ulps"?):
64477         Use testrun.sh to run libm tests.
64479         [BZ #15309]
64480         * elf/dl-open.c (dl_open_worker): memset all of seen array.
64482 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
64484         [BZ #15264]
64485         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
64487 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64489         * Makefile.in (regen-ulps): New target.
64490         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
64491         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
64492         [ifneq (no,$(PERL)] (regen-ulps): New target.
64493         [ifeq (no,$(PERL)] (regen-ulps): New target.
64494         * math/libm-test.inc (ulps_file_name): Define.
64495         (output_dir): New variable.
64496         (options): Add "output-dir" option.
64497         (parse_opt): Handle 'o' case.
64498         (main): If output_dir is non-NULL use it as a prefix
64499         otherwise use "".
64500         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
64502 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64504         [BZ #10060, #10062]
64505         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
64506         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
64507         fail configure if __sync_val_compare_and_swap is not inlined.
64508         * sysdeps/i386/configure: Regenerate.
64509         * configure.in: Build for i686 when configured for i386.
64510         * configure: Regenerate.
64511         * README: Remove i386 reference.
64513 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64515         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
64516         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64518 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64520         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
64521         (lmsnanval): New variables.
64522         (F): Add conversion tests.
64523         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
64524         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
64526         * stdio-common/tstdiomisc.c (F): Properly collect individual
64527         tests' results.
64529         [BZ #14686, #15336]
64530         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
64531         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
64532         Instead, use input NaN values or generate a qNaN by arithmetic
64533         operation.  Also fix bugs to comply with the standard.
64534         * math/libm-test.inc (remainder_test): Add more tests.
64536         [BZ #15335, #15342]
64537         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
64538         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
64539         input NaN values or generate a qNaN by arithmetic operation.
64541         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
64542         unreachable code.
64544         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
64545         definitions.
64547 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
64549         [BZ #14478]
64550         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
64551         underflowed result.
64552         * math/s_cexpf.c (__cexpf): Likewise.
64553         * math/s_cexpl.c (__cexpl): Likewise.
64554         * math/libm-test.inc (cexp_test): Add more tests.
64556 2013-04-03  Andreas Schwab  <schwab@suse.de>
64558         [BZ #15330]
64559         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
64560         order arrays from heap if bigger than alloca cutoff.
64562 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
64564         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
64565         (SNAN_TESTS_double): Refer to GCC PR56831.
64566         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
64567         GCC PR56828.
64569 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64571         * Rules (bench): Move bench.out after the run is complete.
64573         * Rules (bench): Echo currently running benchmark.
64575         * benchtests/Makefile (bench): Add atan and slowatan.
64576         * benchtests/atan-inputs: New file.
64577         * benchtests/slowatan-inputs: New file.
64578         * benchtests/slowatan.c: New file.
64580         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
64581         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
64582         its value.
64584         [BZ #15305]
64585         * sysdeps/unix/sysv/linux/kernel-features.h
64586         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
64587         __ASSUME_XFS_RESTRICTED_CHOWN.
64588         * sysdeps/unix/sysv/linux/pathconf.c
64589         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
64590         Save and restore errno.
64592 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
64594         [BZ #15327]
64595         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
64596         arguments using __kernel_casinh.
64597         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
64598         arguments using __kernel_casinhf.
64599         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
64600         arguments using __kernel_casinhl.
64601         * math/libm-test.inc (cacosh_test): Add more tests.
64602         * sysdeps/i386/fpu/libm-test-ulps: Update.
64603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64605 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64607         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
64608         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
64610         * bench/Makefile (bench): Add sin and slowsin.
64611         * benchtests/sin-inputs: New file.
64612         * benchtests/slowsin-inputs: New file.
64613         * benchtests/slowsin.c: New file.
64615         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
64616         (bench): Add slowexp and slowpow.
64617         (exp-ITER): Increase iterations.
64618         (pow-ITER): Likewise.
64619         * benchtests/exp-inputs: Change input.
64620         * benchtests/pow-inputs: Likewise.
64621         * benchtests/slowexp-inputs: New file.
64622         * benchtests/slowexp.c: New file.
64623         * benchtests/slowpow-inputs: New file.
64624         * benchtests/slowpow.c: New file.
64626 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64628         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
64629         instructions.
64630         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64631         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
64632         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
64633         * benchtests/Makefile: Add rint benchtest.
64634         * benchtests/rint-inputs: Input for rint benchtest.
64636 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64638         * Versions.def (libm): Add GLIBC_2.18.
64639         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
64640         hidden libm prototypes.
64641         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
64642         * math/Makefile (libm-calls): Add s_issignaling.
64643         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
64644         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
64645         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
64646         declaration.
64647         * math/math.h [__USE_GNU] (issignaling): New macro.
64648         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
64649         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
64650         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
64651         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
64652         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
64653         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
64654         * manual/arith.texi (issignaling): New section.
64655         * manual/libm-err-tab.pl (@all_functions): Update comment.
64656         * math/gen-libm-test.pl (parse_args): Apply special handling for
64657         issignaling.
64658         * math/libm-test.inc (print_float, issignaling_test): New
64659         functions.
64660         (check_float_internal): Add issignaling checks.
64661         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
64662         default definition.
64663         * sysdeps/powerpc/math-tests.h: New file.
64664         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
64665         tests.
64666         * math/test-snan.c (TEST_FUNC): Likewise.
64668 2013-03-30  David S. Miller  <davem@davemloft.net>
64670         * po/de.po: Update from translation team.
64672 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
64674         [BZ #10357]
64675         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64676         imaginary part less than 1.0 and real part less than 0.5
64677         specially.
64678         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64679         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64680         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
64681         (cacos_test): Add more tests.
64682         (casin_test): Likewise.
64683         (casinh_test): Likewise.
64684         * sysdeps/i386/fpu/libm-test-ulps: Update.
64685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64687 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64689         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
64690         ONE with its value.
64692         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
64693         (__pow_mp): Replace ONE and MONE with their values.
64694         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64695         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
64696         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64697         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
64698         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64699         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64701         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
64703         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
64704         (__pow_mp): Replace ZERO and MZERO with their values.
64705         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64706         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64707         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64708         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64709         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64710         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
64711         (__sqr): Likewise.
64713         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
64715         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
64717 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64719         * include/stdlib.h [!SHARED] (__call_tls_dtors):
64720         Declare with __attribute__ ((weak)).
64721         * stdlib/exit.c (__libc_atexit) [!SHARED]:
64722         Call __call_tls_dtors only if it's not NULL.
64724 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64726         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
64727         didn't do it already, then set _dl_phdr and _dl_phnum based on the
64728         magic __ehdr_start linker symbol if it's defined.
64729         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
64730         them up here if it was already done.
64732         * elf/dl-support.c (_dl_phdr): Make pointer to const.
64733         (_dl_aux_init): Use const in cast when setting it.
64734         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
64735         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
64736         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
64738         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
64739         Declare them here.
64740         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
64741         * csu/libc-tls.c: Nor here.
64742         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
64744         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
64745         (__libc_message): Never call vsyslog.
64747 2013-03-28  Alan Modra  <amodra@gmail.com>
64749         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
64750         Define as empty.
64751         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
64752         Likewise.
64754 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64756         [BZ #15214]
64757         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
64758         underflow.
64759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64761 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64763         [BZ #15304]
64764         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
64765         Don't add gid passed as argument.
64767         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
64769 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
64771         [BZ #15307]
64772         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64773         imaginary part between 1.0 and 1.5 and real part less than 0.5
64774         specially.
64775         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64776         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64777         * math/libm-test.inc (cacos_test): Add more tests.
64778         (casin_test): Likewise.
64779         (casinh_test): Likewise.
64780         * sysdeps/i386/fpu/libm-test-ulps: Update.
64781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64783 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64785         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
64786         constants.
64787         (norm): Likewise.
64788         (denorm): Likewise.
64789         (__dbl_mp): Likewise.
64790         (add_magnitudes): Likewise.
64791         (sub_magnitudes): Likewise.
64792         (__add): Likewise.
64793         (__sub): Likewise.
64794         (__mul): Likewise.
64795         (__sqr): Likewise.
64796         (__inv): Likewise.
64797         (__dvd): Likewise.
64799         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
64800         commented code.
64801         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
64802         (__dubcos): Likewise.
64803         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
64804         (__ieee754_acos): Likewise.
64805         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64806         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
64807         (__exp1): Likewise.
64808         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64809         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64810         (log1): Likewise.
64811         (my_log2): Likewise.
64812         (checkint): Likewise.
64813         * sysdeps/ieee754/dbl-64/e_remainder.c
64814         (__ieee754_remainder): Likewise.
64815         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64816         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
64817         (bsloww): Likewise.
64818         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64820         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64821         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
64822         MANTISSA_STORE_T to store computations on mantissa.  Use
64823         macros for rounding and division.
64824         (denorm): Likewise.
64825         (__dbl_mp): Likewise.
64826         (add_magnitudes): Likewise.
64827         (sub_magnitudes): Likewise.
64828         (__mul): Likewise.
64829         (__sqr): Likewise.
64830         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64831         powers of two in terms of TWOPOW macro.
64832         (mp_no): Make type of mantissa as MANTISSA_T.
64833         [!RADIXI]: Define RADIXI.
64834         [!TWO52]: Define TWO52.
64835         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64837 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64839         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
64840         llroundl symbol when building for PPC32.
64842 2013-03-24  Mark H Weaver  <mhw@netris.org>
64844         * manual/arith.texi (Normalization Functions): Fix prototypes for
64845         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
64847 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64849         [BZ #13889]
64850         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
64851         high value to check if expl overflow.
64852         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
64853         to check for underflow and overflow.
64854         * math/libm-test.inc: Add exp test.
64856 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
64858         [BZ #11120]
64859         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
64860         with NOT_IN_libc.
64862 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64864         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
64865         symbol.
64867 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64869         * math/gen-libm-test.pl (parse_args, special_functions): Properly
64870         wrap blocks consisting of several statements.
64872         * sysdeps/generic/math-tests.h: New file.
64873         * sysdeps/i386/fpu/math-tests.h: Likewise.
64874         * math/test-snan.c: Include it.
64875         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
64877 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64879         [BZ #15285]
64880         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
64881         (__ieee754_j0l): Do not improve calculations using cos of twice
64882         input for inputs above LDBL_MAX / 2.0L.
64883         (__ieee754_y0l): Likewise.
64884         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
64885         (__ieee754_j1l): Do not improve calculations using cos of twice
64886         input for inputs above LDBL_MAX / 2.0L.
64887         (__ieee754_y1l): Likewise.
64888         * math/libm-test.inc (j0_test): Add another test.
64889         (j1_test): Likewise.
64890         (y0_test): Likewise.
64891         (y1_test): Likewise.
64892         * sysdeps/i386/fpu/libm-test-ulps: Update.
64894 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64896         * Rules ($(objpfx)bench-%.c): Include code from a C source
64897         file.
64899 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64901         [BZ #15287]
64902         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64903         imaginary part 1.0 and real part less than 0.5 specially.
64904         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64905         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64906         * math/libm-test.inc (cacos_test): Add more tests.
64907         (casin_test): Likewise.
64908         (casinh_test): Likewise.
64909         * sysdeps/i386/fpu/libm-test-ulps: Update.
64910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64912 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64914         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
64915         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
64917 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
64919         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
64920         * config.make.in (config-cflags-sse4): Remove variable.
64921         (config-cflags-avx): Likewise.
64922         (config-cflags-sse2avx): Likewise.
64923         (config-cflags-novzeroupper): Likewise.
64924         (config-asflags-i686): Likewise.
64925         (have-mfma4): Likewise.
64926         (have-as-vis3): Likewise.
64927         (MIG): Likewise.
64928         * configure.in (MIG): Do not AC_SUBST.
64929         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
64930         (libc_cv_cc_sse4): Do not AC_SUBST.
64931         (libc_cv_cc_avx): Likewise.
64932         (libc_cv_cc_sse2avx): Likewise.
64933         (libc_cv_cc_novzeroupper): Likewise.
64934         (libc_cv_cc_fma4): Likewise.
64935         (libc_cv_as_i686): Likewise.
64936         (libc_cv_sparc_as_vis3): Likewise.
64937         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
64938         LIBC_CONFIG_VAR.
64939         (config-asflags-i686): Likewise.
64940         (config-cflags-avx): Likewise.
64941         (config-cflags-sse2avx): Likewise.
64942         (have-mfma4): Likewise.
64943         (config-cflags-novzeroupper): Likewise.
64944         * sysdeps/mach/configure.in (MIG): Likewise.
64945         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
64946         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
64947         LIBC_CONFIG_VAR.
64948         (config-cflags-avx): Likewise.
64949         (config-cflags-sse2avx): Likewise.
64950         (have-mfma4): Likewise.
64951         (config-cflags-novzeroupper): Likewise.
64952         * configure: Regenerated.
64953         * sysdeps/i386/configure: Likewise.
64954         * sysdeps/mach/configure: Likewise.
64955         * sysdeps/sparc/configure: Likewise.
64956         * sysdeps/x86_64/configure: Likewise.
64958 2013-03-20  Roland McGrath  <roland@hack.frob.com>
64960         [BZ #14812]
64961         * locale/programs/localedef.c (options): Put N_ translation marker
64962         on argument names, not just descriptions.
64964 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64966         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
64968 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
64970         [BZ #14176]
64971         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
64973 2013-03-19  Roland McGrath  <roland@hack.frob.com>
64975         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
64976         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
64977         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
64978         [!BEFORE_ABORT] (before_abort): New function.
64979         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
64980         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
64981         (writev_for_fatal): New function.
64982         (WRITEV_FOR_FATAL): New macro; call that.
64983         (backtrace_and_maps): New function.
64984         (BEFORE_ABORT): New macro; call that.
64985         (struct str_list): Type removed.
64986         (__libc_message, __libc_fatal): Functions removed.
64987         Include <sysdeps/posix/libc_fatal.c> instead.
64989 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
64991         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
64992         constants.
64993         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
64994         double constants.
64996 2013-03-19  Andreas Schwab  <schwab@suse.de>
64998         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
64999         * sysdeps/gnu/configure: Regenerate.
65001         * configure.in: Substitute libc_cv_rtlddir.
65002         * configure: Regenerate.
65003         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
65004         * Makeconfig (rtlddir, inst_rtlddir): New variables.
65005         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
65006         * elf/Makefile (install-others, CFLAGS-interp.c)
65007         (ldso_install, common-ldd-rewrite): Likewise.
65008         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65009         $(inst_slibdir)/$(rtld-installed-name).
65010         * scripts/rellns-sh: Add -p option.
65011         * Makerules (make-shlib-link): Use rellns-sh to get relative name
65012         for source.
65014 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65016         * manual/nptl.texi: Renamed to ...
65017         * manual/threads.texi: ... this.
65018         * manual/Makefile (chapters): Update.
65020 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65022         [BZ #14812]
65023         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65024         on argument names, not just descriptions.
65025         * malloc/memusagestat.c (options): Likewise.
65026         * nss/getent.c (options): Likewise.
65028 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
65030         [BZ #14812]
65031         * iconv/iconv_prog.c (options): Put N_ translation marker
65032         on argument names, not just descriptions.
65033         * iconv/iconvconfig.c (options): Likewise.
65035 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
65037         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65038         implementation which is faster on all x86_64 architectures.
65039         Tested on AMD, Intel Nehalem, SNB, IVB.
65040         * sysdeps/x86_64/strnlen.S: Likewise.
65042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65043         Remove all multiarch strlen and strnlen versions.
65044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65045         Remove strlen and strnlen related parts.
65047         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65048         Inline strlen part.
65049         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
65051         * sysdeps/x86_64/multiarch/strlen.S: Remove.
65052         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
65053         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
65054         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
65055         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65056         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
65058 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
65060         * manual/memory.texi (Malloc Tunable Parameters):
65061         Sort parameters alphabetically. Add comments for missing entries.
65063 2013-03-17  David S. Miller  <davem@davemloft.net>
65065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65067 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
65069         [BZ #15283]
65070         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
65071         for arguments at most half maximum finite value.
65072         * math/libm-test.inc (j0_test): Add more tests.
65073         (j1_test): Likewise.
65074         (y0_test): Likewise.
65075         (y1_test): Likewise.
65076         * sysdeps/i386/fpu/libm-test-ulps: Update.
65077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65079         [BZ #14155]
65080         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
65081         1 / x and functions P and Q for arguments above 0x1p256L.
65082         (__ieee754_y0l): Likewise.
65083         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
65084         (__ieee754_y1l): Likewise.
65085         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
65086         (j1_test): Likewise.
65087         (y0_test): Likewise.
65088         (y1_test): Likewise.
65090 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
65092         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
65093         variable.
65095 2013-03-15  Roland McGrath  <roland@hack.frob.com>
65097         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
65098         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
65099         zero since it's initialized to EXEC_PAGESIZE.
65101         * sysdeps/unix/sysv/linux/ldsodefs.h
65102         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
65103         * sysdeps/generic/ldsodefs.h: ... here.
65105 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
65107         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
65109         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
65110         math/test-snan.c.
65111         * math/test-snan.c: Renamed from
65112         sysdeps/powerpc/fpu/test-powerpc-snan.c.
65113         * math/Makefile (tests): Add test-snan.
65114         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
65115         test-powerpc-snan.
65117         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
65118         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
65119         functions.
65120         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
65121         __builtin_nan family of functions.
65122         * math/libm-test.inc (initialize): Initialize qnan_value with
65123         __builtin_nan family of functions.
65124         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
65125         Remove variables.
65126         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
65127         Remove functions.
65128         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
65129         storage class.  Initialize qNaN_var and sNaN_var with
65130         __builtin_nan and __builtin_nans families of functions,
65131         respectively.
65133         * math/libm-test.inc (acosh_test): Also test with qNaN input.
65134         (sqrt_test): Remove duplicate test with qNaN input.
65135         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
65136         (round_test, signbit_test, significand_test): Note missing +/-Inf
65137         as well as qNaN tests.
65139         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
65140         qNaN_var.  Fix a few strings, too.
65141         * math/libm-test.inc (nan_value): Rename to qnan_value.
65142         * math/gen-libm-test.pl (%beautify): Adjust to that.
65143         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
65144         * math/test-misc.c (main): Likewise.
65145         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
65146         to __qnan_bytes, and __qnan_union, respectively.
65147         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
65148         Likewise.
65149         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
65150         and lqnanval, respectively.
65151         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
65152         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
65153         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
65154         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
65156         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
65157         * math/test-misc.c (main) [__x86_64__]: Enable test for long
65158         doubles.
65160         * math/test-misc.c (main): Fix copy'n'pastos.
65161         * misc/tst-efgcvt.c (special): Likewise.
65163         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
65164         Remove declarations.
65166 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65168         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
65169         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
65170         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
65171         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
65173 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65175         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
65176         macro to return vdso values correctly in IFUNC implementations.
65177         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
65178         Optimization by using IFUNC.
65180 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65181             Richard Henderson  <rth@redhat.com>
65182             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65184         * Makefile.in (bench): New target.
65185         * NEWS: Mention the benchmark framework.
65186         * Rules (bench): Likewise.
65187         (binaries-bench): Generate binaries for functions to
65188         benchmark.
65189         * benchtests/Makefile: New makefile for benchmark tests.
65190         * benchtests/bench-skeleton.c: New skeleton file for benchmark
65191         programs.
65192         * benchtests/exp-inputs: New input file for EXP function.
65193         * benchtests/pow-inputs: New input file for POW function.
65194         * scripts/bench.pl: New script to generate source files for
65195         benchmark programs.
65197 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65199         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65200         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
65201         computations on mantissa.  Use macros for rounding and
65202         division.
65203         (denorm): Likewise.
65204         (__dbl_mp): Likewise.
65205         (add_magnitudes): Likewise.
65206         (sub_magnitudes): Likewise.
65207         (__mul): Likewise.
65208         (__sqr): Likewise.
65209         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65210         powers of two in terms of TWOPOW macro.
65211         (mp_no): Make type of mantissa as MANTISSA_T.
65212         [!RADIXI]: Define RADIXI.
65213         [!TWO52]: Define TWO52.
65214         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65216         * manual/nptl.texi (cindex): Modify threads to pthreads.
65218 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
65220         * sysdeps/x86_64/preconfigure: Regenerated.
65222 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
65224         [BZ #14155]
65225         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
65226         0x1p28 and above.
65227         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
65228         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
65229         0x1p28 and above.
65230         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
65231         * math/libm-test.inc (j0_test): Do not allow one spurious
65232         underflow exception.
65233         (y1_test): Likewise.
65235 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65237         * manual/Makefile (chapters): Add nptl.
65238         * manual/debug.texi (Debugging Support): Add link to Threads
65239         chapter.
65240         * manual/nptl.texi: New file.
65242         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
65244 2013-03-14  Petr Baudis  <pasky@ucw.cz>
65246         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
65247         for non-NULL pointer before the memory validity test. Pointed
65248         out by Holger Brunck <holger.brunck@keymile.com>.
65250 2013-03-13  Andreas Schwab  <schwab@suse.de>
65252         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
65253         instead of .os.
65255 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
65257         * timezone/zic.c: Update from tzcode 2013b.
65259 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
65261         * manual/install.texi (Configuring and compiling):
65262         Mention i686 and i586.
65263         * INSTALL: Regenerate.
65265 2013-03-12  Roland McGrath  <roland@hack.frob.com>
65267         * sysdeps/init_array/elf-init.c: New file.
65268         * csu/elf-init.c
65269         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
65270         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
65272         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
65273         __gmon_start__ as global, but as static with a .preinit_array pointer.
65274         * sysdeps/init_array/gmon-start.c: New file.  Use that.
65275         * sysdeps/init_array/crti.S: New file, empty except for comments.
65276         * sysdeps/init_array/crtn.S: Likewise.
65278 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
65280         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
65281         definining bcopy.
65282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65283         Remove Prefer_SSE_for_memop.
65284         * sysdeps/x86_64/multiarch/init-arch.h: Remove
65285         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
65286         HAS_PREFER_SSE_FOR_MEMOP.
65287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
65288         memset-x86-64.
65289         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65290         Remove bzero, memset ifunc support.
65291         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
65292         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
65293         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65294         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65296 2013-03-11  Andreas Schwab  <schwab@suse.de>
65298         [BZ #15234]
65299         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
65300         by SHLIB_COMPAT.
65301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
65302         (GLIBC_2.16): Remove pthread_atfork.
65304 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
65306         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
65307         (ptestcases.h): Likewise.
65309 2013-03-08  Roland McGrath  <roland@hack.frob.com>
65311         * Makeconfig ($(common-objpfx)config.status): Depend on
65312         sysdeps/*/preconfigure{,.in} too.
65314 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
65316         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
65317         (__free_hook): Use void * instead of __malloc_ptr_t.
65318         (__malloc_hook): Likewise.
65319         (__realloc_hook): Likewise.
65320         (__memalign_hook): Likewise.
65321         (__after_morecore_hook): Likewise.
65322         * malloc/arena.c (save_malloc_hook): Likewise.
65323         (save_free_hook): Likewise.
65324         * malloc/hooks.c (malloc_hook_ini): Likewise.
65325         (realloc_hook_ini): Likewise.
65326         (memalign_hook_ini): Likewise.
65327         * malloc/malloc.c (malloc_hook_ini): Likewise.
65328         (realloc_hook_ini): Likewise.
65329         (memalign_hook_ini): Likewise.
65330         (__free_hook): Likewise.
65331         (__malloc_hook): Likewise.
65332         (__realloc_hook): Likewise.
65333         (__memalign_hook): Likewise.
65334         (__libc_malloc): Likewise.
65335         (__libc_free): Likewise.
65336         (__libc_realloc): Likewise.
65337         (__libc_memalign): Likewise.
65338         (__libc_valloc): Likewise.
65339         (__libc_pvalloc): Likewise.
65340         (__libc_calloc): Likewise.
65341         (__posix_memalign): Likewise.
65342         * malloc/morecore.c (__sbrk): Likewise.
65343         (__default_morecore): Likewise.
65345         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
65347         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
65348         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
65349         __malloc_ptrdiff_t.
65351         * malloc/malloc.h (__malloc_size_t): Remove macro.
65352         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
65353         __malloc_size_t.
65354         (old_memalign_hook): Likewise.
65355         (old_realloc_hook): Likewise.
65356         (struct hdr): Likewise.
65357         (flood): Likewise.
65358         (mallochook): Likewise.
65359         (memalignhook): Likewise.
65360         (reallochook): Likewise.
65361         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
65362         (tr_old_realloc_hook): Likewise.
65363         (tr_old_memalign_hook): Likewise.
65364         (tr_mallochook): Likewise.
65365         (tr_reallochook): Likewise.
65366         (tr_memalignhook): Likewise.
65368 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65370         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
65371         default_ldbl_pack and using as default implementation.
65372         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
65373         implementation.
65374         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
65375         redundant definition.
65376         (ldbl_insert_mantissa): Likewise.
65377         (ldbl_canonicalize): Likewise.
65378         (ldbl_nearbyint): Likewise.
65379         (ldbl_pack): Rename to ldbl_pack_ppc.
65380         (ldbl_unpack): Rename to ldbl_unpack_ppc.
65381         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
65382         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
65384 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
65387         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
65388         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
65389         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
65390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
65391         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
65392         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
65393         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
65395 2013-03-07  Andreas Jaeger  <aj@suse.de>
65397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65398         bits/mman-linux.h.
65400 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
65402         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
65403         Include mpa.h and declare __MPEXP.
65404         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
65405         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65406         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65407         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
65408         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65409         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65410         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
65412         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
65413         (__slowpow): Use long double EXPL and LOGL functions to
65414         compute POW.
65415         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65416         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65417         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
65418         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65419         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65420         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
65422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
65423         intermediate variable to calculate exponent.
65424         (__sqr): Likewise.
65425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65426         Likewise.
65427         (__sqr): Likewise.
65429         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
65430         [!NO__SQR]: Define __sqr.
65431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
65432         and NO__SQR.  Remove all code except __mul and __sqr.  Include
65433         sysdeps/ieee754/dbl-64/mpa.c.
65434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65436         [BZ #12723]
65437         * posix/Makefile (tests): Add tst-pathconf.
65438         * posix/tst-pathconf.c: New test case.
65439         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
65440         _PC_PIPE_BUF.
65441         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
65443 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
65445         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
65447 2013-03-06  Andreas Jaeger  <aj@suse.de>
65449         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
65450         definition via __MAP_ANONYMOUS.
65452         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
65453         it's not part of Linux headers.
65455         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
65456         (MAP_HUGE_MASK): Define.
65458         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65459         Define.
65460         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65461         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65462         Define.
65463         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65464         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65465         Define.
65466         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65467         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
65468         Define.
65469         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65471         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
65472         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
65473         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
65474         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
65475         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
65476         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
65478         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65479         Handle f2fs.
65481         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65482         Handle f2fs and efivarfs.
65484         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
65485         f2fs.
65487         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
65488         (EFIVARFS_MAGIC): Add.
65489         (F2FS_LINK_MAX): Add.
65491 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65493         * stdio-common/vfprintf.c: Replace __builtin_expect with
65494         __glibc_unlikely.
65496 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
65498         [BZ #13550]
65499         * sysdeps/generic/bp-sym.h: Remove file.
65500         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
65501         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
65502         <bp-sym.h> and <bp-asm.h>.
65503         (__longjmp): Don't use BP_SYM.
65504         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
65505         and <bp-asm.h>.
65506         (memcpy): Don't use BP_SYM.
65507         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
65508         <bp-sym.h> and <bp-asm.h>.
65509         (memcpy): Don't use BP_SYM.
65510         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
65511         <bp-asm.h>.
65512         (memcpy): Don't use BP_SYM.
65513         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
65514         <bp-asm.h>.
65515         (memset): Don't use BP_SYM.
65516         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65517         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65518         (__bzero): Don't use BP_SYM.
65519         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65520         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65521         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
65522         <bp-sym.h> and <bp-asm.h>.
65523         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65524         pointers.
65525         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
65526         <bp-sym.h> and <bp-asm.h>.
65527         (memcpy): Don't use BP_SYM.
65528         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
65529         <bp-sym.h> and <bp-asm.h>.
65530         (memset): Don't use BP_SYM.
65531         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65532         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65533         (__bzero): Don't use BP_SYM.
65534         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65535         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65536         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
65537         <bp-sym.h> and <bp-asm.h>.
65538         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65539         pointers.
65540         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
65541         <bp-sym.h> and <bp-asm.h>.
65542         (memcpy): Don't use BP_SYM.
65543         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
65544         <bp-sym.h> and <bp-asm.h>.
65545         (memset): Don't use BP_SYM.
65546         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65547         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65548         (__bzero): Don't use BP_SYM.
65549         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65550         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65551         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
65552         <bp-sym.h> and <bp-asm.h>.
65553         (__memchr): Don't use BP_SYM.
65554         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
65555         <bp-sym.h> and <bp-asm.h>.
65556         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65557         pointers.
65558         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
65559         <bp-sym.h> and <bp-asm.h>.
65560         (memcpy): Don't use BP_SYM.
65561         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
65562         <bp-sym.h> and <bp-asm.h>.
65563         (__mempcpy): Don't use BP_SYM.
65564         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
65565         <bp-sym.h> and <bp-asm.h>.
65566         (__memrchr): Don't use BP_SYM.
65567         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
65568         <bp-sym.h> and <bp-asm.h>.
65569         (memset): Don't use BP_SYM.
65570         (__bzero): Likewise.
65571         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
65572         <bp-sym.h> and <bp-asm.h>.
65573         (__rawmemchr): Don't use BP_SYM.
65574         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
65575         <bp-sym.h> and <bp-asm.h>.
65576         (__STRCMP): Don't use BP_SYM.
65577         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
65578         <bp-sym.h> and <bp-asm.h>.
65579         (strchr): Don't use BP_SYM.
65580         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
65581         <bp-sym.h> and <bp-asm.h>.
65582         (__strchrnul): Don't use BP_SYM.
65583         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
65584         <bp-sym.h> and <bp-asm.h>.
65585         (strlen): Don't use BP_SYM.
65586         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
65587         <bp-sym.h> and <bp-asm.h>.
65588         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65589         pointers.
65590         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
65591         <bp-sym.h> and <bp-asm.h>.
65592         (__strnlen): Don't use BP_SYM.
65593         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
65594         <bp-sym.h> and <bp-asm.h>.
65595         (__GI__setjmp): Don't use BP_SYM.
65596         (_setjmp): Likewise.
65597         (__sigsetjmp): Likewise.
65598         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
65599         (L(start_addresses)): Don't use BP_SYM.
65600         (_start): Likewise.
65601         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
65602         <bp-asm.h>.
65603         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
65604         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
65605         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65606         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65607         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
65608         <bp-asm.h>.
65609         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
65610         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
65611         about bounded pointers.
65612         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65613         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65614         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
65615         <bp-asm.h>.
65616         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65617         about bounded pointers.  Remove GKM FIXME comments.
65618         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65619         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
65620         <bp-asm.h>.
65621         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
65622         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
65623         Remove GKM FIXME comments.
65624         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65625         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65626         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
65627         <bp-asm.h>.
65628         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65629         about bounded pointers.  Remove GKM FIXME comment.
65630         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
65631         and <bp-asm.h>.
65632         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65633         pointers.
65634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
65635         <bp-sym.h> and <bp-asm.h>.
65636         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
65638         <bp-sym.h> and <bp-asm.h>.
65639         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65640         comment.
65642 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65644         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
65645         call free(NULL).
65647 2013-03-05  David S. Miller  <davem@davemloft.net>
65649         * po/es.po: Update from translation team.
65651 2013-03-05  Andreas Jaeger  <aj@suse.de>
65653         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
65654         <bits/mman-linux.h>.
65655         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65656         is fine.
65657         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
65658         <bits/mman-linux.h> to end of file.
65659         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65660         is fine.
65661         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
65662         <bits/mman-linux.h> to end of file.
65663         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65664         is fine.
65665         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
65666         <bits/mman-linux.h> to end of file.
65668         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
65669         (MCL_CURRENT, MCL_FUTURE): Define here.
65671 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65673         [BZ #15232]
65674         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
65675         attribute_hidden.
65676         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65678 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65680         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
65681         fourth parameter needed for rt_sigprocmask syscall.
65682         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
65683         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65684         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
65685         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65686         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65687         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
65689 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
65691         [BZ #13550]
65692         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
65693         comment about bounded pointers.
65694         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
65695         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
65697 2013-03-04  Andreas Jaeger  <aj@suse.de>
65699         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
65700         common definitions.
65702         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
65703         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
65704         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
65705         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65706         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65707         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65709 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65711         [BZ #15055]
65712         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
65713         __ieee754_sqrl instead of __sqrl.
65715 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
65717         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
65718         * sysdeps/powerpc/fpu_control.h: ... here.
65719         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
65720         * sysdeps/powerpc/bits/fenvinline.h: ... here.
65721         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
65722         * sysdeps/powerpc/bits/mathinline.h: ... here.
65724 2013-03-01  Roland McGrath  <roland@hack.frob.com>
65726         * elf/dl-hwcaps.c (_dl_important_hwcaps):
65727         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
65728         to just [NEED_DL_SYSINFO_DSO].
65729         * elf/dl-support.c: Likewise.
65730         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
65731         * elf/rtld.c (dl_main): Likewise.
65732         * elf/setup-vdso.h (setup_vdso): Likewise.
65733         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
65734         * sysdeps/unix/sysv/linux/dl-sysdep.c
65735         (_dl_discover_osversion): Likewise.
65737 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
65739         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
65740         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65742 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
65744         * NEWS: Mention libm performance improvements and non-x86 PI
65745         futex support.
65747         * csu/libc-start.c (__pthread_initialize_minimal): Change
65748         function arguments.
65749         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65751 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
65753         [BZ #13550]
65754         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
65755         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
65756         <bp-sym.h> and <bp-asm.h>.
65757         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65758         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
65759         and <bp-asm.h>.
65760         (memcpy): Don't use BP_SYM.
65761         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
65762         <bp-asm.h>.
65763         (__mpn_add_n): Don't use BP_SYM.
65764         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
65765         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
65766         and <bp-asm.h>.
65767         (__mpn_addmul_1): Don't use BP_SYM.
65768         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65769         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
65770         <bp-sym.h>.
65771         (_setjmp): Don't use BP_SYM.
65772         (__novmx_setjmp): Likewise.
65773         (__GI__setjmp): Likewise.
65774         (__vmx_setjmp): Likewise.
65775         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
65776         <bp-sym.h>.
65777         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
65778         (__bzero): Don't use BP_SYM.
65779         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65780         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65781         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
65782         <bp-sym.h> and <bp-asm.h>.
65783         (memcpy): Don't use BP_SYM.
65784         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
65785         <bp-sym.h> and <bp-asm.h>.
65786         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65787         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
65788         <bp-sym.h> and <bp-asm.h>.
65789         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65790         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
65791         <bp-asm.h>.
65792         (__mpn_lshift): Don't use BP_SYM.
65793         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65794         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
65795         <bp-asm.h>.
65796         (memset): Don't use BP_SYM.
65797         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65798         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65799         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
65800         <bp-asm.h>.
65801         (__mpn_mul_1): Don't use BP_SYM.
65802         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65803         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
65804         <bp-sym.h> and <bp-asm.h>.
65805         (memcmp): Don't use BP_SYM.
65806         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
65807         <bp-sym.h> and <bp-asm.h>.
65808         (memcpy): Don't use BP_SYM.
65809         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
65810         <bp-sym.h> and <bp-asm.h>.
65811         (memset): Don't use BP_SYM.
65812         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
65813         <bp-sym.h> and <bp-asm.h>.
65814         (strncmp): Don't use BP_SYM.
65815         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
65816         <bp-sym.h> and <bp-asm.h>.
65817         (memcpy): Don't use BP_SYM.
65818         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
65819         <bp-sym.h> and <bp-asm.h>.
65820         (memset): Don't use BP_SYM.
65821         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
65822         <bp-sym.h> and <bp-asm.h>.
65823         (__memchr): Don't use BP_SYM.
65824         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
65825         <bp-sym.h> and <bp-asm.h>.
65826         (memcmp): Don't use BP_SYM.
65827         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
65828         <bp-sym.h> and <bp-asm.h>.
65829         (memcpy): Don't use BP_SYM.
65830         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
65831         <bp-sym.h> and <bp-asm.h>.
65832         (__mempcpy): Don't use BP_SYM.
65833         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
65834         <bp-sym.h> and <bp-asm.h>.
65835         (__memrchr): Don't use BP_SYM.
65836         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
65837         <bp-sym.h> and <bp-asm.h>.
65838         (memset): Don't use BP_SYM.
65839         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
65840         <bp-sym.h> and <bp-asm.h>.
65841         (__rawmemchr): Don't use BP_SYM.
65842         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
65843         <bp-sym.h> and <bp-asm.h>.
65844         (__STRCMP): Don't use BP_SYM.
65845         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
65846         <bp-sym.h> and <bp-asm.h>.
65847         (strchr): Don't use BP_SYM.
65848         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
65849         <bp-sym.h> and <bp-asm.h>.
65850         (__strchrnul): Don't use BP_SYM.
65851         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
65852         <bp-sym.h> and <bp-asm.h>.
65853         (strlen): Don't use BP_SYM.
65854         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
65855         <bp-sym.h> and <bp-asm.h>.
65856         (strncmp): Don't use BP_SYM.
65857         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
65858         <bp-sym.h> and <bp-asm.h>.
65859         (__strnlen): Don't use BP_SYM.
65860         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
65861         <bp-asm.h>.
65862         (__mpn_rshift): Don't use BP_SYM.
65863         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65864         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
65865         <bp-sym.h> and <bp-asm.h>.
65866         (__sigsetjmp): Don't use BP_SYM.
65867         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
65868         (L(start_addresses)): Don't use BP_SYM.
65869         (_start): Likewise.
65870         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
65871         <bp-asm.h>.
65872         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
65873         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65874         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65875         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
65876         <bp-asm.h>.
65877         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
65878         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65879         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65880         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
65881         <bp-asm.h>.
65882         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65883         comments.
65884         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65885         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
65886         <bp-asm.h>.
65887         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
65888         FIXME comments.
65889         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65890         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65891         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
65892         <bp-asm.h>.
65893         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65894         comment.
65895         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
65896         and <bp-asm.h>.
65897         (strncmp): Don't use BP_SYM,
65898         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
65899         <bp-asm.h>.
65900         (__mpn_sub_n): Don't use BP_SYM.
65901         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65902         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
65903         and <bp-asm.h>.
65904         (__mpn_submul_1): Don't use BP_SYM.
65905         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
65907         <bp-sym.h> and <bp-asm.h>.
65908         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
65910         <bp-sym.h> and <bp-asm.h>.
65911         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65912         comment.
65914 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
65917         Use ZK to minimize writes to Z.
65918         (sub_magnitudes): Simplify code a bit.
65919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
65920         Use ZK to minimize writes to Z.
65921         (sub_magnitudes): Simplify code a bit.
65923 2013-02-27  Roland McGrath  <roland@hack.frob.com>
65925         * csu/gmon-start.c: Add special exception to license text.
65927 2013-02-27  Richard Henderson  <rth@redhat.com>
65929         * scripts/config.guess: Update from config.git.
65930         * scripts/config.sub: Likewise.
65932 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65934         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
65936         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
65938         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
65940         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
65942         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
65944 2013-02-26  Roland McGrath  <roland@hack.frob.com>
65946         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
65947         [$(build-shared = yes].
65949 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65951         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
65952         (__mul): Reduce iterations for calculating mantissa.
65954         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
65955         MPTWO.
65956         (__mpranred): Likewise.
65958         [BZ #15160]
65959         * malloc/memusagestat.c (main): Draw graphs for heap and stack
65960         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
65962 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
65964         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
65965         Define __attribute__.
65967 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65969         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
65970         unused.
65971         * posix/regex_internal.h (__attribute): Remove.
65972         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
65973         (re_string_context_at): Likewise.
65974         (bitset_not): Use __attribute__ and mark function as possibly
65975         unused.
65976         (bitset_merge): Likewise.
65977         (bitset_mask): Likewise.
65978         (re_string_char_size_at): Likewise.
65979         (re_string_wchar_at): Likewise.
65980         (re_string_elem_size_at): Likewise.
65982 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65984         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
65985         code.
65986         (cc32): Likewise.
65988         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
65989         (__acr): Likewise.
65990         (__cpy): Likewise.
65991         (norm): Likewise.
65992         (denorm): Likewise.
65993         (__dbl_mp): Likewise.
65994         (add_magnitudes): Likewise.
65995         (sub_magnitudes): Likewise.
65996         (__mul): Likewise.
65997         (__inv): Likewise.
65999         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
66000         style.
66002         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66003         style.
66005         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66006         code.
66008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66009         up changes with default code.
66010         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66011         Likewise.
66013 2013-02-24  Allan McRae  <allan@archlinux.org>
66015         * manual/socket.texi (The Internet Namespace): Order menu items
66016         to match that in the file.
66018         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66019         node listing of the info page menu.
66021 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
66023         [BZ #13550]
66024         * sysdeps/i386/bp-asm.h: Remove file.
66025         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66026         (PARMS): Do not use macros from bp-asm.h.
66027         (S1): Likewise.
66028         (S2): Likewise.
66029         (SIZE): Likewise.
66030         (__mpn_add_n): Do not use BP_SYM
66031         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66032         "bp-asm.h".
66033         (PARMS): Do not use macros from bp-asm.h.
66034         (S1): Likewise.
66035         (SIZE): Likewise.
66036         (__mpn_addmul_1): Do not use BP_SYM
66037         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66038         "bp-asm.h".
66039         (PARMS): Do not use macros from bp-asm.h.
66040         (SIGMSK): Likewise.
66041         (_setjmp): Likewise.  Do not use BP_SYM.
66042         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66043         "bp-asm.h".
66044         (PARMS): Do not use macros from bp-asm.h.
66045         (SIGMSK): Likewise.
66046         (setjmp): Likewise.  Do not use BP_SYM.
66047         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66048         "bp-asm.h".
66049         (PARMS): Do not use macros from bp-asm.h.
66050         (__frexp): Do not use BP_SYM.
66051         (frexp): Likewise.
66052         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
66053         "bp-asm.h".
66054         (PARMS): Do not use macros from bp-asm.h.
66055         (__frexpf): Do not use BP_SYM.
66056         (frexpf): Likewise.
66057         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
66058         "bp-asm.h".
66059         (PARMS): Do not use macros from bp-asm.h.
66060         (__frexpl): Do not use BP_SYM.
66061         (frexpl): Likewise.
66062         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
66063         "bp-asm.h".
66064         (PARMS): Do not use macros from bp-asm.h.
66065         (__remquo): Do not use BP_SYM.
66066         (remquo): Likewise.
66067         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
66068         "bp-asm.h".
66069         (PARMS): Do not use macros from bp-asm.h.
66070         (__remquof): Do not use BP_SYM.
66071         (remquof): Likewise.
66072         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
66073         "bp-asm.h".
66074         (PARMS): Do not use macros from bp-asm.h.
66075         (__remquol): Do not use BP_SYM.
66076         (remquol): Likewise.
66077         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
66078         "bp-asm.h".
66079         (PARMS): Do not use macros from bp-asm.h.
66080         (DEST): Likewise.
66081         (SRC): Likewise.
66082         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
66083         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
66084         "bp-asm.h".
66085         (PARMS): Do not use macros from bp-asm.h.
66086         (strlen): Do not use BP_SYM.
66087         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
66088         "bp-asm.h".
66089         (PARMS): Do not use macros from bp-asm.h.
66090         (S1): Likewise.
66091         (S2): Likewise.
66092         (SIZE): Likewise.
66093         (__mpn_add_n): Do not use BP_SYM.
66094         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
66095         "bp-asm.h".
66096         (PARMS): Do not use macros from bp-asm.h.
66097         (S1): Likewise.
66098         (SIZE): Likewise.
66099         (__mpn_addmul_1): Do not use BP_SYM.
66100         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
66101         weak_alias.
66102         (bzero): Likewise.
66103         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
66104         "bp-asm.h".
66105         (PARMS): Do not use macros from bp-asm.h.
66106         (S): Likewise.
66107         (SIZE): Likewise.
66108         (__mpn_lshift): Do not use BP_SYM.
66109         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
66110         "bp-asm.h".
66111         (PARMS): Do not use macros from bp-asm.h.
66112         (DEST): Likewise.
66113         (SRC): Likewise.
66114         (LEN): Likewise.
66115         (memcpy): Likewise.  Do not use BP_SYM.
66116         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
66117         libc_hidden_def and weak_alias.
66118         (mempcpy): Do not use BP_SYM in weak_alias.
66119         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
66120         "bp-asm.h".
66121         (PARMS): Do not use macros from bp-asm.h.
66122         (DEST): Likewise.
66123         (LEN): Likewise.
66124         [!BZERO_P] (CHR): Likewise.
66125         (memset): Likewise.  Do not use BP_SYM.
66126         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
66127         "bp-asm.h".
66128         (PARMS): Do not use macros from bp-asm.h.
66129         (S1): Likewise.
66130         (SIZE): Likewise.
66131         (__mpn_mul_1): Do not use BP_SYM.
66132         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
66133         "bp-asm.h".
66134         (PARMS): Do not use macros from bp-asm.h.
66135         (S): Likewise.
66136         (SIZE): Likewise.
66137         (__mpn_rshift): Do not use BP_SYM.
66138         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
66139         "bp-asm.h".
66140         (PARMS): Do not use macros from bp-asm.h.
66141         (STR): Likewise.
66142         (CHR): Likewise.
66143         (strchr): Likewise.  Do not use BP_SYM.
66144         (index): Do not use BP_SYM in weak_alias.
66145         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
66146         "bp-asm.h".
66147         (PARMS): Do not use macros from bp-asm.h.
66148         (DEST): Likewise.
66149         (SRC): Likewise.
66150         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
66151         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
66152         "bp-asm.h".
66153         (PARMS): Do not use macros from bp-asm.h.
66154         (strlen): Do not use BP_SYM.
66155         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
66156         "bp-asm.h".
66157         (PARMS): Do not use macros from bp-asm.h.
66158         (S1): Likewise.
66159         (S2): Likewise.
66160         (SIZE): Likewise.
66161         (__mpn_sub_n): Do not use BP_SYM.
66162         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
66163         "bp-asm.h".
66164         (PARMS): Do not use macros from bp-asm.h.
66165         (S1): Likewise.
66166         (SIZE): Likewise.
66167         (__mpn_submul_1): Do not use BP_SYM.
66168         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
66169         "bp-asm.h".
66170         (PARMS): Do not use macros from bp-asm.h.
66171         (S1): Likewise.
66172         (S2): Likewise.
66173         (SIZE): Likewise.
66174         (__mpn_add_n): Do not use BP_SYM.
66175         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
66176         weak_alias.
66177         (bzero): Likewise.
66178         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
66179         "bp-asm.h".
66180         (PARMS): Do not use macros from bp-asm.h.
66181         (BLK2): Likewise.
66182         (LEN): Likewise.
66183         (memcmp): Do not use BP_SYM.
66184         (bcmp): Do not use BP_SYM in weak_alias.
66185         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
66186         "bp-asm.h".
66187         (PARMS): Do not use macros from bp-asm.h.
66188         (DEST): Likewise.
66189         (SRC): Likewise.
66190         (LEN): Likewise.
66191         (memcpy): Likewise.  Do not use BP_SYM.
66192         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
66193         "bp-asm.h".
66194         (PARMS): Do not use macros from bp-asm.h.
66195         (DEST): Likewise.
66196         (SRC): Likewise.
66197         (LEN): Likewise.
66198         (memmove): Likewise.  Do not use BP_SYM.
66199         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
66200         "bp-asm.h".
66201         (PARMS): Do not use macros from bp-asm.h.
66202         (DEST): Likewise.
66203         (SRC): Likewise.
66204         (LEN): Likewise.
66205         (__mempcpy): Likewise.  Do not use BP_SYM.
66206         (mempcpy): Do not use BP_SYM in weak_alias.
66207         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
66208         "bp-asm.h".
66209         (PARMS): Do not use macros from bp-asm.h.
66210         (DEST): Likewise.
66211         (LEN): Likewise.
66212         [!BZERO_P] (CHR): Likewise.
66213         (memset): Likewise.  Do not use BP_SYM.
66214         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
66215         "bp-asm.h".
66216         (PARMS): Do not use macros from bp-asm.h.
66217         (STR2): Likewise.
66218         (strcmp): Do not use BP_SYM.
66219         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
66220         "bp-asm.h".
66221         (PARMS): Do not use macros from bp-asm.h.
66222         (STR): Likewise.
66223         (DELIM): Likewise.
66224         [USE_AS_STRTOK_R] (SAVE): Likewise.
66225         (FUNCTION): Likewise.  Do not use BP_SYM.
66226         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
66227         aliases.
66228         (strtok_r): Likewise.
66229         (__GI___strtok_r): Likewise.
66230         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66231         (PARMS): Do not use macros from bp-asm.h.
66232         (S): Likewise.
66233         (SIZE): Likewise.
66234         (__mpn_lshift): Do not use BP_SYM.
66235         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66236         (PARMS): Do not use macros from bp-asm.h.
66237         (STR): Likewise.
66238         (CHR): Likewise.
66239         (__memchr): Do not use BP_SYM.
66240         (memchr): Do not use BP_SYM in weak_alias.
66241         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66242         (PARMS): Do not use macros from bp-asm.h.
66243         (BLK2): Likewise.
66244         (LEN): Likewise.
66245         (memcmp): Do not use BP_SYM.
66246         (bcmp): Do not use BP_SYM in weak_alias.
66247         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
66248         (PARMS): Do not use macros from bp-asm.h.
66249         (S1): Likewise.
66250         (SIZE): Likewise.
66251         (__mpn_mul_1): Do not use BP_SYM.
66252         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
66253         "bp-asm.h".
66254         (PARMS): Do not use macros from bp-asm.h.
66255         (STR): Likewise.
66256         (CHR): Likewise.
66257         (__rawmemchr): Do not use BP_SYM.
66258         (rawmemchr): Do not use BP_SYM in weak_alias.
66259         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66260         (PARMS): Do not use macros from bp-asm.h.
66261         (S): Likewise.
66262         (SIZE): Likewise.
66263         (__mpn_rshift): Do not use BP_SYM.
66264         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66265         (PARMS): Do not use macros from bp-asm.h.
66266         (SIGMSK): Likewise.
66267         (__sigsetjmp): Likewise.  Do not use BP_SYM.
66268         * sysdeps/i386/start.S: Do not include "bp-sym.h".
66269         (_start): Do not use BP_SYM.
66270         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
66271         (PARMS): Do not use macros from bp-asm.h.
66272         (DEST): Likewise.
66273         (SRC): Likewise.
66274         (__stpcpy): Likewise.  Do not use BP_SYM.
66275         (stpcpy): Do not use BP_SYM in weak_alias.
66276         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
66277         "bp-asm.h".
66278         (PARMS): Do not use macros from bp-asm.h.
66279         (DEST): Likewise.
66280         (SRC): Likewise.
66281         (LEN): Likewise.
66282         (__stpncpy): Likewise.  Do not use BP_SYM.
66283         (stpncpy): Do not use BP_SYM in weak_alias.
66284         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66285         (PARMS): Do not use macros from bp-asm.h.
66286         (STR): Likewise.
66287         (CHR): Likewise.
66288         (strchr): Likewise.  Do not use BP_SYM.
66289         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
66290         "bp-asm.h".
66291         (PARMS): Do not use macros from bp-asm.h.
66292         (STR): Likewise.
66293         (CHR): Likewise.
66294         (__strchrnul): Likewise.  Do not use BP_SYM.
66295         (strchrnul): Do not use BP_SYM in weak_alias.
66296         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
66297         "bp-asm.h".
66298         (PARMS): Do not use macros from bp-asm.h.
66299         (STOP): Likewise.
66300         (strcspn): Do not use BP_SYM.
66301         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
66302         "bp-asm.h".
66303         (PARMS): Do not use macros from bp-asm.h.
66304         (STR): Likewise.
66305         (STOP): Likewise.
66306         (strpbrk): Likewise.  Do not use BP_SYM.
66307         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
66308         "bp-asm.h".
66309         (PARMS): Do not use macros from bp-asm.h.
66310         (STR): Likewise.
66311         (CHR): Likewise.
66312         (strrchr): Likewise.  Do not use BP_SYM.
66313         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
66314         (PARMS): Do not use macros from bp-asm.h.
66315         (SKIP): Likewise.
66316         (strspn): Do not use BP_SYM.
66317         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
66318         (PARMS): Do not use macros from bp-asm.h.
66319         (STR): Likewise.
66320         (DELIM): Likewise.
66321         (SAVE): Likewise.
66322         (FUNCTION): Likewise.  Do not use BP_SYM.
66323         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
66324         aliases.
66325         (strtok_r): Likewise.
66326         (__GI___strtok_r): Likewise.
66327         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66328         (PARMS): Do not use macros from bp-asm.h.
66329         (S1): Likewise.
66330         (S2): Likewise.
66331         (SIZE): Likewise.
66332         (__mpn_sub_n): Do not use BP_SYM.
66333         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
66334         "bp-asm.h".
66335         (PARMS): Do not use macros from bp-asm.h.
66336         (S1): Likewise.
66337         (SIZE): Likewise.
66338         (__mpn_submul_1): Do not use BP_SYM.
66339         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
66340         <bp-sym.h>.
66341         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
66342         and <bp-asm.h>.
66343         (PARMS): Do not use macros from bp-asm.h.
66344         (FLAGS): Likewise.
66345         (PTID): Likewise.
66346         (TLS): Likewise.
66347         (CTID): Likewise.
66348         (__clone): Do not use BP_SYM.
66349         (clone): Do not use BP_SYM in weak_alias.
66350         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
66351         and <bp-asm.h>.
66352         (PARMS): Do not use macros from bp-asm.h.
66353         (LEN): Likewise.
66354         (__mmap64): Do not use BP_SYM.
66355         (mmap64): Do not use BP_SYM in weak_alias.
66356         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66357         <bp-sym.h> and <bp-asm.h>.
66358         (PARMS): Do not use macros from bp-asm.h.
66359         (__posix_fadvise64_l64): Do not use BP_SYM.
66360         * sysdeps/unix/sysv/linux/i386/semtimedop.S
66361         (PARMS): Do not use macros from bp-asm.h.
66362         (NSOPS): Likewise.
66363         (semtimedop): Do not use BP_SYM.
66364         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
66365         and <bp-asm.h>.
66367 2013-02-21  Allan McRae  <allan@archlinux.org>
66369         * manual/message.texi (Charset conversion in gettext):
66370         Move @end statement to beginning of line.
66372 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
66375         static.
66376         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66377         Likewise.
66379         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
66380         (denorm): Likewise.
66381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
66382         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
66384 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66386         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
66387         tail-call to the resolved function if pltexit isn't needed.
66389 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66391         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
66392         or Y being zero as being unlikely.
66393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66394         Likewise.
66396 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
66398         * manual/nss.texi (System Databases and Name Service Switch):
66399         Remove frobnicate @pxref.
66401 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66403         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66404         __attribute__ ((unused)) to __attribute__ ((__unused__)).
66406 2013-02-20  Petr Machata  <pmachata@redhat.com>
66408         * elf/elf.h (R_ARM_TARGET1): New macro.
66409         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
66410         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
66411         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
66412         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
66413         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
66414         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
66415         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
66416         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
66417         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
66418         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
66419         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
66420         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
66421         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
66422         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
66423         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
66424         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
66425         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
66426         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
66427         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
66428         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
66429         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
66430         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
66431         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
66432         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
66433         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
66434         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
66435         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
66436         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
66437         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
66438         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
66439         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
66440         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
66441         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
66442         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
66443         (R_ARM_THM_GOT_BREL12): Likewise.
66444         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
66445         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
66446         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
66447         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
66448         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
66449         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
66450         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
66451         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
66452         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
66454 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66456         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66457         __attribute_used__ to __attribute__ ((unused)).
66459 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
66461         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
66462         powerpc mpa.c.
66463         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
66464         comment formatting.
66465         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
66467 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
66469         [BZ #13550]
66470         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
66471         Remove macro.
66472         (ENTER): Remove both macro definitions.
66473         (LEAVE): Likewise.
66474         (CHECK_BOUNDS_LOW): Likewise.
66475         (CHECK_BOUNDS_HIGH): Likewise.
66476         (CHECK_BOUNDS_BOTH): Likewise.
66477         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
66478         (RETURN_BOUNDED_POINTER): Likewise.
66479         (RETURN_NULL_BOUNDED_POINTER): Likewise.
66480         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
66481         (POP_ERRNO_LOCATION_RETURN): Likewise.
66482         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
66483         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66484         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
66485         macros.
66486         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66487         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
66488         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
66489         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
66490         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
66491         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
66492         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
66493         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
66494         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
66495         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
66496         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
66497         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
66498         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66499         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
66500         removed macros.
66501         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66502         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
66503         macros.
66504         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66505         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
66506         * sysdeps/i386/i586/memset.S (memset): Likewise.
66507         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
66508         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66509         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
66510         macros.
66511         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66512         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
66513         Change uses of L(2) to L(out).
66514         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
66515         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
66516         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
66517         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66518         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
66519         removed macros.
66520         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66521         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
66522         macros.
66523         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66524         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
66525         (RETURN): Do not use macro LEAVE.
66526         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
66527         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
66528         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
66529         * sysdeps/i386/i686/memset.S (memset): Likewise.
66530         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
66531         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
66532         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66533         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
66534         Likewise.
66535         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66536         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
66537         L(1_2) and L(1_3) into L(1).
66538         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66539         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
66540         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66541         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
66542         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66543         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
66544         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
66545         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66546         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
66547         macros.
66548         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
66549         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66550         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
66551         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
66552         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
66553         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66554         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
66555         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
66556         * sysdeps/i386/strcspn.S (strcspn): Likewise.
66557         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
66558         * sysdeps/i386/strrchr.S (strrchr): Likewise.
66559         * sysdeps/i386/strspn.S (strspn): Likewise.
66560         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
66561         conditional code.
66562         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66563         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
66564         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66565         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
66566         L(1_3) into L(1_1).
66567         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
66568         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66569         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
66570         macros.
66571         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66573 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
66575         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
66576         macro.
66578 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66580         * math/atest-exp.c (exp_mpn): Remove ROUND.
66581         * math/atest-exp2.c (exp_mpn): Likewise.
66582         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
66584         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
66585         * stdlib/tst-tls-atexit-lib.c: Likewise.
66586         * stdlib/tst-tls-atexit.c: Likewise.
66588 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66590         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
66591         and __attribute_alloc_size__.
66593 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66595         * include/programs/xmalloc.h: Change __attribute_alloc_size to
66596         __attribute_alloc_size__.
66597         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
66598         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
66600 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66602         * include/programs/xmalloc.h: New file.
66603         * catgets/gencat.c: Include it.
66604         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
66605         * elf/pldd.c: Likewise.
66606         * iconv/iconv_charmap.c: Likewise.
66607         * iconv/iconvconfig.c: Likewise.
66608         * iconv/strtab.c: Likewise.
66609         * locale/programs/locale.c: Likewise.
66610         * locale/programs/localedef.h: Likewise.
66611         * locale/programs/simple-hash.c: Likewise.
66612         * nscd/nscd.h: Likewise.
66613         * nss/makedb.c: Likewise.
66614         * sysdeps/generic/ldconfig.h: Likewise.
66616 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66618         * Versions.def: Add GLIBC_2.18.
66619         * include/link.h (struct link_map): New member l_tls_dtor_count.
66620         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
66621         (__call_tls_dtors): Likewise.
66622         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
66623         __cxa_thread_atexit_impl.
66624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66625         Likewise.
66626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66627         Likewise.
66628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
66629         Likewise.
66630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
66631         Likewise.
66632         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
66634         Likewise.
66635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
66636         Likewise.
66637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66639         Likewise.
66640         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
66641         (tests): Add test case tst-tls-atexit.
66642         (modules-names): Add shared library for tst-tls-atexit.
66643         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
66644         (GLIBC_PRIVATE): Add __call_tls_dtors.
66645         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
66646         for libstdc++.
66647         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
66648         * stdlib/tst-tls-atexit.c: New test case.
66649         * stdlib/tst-tls-atexit-lib.c: New test case.
66651         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
66653         * elf/Versions (ld): Add _dl_find_dso_for_object.
66654         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
66655         * elf/dl-open.c (_dl_find_dso_for_object): New function.
66656         (dl_open_worker): Use _dl_find_dso_for_object.
66657         * elf/dl-sym.c (do_sym): Likewise.
66658         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
66660 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66662         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
66663         Syntactic changes only.
66664         (_dl_runtime_profile): Do a tail-call to the resolved function.
66666 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
66668         [BZ #13550]
66669         * sysdeps/x86_64/bp-asm.h: Remove file.
66670         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
66671         <bp-sym.h> and <bp-asm.h>.
66672         (__clone): Do not use BP_SYM.
66673         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
66674         <bp-sym.h> and <bp-asm.h>.
66675         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66676         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
66677         "bp-asm.h".
66678         (_setjmp): Do not use BP_SYM.
66679         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
66680         "bp-asm.h".
66681         (setjmp): Do not use BP_SYM.
66682         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
66683         libc_hidden_def.
66684         (mempcpy): Do not use BP_SYM in weak_alias.
66685         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
66686         "bp-asm.h".
66687         (strchr): Do not use BP_SYM.
66688         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
66689         "bp-asm.h".
66690         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
66691         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
66692         (_start): Do not use BP_SYM.
66693         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
66694         "bp-asm.h".
66695         (strcat): Do not use BP_SYM.
66696         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
66697         "bp-asm.h".
66698         (STRCMP): Do not use BP_SYM.
66699         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
66700         "bp-asm.h".
66701         (STRCPY): Do not use BP_SYM.
66702         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
66703         "bp-asm.h".
66704         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
66705         "bp-asm.h".
66706         (FUNCTION): Do not use BP_SYM.
66707         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
66708         weak_alias.
66709         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
66711 2013-02-17  Andreas Jaeger  <aj@suse.de>
66713         * time/Versions: Sort entries.
66714         * string/Versions: Likewise.
66715         * resolv/Versions: Likewise.
66716         * posix/Versions: Likewise.
66717         * iconv/Versions: Likewise.
66718         * elf/Versions: Likewise.
66719         * wcsmbs/Versions: Likewise.
66721 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66723         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
66724         loop termination condition.
66726         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
66727         variable to calculate EZ.
66728         (__sqr): Likewise.
66730         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
66731         the lower precision input.
66733 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
66735         [BZ #13550]
66736         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
66737         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
66738         (run-via-rtld-prefix): Do not handle %-bp tests.
66739         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
66740         (all-object-suffixes): Remove .ob.
66741         (bppfx): Remove variable.
66742         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
66743         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
66744         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
66745         [$(build-bounded) = yes] (libtype.ob): Likewise.
66746         * Makerules (elide-routines.ob): Remove variable.
66747         (do-tests-clean): Do not handle *-bp.out.
66748         (common-mostlyclean): Do not handle *-bp and *-bp.out.
66749         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
66750         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
66751         (tests): Do not include $(tests-bp.out).
66752         (xtests): Do not include $(xtests-bp.out).
66753         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
66754         [$(build-bounded) = yes] ($(addprefix
66755         $(objpfx),$(binaries-bounded))): Remove rule.
66756         ($(objpfx)%-bp.out): Remove rule.
66757         * config.make.in (build-bounded): Remove variable.
66758         * crypt/Makefile [$(build-bounded) = yes]
66759         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
66760         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
66761         append to variable.
66762         [$(build-bounded) = yes] (install-lib): Likewise.
66763         [$(build-bounded) = yes] (generated): Likewise.
66764         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
66765         Remove rule.
66766         * intl/Makefile [$(build-bounded) = yes]
66767         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
66768         * math/Makefile [$(build-bounded) = yes]
66769         ($(tests:%=$(objpfx)%-bp): Likewise.
66770         * misc/Makefile [$(build-bounded) = yes]
66771         ($(objpfx)tst-tsearch-bp): Likewise.
66772         * nptl/Makeconfig (bounded-thread-library): Remove variable.
66773         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
66774         Remove dependency.
66775         * string/Makefile (o-objects.ob): Remove variable.
66776         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
66777         (CFLAGS-.ob): Remove variable.
66778         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
66779         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
66780         both definitions of variable.
66781         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
66782         (ASFLAGS-.ob): Remove variable.
66784 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
66786         [BZ #13550]
66787         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
66788         Remove __BOUNDED_POINTERS__ from condition.
66789         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
66790         * string/bits/string2.h [!__NO_STRING_INLINES &&
66791         !__BOUNDED_POINTERS__]: Likewise.
66792         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
66793         Likewise.
66794         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
66795         Remove conditional code.
66796         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
66797         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
66798         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
66799         condition.
66801         [BZ #13550]
66802         * csu/libc-start.c: Do not include <bp-sym.h>.
66803         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
66804         * elf/dl-open.c: Do not include <bp-sym.h>.
66805         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
66806         * math/fegetenv.c: Do not include <bp-sym.h>.
66807         (fegetenv): Do not use BP_SYM in versioned symbols.
66808         * nptl/sysdeps/pthread/bits/libc-lockP.h
66809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
66810         <bp-sym.h>.
66811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66812         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
66813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66814         (__pthread_mutex_destroy): Likewise.
66815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66816         (__pthread_mutex_lock): Likewise.
66817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66818         (__pthread_mutex_trylock): Likewise.
66819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66820         (__pthread_mutex_unlock): Likewise.
66821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66822         (__pthread_mutexattr_init): Likewise.
66823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66824         (__pthread_mutexattr_destroy): Likewise.
66825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66826         (__pthread_mutexattr_settype): Likewise.
66827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66828         (__pthread_rwlock_init): Likewise.
66829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66830         (__pthread_rwlock_destroy): Likewise.
66831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66832         (__pthread_rwlock_rdlock): Likewise.
66833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66834         (__pthread_rwlock_tryrdlock): Likewise.
66835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66836         (__pthread_rwlock_wrlock): Likewise.
66837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66838         (__pthread_rwlock_trywrlock): Likewise.
66839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66840         (__pthread_rwlock_unlock): Likewise.
66841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66842         (__pthread_key_create): Likewise.
66843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66844         (__pthread_setspecific): Likewise.
66845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66846         (__pthread_getspecific): Likewise.
66847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
66848         Likewise.
66849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66850         (_pthread_cleanup_push_defer): Likewise.
66851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66852         (_pthread_cleanup_pop_restore): Likewise.
66853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66854         (pthread_setcancelstate): Likewise.
66855         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
66856         <bp-sym.h>.
66857         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
66858         (memchr): Do not use BP_SYM in weak_alias.
66859         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
66860         (fegetenv): Do not use BP_SYM in versioned symbols.
66861         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
66862         (fesetenv): Do not use BP_SYM in versioned symbols.
66863         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66864         (feupdateenv): Do not use BP_SYM in versioned symbols.
66865         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66866         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66867         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
66868         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
66869         (open64): Do not use BP_SYM in weak_alias.
66870         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
66871         (fegetenv): Do not use BP_SYM in versioned symbols.
66872         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
66873         (fesetenv): Do not use BP_SYM in versioned symbols.
66874         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66875         (feupdateenv): Do not use BP_SYM in versioned symbols.
66876         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
66877         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
66878         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
66879         (feraiseexcept): Do not use BP_SYM in versioned symbols.
66880         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66881         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66882         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
66883         <bp-sym.h>.
66884         (__libc_start_main): Do not use BP_SYM.
66886 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
66889         redundant return line.
66890         (norm): Likewise.
66891         (denorm): Likewise.
66892         (dbl_mp): Likewise.
66893         (sub_magnitudes): Likewise.
66894         (__add): Likewise.
66895         (__sub): Likewise.
66896         (__mul): Likewise.
66897         (__inv): Likewise.
66898         (__dvd): Likewise.
66899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
66900         (norm): Likewise.
66901         (denorm): Likewise.
66902         (dbl_mp): Likewise.
66903         (sub_magnitudes): Likewise.
66904         (__add): Likewise.
66905         (__sub): Likewise.
66906         (__mul): Likewise.
66907         (__inv): Likewise.
66908         (__dvd): Likewise.
66910         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
66911         instead of __mul.
66912         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66913         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
66914         (cc32): Likewise.
66916         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
66917         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
66918         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
66919         of __mul for squares.
66920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
66921         function
66922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
66923         Likewise.
66924         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
66925         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66927 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
66929         [BZ #13550]
66930         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
66931         code.
66932         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
66933         prototype or function definition.  Rename ubp_* variables and
66934         parameters.  Remove argv definitions conditional on
66935         [__BOUNDED_POINTERS__].
66936         * debug/backtrace.c (__backtrace): Do not use __unbounded.
66937         * elf/dl-runtime.c (_dl_fixup): Likewise.
66938         * include/set-hooks.h (RUN_HOOK): Likewise.
66939         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
66940         definition.
66941         * string/strcpy.c (strcpy): Do not use __unbounded.
66942         * sysdeps/generic/frame.h (struct layout): Likewise.
66943         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
66944         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
66945         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
66946         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
66947         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
66948         (__backtrace): Likewise.
66949         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
66950         use __ptrvalue.
66951         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
66952         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
66953         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
66954         Likewise.
66955         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
66956         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
66957         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
66958         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66959         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
66960         Do not use __unbounded.
66961         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
66962         Rename __unboundedrlimits parameter to rlimits in prototype.
66963         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
66964         Do not use __unbounded.
66965         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
66966         not use __ptrvalue.
66967         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66968         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
66969         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66970         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
66971         __ptrvalue or __unbounded.
66972         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
66973         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
66974         use __unbounded.
66975         (__new_msgctl): Do not use __ptrvalue.
66976         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
66977         __unbounded.
66978         (__libc_msgrcv): Do not use __ptrvalue.
66979         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
66980         startup_info): Do not use __unbounded.
66981         (__libc_start_main): Likewise.  Rename ubp_* variables and
66982         parameters.  Remove argv definitions conditional on
66983         [__BOUNDED_POINTERS__].
66984         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
66985         __ptrvalue.
66986         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
66987         use __unbounded.
66988         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
66989         or __ptrvalue.
66990         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
66991         use __unbounded.
66992         (__new_shmctl): Do not use __ptrvalue.
66993         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
66994         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
66995         Likewise.
66996         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
66997         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
66998         (__libc_sigaction): Likewise.
66999         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
67000         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
67001         Likewise.
67002         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67004 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
67006         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
67008         * string/mempcpy.c: Implement by calling memcpy.
67010 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67012         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67014         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67015         evaluation.
67017         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67018         values in the mantissa.
67020         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67021         minimize writes to Z.
67022         (sub_magnitudes): Simplify code a bit.
67024 2013-02-12  Roland McGrath  <roland@hack.frob.com>
67026         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67027         from the message.  The linker prefixes all warnings with that already.
67029 2013-02-12  Andreas Schwab  <schwab@suse.de>
67031         [BZ #15078]
67032         * posix/regexec.c (extend_buffers): Add parameter min_len.
67033         (check_matching): Pass minimum needed length.
67034         (clean_state_log_if_needed): Likewise.
67035         (get_subexp): Likewise.
67036         * posix/Makefile (tests): Add bug-regex34.
67037         (bug-regex34-ENV): Define.
67038         * posix/bug-regex34.c: New file.
67040         [BZ #11561]
67041         * posix/regcomp.c (parse_bracket_exp): When looking up collating
67042         elements compare against the byte sequence of it, not its name.
67043         * posix/Makefile (tests): Add bug-regex35.
67044         (bug-regex35-ENV): Define.
67045         * posix/bug-regex35.c: New file.
67047 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67049         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
67050         comment.
67051         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
67052         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
67053         (CHECK_EOL): Add undef.
67055 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
67057         * bits/stdlib-bsearch.h: New file.
67058         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
67059         * stdlib/stdlib.h: Likewise.
67061 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67063         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
67064         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
67065         declaration.
67066         * manual/search.texi (Array Search Function): Add missing const in
67067         lfind prototype.
67068         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
67069         declaration to use rlim_t.
67070         (Basic Scheduling Functions): Remove erroneous const from
67071         sched_getparam prototype.  Remove erroneous * from
67072         sched_get_priority_max and sched_get_priority_min prototypes.
67073         (Resource Usage): Fix summary @comment on vtimes to refer to
67074         sys/vtimes.h rather than vtimes.h.
67075         Add missing *s in vtimes prototype.
67076         (Limits on Resources): Fix ulimit prototype to return long int.
67077         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
67078         prototypes to use long int rather than double.
67079         (BSD Random): Fix initstate and setstate to use char *, not void *.
67080         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
67081         prototype to make second argument 'struct aiocb64 *const[]'.
67082         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
67083         (Status of AIO Operations): Remove erroneous const in aio_return and
67084         aio_return64 prototypes.
67085         (Synchronizing I/O): Fix sync prototype to return void.
67086         * manual/startup.texi (Suboptions): Remove an erroneous const in
67087         getsubopt prototype.
67088         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
67089         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
67090         use size_t rather than int.
67091         (Scanning All Users): Likewise for getpwent_r.
67092         (Setting Groups): Add missing const to setgroups prototype.
67093         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
67094         * manual/socket.texi (Host Names): Fix gethostbyaddr and
67095         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
67096         'const void *' rather than 'const char *'.
67097         (Host Address Functions): Likewise for inet_ntop.
67098         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
67099         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
67100         ssize_t for return value.
67101         (Sending Data): Likewise for send, sendto, sendmsg.
67102         (Socket Option Functions): Add a missing const in setsockopt prototype.
67103         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
67104         use wchar_t for the argument.
67105         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
67106         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
67107         take no arguments.
67108         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
67109         double/float/long double for second argument.
67110         Fix return types of significand, significandf, significandl.
67111         * manual/filesys.texi (Setting Permissions): Use mode_t for second
67112         argument in fchmod prototype.
67113         (File Owner): Use uid_t and gid_t in fchown prototype.
67114         (File Times): Add const to utimes, futimes, and lutimes prototypes.
67115         (Making Special Files): Use mode_t and dev_t in mknod prototype.
67116         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
67117         use 'const struct dirent **' as argument types to CMP function pointer
67118         argument.
67119         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
67120         (File Times): Fix summary magic @comment for struct utimbuf and utime
67121         to refer to utime.h, not time.h.
67122         * manual/string.texi (Argz Functions): Add missing const in
67123         argz_extract and argz_next prototypes.
67124         (Finding Tokens in a String): Likewise for basename.
67125         (String/Array Comparison): Fix typo in wcscasecmp prototype.
67126         (Copying and Concatenation): Fix typo in wmemmove prototype.
67127         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
67128         (Signal Stack): Remove erroneous const in sigstack prototype.
67129         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
67130         prototype.
67131         (Simple Calendar Time): Likewise for stime.
67132         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
67133         prototype.
67134         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
67135         say sys/sysctl.h instead.
67136         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
67137         and vsyslog prototypes.
67139 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67141         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
67142         Remove.
67144 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67146         * misc/sys/mman.h: Fix typo in mremap comment.
67148 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67150         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
67151         the '\0' terminator.
67153 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67155         [BZ #13550]
67156         * debug/segfault.c: Don't include <bp-checks.h>.
67157         * sysdeps/generic/bp-checks.h: Remove file.
67158         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
67159         (__GETDENTS): Don't use CHECK_N.
67160         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
67161         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
67162         (__getgroups): Don't use CHECK_N.
67163         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
67164         (setgroups): Don't use CHECK_N.
67165         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
67166         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
67167         (__libc_msgrcv): Don't use CHECK_N.
67168         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
67169         (__libc_msgsnd): Don't use CHECK_N.
67170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
67171         <bp-checks.h>.
67172         (__libc_pread): Don't use CHECK_N.
67173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
67174         include <bp-checks.h>.
67175         (__libc_pread64): Don't use CHECK_N.
67176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
67177         include <bp-checks.h>.
67178         (__libc_pwrite): Don't use CHECK_N.
67179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
67180         include <bp-checks.h>.
67181         (__libc_pwrite64): Don't use CHECK_N.
67182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
67183         <bp-checks.h>.
67184         (__libc_pread): Don't use CHECK_N.
67185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
67186         include <bp-checks.h>.
67187         (__libc_pread64): Don't use CHECK_N.
67188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
67189         include <bp-checks.h>.
67190         (__libc_pwrite): Don't use CHECK_N.
67191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
67192         include <bp-checks.h>.
67193         (__libc_pwrite64): Don't use CHECK_N.
67194         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
67195         (do_pread): Don't use CHECK_N.
67196         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
67197         (do_pread64): Don't use CHECK_N.
67198         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
67199         (do_pwrite): Don't use CHECK_N.
67200         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
67201         (do_pwrite64): Don't use CHECK_N.
67202         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
67203         (__libc_readv): Don't use CHECK_N.
67204         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
67205         (semop): Don't use CHECK_N.
67206         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
67207         <bp-checks.h>.
67208         (semtimedop): Don't use CHECK_N.
67209         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67210         (__libc_pread): Don't use CHECK_N.
67211         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
67212         <bp-checks.h>.
67213         (__libc_pread64): Don't use CHECK_N.
67214         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
67215         <bp-checks.h>.
67216         (__libc_pwrite): Don't use CHECK_N.
67217         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
67218         <bp-checks.h>.
67219         (__libc_pwrite64): Don't use CHECK_N.
67220         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
67221         <bp-checks.h>.
67222         (__libc_msgrcv): Don't use CHECK_N.
67223         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
67224         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
67225         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
67226         (__libc_writev): Don't use CHECK_N.
67228 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67230         * string/strcpy.c: Removed unused variable.
67232         * Makeconfig (+sysdep-includes): Define with := rather than =.
67233         Use an existing include/ subdir of each sysdeps dir before it.
67235 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67237         * nscd/connection.c (register_traced_file): Comment function.
67238         [HAVE_INOTIFY] (union __inev): Define.
67239         [HAVE_INOTIFY] (inotify_check_files): New function.
67240         [HAVE_INOTIFY] (clear_db_cache): Likewise.
67241         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
67242         clear_db_cache.
67243         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
67245 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67247         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
67248         loaded if not already and that a failure is permanent.
67250 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67252         [BZ #15006]
67253         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
67254         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
67256 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67258         [BZ #13550]
67259         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
67260         (CHECK_1_NULL_OK): Likewise.
67261         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
67262         (__fxstat): Do not use CHECK_1.
67263         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
67264         <bp-checks.h>.
67265         (___fxstat64): Do not use CHECK_1.
67266         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
67267         <bp-checks.h>.
67268         (__fxstatat): Do not use CHECK_1.
67269         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
67270         <bp-checks.h>.
67271         (__fxstatat64): Do not use CHECK_1.
67272         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
67273         <bp-checks.h>.
67274         (__fxstat): Do not use CHECK_1.
67275         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
67276         <bp-checks.h>.
67277         (__fxstatat): Do not use CHECK_1.
67278         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67279         <bp-checks.h>.
67280         (__getresgid): Do not use CHECK_1.
67281         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67282         <bp-checks.h>.
67283         (__getresuid): Do not use CHECK_1.
67284         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
67285         <bp-checks.h>.
67286         (__lxstat): Do not use CHECK_1.
67287         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67288         <bp-checks.h>.
67289         (__old_msgctl): Do not use CHECK_1.
67290         (__new_msgctl): Likewise.
67291         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
67292         <bp-checks.h>.
67293         (__new_setrlimit): Do not use CHECK_1.
67294         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67295         <bp-checks.h>.
67296         (__old_shmctl): Do not use CHECK_1.
67297         (__new_shmctl): Likewise.
67298         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
67299         <bp-checks.h>.
67300         (__xstat): Do not use CHECK_1.
67301         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
67302         (__lxstat): Do not use CHECK_1.
67303         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
67304         <bp-checks.h>.
67305         (___lxstat64): Do not use CHECK_1.
67306         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
67307         (__old_msgctl): Do not use CHECK_1.
67308         (__new_msgctl): Likewise.
67309         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
67310         <bp-checks.h>.
67311         (__gettimeofday): Do not use CHECK_1.
67312         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
67313         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
67314         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
67315         <bp-checks.h>.
67316         (__gettimeofday): Do not use CHECK_1.
67317         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
67318         (__old_shmctl): Do not use CHECK_1_NULL_OK.
67319         (__new_shmctl): Do not use CHECK_1.
67320         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
67321         <bp-checks.h>.
67322         (do_sigtimedwait): Do not use CHECK_1.
67323         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
67324         <bp-checks.h>.
67325         (do_sigwaitinfo): Do not use CHECK_1.
67326         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
67327         <bp-checks.h>.
67328         (msgctl): Do not use CHECK_1.
67329         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
67330         <bp-checks.h>.
67331         (shmctl): Do not use CHECK_1.
67332         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
67333         (ustat): Do not use CHECK_1.
67334         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
67335         <bp-checks.h>.
67336         (__fxstat): Do not use CHECK_1.
67337         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
67338         <bp-checks.h>.
67339         (__fxstatat): Do not use CHECK_1.
67340         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
67341         <bp-checks.h>.
67342         (__lxstat): Do not use CHECK_1.
67343         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
67344         <bp-checks.h>.
67345         (__xstat): Do not use CHECK_1.
67346         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
67347         (__xstat): Do not use CHECK_1.
67348         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
67349         (___xstat64): Do not use CHECK_1.
67351         [BZ #13550]
67352         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
67353         definitions.
67354         (CHECK_BOUNDS_HIGH): Likewise.
67355         * string/strcpy.c: Do not include <bp-checks.h>.
67356         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
67358 2013-02-07  Roland McGrath  <roland@hack.frob.com>
67360         * nscd/nscd-client.h (__nscd_drop_map_ref):
67361         Add __attribute__ ((unused)).
67362         * nis/nss-nisplus.h (niserr2nss): Likewise.
67364         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
67365         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
67367         * csu/libc-tls.c (init_static_tls, init_slotinfo):
67368         Remove inline keyword.
67369         * include/rounding-mode.h (round_away): Likewise.
67370         * libio/wfileops.c (adjust_wide_data): Likewise.
67371         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
67372         (__m128i_strloadu_tolower): Likewise.
67373         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
67374         (__m128i_strloadu_tolower): Likewise.
67375         * time/mktime.c (ydhms_diff): Likewise.
67376         * locale/elem-hash.h (elem_hash): Likewise.
67377         * locale/setlocale.c (setdata): Likewise.
67378         * posix/regex_internal.h (re_string_char_size_at): Likewise.
67379         (re_string_wchar_at): Likewise.
67380         (bitset_not, bitset_merge, bitset_mask): Likewise.
67381         [!(__GNUC__ > 3)] (inline): Remove macro.
67382         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
67383         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
67384         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
67385         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
67386         * string/memcmp.c (memcmp_bytes): Likewise.
67387         * locale/programs/locarchive.c (compute_hashval): Likewise.
67388         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
67389         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
67390         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
67391         * nss/getent.c (print_rpc, print_protocols): Likewise.
67392         (print_passwd, print_group, print_aliases): Likewise.
67393         * nis/nss-nisplus.h (niserr2nss): Likewise.
67394         * nscd/connections.c (restart_p): Likewise.
67395         Change return type to bool.
67397 2013-02-05  Roland McGrath  <roland@hack.frob.com>
67399         * Makeconfig (all-Depend-files): Add existing
67400         $(sorted-subdirs:=/Depend) files.
67401         (all-subdirs): Remove nss.
67402         * sysdeps/unix/inet/Subdirs: Add it here instead.
67403         * hesiod/Depend: New file.
67405         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
67406         instead of calling alloca.
67408         * io/lseek.c (__lseek): Rename to __libc_lseek.
67409         Define __lseek as an alias.
67411         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
67413 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
67415         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
67416         else clause and remove check for non-standard endianness.
67418 2013-02-04  David S. Miller  <davem@davemloft.net>
67420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67422 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
67424         [BZ #13550]
67425         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
67426         (__ubp_memchr): Remove prototype.
67427         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
67428         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67429         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
67430         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67431         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
67432         Remove alias.
67433         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
67434         (__ubp_memchr): Likewise.
67435         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
67436         (__ubp_memchr): Likewise.
67437         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
67438         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
67439         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
67440         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
67441         CHECK_STRING.
67442         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
67443         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
67444         (__getcwd): Do not use CHECK_STRING.
67445         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67446         <bp-checks.h>.
67447         (__real_chown): Do not use CHECK_STRING.
67448         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
67449         <bp-checks.h>.
67450         (fchownat): Do not use CHECK_STRING.
67451         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
67452         CHECK_STRING.
67453         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67454         <bp-checks.h>.
67455         (__lchown): Do not use CHECK_STRING.
67456         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67457         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67458         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67459         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
67460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67461         include <bp-checks.h>.
67462         (truncate64): Do not use CHECK_STRING.
67463         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67464         <bp-checks.h>.
67465         (__real_chown): Do not use CHECK_STRING.
67466         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67467         <bp-checks.h>.
67468         (__lchown): Do not use CHECK_STRING.
67469         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67470         <bp-checks.h>.
67471         (__chown): Do not use CHECK_STRING.
67472         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
67473         <bp-checks.h>.
67474         (truncate64): Do not use CHECK_STRING.
67475         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
67476         Likewise.
67477         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
67478         (__xmknod): Do not use CHECK_STRING.
67479         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
67480         <bp-checks.h>.
67481         (__xmknodat): Do not use CHECK_STRING.
67482         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67483         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
67485 2013-02-04  Andreas Schwab  <schwab@suse.de>
67487         [BZ #14142]
67488         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
67489         * include/netdb.h: Likewise for h_errno.
67490         * elf/tst-stackguard1.c: Include <tls.h>.
67492 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
67494         * elf/link.h (struct link_map): Extend the l_addr comment.
67495         * include/link.h (struct link_map): Likewise.
67497 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
67499         [BZ #13550]
67500         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
67501         (BOUNDED_1): Remove macro.
67502         * debug/backtrace.c: Don't include <bp-checks.h>.
67503         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
67504         (__backtrace): Likewise.
67505         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
67506         <bp-checks.h>.
67507         (__backtrace): Don't use BOUNDED_1.
67508         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
67509         <bp-checks.h>.
67510         (__backtrace): Don't use BOUNDED_1.
67511         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
67512         (__backtrace): Don't use BOUNDED_1.
67513         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
67514         (shmat): Don't use BOUNDED_N.
67516 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
67518         [BZ #13550]
67519         * sysdeps/generic/bp-start.h: Remove file.
67520         * csu/libc-start.c: Don't include <bp-start.h>.
67521         (LIBC_START_MAIN): Set up __environ directly instead of using
67522         INIT_ARGV_and_ENVIRON.
67523         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
67524         <bp-start.h>.
67526         [BZ #13550]
67527         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
67528         definitions.
67529         (CHECK_FCNTL): Likewise.
67530         (CHECK_N_PAGES): Likewise.
67532         [BZ #13550]
67533         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
67534         definitions.
67535         (CHECK_SIGSET_NULL_OK): Likewise.
67536         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
67537         <bp-checks.h>.
67538         (sigpending): Don't use CHECK_SIGSET.
67539         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
67540         <bp-checks.h>.
67541         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67542         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
67543         <bp-checks.h>.
67544         (do_sigsuspend): Don't use CHECK_SIGSET.
67545         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
67546         use CHECK_SIGSET.
67547         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
67548         (do_sigwait): Don't use CHECK_SIGSET.
67549         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
67550         use CHECK_SIGSET.
67551         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
67552         include <bp-checks.h>.
67553         (sigpending): Don't use CHECK_SIGSET.
67554         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
67555         include <bp-checks.h>.
67556         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67557         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
67558         <bp-checks.h>.
67559         (sigpending): Don't use CHECK_SIGSET.
67560         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
67561         <bp-checks.h>.
67562         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67564         [BZ #13550]
67565         * sysdeps/generic/bp-semctl.h: Remove file.
67566         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
67567         <bp-checks.h> and <bp-semctl.h>.
67568         (__old_semctl): Don't use CHECK_SEMCTL.
67569         (__new_semctl): Likewise.
67570         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
67571         and <bp-semctl.h>.
67572         (__old_semctl): Don't use CHECK_SEMCTL.
67573         (__new_semctl): Likewise.
67574         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
67575         <bp-checks.h> and <bp-semctl.h>.
67576         (__old_semctl): Don't use CHECK_SEMCTL.
67577         (__new_semctl): Likewise.
67578         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
67579         <bp-checks.h> and <bp-semctl.h>.
67580         (semctl): Don't use CHECK_SEMCTL.
67582         [BZ #13550]
67583         * Makerules (elide-bp-thunks): Remove variable.
67584         (elide-routines.oS): Don't use $(elide-bp-thunks).
67585         (elide-routines.os): Likewise.
67586         (elide-routines.o): Likewise.
67587         (elide-routines.op): Likewise.
67588         (elide-routines.og): Likewise.
67589         (objects): Don't use $(bp-thunks).
67590         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
67591         include.
67592         (common-generated): Do not add s-proto-bp.d.
67593         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
67594         (int): Likewise.
67595         (typ): Likewise.
67596         Do not generate makefile rules for bounded-pointer thunks.
67597         * sysdeps/generic/bp-thunks.h: Remove file.
67598         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
67599         * sysdeps/unix/s-proto-bp.S: Likewise.
67601         [BZ #15062]
67602         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
67603         parts of result separately when argument is not close to line from
67604         -i to i and one part of argument is small.
67605         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67606         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67607         * math/libm-test.inc (cacos_test): Add more tests.
67608         (casin_test): Likewise.
67609         (casinh_test): Likewise.
67610         * sysdeps/i386/fpu/libm-test-ulps: Update.
67611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67613 2013-01-31  David S. Miller  <davem@davemloft.net>
67615         * po/de.po: Update from translation team.
67617 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
67619         * time/tzfile.c: Include stdint.h for SIZE_MAX.
67621 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
67623         * configure.in (_AC_PROG_CC_C89): New definition.
67624         * configure: Regenerate.
67626         * configure.in (AC_PROG_CPP): New definition.
67627         * configure: Regenerate.
67629 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67631         * debug/tst-backtrace.h: New file.
67632         * debug/tst-backtrace2.c: Include tst-backtrace.h.
67633         (ret): Remove variable.
67634         (x): Likewise.
67635         (FAIL): Remove macro.
67636         (NO_INLINE): Likewise.
67637         (fn1): Use match function instead of strstr.
67638         * debug/tst-backtrace3.c: Include tst-backtrace.h.
67639         (ret): Remove variable.
67640         (x): Likewise.
67641         (FAIL): Remove macro.
67642         (NO_INLINE): Likewise.
67643         (fn): Use match function instead of strstr.
67644         * debug/tst-backtrace4.c: Include tst-backtrace.h.
67645         (ret): Remove variable.
67646         (x): Likewise.
67647         (FAIL): Remove macro.
67648         (NO_INLINE): Likewise.
67649         (handle_signal): Use match function instead of strstr.
67650         * debug/tst-backtrace5.c: Include tst-backtrace.h.
67651         (ret): Remove variable.
67652         (x): Likewise.
67653         (FAIL): Remove macro.
67654         (NO_INLINE): Likewise.
67655         (handle_signal): Use match function instead of strstr.
67657 2013-01-23  Roland McGrath  <roland@hack.frob.com>
67659         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
67661 2013-01-23  David S. Miller  <davem@davemloft.net>
67663         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
67664         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
67665         argument of CAS if possible.
67666         * sysdeps/sparc/sparc64/bits/atomic.h
67667         (__arch_compare_and_exchange_val_32_acq): Likewise.
67668         (__arch_compare_and_exchange_val_64_acq): Likewise.
67670 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
67672         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
67673         * sysdeps/posix/ulimit.c: ... this.
67674         Include <limits.h>.
67675         * sysdeps/unix/bsd/ulimit.c: Remove file.
67677 2013-01-23  Adam Conrad  <adconrad@0c3.net>
67679         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
67680         (LDFLAGS-tst-array5): Likewise.
67682 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67684         [BZ #15036]
67685         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
67686         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
67687         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
67688         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
67690 2013-01-21  David S. Miller  <davem@davemloft.net>
67692         * sysdeps/sparc/backtrace.c: New file.
67693         * sysdeps/sparc/sparc32/backtrace.h: New file.
67694         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
67695         * sysdeps/sparc/sparc64/backtrace.h: New file.
67696         * sysdeps/sparc/sparc64/backtrace.c: Delete.
67697         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
67698         -funwind-tables.
67700 2013-01-21  Andreas Schwab  <schwab@suse.de>
67702         [BZ #15020]
67703         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
67704         closed its stdout.
67706 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
67708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
67709         "mpa2.h".
67710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67712 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
67713             Mark Mitchell  <mark@codesourcery.com>
67714             Tom de Vries  <tom@codesourcery.com>
67715             Paul Pluzhnikov  <ppluzhnikov@google.com>
67717         * debug/tst-backtrace2.c: New file.
67718         * debug/tst-backtrace3.c: Likewise.
67719         * debug/tst-backtrace4.c: Likewise.
67720         * debug/tst-backtrace5.c: Likewise.
67721         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
67722         (CFLAGS-tst-backtrace3.c): Likewise.
67723         (CFLAGS-tst-backtrace4.c): Likewise.
67724         (CFLAGS-tst-backtrace5.c): Likewise.
67725         (LDFLAGS-tst-backtrace2): Likewise.
67726         (LDFLAGS-tst-backtrace3): Likewise.
67727         (LDFLAGS-tst-backtrace4): Likewise.
67728         (LDFLAGS-tst-backtrace5): Likewise.
67729         (tests): Add new tests tst-backtrace2, tst-backtrace3,
67730         tst-backtrace4 and tst-backtrace5.
67732 2013-01-18  Anton Blanchard  <anton@samba.org>
67733             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67735         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
67736         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
67737         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
67738         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
67739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67740         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
67741         "+r" and remove output regs list as redundant.  Add explicit inline
67742         asm to specify register of return val to work around compiler codegen
67743         bug.  Remove (int) cast on return value.  Add return type parameter to
67744         use in macro so that this macro does not truncate return value for
67745         64-bit values.
67746         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
67747         pass to INTERNAL_VSYSCALL_NCS.
67748         (INLINE_VSYSCALL): Add 'long int' as return type to
67749         INTERNAL_VSYSCALL_NCS macro invocation.
67750         (INTERNAL_VSYSCALL): Add 'long int' as return type to
67751         INTERNAL_VSYSCALL_NCS macro invocation.
67752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67754 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67756         [BZ #14496]
67757         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
67758         Fix application of SIMD FP exception mask.
67760         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
67761         mp_no from a power of two.
67762         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
67763         __mpexp_twomm1.  Use __pow_mp.
67765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
67766         multiplication.
67768 2013-01-17  David S. Miller  <davem@davemloft.net>
67770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67772 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67774         [BZ #15023]
67775         * include/complex.h: Condition contents on [!_COMPLEX_H].
67776         (__kernel_casinhf): New prototype.
67777         (__kernel_casinh): Likewise.
67778         (__kernel_casinhl): Likewise.
67779         * math/Makefile (libm_calls): Add k_casinh.
67780         * math/k_casinh.c: New file.
67781         * math/k_casinhf.c: Likewise.
67782         * math/k_casinhl.c: Likewise.
67783         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
67784         finite nonzero arguments.
67785         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
67786         finite nonzero arguments.
67787         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
67788         finite nonzero arguments.
67789         * math/s_casinh.c: Do not include <float.h>.
67790         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
67791         * math/s_casinhf.c: Do not include <float.h>.
67792         (__casinhf): Move code for finite nonzero arguments to
67793         k_casinhf.c.
67794         * math/s_casinhl.c: Do not include <float.h>.
67795         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
67796         redefine.
67797         (__casinhl): Move code for finite nonzero arguments to
67798         k_casinhl.c.
67799         * math/libm-test.inc (cacos_test): Add more tests.
67800         * sysdeps/i386/fpu/libm-test-ulps: Update.
67801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67803 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
67805         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
67806         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
67807         [!HAVE_MREMAP]: Remove [defined linux] case.
67808         * malloc/arena.c: Do not include <malloc-sysdep.h>.
67810 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67812         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
67814 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
67816         * elf/elf.h (R_386_SIZE32): New relocation.
67817         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
67818         R_386_SIZE32.
67819         (elf_machine_rela): Likewise.
67820         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67821         R_X86_64_SIZE64 and R_X86_64_SIZE32.
67823 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67825         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
67826         (FP_FAST_FMA): Do not define.
67827         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
67828         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
67829         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
67830         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
67831         !_SOFT_FLOAT]: Likewise.
67832         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
67833         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
67834         value.
67835         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
67836         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
67837         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
67838         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
67839         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
67840         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
67841         file.
67843 2013-01-16  Andreas Schwab  <schwab@suse.de>
67845         [BZ #14327]
67846         * include/stdlib.h (__mktemp): Add declaration.
67847         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
67848         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
67850 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67852         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
67853         definitions.
67854         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67855         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
67856         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
67857         definitions here.
67858         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
67859         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
67860         definitions.
67861         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
67862         and ONE.
67863         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
67864         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
67865         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
67866         definitions.
67867         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
67868         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
67869         definitions.
67870         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67872         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
67874 2013-01-15  David S. Miller  <davem@davemloft.net>
67876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67877         trunc{,f} to libm-sysdep_routes.
67878         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
67880         file.
67881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
67882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
67883         file.
67884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
67885         file.
67886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
67887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
67888         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
67889         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
67890         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
67891         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
67892         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
67893         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
67895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67896         nearbyint{,f} to libm-sysdep_routes.
67897         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
67899         New file.
67900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
67901         file.
67902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
67903         New file.
67904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
67905         file.
67906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
67907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
67908         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
67909         file.
67910         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
67911         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
67912         file.
67913         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
67914         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
67915         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
67917         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
67918         libc_feholdexcept and libc_fesetenv.
67920 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
67922         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
67924 2013-01-14  David S. Miller  <davem@davemloft.net>
67926         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
67927         (SPARC_ASM_VIS2_IFUNC): Likewise.
67928         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
67929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
67930         use of 'siam' instruction.
67931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
67932         Likewise.
67933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
67934         Likewise.
67935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
67936         Likewise.
67937         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
67938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
67939         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
67940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
67941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
67942         file.
67943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
67944         file.
67945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
67946         file.
67947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
67948         file.
67949         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
67950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
67951         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
67952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
67953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
67954         new VIS2 routines.
67955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67958         Likewise.
67959         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67961         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67962         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
67964         routines to libm-sysdep_routines.
67965         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67968         fdim/fdimf to libm-sysdep_routines.
67969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
67970         file.
67971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
67972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
67973         file.
67974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
67975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
67976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
67977         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
67978         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
67979         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
67980         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
67982 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67984         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
67985         to optimize copies.
67987         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
67988         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
67992         local variable MPTWO.
67993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67994         Likewise.
67996 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67998         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
67999         GLOB_NOESCAPE.
68001 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68003         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
68005 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68007         * manual/pattern.texi (glob_t): Document gl_flags.
68008         (glob64_t): Likewise.
68010 2013-01-11  David S. Miller  <davem@davemloft.net>
68012         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68013         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68014         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
68015         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68016         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68017         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68018         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68019         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68020         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68021         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68022         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68023         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68024         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68026         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68027         sparc V9 rather than using V8 code.
68028         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68029         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68031         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68032         Move to...
68033         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68034         Here.
68036 2013-01-11  Roland McGrath  <roland@hack.frob.com>
68038         [BZ #14941]
68039         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68040         not in the main loop.
68041         * configure: Regenerated.
68043 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
68045         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68046         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68047         to just #else.
68048         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
68049         [!__GLIBC_HAVE_LONG_LONG] case.
68050         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
68051         condition to just #else.
68052         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
68053         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
68054         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
68055         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
68056         unconditional.
68057         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
68058         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68059         #elif condition to just #else.
68060         * sysdeps/unix/sysv/linux/sys/sysmacros.h
68061         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
68062         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68063         #elif condition to just #else.
68065 2013-01-11  Steve Ellcey  <sellcey@mips.com>
68067         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
68068         (EF_MIPS_ARCH_64): Fix value.
68069         (EF_MIPS_ARCH_32R2): New.
68070         (EF_MIPS_ARCH_64R2): New.
68072 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
68074         * Makeconfig (+link-pie-before-libc): New.
68075         (+link-pie-after-libc): Likewise.
68076         (+link-pie-tests): Likewise.
68077         (+link-pie): Rewritten.
68078         (link-before-libc): Remove $(config-LDFLAGS).
68079         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
68080         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
68081         (config-LDFLAGS): Renamed to ...
68082         (rtld-LDFLAGS): This.
68083         (rtld-tests-LDFLAGS): New macro.
68084         (link-libc-rpath-link): Likewise.
68085         (link-libc-tests-rpath-link): Likewise.
68086         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
68087         (link-libc): Prepand $(link-libc-rpath-link).
68088         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
68089         (test-program-prefix): New macro.
68090         (test-via-rtld-prefix): Likewise.
68091         (test-program-cmd): Likewise.
68092         (host-test-program-cmd): Likewise.
68093         * Makefile ($(common-objpfx)testrun.sh): Replace
68094         $(run-program-prefix) with $(test-program-prefix).
68095         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
68096         $(rtld-LDFLAGS).
68097         ($(common-objpfx)shlib.lds): Likewise.
68098         (build-module-helper): Likewise.
68099         ($(common-objpfx)format.lds): Likewise.
68100         * Rules (binaries-pie-tests): New.
68101         (binaries-pie-notests): Likewise.
68102         (binaries-pie): Rewritten.
68103         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
68104         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
68105         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
68106         (make-test-out): Replace $(host-built-program-cmd) with
68107         $(host-test-program-cmd).
68108         * config.make.in (build-hardcoded-path-in-tests): New variable.
68109         * configure.in (--enable-hardcoded-path-in-tests): New configure
68110         option.
68111         (hardcoded_path_in_tests): New AC_SUBST.
68112         * configure: Regenerated.
68113         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
68114         $(built-program-cmd) with $(test-program-cmd).
68115         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
68116         (test_program_cmd): This.
68117         * elf/Makefile ($(objpfx)order.out): Run test with
68118         $(test-program-prefix).
68119         ($(objpfx)order2.out): Likewise.
68120         ($(objpfx)tst-initorder.out): Likewise.
68121         ($(objpfx)tst-initorder2.out): Likewise.
68122         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
68123         $(test-program-cmd).
68124         ($(objpfx)tst-array1-static.out): Likewise.
68125         ($(objpfx)tst-array2.out): Likewise.
68126         ($(objpfx)tst-array3.out): Likewise.
68127         ($(objpfx)tst-array4.out): Likewise.
68128         ($(objpfx)tst-array5.out): Likewise.
68129         ($(objpfx)tst-array5-static.out): Likewise.
68130         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
68131         $(test-program-cmd).
68132         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
68133         $(run-program-prefix) with $(test-program-prefix).
68134         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
68135         (test_program_prefix): This.
68136         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
68137         $(run-program-prefix) with $(test-program-prefix).
68138         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
68139         (test_program_prefix): This.
68140         * iconvdata/tst-tables.sh: Likewise.
68141         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
68142         $(run-program-prefix) with $(test-program-prefix).
68143         ($(objpfx)tst-translit.out): Likewise.
68144         ($(objpfx)tst-gettext2.out): Likewise.
68145         ($(objpfx)tst-gettext4.out): Likewise.
68146         ($(objpfx)tst-gettext6.out): Likewise.
68147         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
68148         (test_program_prefix): This.
68149         * intl/tst-gettext2.sh: Likewise.
68150         * intl/tst-gettext4.sh  Likewise.
68151         * intl/tst-gettext6.sh: Likewise.
68152         * intl/tst-translit.sh: Likewise.
68153         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
68154         with $(test-program-cmd).
68155         * libio/Makefile ($(objpfx)test-freopen.out): Replace
68156         $(run-program-prefix) with $(test-program-prefix).
68157         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
68158         (test_program_prefix): This.
68159         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
68160         $(run-program-prefix) with $(test-program-prefix).
68161         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
68162         (test_program_prefix): This.
68163         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
68164         * posix/Makefile ($(objpfx)globtest.out): Replace
68165         $(run-via-rtld-prefix) and $(test-wrapper) with
68166         $(test-program-prefix) and $(test-via-rtld-prefix).
68167         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
68168         $(test-program-prefix).
68169         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
68170         $(host-test-program-cmd).
68171         (tst-spawn-ARGS): Likewise.
68172         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
68173         $(test-program-prefix).
68174         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
68175         (test_via_rtld_prefix): This.
68176         (test_wrapper): Renamed to ...
68177         (test_program_prefix): This.
68178         (run_program_prefix): Replaced by test_program_prefix.
68179         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
68180         (test_program_prefix): This.
68181         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
68182         with $(host-test-program-cmd).
68183         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
68184         $(run-program-prefix) with $(test-program-prefix).
68185         ($(objpfx)tst-printf.out): Likewise.
68186         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
68187         $(test-program-cmd).
68188         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
68189         (test_program_prefix): This.
68190         * stdio-common/tst-unbputc.sh: Likewise.
68191         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
68192         $(run-program-prefix) with $(test-program-prefix).
68193         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
68194         (test_program_prefix): This.
68195         * string/Makefile ($(objpfx)tst-svc.out):  Replace
68196         $(built-program-cmd) with $(test-program-cmd).
68198 2013-01-11  Andreas Jaeger  <aj@suse.de>
68200         [BZ #15003]
68201         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
68202         value. Sync with Linux 3.7.
68204 2013-01-10  David S. Miller  <davem@davemloft.net>
68206         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
68207         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68208         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68210 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68212         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
68213         never set.
68214         * configure: Regenerated.
68216 2013-01-10  David S. Miller  <davem@davemloft.net>
68218         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68219         sparc V9 rather than using V8 code.
68220         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68221         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68223 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68225         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
68226         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
68227         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
68228         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
68229         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
68230         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
68231         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
68232         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
68233         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
68234         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
68235         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
68236         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
68237         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
68238         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
68239         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
68240         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
68241         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
68242         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
68243         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
68244         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
68245         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
68246         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
68247         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
68248         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
68249         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
68250         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
68251         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
68253 2013-01-10  David S. Miller  <davem@davemloft.net>
68255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68257 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68259         * posix/Makefile (tests-static): New variable.
68260         (tests): Add $(tests-static).
68261         (tst-exec-static-ARGS): New variable.
68262         (tst-spawn-static-ARGS): Likewise.
68263         * posix/tst-exec-static.c: New file.
68264         * posix/tst-spawn-static.c: Likewise.
68265         * posix/tst-exec.c: Support run directly.
68266         * posix/tst-spawn.c: Likewise.
68268 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
68270         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
68271         long.
68272         * math/bits/mathcalls.h (llrint): Likewise.
68273         (llround): Likewise.
68274         * stdlib/stdlib.h (struct drand48_data): Likewise.
68275         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
68276         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
68277         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
68278         Likewise.
68279         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
68280         Likewise.
68281         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
68282         (elf_greg_t): Likewise.
68283         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
68284         (__jmp_buf): Likewise.
68285         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
68286         definitions.
68287         (llrint): Likewise, for all definitions.
68288         (llrintl): Likewise.
68290         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
68291         Remove [__GNUC__] condition.
68292         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
68293         condition to just [__USE_ISOC99].
68294         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
68296 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68298         [BZ #14200]
68299         * sysdeps/unix/sysv/linux/x86/bits/environments.h
68300         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
68301         defined.
68302         (_POSIX_V6_ILP32_OFF32): Likewise.
68303         (_XBS5_ILP32_OFF32): Likewise.
68304         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
68305         (__ILP32_OFFBIG_LDFLAGS): Likewise.
68307 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68309         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
68311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
68312         doubles __mpexp_twomm1.  Adjust usage.
68313         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
68314         Remove.
68316 2013-01-10  Andreas Schwab  <schwab@suse.de>
68318         [BZ #14964]
68319         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
68320         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
68322 2013-01-09  David S. Miller  <davem@davemloft.net>
68324         [BZ #15003]
68325         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
68326         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
68327         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
68328         (TCP_FASTOPEN): Define.
68329         (tcp_repair_opt): New structure.
68330         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
68331         enum values.
68332         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
68333         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
68334         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
68335         (tcp_cookie_transactions): New structure.
68337 2013-01-09  Anton Blanchard  <anton@samba.org>
68339         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
68340         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
68341         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
68342         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
68344 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
68346         * include/features.h (__USE_ANSI): Remove.
68348 2013-01-09  Roland McGrath  <roland@hack.frob.com>
68350         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
68352         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
68354 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
68356         * sysdeps/s390/fpu/libm-test-ulps: Update.
68358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68360         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
68361         (__acr): Likewise.
68362         (__cpy): Likewise.
68363         (norm): Likewise.
68364         (denorm): Likewise.
68365         (__mp_dbl): Likewise.
68366         (__dbl_mp): Likewise.
68367         (add_magnitudes): Likewise.
68368         (sub_magnitudes): Likewise.
68369         (__add): Likewise.
68370         (__sub): Likewise.
68371         (__mul): Likewise.
68372         (__inv): Likewise.
68373         (__dvd): Likewise.
68374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
68375         (__acr): Likewise.
68376         (__cpy): Likewise.
68377         (norm): Likewise.
68378         (denorm): Likewise.
68379         (__mp_dbl): Likewise.
68380         (__dbl_mp): Likewise.
68381         (add_magnitudes): Likewise.
68382         (sub_magnitudes): Likewise.
68383         (__add): Likewise.
68384         (__sub): Likewise.
68385         (__mul): Likewise.
68386         (__inv): Likewise.
68387         (__dvd): Likewise.
68388         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
68389         (__acr): Likewise.
68390         (__cpy): Likewise.
68391         (norm): Likewise.
68392         (denorm): Likewise.
68393         (__mp_dbl): Likewise.
68394         (__dbl_mp): Likewise.
68395         (add_magnitudes): Likewise.
68396         (sub_magnitudes): Likewise.
68397         (__add): Likewise.
68398         (__sub): Likewise.
68399         (__mul): Likewise.
68400         (__inv): Likewise.
68401         (__dvd): Likewise.
68403 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
68405         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
68406         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
68407         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
68408         2 && __USE_EXTERN_INLINES]: Likewise.
68410 2013-01-08  Andreas Jaeger  <aj@suse.de>
68412         [BZ #14985]
68413         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
68414         Remove.
68415         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68416         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68418 2013-01-07  Anton Blanchard  <anton@samba.org>
68420         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
68421         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
68422         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
68423         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
68424         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
68425         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68426         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
68427         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68429         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68430         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68431         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68432         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68433         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
68434         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
68435         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68436         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68437         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
68438         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
68439         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
68440         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
68441         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
68442         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68443         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
68444         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
68445         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
68446         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68447         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
68448         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
68449         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68450         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
68451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68452         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68453         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
68454         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
68455         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68456         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
68457         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68458         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
68459         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
68460         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
68461         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68462         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
68464 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
68466         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
68467         (__MALLOC_PMT): Likewise.
68468         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
68469         [__GNUC__], only on [_LIBC].
68470         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68471         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
68472         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68473         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
68474         forward declaration.
68475         (realloc_hook_ini): Likewise.
68476         (memalign_hook_ini): Likewise.
68477         (__libc_memalign): Do not use __MALLOC_PMT in variable
68478         declaration.
68479         (__libc_valloc): Likewise.
68480         (__libc_pvalloc): Likewise.
68481         (__libc_calloc): Likewise.
68482         (__posix_memalign): Likewise.
68484         [BZ #14996]
68485         * math/s_casinh.c: Include <float.h>.
68486         (__casinh): Do not do computation with squaring and square root
68487         for large arguments.
68488         * math/s_casinhf.c: Include <float.h>.
68489         (__casinhf): Do not do computation with squaring and square root
68490         for large arguments.
68491         * math/s_casinhl.c: Include <float.h>.
68492         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
68493         (__casinhl): Do not do computation with squaring and square root
68494         for large arguments.
68495         * math/libm-test.inc (casin_test): Add more tests.
68496         (casinh_test): Likewise.
68497         * sysdeps/i386/fpu/libm-test-ulps: Update.
68498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68500 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
68502         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
68503         (__x86_64_raw_data_cache_size): Likewise.
68504         (__x86_64_data_cache_size_half): Likewise.
68505         (__x86_64_raw_data_cache_size_half): Likewise.
68506         (__x86_64_shared_cache_size): Likewise.
68507         (__x86_64_raw_shared_cache_size): Likewise.
68508         (__x86_64_shared_cache_size_half): Likewise.
68509         (__x86_64_raw_shared_cache_size_half): Likewise.
68510         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
68511         to ...
68512         (__x86_data_cache_size): This.
68513         (__x86_64_raw_data_cache_size): Renamed to ...
68514         (__x86_raw_data_cache_size): This.
68515         (__x86_64_data_cache_size_half): Renamed to ...
68516         (__x86_data_cache_size_half): This.
68517         (__x86_64_raw_data_cache_size_half): Renamed to ...
68518         (__x86_raw_data_cache_size_half): This.
68519         (__x86_64_shared_cache_size): Renamed to ...
68520         (__x86_shared_cache_size): This.
68521         (__x86_64_raw_shared_cache_size): Renamed to ...
68522         (__x86_raw_shared_cache_size): This.
68523         (__x86_64_shared_cache_size_half): Renamed to ...
68524         (__x86_shared_cache_size_half): This.
68525         (__x86_64_raw_shared_cache_size_half): Renamed to ...
68526         (__x86_raw_shared_cache_size_half): This.
68527         * sysdeps/x86_64/memcpy.S: Updated.
68528         * sysdeps/x86_64/memset.S: Likewise.
68529         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
68530         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68531         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68533 2013-01-04  David S. Miller  <davem@davemloft.net>
68535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68537 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
68539         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
68540         1 to avoid redefinition warning.
68541         (__USE_GNU): Don't define.
68542         (init_signaling_nan): Protoize.
68544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68546 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68548         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
68549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
68550         (__cpymn): Likewise.
68551         (norm): Remove commented code.
68552         (denorm): Likewise.
68553         (__mp_dbl): Likewise.
68554         (__inv): Likewise.
68555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
68556         (__cpymn): Likewise.
68557         (norm): Remove commented code.
68558         (denorm): Likewise.
68559         (__mp_dbl): Likewise.
68560         (__inv): Likewise.
68562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
68563         mp_no value for 1.0 and 2.0.
68564         (norm): Use RADIXI instead of radixi.d.
68565         (denorm): Likewise.
68566         (__mul): Use 0.0 instead of zero.d.
68567         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
68568         mp_no value for 1.0 and 2.0.
68569         (norm): Use RADIXI instead of radixi.d.
68570         (denorm): Likewise.
68571         (__mul): Use 0.0 instead of zero.d.
68573 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
68575         [BZ #14994]
68576         * math/s_casinh.c (__casinh): Reduce finite argument to first
68577         quadrant then set signs of results at the end.
68578         * math/s_casinhf.c (__casinhf): Likewise.
68579         * math/s_casinhl.c (__casinhl): Likewise.
68580         * math/libm-test.inc (casin_test): Add more tests.
68581         (casinh_test): Likewise.
68582         * sysdeps/i386/fpu/libm-test-ulps: Update.
68583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68585 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68587         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
68589         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
68591         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
68592         declarations.
68593         (denorm): Likewise.
68594         (__mp_dbl): Likewise.
68595         (__inv): Likewise.
68597         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
68598         and adjust the header comment.
68600         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
68601         variable name from declaration.
68603 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
68605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68606         Initialize COMMON_CPUID_INDEX_7 element.
68607         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
68608         (CPUID_RTM): Likewise.
68609         (HAS_RTM): Likewise.
68610         (COMMON_CPUID_INDEX_7): New enum.
68612 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
68614         [BZ #14981]
68615         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
68616         size is zero, record memory as freed.
68618 2013-01-03  Andreas Jaeger  <aj@suse.de>
68620         * po/ia.po: Add new Interlingua translation.
68622 2012-01-03  Allan McRae  <allan@archlinux.org>
68624         * locale/programs/localedef.c: Fix description of '--posix' flag.
68626 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
68628         * NEWS: Update dates in second copyright notice.
68629         * README: Update copyright dates in example.
68630         * manual/libc.texinfo: Update copyright dates.
68631         * scripts/test-installation.pl: Update copyright date in --version
68632         output.
68634         * hurd/ctty-input.c: Fix copyright notice formatting.
68635         * hurd/ctty-output.c: Likewise.
68636         * hurd/dtable.c: Likewise.
68637         * hurd/hurd-raise.c: Likewise.
68638         * hurd/hurdprio.c: Likewise.
68639         * hurd/msgportdemux.c: Likewise.
68640         * misc/sys/file.h: Likewise.
68641         * misc/sys/ioctl.h: Likewise.
68642         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
68643         * sysdeps/mach/hurd/chdir.c: Likewise.
68644         * sysdeps/mach/hurd/fchdir.c: Likewise.
68645         * sysdeps/mach/hurd/rename.c: Likewise.
68646         * sysdeps/mach/hurd/rmdir.c: Likewise.
68647         * sysdeps/mach/hurd/seekdir.c: Likewise.
68648         * sysdeps/mach/hurd/setsid.c: Likewise.
68649         * sysdeps/posix/wait3.c: Likewise.
68651         * All files with FSF copyright notices: Update copyright dates
68652         using scripts/update-copyrights.
68653         * intl/plural.c: Regenerated.
68654         * locale/programs/charmap-kw.h: Likewise.
68655         * locale/programs/locfile-kw.h: Likewise.
68657 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68659         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
68660         four values.
68662         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
68663         calculation loop and add branch prediction.
68665         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
68666         check access beyond bounds of m1np.
68668         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68669         MPTWO.
68670         (__inv): Remove local variable MPTWO to use the global
68671         constant.
68672         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
68673         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68674         variable MPTWO.
68675         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
68676         MP3HALFS static const.
68678 2013-01-01  David S. Miller  <davem@davemloft.net>
68680         * po/ca.po: Update from translation team.
68682 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
68684         * scripts/update-copyrights: New file.
68685         * Makeconfig: Reformat copyright notice.
68686         * ctype/ctype.h: Likewise.
68687         * debug/swprintf_chk.c: Likewise.
68688         * elf/dl-cache.c: Likewise.
68689         * elf/dl-debug.c: Likewise.
68690         * elf/dl-object.c: Likewise.
68691         * grp/initgroups.c: Likewise.
68692         * hurd/Makefile: Likewise.
68693         * hurd/hurd/signal.h: Likewise.
68694         * hurd/hurdfault.c: Likewise.
68695         * hurd/hurdioctl.c: Likewise.
68696         * hurd/hurdlookup.c: Likewise.
68697         * hurd/intr-msg.c: Likewise.
68698         * iconv/gconv_open.c: Likewise.
68699         * libio/swprintf.c: Likewise.
68700         * locale/lc-ctype.c: Likewise.
68701         * locale/nl_langinfo.c: Likewise.
68702         * mach/Machrules: Likewise.
68703         * mach/Makefile: Likewise.
68704         * malloc/obstack.h: Likewise.
68705         * manual/Makefile: Likewise.
68706         * manual/tsort.awk: Likewise.
68707         * misc/bits/stab.def: Likewise.
68708         * nis/nis_print_group_entry.c: Likewise.
68709         * nis/nis_table.c: Likewise.
68710         * nis/nss_compat/compat-pwd.c: Likewise.
68711         * nis/nss_compat/compat-spwd.c: Likewise.
68712         * po/Makefile: Likewise.
68713         * posix/fnmatch.c: Likewise.
68714         * posix/regex.h: Likewise.
68715         * resolv/Makefile: Likewise.
68716         * resolv/nss_dns/dns-network.c: Likewise.
68717         * resolv/res_hconf.c: Likewise.
68718         * scripts/gen-sorted.awk: Likewise.
68719         * soft-fp/soft-fp.h: Likewise.
68720         * stdio-common/printf.h: Likewise.
68721         * stdlib/monetary.h: Likewise.
68722         * stdlib/random.c: Likewise.
68723         * stdlib/random_r.c: Likewise.
68724         * sysdeps/generic/Makefile: Likewise.
68725         * sysdeps/gnu/Makefile: Likewise.
68726         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68727         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68728         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68729         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68730         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68732         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68733         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68734         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68735         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68736         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68737         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68738         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68739         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68740         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
68741         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68742         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68743         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68744         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68745         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68746         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68747         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68748         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68749         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
68750         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
68751         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68752         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
68753         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
68754         * sysdeps/mach/hurd/errnos.awk: Likewise.
68755         * sysdeps/mach/hurd/fork.c: Likewise.
68756         * sysdeps/mach/hurd/getcwd.c: Likewise.
68757         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
68758         * sysdeps/mach/hurd/mmap.c: Likewise.
68759         * sysdeps/mach/hurd/utimes.c: Likewise.
68760         * sysdeps/mach/hurd/xmknod.c: Likewise.
68761         * sysdeps/posix/profil.c: Likewise.
68762         * sysdeps/posix/readdir_r.c: Likewise.
68763         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68764         * sysdeps/powerpc/bits/setjmp.h: Likewise.
68765         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
68766         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68768         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68769         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68770         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68772         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68773         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68774         * sysdeps/pthread/lio_listio.c: Likewise.
68775         * sysdeps/sparc/dl-procinfo.h: Likewise.
68776         * sysdeps/unix/i386/sysdep.S: Likewise.
68777         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
68778         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
68779         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
68780         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
68781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68782         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
68783         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
68784         * sysdeps/unix/sysv/linux/speed.c: Likewise.
68785         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
68786         * sysdeps/wordsize-32/divdi3.c: Likewise.
68787         * time/sys/time.h: Likewise.
68788         * wcsmbs/Makefile: Likewise.
68790 2013-01-01  David S. Miller  <davem@davemloft.net>
68792         * po/fr.po: Update from translation team.
68794         * catgets/gencat.c: Update copyright year.
68795         * csu/version.c: Likewise.
68796         * debug/catchsegv.sh: Likewise.
68797         * debug/pcprofiledump.c: Likewise.
68798         * debug/xtrace.sh: Likewise.
68799         * elf/ldconfig.c: Likewise.
68800         * elf/ldd.bash.in: Likewise.
68801         * elf/pldd.c: Likewise.
68802         * elf/sotruss.ksh: Likewise.
68803         * elf/sprof.c: Likewise.
68804         * iconv/iconv_prog.c: Likewise.
68805         * iconv/iconvconfig.c: Likewise.
68806         * locale/programs/locale.c: Likewise.
68807         * locale/programs/localedef.c: Likewise.
68808         * login/programs/pt_chown.c: Likewise.
68809         * malloc/memusage.sh: Likewise.
68810         * malloc/memusagestat.c: Likewise.
68811         * malloc/mtrace.pl: Likewise.
68812         * nscd/nscd.c: Likewise.
68813         * nss/getent.c: Likewise.
68814         * nss/makedb.c: Likewise.
68815         * posix/getconf.c: Likewise.
68817 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68819         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
68820         numbers.
68822 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
68824         * math/bits/mathcalls.h (modf): Use __nonnull.
68826 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68828         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
68829         (split): Use macro CN instead of the bare value.
68830         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
68831         could be used.
68832         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
68833         instead of the bare value.
68834         (power1): Likewise.
68836 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68838         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
68839         __ATAN_TWOM.
68840         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68842         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
68843         their values.
68844         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68845         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68846         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
68847         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68849 2012-12-28  Andreas Jaeger  <aj@suse.de>
68851         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
68852         values are from Linux 3.7.
68854         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
68855         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
68857 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68859         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
68860         TRUE case.
68862         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
68863         (norm): Likewise.
68864         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
68865         variables with preprocessor constants.
68866         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68867         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68868         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68870 2012-12-27  Bruno Haible  <bruno@clisp.org>
68872         [BZ #14317]
68873         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
68874         only if needed.
68876 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68878         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
68879         and use variable directly.
68880         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
68882         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68883         MPONE.
68884         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
68885         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68886         variable MPONE.
68887         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68888         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68889         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
68890         include directive.  Remove local variable MPONE.
68891         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
68892         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
68893         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68895 2012-12-25  David S. Miller  <davem@davemloft.net>
68897         * version.h (RELEASE): Set to "development".
68898         (VERSION): Set to "2.17.90".
68899         * NEWS: Add 2.18 section.
68901 2012-12-21  David S. Miller  <davem@davemloft.net>
68903         * po/hr.po: Update from translation team.
68905 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68907         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
68909 2012-12-19  Steve Ellcey  <sellcey@mips.com>
68911         * NEWS:  Mention new memcpy for MIPS.
68913 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68915         * manual/contrib.texi (Contributors): Spelling correction.
68917 2012-12-15  David S. Miller  <davem@davemloft.net>
68919         * po/ru.po: Update from translation team.
68921 2012-12-13  David S. Miller  <davem@davemloft.net>
68923         * NEWS: Mention IFUNC testsuite enhancements.
68925         * po/pl.po: Update from translation team.
68926         * po/bg.po: Likewise.
68928         * manual/contrib.texi (Contributors): Update entries for Hongjiu
68929         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
68931 2012-12-11  David S. Miller  <davem@davemloft.net>
68933         * po/sv.po: Update from translation team.
68935         * po/vi.po: Update from translation team.
68937         * po/cs.po: Update from translation team.
68939         * po/de.po: Update from translation team.
68940         * po/eo.po: Likewise.
68941         * po/nl.po: Likewise.
68943 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68945         [BZ #14246]
68946         * manual/argp.texi (Argp Helper Functions): Move node to follow
68947         Argp Parsing State.
68949         [BZ #14872]
68950         * manual/conf.texi (Limits on File System Capacity): Mention if
68951         terminating null is included in the max size.
68953 2012-12-10  Andreas Jaeger  <aj@suse.de>
68955         * po/cs.po: Update from translation team.
68957 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68959         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
68960         void pointer and cast to uintptr_t.
68961         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
68962         path.
68963         * sysdeps/s390/s390-64/memcpy.S: Likewise.
68964         * sysdeps/s390/s390-64/memset.S: Likewise.
68966 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
68968         [BZ #14833]
68969         * menual/message.texi (Message Translation): Fix typos.
68970         (Helper programs for gettext): Likewise.
68972 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
68974         [BZ #14898]
68975         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
68976         Change to -1.
68978 2012-12-07  David S. Miller  <davem@davemloft.net>
68980         * po/libc.pot: Update.
68982 2012-12-07  Richard Henderson  <rth@redhat.com>
68984         [BZ #10114]
68985         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
68986         normal/normal case to before the switch.
68987         (_FP_DIV): Likewise.
68989 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
68990             Mike Frysinger  <vapier@gentoo.org>
68992         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
68993         check for __NR_fadvise64_64.
68995 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
68997         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
68998         0, not just to plain "0" as a statement.
68999         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
69000         with cw.
69002 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
69004         * NEWS: Use sourceware.org in Bugzilla URL.
69006 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69009         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69011         * stdio-common/tst-put-error.c (do_test): Add newline to the
69012         padded test to ensure flush.
69014 2012-12-05  Jeff Law  <law@redhat.com>
69016         * sunrpc/etc.rpc (fedfs_admin): Add entry.
69018 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
69020         * README: Don't refer to ports add-on as distributed separately.
69021         Mention AArch64 in list of systems supported in the ports add-on.
69023         * LICENSES: Add more non-FSF copyright and license notices.
69025         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69026         ((unused)).
69028         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69030         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69031         10000 as width of padded output.
69033 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69035         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69037         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69038         variable LX with __attribute__ ((unused)).
69039         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69040         Likewise.
69041         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69042         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69043         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69044         with __attribute__ ((unused)).
69046 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
69048         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
69050 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69052         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
69053         (CFLAGS-nldbl-acos.c): New variable.
69054         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
69055         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
69056         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
69057         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
69058         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
69059         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
69060         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
69061         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
69062         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
69063         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
69064         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
69065         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
69066         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
69067         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
69068         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
69069         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
69070         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
69071         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
69072         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
69073         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
69074         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
69075         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
69076         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
69077         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
69078         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
69079         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
69080         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
69081         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
69082         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
69083         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
69084         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
69085         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
69086         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
69087         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
69088         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
69089         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
69090         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
69091         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
69092         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
69093         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
69094         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
69095         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
69096         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
69097         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
69098         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
69099         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
69100         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
69101         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
69102         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
69103         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
69104         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
69105         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
69106         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
69107         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
69108         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
69109         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
69110         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
69111         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
69112         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
69113         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
69114         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
69115         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
69116         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
69117         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
69118         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
69119         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
69120         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
69121         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
69122         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
69123         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
69124         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
69125         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
69126         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
69127         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
69128         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
69129         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
69130         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
69131         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
69132         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
69133         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
69134         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
69135         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
69136         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
69137         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
69138         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
69139         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
69140         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
69141         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
69142         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
69143         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
69144         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
69145         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
69146         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
69147         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
69148         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
69149         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
69150         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
69152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69153         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69155         [BZ #14914]
69156         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
69157         whole low double instead of just low 47 bits when splitting values
69158         into two parts.
69160 2012-12-03  Allan McRae  <allan@archlinux.org>
69162         * manual/stdio.texi (Predefined Printf Handlers): Remove
69163         @hsep and @vsep usage.
69165 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
69167         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
69168         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
69170 2012-12-03  Jeff Law  <law@redhat.com>
69172         * time/sys/time.h (settimeofday): Do not mark TV argument
69173         as __nonnull.
69175 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
69177         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
69178         when currently writing and seek to current position when not.
69179         * libio/Makefile (tests): Remove bug-fclose1.
69180         * libio/bug-fclose1.c: Delete.
69182 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
69184         * manual/arith.texi (feenableexcept): Fix typo.
69185         (fedisableexcept): Likewise.
69187 2012-11-30  Roland McGrath  <roland@hack.frob.com>
69189         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
69190         second, differently-typed declaration, rather than a cast.
69192 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69194         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
69195         * include/rpc/svc.h: ... here.
69197 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
69199         [BZ #13013]
69200         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
69201         depending n and resplen2 to catch cases where answer
69202         equals answerp2.
69204 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
69206         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
69207         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
69209 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
69211         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
69213 2012-11-29  Roland McGrath  <roland@hack.frob.com>
69215         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
69217 2012-11-28  Jeff Law  <law@redhat.com>
69219         [BZ #13761]
69220         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
69221         dataset_temporary.  Track alloca usage into alloca_used.
69222         If dataset is large allocate and release it via malloc/free.
69224 2012-06-04  Florian Weimer  <fweimer@redhat.com>
69226         [BZ #14197]
69227         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
69229 2012-11-28  David S. Miller  <davem@davemloft.net>
69231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69233 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69235         [BZ #14803]
69236         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
69237         of pi/2 rounded to nearest to 64 bits.
69238         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
69239         nearest to 64 bits.
69240         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
69241         bits.
69243 2012-11-28  Jeff Law <law@redhat.com>
69244             Martin Osvald <mosvald@redhat.com>
69246         [BZ #14889]
69247         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
69248         * sunrpc/svc.c: Include time.h.
69249         (__svc_accept_failed): New function.
69250         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
69251         any reason other than EINTR, call __svc_accept_failed.
69252         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
69253         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
69255 2012-11-28  Andreas Schwab  <schwab@suse.de>
69257         * scripts/abilist.awk: Also handle indirect functions in .opd
69258         section.
69260 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69262         [BZ #13881]
69263         * sysdeps/x86/fpu/powl_helper.c: New file.
69264         * sysdeps/x86/fpu/Makefile: Likewise.
69265         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
69266         (p3): New object.
69267         (__ieee754_powl): Use __powl_helper for finite arguments except
69268         integer exponents below 8.
69269         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
69270         (p3): New object.
69271         (__ieee754_powl): Use __powl_helper for finite arguments except
69272         integer exponents below 8.
69273         * math/libm-test.inc (pow_test): Add more tests and enable some
69274         previously disabled tests.
69275         * sysdeps/i386/fpu/libm-test-ulps: Update.
69276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69278 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69279             Carlos O'Donell  <carlos_odonell@mentor.com>
69281         * nss/makedb.c (is_prime): Assert that input is odd and greater
69282         than 4.  Note that fact in a comment too.
69283         (next_prime): Add 4 to input.
69285 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69287         [BZ #11741]
69288         * libio/Makefile (tests): Add test case tst-fwrite-error.
69289         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
69290         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
69291         * libio/tst-fwrite-error.c: New test case.
69293 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
69295         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
69296         before casting to void *.
69297         * include/libc-internal.h (__pointer_type): New macro.
69298         (__integer_if_pointer_type_sub): Likewise.
69299         (__integer_if_pointer_type): Likewise.
69300         (cast_to_integer): Likewise.
69301         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
69302         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
69303         before casting to atomic64_t.
69304         (atomic_exchange_acq): Likewise.
69305         (__arch_exchange_and_add_body): Likewise.
69306         (__arch_add_body): Likewise.
69307         (atomic_add_negative): Likewise.
69308         (atomic_add_zero): Likewise.
69310 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
69312         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
69313         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
69314         (add_fdes): Likewise.
69315         (linear_search_fdes): Likewise.
69316         (binary_search_unencoded_fdes): Likewise.
69318 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
69320         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
69322 2012-11-24  Adam Conrad  <adconrad@0c3.net>
69324         * configure.in: Autodetect C++ header directories.
69325         * configure: Regenerated.
69327 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
69329         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
69331 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
69333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69335 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
69337         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
69338         LDBL_MANT_DIG == 106]: Disable some tests.
69339         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69340         Likewise.
69341         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69342         Likewise.
69344         [BZ #14871]
69345         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
69346         input for small inputs.  Return +/- pi/2 for large inputs.
69347         * math/libm-test.inc (atan_test): Add more tests.
69349         * sysdeps/generic/unwind-dw2-fde-glibc.c
69350         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
69351         __attribute__ ((unused)).
69353         [BZ #14645]
69354         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
69355         x * y if x and y are nonzero and z is zero.
69357         [BZ #14811]
69358         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
69359         nonzero exponents with absolute value below 0x1p-117 to +/-
69360         0x1p-117.
69362         [BZ #14869]
69363         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
69364         up arguments below 2**-450, not just those below 2**-500.
69365         * math/libm-test.inc (hypot_test): Add another test.
69367         [BZ #14868]
69368         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
69369         Return a+b for ratio over 2**120, not 2**60.
69370         * math/libm-test.inc (hypot_test): Add another test.
69372         * math/libm-test.inc (clog_test): Use
69373         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
69374         (clog10_test): Likewise.
69376         [BZ #6778]
69377         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
69379 2012-11-22  Andreas Schwab  <schwab@suse.de>
69381         * sysdeps/i386/fpu/libm-test-ulps: Update.
69383 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
69385         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
69386         printf output with newline.
69388 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
69390         [BZ #14865]
69391         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
69392         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
69393         -z nodlopen, -z initfirst and -z execstack support.
69394         * configure: Regenerated.
69396         * elf/elf.h (DF_1_NODIRECT): New macro.
69397         (DF_1_IGNMULDEF): Likewise.
69398         (DF_1_NOKSYMS): Likewise.
69399         (DF_1_NOHDR): Likewise.
69400         (DF_1_EDITED): Likewise.
69401         (DF_1_NORELOC): Likewise.
69402         (DF_1_SYMINTPOSE): Likewise.
69403         (DF_1_GLOBAUDIT): Likewise.
69404         (DF_1_SINGLETON): Likewise.
69405         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
69406         DT_1_SUPPORTED_MASK bits.
69407         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
69409 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
69411         * sysdeps/unix/make-syscalls.sh: Document prefixes.
69413 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
69415         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
69416         macro.
69418         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
69419         (sendmmsg): Move declarations...
69420         * socket/sys/socket.h: ... here.
69421         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
69422         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
69423         include it from...
69424         * socket/recvmmsg.c: ... this new file.
69425         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
69426         (sendmmsg): Rename to __sendmmsg, create weak alias and make
69427         definition of __sendmmsg hidden.
69428         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
69429         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
69430         Move ENOSYS stub into and include it from...
69431         * socket/sendmmsg.c: ... this new file.
69432         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
69433         (sysdep_routines): Move recvmmsg and sendmmsg...
69434         * socket/Makefile (routines): ... here.
69435         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
69436         (GLIBC_PRIVATE): Add __sendmmsg.
69437         * include/sys/socket.h (__sendmmsg): Add declarations.
69438         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
69439         sendmmsg.
69441 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
69443         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
69444         variable I1 with __attribute__ ((unused)).
69445         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69447 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
69449         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
69450         DUMMY variables with __attribute__ ((unused)).
69452         * bits/byteswap.h: Include <bits/types.h>.
69453         (__bswap_64): Use __uint64_t instead of unsigned long long int.
69455 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69457         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
69458         string_t.  Do not manually set errno.
69459         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
69460         length with __strnlen.  Make sure to both set errno and return it on
69461         failure.
69463 2012-11-19  David S. Miller  <davem@davemloft.net>
69465         With help from Joseph Myers.
69466         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
69467         very large arguments properly.
69468         * math/libm-test.inc (atan_test): New tests.
69469         (atan2_test): New tests.
69470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69473 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
69475         [BZ #14856]
69476         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
69477         Define to 3.
69479         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
69480         [POSIX] (EADDRNOTAVAIL): Likewise.
69481         [POSIX] (EAFNOSUPPORT): Likewise.
69482         [POSIX] (EALREADY): Likewise.
69483         [POSIX] (ECONNABORTED): Likewise.
69484         [POSIX] (ECONNREFUSED): Likewise.
69485         [POSIX] (ECONNRESET): Likewise.
69486         [POSIX] (EDESTADDRREQ): Likewise.
69487         [POSIX] (EDQUOT): Likewise.
69488         [POSIX] (EHOSTUNREACH): Likewise.
69489         [POSIX] (EIDRM): Likewise.
69490         [POSIX] (EISCONN): Likewise.
69491         [POSIX] (ELOOP): Likewise.
69492         [POSIX] (EMULTIHOP): Likewise.
69493         [POSIX] (ENETDOWN): Likewise.
69494         [POSIX] (ENETUNREACH): Likewise.
69495         [POSIX] (ENOBUFS): Likewise.
69496         [POSIX] (ENODATA): Likewise.
69497         [POSIX] (ENOLINK): Likewise.
69498         [POSIX] (ENOMSG): Likewise.
69499         [POSIX] (ENOPROTOOPT): Likewise.
69500         [POSIX] (ENOSR): Likewise.
69501         [POSIX] (ENOSTR): Likewise.
69502         [POSIX] (ENOTCONN): Likewise.
69503         [POSIX] (ENOTSOCK): Likewise.
69504         [POSIX] (EOPNOTSUPP): Likewise.
69505         [POSIX] (EOVERFLOW): Likewise.
69506         [POSIX] (EPROTO): Likewise.
69507         [POSIX] (EPROTONOSUPPORT): Likewise.
69508         [POSIX] (EPROTOTYPE): Likewise.
69509         [POSIX] (ESTALE): Likewise.
69510         [POSIX] (ETIME): Likewise.
69511         [POSIX] (ETXTBSY): Likewise.
69512         [POSIX] (EWOULDBLOCK): Likewise.
69513         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
69514         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
69515         [POSIX] (SEEK_CUR): Likewise.
69516         [POSIX] (SEEK_END): Likewise.
69517         [POSIX || UNIX98] (mode_t): Do not require.
69518         [POSIX] (off_t): Likewise.
69519         [POSIX] (pid_t): Likewise.
69520         [POSIX] (sys/stat.h): Do not allow header.
69521         [POSIX] (unistd.h): Likewise.
69522         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
69523         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
69524         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
69525         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
69526         require.
69527         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
69528         sigevent): Specify elements.
69529         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
69530         entry.
69531         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
69532         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
69534         * conform/data/cpio.h-data [POSIX]: Disable whole file.
69535         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
69536         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
69537         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
69538         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
69539         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
69540         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
69541         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
69542         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
69543         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
69544         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
69545         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
69546         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
69547         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
69548         Likewise.
69549         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
69550         Likewise.
69551         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
69552         Likewise.
69553         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
69554         Likewise.
69555         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
69556         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
69557         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
69558         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
69559         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
69560         Specify lower bound on value.
69561         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
69562         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
69563         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
69564         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
69565         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
69566         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
69567         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
69568         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
69569         value.
69570         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
69571         as optional.
69572         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
69573         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
69574         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
69575         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
69576         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
69577         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
69578         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
69579         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
69580         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
69581         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
69582         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
69583         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
69584         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
69585         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
69586         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
69587         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
69588         entry.
69589         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
69590         optional.
69591         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
69592         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
69593         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
69594         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
69595         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
69596         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
69597         Likewise.
69598         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
69599         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
69600         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
69601         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
69602         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
69603         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
69604         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
69605         as optional.
69606         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
69607         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
69608         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
69609         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
69610         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
69611         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
69612         specify as optional.
69613         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
69614         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
69615         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
69616         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
69617         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
69618         [XPG3] (NL_LANGMAX): Likewise.
69619         [POSIX || XPG3] (NL_MSGMAX): Likewise.
69620         [POSIX || XPG3] (NL_NMAX): Likewise.
69621         [POSIX || XPG3] (NL_SETMAX): Likewise.
69622         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
69623         [XPG3] (NZERO): Likewise.
69624         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
69625         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
69626         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
69627         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
69628         (REG_ERANGE): Expect.
69629         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
69630         optional-constant.
69631         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
69632         Use (void) in prototype.
69633         [POSIX] (*_t): Allow.
69634         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
69635         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
69636         (WRDE_BADVAL): Expect.
69638         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
69639         expect.
69640         [XPG3 || XPG4] (O_RSYNC): Likewise.
69641         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
69642         Likewise.
69643         [XPG3 || XPG4] (pthread_sigmask): Likewise.
69644         [XPG3 || XPG4] (sigqueue): Likewise.
69645         [XPG3 || XPG4] (sigtimedwait): Likewise.
69646         [XPG3 || XPG4] (sigwaitinfo): Likewise.
69647         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
69648         [XPG3 || XPG4] (vsnprintf): Likewise.
69649         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
69650         Likewise.
69651         [XPG3 || XPG4] (blksize_t): Likewise.
69652         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
69653         Likewise.
69654         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
69655         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
69656         [XPG3 || XPG4] (struct itimerspec): Likewise.
69657         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
69658         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
69659         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
69660         [XPG3 || XPG4] (clockid_t): Likewise.
69661         [XPG3 || XPG4] (timer_t): Likewise.
69662         [XPG3 || XPG4] (clock_getres): Likewise.
69663         [XPG3 || XPG4] (clock_gettime): Likewise.
69664         [XPG3 || XPG4] (clock_settime): Likewise.
69665         [XPG3 || XPG4] (nanosleep): Likewise.
69666         [XPG3 || XPG4] (timer_create): Likewise.
69667         [XPG3 || XPG4] (timer_delete): Likewise.
69668         [XPG3 || XPG4] (timer_gettime): Likewise.
69669         [XPG3 || XPG4] (timer_getoverrun): Likewise.
69670         [XPG3 || XPG4] (timer_settime): Likewise.
69671         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
69672         [XPG3 || XPG4] (getlogin_r): Likewise.
69673         [XPG3 || XPG4] (pread): Likewise.
69674         [XPG3 || XPG4] (pthread_atfork): Likewise.
69675         [XPG3 || XPG4] (pwrite): Likewise.
69677         [BZ #14835]
69678         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
69679         <bits/siginfo.h>.
69681 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69683         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
69684         finalizing MALLSTREAM.
69686         * sysdeps/mach/hurd/syncfs.c: New file.
69688 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69690         [BZ #14719]
69691         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
69692         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
69693         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
69694         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
69695         (_nss_dns_gethostbyname4_r): Likewise.
69696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
69697         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
69699 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
69701         [BZ #13763]
69702         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
69704 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
69706         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
69707         * elf/cache.c (print_entry): Print ",AArch64" for
69708         FLAG_AARCH64_LIB64
69710         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
69711         * elf/cache.c (print_entry): Print ",hard-float" for
69712         FLAG_ARM_LIBHF.
69714 2012-11-18  David S. Miller  <davem@davemloft.net>
69716         With help from Joseph Myers.
69717         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
69718         cutoff to 2**-13.
69719         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
69720         cutoff to 2**-25.
69721         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
69722         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
69723         small.
69724         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
69725         * math/libm-test.inc (y0_test): New tests.
69726         (y1_test): New tests.
69727         * sysdeps/i386/fpu/libm-test-ulps: Update.
69728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69731 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
69733         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
69734         64-bit targets.
69735         * configure: Regenerated.
69737 2012-11-17  David S. Miller  <davem@davemloft.net>
69739         [BZ #14811]
69740         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
69741         nonzero exponents with absolute value below 0x1p-128 to +/-
69742         0x1p-128.
69744 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
69746         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
69748         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
69750         * posix/getconf-speclist.c: New file.
69751         * posix/posix-envs.def: Likewise.
69752         * posix/confstr.c (START_ENV_GROUP): New macro.
69753         (END_ENV_GROUP): Likewise.
69754         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69755         (KNOWN_PRESENT_ENV_STRING): Likewise.
69756         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69757         (UNKNOWN_ENVIRONMENT): Likewise.
69758         (confstr): Include posix-envs.def instead of handling
69759         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
69760         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
69761         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
69762         (END_ENV_GROUP): Likewise.
69763         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69764         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69765         (UNKNOWN_ENVIRONMENT): Likewise.
69766         (__sysconf): Include posix-envs.def instead of handling associated
69767         cases directly here.
69768         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
69769         preprocessing getconf-speclist.c rather than running getconf or
69770         generating empty file.
69772 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
69774         * scripts/check-local-headers.sh: Ignore 'mach' headers.
69776 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
69778         [BZ #14672]
69779         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
69781 2012-11-16  David S. Miller  <davem@davemloft.net>
69783         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
69784         smaller than LDBL_EPSILON/2.0L, just return xm1.
69786 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
69788         * elf/tst-array1.c (init): Set constructor priority to 1000.
69789         (fini): Set destructor priority to 1000.
69790         * elf/tst-array2dep.c: Likewise.
69792 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69794         [BZ #11741]
69795         * libio/fileops.c (_IO_new_file_write): Correctly return error.
69796         (_IO_new_file_xsputn): Also return EOF if none of the input
69797         data was written when overflow failed.
69798         * libio/iopadn.c (_IO_padn): Likewise.
69799         * libio/iowpadn.c (_IO_wpadn): Likewise.
69800         * stdio-common/tst-put-error.c: Add copyright notice.
69801         (do_test): Add case for printing padded string.
69802         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
69803         _IO_padn returned error.
69804         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
69805         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
69806         return EOF.
69808 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69810         * libio/libioP.h: Add comment note that the references to C++
69811         bits are now obsolete.
69813 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69815         * math/libm-test.inc (check_complex): Use asprintf.
69817 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
69819         * debug/pcprofiledump.c (print_version): Update copyright year.
69820         * malloc/memusagestat.c (print_version): Likewise.
69822 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
69824         [BZ #14831]
69825         * elf/Makefile (tests): Add tst-audit8.
69826         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
69827         ($(objpfx)tst-audit8.out): New target.
69828         (tst-audit8-ENV): New variable.
69829         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
69830         audit if l_reloc_result is NULL.
69831         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
69832         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
69833         * elf/tst-audit8.c: New file.
69835 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69837         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
69838         * misc/Makefile (CFLAGS-select.c): Define.
69839         * posix/Makefile (CFLAGS-pause.c): Define.
69841 2012-11-13  David S. Miller  <davem@davemloft.net>
69843         * crypt/Makefile: Move test targets after toplevel Rules
69844         inclusion.  Grab any necessary sysdep routines when linking.
69845         * crypt/md5.c (md5_process_block): Remove define, we will always
69846         name it __md5_process_block.
69847         (md5_finish_ctx): Update md5_process_block call.
69848         (md5_stream): Likewise.
69849         (md5_process_bytes): Likewise.
69850         (md5_process_block): Rename to __md5_process_block and move to ...
69851         * crypt/md5-block.c: ... here.
69852         * crypt/sha256.c (sha256_process_block): Move to ...
69853         * crypt/sha256-block.c: ... here.
69854         * crypt/sha512.c (sha512_process_block): Move to ...
69855         * crypt/sha512-block.c: ... here.
69856         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
69857         path.
69858         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
69859         * sysdeps/sparc/sparc64/multiarch/Makefile
69860         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
69861         crypt subdir.
69862         (localedef-aux): Add md5 crypto assembler when in locale subdir.
69863         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
69864         multiarch changes.
69865         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
69866         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
69867         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
69868         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
69869         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
69870         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
69871         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
69872         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
69873         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
69874         file.
69875         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
69876         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
69877         file.
69878         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
69880 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
69882         * timezone/tzselect.ksh: Update from tzcode git revision
69883         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
69884         * timezone/zdump.c: Likewise.
69885         * timezone/zic.c: Likewise.
69886         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
69887         in TZVERSION setting, not $(PKGVERSION).
69888         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
69889         REPORT_BUGS_TO settings.
69891         [BZ #14838]
69892         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
69893         macro.
69895 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69897         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
69898         detection to immediately after _FP_ROUND().
69899         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
69900         bits are 0.
69902 2012-11-11  David S. Miller  <davem@davemloft.net>
69904         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
69905         inttypes.h
69906         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
69907         __close rather than their public counterparts.
69909 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
69911         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
69912         file.
69913         [UNIX98] (sem_timedwait): Do not expect.
69914         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
69915         [XPG4 || UNIX98] (sockatmark): Do not expect.
69916         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
69917         (clock_getcpuclockid): Do not expect.
69918         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
69919         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
69920         Do not expect.
69921         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
69922         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
69923         [UNIX98] (vwscanf): Likewise.
69924         [UNIX98] (vswscanf): Likewise.
69926 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
69928         * timezone/version.h: Remove file.
69929         * timezone/README: Do not refer to version.h.
69930         * timezone/Makefile ($(objpfx)zic.o): New dependency on
69931         $(objpfx)version.h.
69932         ($(objpfx)zdump.o): Likewise.
69933         ($(objpfx)version.h): New target.
69935         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
69936         2012i.
69937         * timezone/README: Don't mention modification to tzselect.ksh.
69938         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
69939         work on unmodified tzselect.ksh.  Substitute version numbers in
69940         tzselect.ksh.
69942         * Makefile (format-me): Remove.
69943         (INSTALL): Adjust indentation.  Use commands directly instead of
69944         using $(format-me).
69946         * aclocal.m4 (ACX_PKGVERSION): New macro.
69947         (ACX_BUGURL): Likewise.
69948         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
69949         (PKGVERSION): New AC_DEFINE_UNQUOTED.
69950         (REPORT_BUGS_TO): Likewise.
69951         * configure: Regenerated.
69952         * config.h.in (PKGVERSION): New macro.
69953         (REPORT_BUGS_TO): Likewise.
69954         * config.make.in (PKGVERSION): New variable.
69955         (PKGVERSION_TEXI): Likewise.
69956         (REPORT_BUGS_TO): Likewise.
69957         (REPORT_BUGS_TEXI): Likewise.
69958         * Makefile (format-me): Use -I$(common-objpfx)manual.
69959         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
69960         ($(common-objpfx)manual/%): New target.
69961         (manual/%): Remove target.
69962         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
69963         (print_version): Use PKGVERSION.
69964         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
69965         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
69966         and REPORT_BUGS_TO.
69967         ($(objpfx)xtrace): Likewise.
69968         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
69969         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
69970         (print_version): Use PKGVERSION.
69971         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
69972         (do_version): Use PKGVERSION.
69973         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
69974         REPORT_BUGS_TO.
69975         (common-ldd-rewrite): Likewise.
69976         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
69977         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
69978         (print_version): Use PKGVERSION.
69979         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
69980         * elf/pldd.c (argp_program_bug_address): Remove variable.
69981         (more_help): New function.
69982         (argp): Use more_help.
69983         (print_version): Use PKGVERSION.
69984         * elf/sln.c (main): Use PKGVERSION.
69985         (usage): Use REPORT_BUGS_TO.
69986         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
69987         (top level): Use PKGVERSION.
69988         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
69989         (print_version): Use PKGVERSION.
69990         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
69991         (print_version): Use PKGVERSION.
69992         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
69993         (print_version): Use PKGVERSION.
69994         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
69995         (print_version): Use PKGVERSION.
69996         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
69997         (print_version): Use PKGVERSION.
69998         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
69999         (print_version): Use PKGVERSION.
70000         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
70001         and BUGURL.
70002         ($(objpfx)memusage): Likewise.
70003         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
70004         (do_version): Use PKGVERSION.
70005         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
70006         (print_version): Use PKGVERSION.
70007         * malloc/mtrace.pl ($PACKAGE): Remove variable.
70008         ($PKGVERSION): New variable.
70009         ($REPORT_BUGS_TO): Likewise.
70010         (usage): Use $REPORT_BUGS_TO.
70011         (top level): Use $PKGVERSION.
70012         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70013         ($(objpfx)pkgvers.texi): New rule.
70014         ($(objpfx)stamp-pkgvers): Likewise.
70015         * manual/install.texi: Include pkgvers.texi.
70016         (--with-pkgversion): Document new configure option.
70017         (--with-bugurl): Likewise.
70018         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70019         than necessarily for this particular distribution.  Use
70020         REPORT_BUGS_TO for where to report bugs.
70021         * INSTALL: Regenerated.
70022         * manual/libc.texinfo: Include pkgvers.texi.
70023         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70024         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70025         (print_version): Use PKGVERSION.
70026         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70027         (print_version): Use PKGVERSION.
70028         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70029         (print_version): Use PKGVERSION.
70030         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70031         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70032         macro.
70033         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70034         (print_version): Use PKGVERSION.
70035         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70036         (print_version): Use PKGVERSION.
70037         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70038         and PKGVERSION.
70040         * timezone/checktab.awk: Update from tzcode 2012i.
70041         * timezone/ialloc.c: Likewise.
70042         * timezone/private.h: Likewise.
70043         * timezone/scheck.c: Likewise.
70044         * timezone/tzfile.h: Likewise.
70045         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70046         (TZVERSION): Hardcode tzcode version number.
70047         * timezone/zdump.c: Update from tzcode 2012i.
70048         * timezone/zic.c: Likewise.
70049         * timezone/version.h: New file.
70050         * timezone/README: Describe version.h.  Update upstream location.
70052         [BZ #14824]
70053         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
70054         (mktemp): Enable declaration.
70055         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
70056         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
70057         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
70058         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
70059         Likewise.
70060         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
70061         Likewise.
70062         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
70063         Likewise.
70064         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
70065         Likewise.
70066         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
70067         Likewise.
70068         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
70069         Likewise.
70071         [BZ #14821]
70072         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
70073         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
70074         for copies of such integer values.
70075         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70076         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70078 2012-11-09  Andreas Jaeger  <aj@suse.de>
70080         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
70081         definitions and declarations that are provided by
70082         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70084 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70086         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
70087         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
70088         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
70089         definition.
70091 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70093         * elf/elf.h: Update comment before AArch64 relocations.
70095 2012-11-07  David S. Miller  <davem@davemloft.net>
70097         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
70098         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70099         (__start_context): Declare.
70100         (__makecontext_ret): Delete.
70101         (__makecontext): Hook up __start_context instead of
70102         __makecontext_ret.
70103         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
70104         (sysdep_routines): Add __start_context when in stdlib.
70106 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70108         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
70109         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
70110         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
70111         hardcoded "nm".
70112         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
70113         (READELF): New variable.  Use it instead of hardcoded "readelf".
70115 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70117         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
70118         * sysdeps/x86/Makefile: Here.
70119         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
70120         * sysdeps/x86/tst-xmmymm.sh: This.
70122 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70124         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
70125         expectations.
70126         [UNIX98] (pthread_barrier_t): Do not expect.
70127         [UNIX98] (pthread_barrierattr_t): Likewise.
70128         [UNIX98] (pthread_spinlock_t): Likewise.
70129         [UNIX98] (pthread_barrier_destroy): Likewise.
70130         [UNIX98] (pthread_barrier_init): Likewise.
70131         [UNIX98] (pthread_barrier_wait): Likewise.
70132         [UNIX98] (pthread_barrierattr_destroy): Likewise.
70133         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
70134         [UNIX98] (pthread_barrierattr_init): Likewise.
70135         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
70136         [UNIX98] (pthread_getcpuclockid): Likewise.
70137         [UNIX98] (pthread_mutex_timedlock): Likewise.
70138         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
70139         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
70140         [UNIX98] (pthread_sigmask): Likewise.
70141         [UNIX98] (pthread_spin_destroy): Likewise.
70142         [UNIX98] (pthread_spin_init): Likewise.
70143         [UNIX98] (pthread_spin_lock): Likewise.
70144         [UNIX98] (pthread_spin_trylock): Likewise.
70145         [UNIX98] (pthread_spin_unlock): Likewise.
70146         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
70147         Do not expect.
70148         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
70149         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
70150         [XPG3 || XPG4] (pthread_cond_t): Likewise.
70151         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
70152         [XPG3 || XPG4] (pthread_key_t): Likewise.
70153         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
70154         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
70155         [XPG3 || XPG4] (pthread_once_t): Likewise.
70156         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
70157         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
70158         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
70159         [XPG3 || XPG4] (pthread_t): Likewise.
70161         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
70162         not expect.
70163         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
70165         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
70166         Change function return type to int.
70168         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
70169         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
70170         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
70171         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
70172         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
70173         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
70174         [!POSIX] (posix_madvise): Likewise.
70175         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
70176         && !UNIX98].
70177         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
70178         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
70179         (mode_t): Likewise.
70180         (posix_mem_offset): Likewise.
70181         (posix_typed_mem_get_info): Likewise.
70182         (posix_typed_mem_open): Likewise.
70184         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
70185         Change condition to [XOPEN2K8].
70187         * conform/conformtest.pl: Preprocess allow-header data with -x c
70188         instead of from stdin.
70189         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
70190         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
70191         [C99-based standards] (cerfc): Likewise.
70192         [C99-based standards] (cexp2): Likewise.
70193         [C99-based standards] (cexpm1): Likewise.
70194         [C99-based standards] (clog10): Likewise.
70195         [C99-based standards] (clog1p): Likewise.
70196         [C99-based standards] (clog2): Likewise.
70197         [C99-based standards] (clgamma): Likewise.
70198         [C99-based standards] (ctgamma): Likewise.
70199         [C99-based standards] (cerff): Likewise.
70200         [C99-based standards] (cerfcf): Likewise.
70201         [C99-based standards] (cexp2f): Likewise.
70202         [C99-based standards] (cexpm1f): Likewise.
70203         [C99-based standards] (clog10f): Likewise.
70204         [C99-based standards] (clog1pf): Likewise.
70205         [C99-based standards] (clog2f): Likewise.
70206         [C99-based standards] (clgammaf): Likewise.
70207         [C99-based standards] (ctgammaf): Likewise.
70208         [C99-based standards] (cerfl): Likewise.
70209         [C99-based standards] (cerfcl): Likewise.
70210         [C99-based standards] (cexp2l): Likewise.
70211         [C99-based standards] (cexpm1l): Likewise.
70212         [C99-based standards] (clog10l): Likewise.
70213         [C99-based standards] (clog1pl): Likewise.
70214         [C99-based standards] (clog2l): Likewise.
70215         [C99-based standards] (clgammal): Likewise.
70216         [C99-based standards] (ctgammal): Likewise.
70217         * conform/data/inttypes.h-data [C99-based standards]: Include
70218         stdint.h-data.  Remove all expectations for stdint.h contents.
70219         [C99-based standards] (PRI*): Do not allow.
70220         [C99-based standards] (SCN*): Likewise.
70221         [C99-based standards] (*_t): Likewise.
70222         [C99-based-standards] (PRId8): Expect macro.
70223         [C99-based-standards] (PRIi8): Likewise.
70224         [C99-based-standards] (PRIo8): Likewise.
70225         [C99-based-standards] (PRIu8): Likewise.
70226         [C99-based-standards] (PRIx8): Likewise.
70227         [C99-based-standards] (PRIX8): Likewise.
70228         [C99-based-standards] (SCNd8): Likewise.
70229         [C99-based-standards] (SCNi8): Likewise.
70230         [C99-based-standards] (SCNo8): Likewise.
70231         [C99-based-standards] (SCNu8): Likewise.
70232         [C99-based-standards] (SCNx8): Likewise.
70233         [C99-based-standards] (PRIdLEAST8): Likewise.
70234         [C99-based-standards] (PRIiLEAST8): Likewise.
70235         [C99-based-standards] (PRIoLEAST8): Likewise.
70236         [C99-based-standards] (PRIuLEAST8): Likewise.
70237         [C99-based-standards] (PRIxLEAST8): Likewise.
70238         [C99-based-standards] (PRIXLEAST8): Likewise.
70239         [C99-based-standards] (SCNdLEAST8): Likewise.
70240         [C99-based-standards] (SCNiLEAST8): Likewise.
70241         [C99-based-standards] (SCNoLEAST8): Likewise.
70242         [C99-based-standards] (SCNuLEAST8): Likewise.
70243         [C99-based-standards] (SCNxLEAST8): Likewise.
70244         [C99-based-standards] (PRIdFAST8): Likewise.
70245         [C99-based-standards] (PRIiFAST8): Likewise.
70246         [C99-based-standards] (PRIoFAST8): Likewise.
70247         [C99-based-standards] (PRIuFAST8): Likewise.
70248         [C99-based-standards] (PRIxFAST8): Likewise.
70249         [C99-based-standards] (PRIXFAST8): Likewise.
70250         [C99-based-standards] (SCNdFAST8): Likewise.
70251         [C99-based-standards] (SCNiFAST8): Likewise.
70252         [C99-based-standards] (SCNoFAST8): Likewise.
70253         [C99-based-standards] (SCNuFAST8): Likewise.
70254         [C99-based-standards] (SCNxFAST8): Likewise.
70255         [C99-based-standards] (PRId16): Likewise.
70256         [C99-based-standards] (PRIi16): Likewise.
70257         [C99-based-standards] (PRIo16): Likewise.
70258         [C99-based-standards] (PRIu16): Likewise.
70259         [C99-based-standards] (PRIx16): Likewise.
70260         [C99-based-standards] (PRIX16): Likewise.
70261         [C99-based-standards] (SCNd16): Likewise.
70262         [C99-based-standards] (SCNi16): Likewise.
70263         [C99-based-standards] (SCNo16): Likewise.
70264         [C99-based-standards] (SCNu16): Likewise.
70265         [C99-based-standards] (SCNx16): Likewise.
70266         [C99-based-standards] (PRIdLEAST16): Likewise.
70267         [C99-based-standards] (PRIiLEAST16): Likewise.
70268         [C99-based-standards] (PRIoLEAST16): Likewise.
70269         [C99-based-standards] (PRIuLEAST16): Likewise.
70270         [C99-based-standards] (PRIxLEAST16): Likewise.
70271         [C99-based-standards] (PRIXLEAST16): Likewise.
70272         [C99-based-standards] (SCNdLEAST16): Likewise.
70273         [C99-based-standards] (SCNiLEAST16): Likewise.
70274         [C99-based-standards] (SCNoLEAST16): Likewise.
70275         [C99-based-standards] (SCNuLEAST16): Likewise.
70276         [C99-based-standards] (SCNxLEAST16): Likewise.
70277         [C99-based-standards] (PRIdFAST16): Likewise.
70278         [C99-based-standards] (PRIiFAST16): Likewise.
70279         [C99-based-standards] (PRIoFAST16): Likewise.
70280         [C99-based-standards] (PRIuFAST16): Likewise.
70281         [C99-based-standards] (PRIxFAST16): Likewise.
70282         [C99-based-standards] (PRIXFAST16): Likewise.
70283         [C99-based-standards] (SCNdFAST16): Likewise.
70284         [C99-based-standards] (SCNiFAST16): Likewise.
70285         [C99-based-standards] (SCNoFAST16): Likewise.
70286         [C99-based-standards] (SCNuFAST16): Likewise.
70287         [C99-based-standards] (SCNxFAST16): Likewise.
70288         [C99-based-standards] (PRId32): Likewise.
70289         [C99-based-standards] (PRIi32): Likewise.
70290         [C99-based-standards] (PRIo32): Likewise.
70291         [C99-based-standards] (PRIu32): Likewise.
70292         [C99-based-standards] (PRIx32): Likewise.
70293         [C99-based-standards] (PRIX32): Likewise.
70294         [C99-based-standards] (SCNd32): Likewise.
70295         [C99-based-standards] (SCNi32): Likewise.
70296         [C99-based-standards] (SCNo32): Likewise.
70297         [C99-based-standards] (SCNu32): Likewise.
70298         [C99-based-standards] (SCNx32): Likewise.
70299         [C99-based-standards] (PRIdLEAST32): Likewise.
70300         [C99-based-standards] (PRIiLEAST32): Likewise.
70301         [C99-based-standards] (PRIoLEAST32): Likewise.
70302         [C99-based-standards] (PRIuLEAST32): Likewise.
70303         [C99-based-standards] (PRIxLEAST32): Likewise.
70304         [C99-based-standards] (PRIXLEAST32): Likewise.
70305         [C99-based-standards] (SCNdLEAST32): Likewise.
70306         [C99-based-standards] (SCNiLEAST32): Likewise.
70307         [C99-based-standards] (SCNoLEAST32): Likewise.
70308         [C99-based-standards] (SCNuLEAST32): Likewise.
70309         [C99-based-standards] (SCNxLEAST32): Likewise.
70310         [C99-based-standards] (PRIdFAST32): Likewise.
70311         [C99-based-standards] (PRIiFAST32): Likewise.
70312         [C99-based-standards] (PRIoFAST32): Likewise.
70313         [C99-based-standards] (PRIuFAST32): Likewise.
70314         [C99-based-standards] (PRIxFAST32): Likewise.
70315         [C99-based-standards] (PRIXFAST32): Likewise.
70316         [C99-based-standards] (SCNdFAST32): Likewise.
70317         [C99-based-standards] (SCNiFAST32): Likewise.
70318         [C99-based-standards] (SCNoFAST32): Likewise.
70319         [C99-based-standards] (SCNuFAST32): Likewise.
70320         [C99-based-standards] (SCNxFAST32): Likewise.
70321         [C99-based-standards] (PRId64): Likewise.
70322         [C99-based-standards] (PRIi64): Likewise.
70323         [C99-based-standards] (PRIo64): Likewise.
70324         [C99-based-standards] (PRIu64): Likewise.
70325         [C99-based-standards] (PRIx64): Likewise.
70326         [C99-based-standards] (PRIX64): Likewise.
70327         [C99-based-standards] (SCNd64): Likewise.
70328         [C99-based-standards] (SCNi64): Likewise.
70329         [C99-based-standards] (SCNo64): Likewise.
70330         [C99-based-standards] (SCNu64): Likewise.
70331         [C99-based-standards] (SCNx64): Likewise.
70332         [C99-based-standards] (PRIdLEAST64): Likewise.
70333         [C99-based-standards] (PRIiLEAST64): Likewise.
70334         [C99-based-standards] (PRIoLEAST64): Likewise.
70335         [C99-based-standards] (PRIuLEAST64): Likewise.
70336         [C99-based-standards] (PRIxLEAST64): Likewise.
70337         [C99-based-standards] (PRIXLEAST64): Likewise.
70338         [C99-based-standards] (SCNdLEAST64): Likewise.
70339         [C99-based-standards] (SCNiLEAST64): Likewise.
70340         [C99-based-standards] (SCNoLEAST64): Likewise.
70341         [C99-based-standards] (SCNuLEAST64): Likewise.
70342         [C99-based-standards] (SCNxLEAST64): Likewise.
70343         [C99-based-standards] (PRIdFAST64): Likewise.
70344         [C99-based-standards] (PRIiFAST64): Likewise.
70345         [C99-based-standards] (PRIoFAST64): Likewise.
70346         [C99-based-standards] (PRIuFAST64): Likewise.
70347         [C99-based-standards] (PRIxFAST64): Likewise.
70348         [C99-based-standards] (PRIXFAST64): Likewise.
70349         [C99-based-standards] (SCNdFAST64): Likewise.
70350         [C99-based-standards] (SCNiFAST64): Likewise.
70351         [C99-based-standards] (SCNoFAST64): Likewise.
70352         [C99-based-standards] (SCNuFAST64): Likewise.
70353         [C99-based-standards] (SCNxFAST64): Likewise.
70354         [C99-based-standards] (PRIdMAX): Likewise.
70355         [C99-based-standards] (PRIiMAX): Likewise.
70356         [C99-based-standards] (PRIoMAX): Likewise.
70357         [C99-based-standards] (PRIuMAX): Likewise.
70358         [C99-based-standards] (PRIxMAX): Likewise.
70359         [C99-based-standards] (PRIXMAX): Likewise.
70360         [C99-based-standards] (SCNdMAX): Likewise.
70361         [C99-based-standards] (SCNiMAX): Likewise.
70362         [C99-based-standards] (SCNoMAX): Likewise.
70363         [C99-based-standards] (SCNuMAX): Likewise.
70364         [C99-based-standards] (SCNxMAX): Likewise.
70365         [C99-based-standards] (PRIdPTR): Likewise.
70366         [C99-based-standards] (PRIiPTR): Likewise.
70367         [C99-based-standards] (PRIoPTR): Likewise.
70368         [C99-based-standards] (PRIuPTR): Likewise.
70369         [C99-based-standards] (PRIxPTR): Likewise.
70370         [C99-based-standards] (PRIXPTR): Likewise.
70371         [C99-based-standards] (SCNdPTR): Likewise.
70372         [C99-based-standards] (SCNiPTR): Likewise.
70373         [C99-based-standards] (SCNoPTR): Likewise.
70374         [C99-based-standards] (SCNuPTR): Likewise.
70375         [C99-based-standards] (SCNxPTR): Likewise.
70376         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
70377         allow.
70378         * conform/data/stdint.h-data: Update comments to clarify
70379         requirements.
70380         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
70381         type.
70382         [C99-based standards] (INT8_MAX): Likewise.
70383         [C99-based standards] (INT16_MIN): Likewise.
70384         [C99-based standards] (INT16_MAX): Likewise.
70385         [C99-based standards] (INT32_MIN): Likewise.
70386         [C99-based standards] (INT32_MAX): Likewise.
70387         [C99-based standards] (INT64_MIN): Likewise.
70388         [C99-based standards] (INT64_MAX): Likewise.
70389         [C99-based standards] (UINT8_MAX): Likewise.
70390         [C99-based standards] (UINT16_MAX): Likewise.
70391         [C99-based standards] (UINT32_MAX): Likewise.
70392         [C99-based standards] (UINT64_MAX): Likewise.
70393         [C99-based standards] (INT_LEAST8_MIN): Likewise.
70394         [C99-based standards] (INT_LEAST8_MAX): Likewise.
70395         [C99-based standards] (INT_LEAST16_MIN): Likewise.
70396         [C99-based standards] (INT_LEAST16_MAX): Likewise.
70397         [C99-based standards] (INT_LEAST32_MIN): Likewise.
70398         [C99-based standards] (INT_LEAST32_MAX): Likewise.
70399         [C99-based standards] (INT_LEAST64_MIN): Likewise.
70400         [C99-based standards] (INT_LEAST64_MAX): Likewise.
70401         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
70402         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
70403         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
70404         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
70405         [C99-based standards] (INT_FAST8_MIN): Likewise.
70406         [C99-based standards] (INT_FAST8_MAX): Likewise.
70407         [C99-based standards] (INT_FAST16_MIN): Likewise.
70408         [C99-based standards] (INT_FAST16_MAX): Likewise.
70409         [C99-based standards] (INT_FAST32_MIN): Likewise.
70410         [C99-based standards] (INT_FAST32_MAX): Likewise.
70411         [C99-based standards] (INT_FAST64_MIN): Likewise.
70412         [C99-based standards] (INT_FAST64_MAX): Likewise.
70413         [C99-based standards] (UINT_FAST8_MAX): Likewise.
70414         [C99-based standards] (UINT_FAST16_MAX): Likewise.
70415         [C99-based standards] (UINT_FAST32_MAX): Likewise.
70416         [C99-based standards] (UINT_FAST64_MAX): Likewise.
70417         [C99-based standards] (INTPTR_MIN): Likewise.
70418         [C99-based standards] (INTPTR_MAX): Likewise.
70419         [C99-based standards] (UINTPTR_MAX): Likewise.
70420         [C99-based standards] (INTMAX_MIN): Likewise.
70421         [C99-based standards] (INTMAX_MAX): Likewise.
70422         [C99-based standards] (UINTMAX_MAX): Likewise.
70423         [C99-based standards] (PTRDIFF_MIN): Likewise.
70424         [C99-based standards] (PTRDIFF_MAX): Likewise.
70425         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
70426         [C99-based standards] (SIZE_MAX): Likewise.
70427         [C99-based standards] (WCHAR_MAX): Likewise.
70428         [C99-based standards] (WINT_MAX): Likewise.
70429         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
70430         constraint on value.
70431         [C99-based standards] (WCHAR_MIN): Likewise.
70432         [C99-based standards] (WINT_MIN): Likewise.
70433         [C99-based standards] (*_t): Allow.
70434         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
70435         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
70436         Include math.h-data and complex.h-data.  Remove all expectations
70437         of math.h and complex.h contents.
70438         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
70439         at end of line.
70440         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
70441         (struct tm): Expect tag.
70442         [C99-based-standards] (wcstof): Expect function.
70443         [C99-based-standards] (wcstold): Likewise.
70444         [C99-based-standards] (wcstoll): Likewise.
70445         [C99-based-standards] (wcstoull): Likewise.
70446         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
70447         macro-int-constant.  Specify type.
70448         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
70449         constraint on value.
70450         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70451         Specify type.
70452         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
70453         Specify value.
70454         [ISO C standards]: Do not allow headers.
70455         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
70456         wcs[abcdefghijklmnopqrstuvwxyz]*.
70457         [ISO C standards] (*_t): Do not allow.
70458         * conform/data/wctype.h-data [C99-based standards] (iswblank):
70459         Expect function.
70460         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
70461         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70462         Specify type.
70463         [ISO C standards]: Do not allow headers.
70464         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
70465         is[abcdefghijklmnopqrstuvwxyz]*.
70466         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
70467         to[abcdefghijklmnopqrstuvwxyz]*.
70468         [ISO C standards] (*_t): Do not allow.
70469         * conform/data/stdalign.h-data: New file.
70470         * conform/data/stdbool.h-data: Likewise.
70471         * conform/data/stdnoreturn.h-data: Likewise.
70473 2012-11-07  Roland McGrath  <roland@hack.frob.com>
70475         [BZ #14815]
70476         * manual/filesys.texi (Directory Entries): Typo fix.
70477         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
70479 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70481         * elf/elf.h (EM_AARCH64): New macro.
70482         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
70483         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
70484         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
70485         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
70486         (R_AARCH64_TLSDESC): Likewise.
70487         (NT_ARM_TLS): Likewise.
70488         (NT_ARM_HW_BREAK): Likewise.
70489         (NT_ARM_HW_WATCH): Likewise.
70491 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70493         [BZ #14811]
70494         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
70495         (__ieee754_powl): Saturate nonzero exponents with absolute value
70496         below 0x1p-79 to +/- 0x1p-79.
70497         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
70498         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
70499         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
70500         nonzero exponents with absolute value below 0x1p-32 to +/-
70501         0x1p-32.
70502         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
70503         (__ieee754_powl): Saturate nonzero exponents with absolute value
70504         below 0x1p-79 to +/- 0x1p-79.
70505         * math/libm-test.inc (pow_test): Add more tests.
70507 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70509         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
70510         _dl_s390_cap_flags with kernel. Increase string length.
70511         (_dl_s390_platforms): Add z196 and zEC12.
70513 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70515         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
70516         Change XOPEN21K to XOPEN2K.
70518 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
70520         * string/memmove.c: Use memcpy when possible.
70522 2012-11-06  Andreas Jaeger  <aj@suse.de>
70524         * po/eo.po: Update from translation team.
70526 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
70528         [BZ #14793]
70529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
70530         exponent and small x and y exponents, scale x or y up.  Increase
70531         by 2 the exponent used in scaling up.
70532         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70533         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70534         * math/libm-test.inc (fma_test): Add more tests.
70535         (fma_test_towardzero): Likewise.
70536         (fma_test_downward): Likewise.
70537         (fma_test_upward): Likewise.
70539 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
70541         [BZ #14805]
70542         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
70543         fenv_t *.
70545         [BZ #14801]
70546         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
70547         namespace for names of struct fields.
70548         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
70549         fenv_t fields.
70550         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
70551         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
70553 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70555         [BZ #3665]
70556         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
70558 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70560         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
70561         PTR_DEMANGLE.
70563         [BZ #5246]
70564         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
70565         PTR_DEMANGLE.
70567 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
70569         [BZ #14797]
70570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
70571         definitely overflow as x * y not x * y + z.
70572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70574         * math/libm-test.inc (fma_test): Add more tests.
70575         (fma_test_towardzero): Likewise.
70576         (fma_test_downward): Likewise.
70577         (fma_test_upward): Likewise.
70579 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70581         [BZ #157]
70583         * include/stub-tag.h: Remove file.
70584         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
70585         '#include' of it.
70586         * manual/maint.texi (Porting): Don't reference it.
70587         * Makerules ($(objpfx)stubs): Likewise.
70588         * dirent/closedir.c: Don't include <stub-tag.h>.
70589         * dirent/dirfd.c: Likewise.
70590         * dirent/fdopendir.c: Likewise.
70591         * dirent/getdents.c: Likewise.
70592         * dirent/getdents64.c: Likewise.
70593         * dirent/opendir.c: Likewise.
70594         * dirent/readdir.c: Likewise.
70595         * dirent/readdir64.c: Likewise.
70596         * dirent/readdir64_r.c: Likewise.
70597         * dirent/readdir_r.c: Likewise.
70598         * dirent/rewinddir.c: Likewise.
70599         * dirent/seekdir.c: Likewise.
70600         * dirent/telldir.c: Likewise.
70601         * gmon/profil.c: Likewise.
70602         * grp/setgroups.c: Likewise.
70603         * inet/if_index.c: Likewise.
70604         * io/access.c: Likewise.
70605         * io/chdir.c: Likewise.
70606         * io/chmod.c: Likewise.
70607         * io/chown.c: Likewise.
70608         * io/close.c: Likewise.
70609         * io/dup.c: Likewise.
70610         * io/dup2.c: Likewise.
70611         * io/dup3.c: Likewise.
70612         * io/euidaccess.c: Likewise.
70613         * io/faccessat.c: Likewise.
70614         * io/fchdir.c: Likewise.
70615         * io/fchmod.c: Likewise.
70616         * io/fchmodat.c: Likewise.
70617         * io/fchown.c: Likewise.
70618         * io/fchownat.c: Likewise.
70619         * io/fcntl.c: Likewise.
70620         * io/flock.c: Likewise.
70621         * io/fstatfs.c: Likewise.
70622         * io/fstatfs64.c: Likewise.
70623         * io/fstatvfs.c: Likewise.
70624         * io/fstatvfs64.c: Likewise.
70625         * io/futimens.c: Likewise.
70626         * io/fxstat.c: Likewise.
70627         * io/fxstat64.c: Likewise.
70628         * io/fxstatat.c: Likewise.
70629         * io/fxstatat64.c: Likewise.
70630         * io/getcwd.c: Likewise.
70631         * io/isatty.c: Likewise.
70632         * io/lchmod.c: Likewise.
70633         * io/lchown.c: Likewise.
70634         * io/link.c: Likewise.
70635         * io/linkat.c: Likewise.
70636         * io/lseek.c: Likewise.
70637         * io/lseek64.c: Likewise.
70638         * io/lxstat64.c: Likewise.
70639         * io/mkdir.c: Likewise.
70640         * io/mkdirat.c: Likewise.
70641         * io/mkfifo.c: Likewise.
70642         * io/mkfifoat.c: Likewise.
70643         * io/open.c: Likewise.
70644         * io/open64.c: Likewise.
70645         * io/openat.c: Likewise.
70646         * io/openat64.c: Likewise.
70647         * io/pipe.c: Likewise.
70648         * io/pipe2.c: Likewise.
70649         * io/poll.c: Likewise.
70650         * io/posix_fadvise.c: Likewise.
70651         * io/posix_fadvise64.c: Likewise.
70652         * io/posix_fallocate.c: Likewise.
70653         * io/posix_fallocate64.c: Likewise.
70654         * io/read.c: Likewise.
70655         * io/readlink.c: Likewise.
70656         * io/readlinkat.c: Likewise.
70657         * io/rmdir.c: Likewise.
70658         * io/sendfile.c: Likewise.
70659         * io/sendfile64.c: Likewise.
70660         * io/statfs.c: Likewise.
70661         * io/statfs64.c: Likewise.
70662         * io/statvfs.c: Likewise.
70663         * io/statvfs64.c: Likewise.
70664         * io/symlink.c: Likewise.
70665         * io/symlinkat.c: Likewise.
70666         * io/ttyname.c: Likewise.
70667         * io/ttyname_r.c: Likewise.
70668         * io/umask.c: Likewise.
70669         * io/unlink.c: Likewise.
70670         * io/unlinkat.c: Likewise.
70671         * io/utime.c: Likewise.
70672         * io/utimensat.c: Likewise.
70673         * io/write.c: Likewise.
70674         * io/xmknod.c: Likewise.
70675         * io/xmknodat.c: Likewise.
70676         * io/xstat.c: Likewise.
70677         * io/xstat64.c: Likewise.
70678         * login/getpt.c: Likewise.
70679         * login/grantpt.c: Likewise.
70680         * login/unlockpt.c: Likewise.
70681         * math/e_acoshl.c: Likewise.
70682         * math/e_acosl.c: Likewise.
70683         * math/e_asinl.c: Likewise.
70684         * math/e_atan2l.c: Likewise.
70685         * math/e_atanhl.c: Likewise.
70686         * math/e_coshl.c: Likewise.
70687         * math/e_expl.c: Likewise.
70688         * math/e_fmodl.c: Likewise.
70689         * math/e_gammal_r.c: Likewise.
70690         * math/e_hypotl.c: Likewise.
70691         * math/e_j0l.c: Likewise.
70692         * math/e_j1l.c: Likewise.
70693         * math/e_jnl.c: Likewise.
70694         * math/e_lgammal_r.c: Likewise.
70695         * math/e_log10l.c: Likewise.
70696         * math/e_log2l.c: Likewise.
70697         * math/e_logl.c: Likewise.
70698         * math/e_powl.c: Likewise.
70699         * math/e_rem_pio2l.c: Likewise.
70700         * math/e_sinhl.c: Likewise.
70701         * math/e_sqrtl.c: Likewise.
70702         * math/fclrexcpt.c: Likewise.
70703         * math/fedisblxcpt.c: Likewise.
70704         * math/feenablxcpt.c: Likewise.
70705         * math/fegetenv.c: Likewise.
70706         * math/fegetexcept.c: Likewise.
70707         * math/fegetround.c: Likewise.
70708         * math/feholdexcpt.c: Likewise.
70709         * math/fesetenv.c: Likewise.
70710         * math/fesetround.c: Likewise.
70711         * math/feupdateenv.c: Likewise.
70712         * math/fgetexcptflg.c: Likewise.
70713         * math/fraiseexcpt.c: Likewise.
70714         * math/fsetexcptflg.c: Likewise.
70715         * math/ftestexcept.c: Likewise.
70716         * math/k_cosl.c: Likewise.
70717         * math/k_rem_pio2l.c: Likewise.
70718         * math/k_sinl.c: Likewise.
70719         * math/k_tanl.c: Likewise.
70720         * math/s_asinhl.c: Likewise.
70721         * math/s_atanl.c: Likewise.
70722         * math/s_cbrtl.c: Likewise.
70723         * math/s_erfl.c: Likewise.
70724         * math/s_expm1l.c: Likewise.
70725         * math/s_log1pl.c: Likewise.
70726         * math/s_tanhl.c: Likewise.
70727         * misc/acct.c: Likewise.
70728         * misc/brk.c: Likewise.
70729         * misc/chflags.c: Likewise.
70730         * misc/chroot.c: Likewise.
70731         * misc/fchflags.c: Likewise.
70732         * misc/fgetxattr.c: Likewise.
70733         * misc/flistxattr.c: Likewise.
70734         * misc/fremovexattr.c: Likewise.
70735         * misc/fsetxattr.c: Likewise.
70736         * misc/fsync.c: Likewise.
70737         * misc/ftruncate.c: Likewise.
70738         * misc/futimes.c: Likewise.
70739         * misc/futimesat.c: Likewise.
70740         * misc/getdomain.c: Likewise.
70741         * misc/getdtsz.c: Likewise.
70742         * misc/gethostid.c: Likewise.
70743         * misc/gethostname.c: Likewise.
70744         * misc/getloadavg.c: Likewise.
70745         * misc/getpagesize.c: Likewise.
70746         * misc/getsysstats.c: Likewise.
70747         * misc/getxattr.c: Likewise.
70748         * misc/gtty.c: Likewise.
70749         * misc/ioctl.c: Likewise.
70750         * misc/lgetxattr.c: Likewise.
70751         * misc/listxattr.c: Likewise.
70752         * misc/llistxattr.c: Likewise.
70753         * misc/lremovexattr.c: Likewise.
70754         * misc/lsetxattr.c: Likewise.
70755         * misc/lutimes.c: Likewise.
70756         * misc/madvise.c: Likewise.
70757         * misc/mincore.c: Likewise.
70758         * misc/mlock.c: Likewise.
70759         * misc/mlockall.c: Likewise.
70760         * misc/mmap.c: Likewise.
70761         * misc/mprotect.c: Likewise.
70762         * misc/msync.c: Likewise.
70763         * misc/munlock.c: Likewise.
70764         * misc/munlockall.c: Likewise.
70765         * misc/munmap.c: Likewise.
70766         * misc/preadv.c: Likewise.
70767         * misc/preadv64.c: Likewise.
70768         * misc/ptrace.c: Likewise.
70769         * misc/pwritev.c: Likewise.
70770         * misc/pwritev64.c: Likewise.
70771         * misc/readv.c: Likewise.
70772         * misc/reboot.c: Likewise.
70773         * misc/remap_file_pages.c: Likewise.
70774         * misc/removexattr.c: Likewise.
70775         * misc/revoke.c: Likewise.
70776         * misc/select.c: Likewise.
70777         * misc/setdomain.c: Likewise.
70778         * misc/setegid.c: Likewise.
70779         * misc/seteuid.c: Likewise.
70780         * misc/sethostid.c: Likewise.
70781         * misc/sethostname.c: Likewise.
70782         * misc/setregid.c: Likewise.
70783         * misc/setreuid.c: Likewise.
70784         * misc/setxattr.c: Likewise.
70785         * misc/sstk.c: Likewise.
70786         * misc/stty.c: Likewise.
70787         * misc/swapoff.c: Likewise.
70788         * misc/swapon.c: Likewise.
70789         * misc/sync.c: Likewise.
70790         * misc/syncfs.c: Likewise.
70791         * misc/syscall.c: Likewise.
70792         * misc/truncate.c: Likewise.
70793         * misc/ualarm.c: Likewise.
70794         * misc/usleep.c: Likewise.
70795         * misc/ustat.c: Likewise.
70796         * misc/utimes.c: Likewise.
70797         * misc/vhangup.c: Likewise.
70798         * misc/writev.c: Likewise.
70799         * posix/_exit.c: Likewise.
70800         * posix/alarm.c: Likewise.
70801         * posix/execve.c: Likewise.
70802         * posix/fexecve.c: Likewise.
70803         * posix/fork.c: Likewise.
70804         * posix/fpathconf.c: Likewise.
70805         * posix/getaddrinfo.c: Likewise.
70806         * posix/getegid.c: Likewise.
70807         * posix/geteuid.c: Likewise.
70808         * posix/getgid.c: Likewise.
70809         * posix/getgroups.c: Likewise.
70810         * posix/getlogin.c: Likewise.
70811         * posix/getlogin_r.c: Likewise.
70812         * posix/getpgid.c: Likewise.
70813         * posix/getpid.c: Likewise.
70814         * posix/getppid.c: Likewise.
70815         * posix/getresgid.c: Likewise.
70816         * posix/getresuid.c: Likewise.
70817         * posix/getsid.c: Likewise.
70818         * posix/getuid.c: Likewise.
70819         * posix/glob64.c: Likewise.
70820         * posix/nanosleep.c: Likewise.
70821         * posix/pathconf.c: Likewise.
70822         * posix/pause.c: Likewise.
70823         * posix/posix_madvise.c: Likewise.
70824         * posix/pread.c: Likewise.
70825         * posix/pread64.c: Likewise.
70826         * posix/pwrite.c: Likewise.
70827         * posix/pwrite64.c: Likewise.
70828         * posix/sched_getaffinity.c: Likewise.
70829         * posix/sched_getp.c: Likewise.
70830         * posix/sched_gets.c: Likewise.
70831         * posix/sched_primax.c: Likewise.
70832         * posix/sched_primin.c: Likewise.
70833         * posix/sched_rr_gi.c: Likewise.
70834         * posix/sched_setaffinity.c: Likewise.
70835         * posix/sched_setp.c: Likewise.
70836         * posix/sched_sets.c: Likewise.
70837         * posix/sched_yield.c: Likewise.
70838         * posix/setgid.c: Likewise.
70839         * posix/setlogin.c: Likewise.
70840         * posix/setpgid.c: Likewise.
70841         * posix/setresgid.c: Likewise.
70842         * posix/setresuid.c: Likewise.
70843         * posix/setsid.c: Likewise.
70844         * posix/setuid.c: Likewise.
70845         * posix/sleep.c: Likewise.
70846         * posix/spawni.c: Likewise.
70847         * posix/sysconf.c: Likewise.
70848         * posix/times.c: Likewise.
70849         * posix/wait.c: Likewise.
70850         * posix/wait3.c: Likewise.
70851         * posix/wait4.c: Likewise.
70852         * posix/waitpid.c: Likewise.
70853         * resolv/gai_sigqueue.c: Likewise.
70854         * resource/getpriority.c: Likewise.
70855         * resource/getrlimit.c: Likewise.
70856         * resource/getrusage.c: Likewise.
70857         * resource/nice.c: Likewise.
70858         * resource/setpriority.c: Likewise.
70859         * resource/setrlimit.c: Likewise.
70860         * resource/ulimit.c: Likewise.
70861         * rt/aio_cancel.c: Likewise.
70862         * rt/aio_fsync.c: Likewise.
70863         * rt/aio_read.c: Likewise.
70864         * rt/aio_sigqueue.c: Likewise.
70865         * rt/aio_suspend.c: Likewise.
70866         * rt/aio_write.c: Likewise.
70867         * rt/clock_getres.c: Likewise.
70868         * rt/clock_gettime.c: Likewise.
70869         * rt/clock_nanosleep.c: Likewise.
70870         * rt/clock_settime.c: Likewise.
70871         * rt/lio_listio.c: Likewise.
70872         * rt/mq_close.c: Likewise.
70873         * rt/mq_getattr.c: Likewise.
70874         * rt/mq_notify.c: Likewise.
70875         * rt/mq_open.c: Likewise.
70876         * rt/mq_receive.c: Likewise.
70877         * rt/mq_send.c: Likewise.
70878         * rt/mq_setattr.c: Likewise.
70879         * rt/mq_timedreceive.c: Likewise.
70880         * rt/mq_timedsend.c: Likewise.
70881         * rt/mq_unlink.c: Likewise.
70882         * rt/shm_open.c: Likewise.
70883         * rt/shm_unlink.c: Likewise.
70884         * rt/timer_create.c: Likewise.
70885         * rt/timer_delete.c: Likewise.
70886         * rt/timer_getoverr.c: Likewise.
70887         * rt/timer_gettime.c: Likewise.
70888         * rt/timer_settime.c: Likewise.
70889         * setjmp/__longjmp.c: Likewise.
70890         * setjmp/setjmp.c: Likewise.
70891         * signal/kill.c: Likewise.
70892         * signal/killpg.c: Likewise.
70893         * signal/raise.c: Likewise.
70894         * signal/sigaction.c: Likewise.
70895         * signal/sigaltstack.c: Likewise.
70896         * signal/sigblock.c: Likewise.
70897         * signal/sigignore.c: Likewise.
70898         * signal/sigintr.c: Likewise.
70899         * signal/signal.c: Likewise.
70900         * signal/sigpause.c: Likewise.
70901         * signal/sigpending.c: Likewise.
70902         * signal/sigqueue.c: Likewise.
70903         * signal/sigreturn.c: Likewise.
70904         * signal/sigset.c: Likewise.
70905         * signal/sigsetmask.c: Likewise.
70906         * signal/sigstack.c: Likewise.
70907         * signal/sigsuspend.c: Likewise.
70908         * signal/sigtimedwait.c: Likewise.
70909         * signal/sigvec.c: Likewise.
70910         * signal/sigwait.c: Likewise.
70911         * signal/sigwaitinfo.c: Likewise.
70912         * signal/sysv_signal.c: Likewise.
70913         * socket/accept.c: Likewise.
70914         * socket/accept4.c: Likewise.
70915         * socket/bind.c: Likewise.
70916         * socket/connect.c: Likewise.
70917         * socket/getpeername.c: Likewise.
70918         * socket/getsockname.c: Likewise.
70919         * socket/getsockopt.c: Likewise.
70920         * socket/isfdtype.c: Likewise.
70921         * socket/listen.c: Likewise.
70922         * socket/recv.c: Likewise.
70923         * socket/recvfrom.c: Likewise.
70924         * socket/recvmsg.c: Likewise.
70925         * socket/send.c: Likewise.
70926         * socket/sendmsg.c: Likewise.
70927         * socket/sendto.c: Likewise.
70928         * socket/setsockopt.c: Likewise.
70929         * socket/shutdown.c: Likewise.
70930         * socket/sockatmark.c: Likewise.
70931         * socket/socket.c: Likewise.
70932         * socket/socketpair.c: Likewise.
70933         * stdio-common/ctermid.c: Likewise.
70934         * stdio-common/cuserid.c: Likewise.
70935         * stdio-common/remove.c: Likewise.
70936         * stdio-common/rename.c: Likewise.
70937         * stdio-common/renameat.c: Likewise.
70938         * stdio-common/tempname.c: Likewise.
70939         * stdlib/getcontext.c: Likewise.
70940         * stdlib/makecontext.c: Likewise.
70941         * stdlib/setcontext.c: Likewise.
70942         * stdlib/swapcontext.c: Likewise.
70943         * stdlib/system.c: Likewise.
70944         * streams/fattach.c: Likewise.
70945         * streams/fdetach.c: Likewise.
70946         * streams/getmsg.c: Likewise.
70947         * streams/getpmsg.c: Likewise.
70948         * streams/putmsg.c: Likewise.
70949         * streams/putpmsg.c: Likewise.
70950         * sysdeps/unix/bsd/getpt.c: Likewise.
70951         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
70952         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
70953         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
70954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70955         Likewise.
70956         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
70957         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70958         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
70959         * sysvipc/msgctl.c: Likewise.
70960         * sysvipc/msgget.c: Likewise.
70961         * sysvipc/msgrcv.c: Likewise.
70962         * sysvipc/msgsnd.c: Likewise.
70963         * sysvipc/semctl.c: Likewise.
70964         * sysvipc/semget.c: Likewise.
70965         * sysvipc/semop.c: Likewise.
70966         * sysvipc/semtimedop.c: Likewise.
70967         * sysvipc/shmat.c: Likewise.
70968         * sysvipc/shmctl.c: Likewise.
70969         * sysvipc/shmdt.c: Likewise.
70970         * sysvipc/shmget.c: Likewise.
70971         * termios/tcdrain.c: Likewise.
70972         * termios/tcflow.c: Likewise.
70973         * termios/tcflush.c: Likewise.
70974         * termios/tcgetattr.c: Likewise.
70975         * termios/tcgetpgrp.c: Likewise.
70976         * termios/tcsendbrk.c: Likewise.
70977         * termios/tcsetattr.c: Likewise.
70978         * termios/tcsetpgrp.c: Likewise.
70979         * time/adjtime.c: Likewise.
70980         * time/clock.c: Likewise.
70981         * time/getitimer.c: Likewise.
70982         * time/gettimeofday.c: Likewise.
70983         * time/setitimer.c: Likewise.
70984         * time/settimeofday.c: Likewise.
70985         * time/stime.c: Likewise.
70986         * time/time.c: Likewise.
70988 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
70990         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
70991         /usr/old/bin.
70993         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
70994         instead of spaces.
70995         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
70997 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
70999         [BZ #14796]
71000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
71001         FE_TONEAREST before applying Dekker multiplication and Knuth
71002         addition.  Clear inexact exceptions and check for exact zero
71003         results afterwards.
71004         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71005         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71006         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71007         * math/libm-test.inc (fma_test): Add more tests.
71008         (fma_test_towardzero): Likewise.
71009         (fma_test_downward): Likewise.
71010         (fma_test_upward): Likewise.
71011         * sysdeps/generic/math_private.h (default_libc_fesetround): New
71012         function.
71013         (libc_fesetround): New macro.
71014         (libc_fesetroundf): Likewise.
71015         (libc_fesetroundl): Likewise.
71016         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71017         function.
71018         (libc_fesetround_387): Likewise.
71019         (libc_fesetroundf): New macro.
71020         (libc_fesetround): Likewise.
71021         (libc_fesetroundl): Likewise.
71022         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71023         function.
71024         (libc_fesetroundf): New macro.
71025         (libc_fesetround): Likewise.
71026         (libc_fesetroundl): Likewise.
71027         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71028         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71029         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71030         libm_hidden_ver.
71031         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71032         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71033         libm_hidden_def.
71034         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71035         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71036         libm_hidden_ver.
71037         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71038         libm_hidden_def.
71040         [BZ #3439]
71041         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71042         integer constant usable in #if and use that to give value to enum
71043         constant.
71044         (FE_DIVBYZERO): Likewise.
71045         (FE_UNDERFLOW): Likewise.
71046         (FE_OVERFLOW): Likewise.
71047         (FE_INVALID): Likewise.
71048         (FE_INVALID_SNAN): Likewise.
71049         (FE_INVALID_ISI): Likewise.
71050         (FE_INVALID_IDI): Likewise.
71051         (FE_INVALID_ZDZ): Likewise.
71052         (FE_INVALID_IMZ): Likewise.
71053         (FE_INVALID_COMPARE): Likewise.
71054         (FE_INVALID_SOFTWARE): Likewise.
71055         (FE_INVALID_SQRT): Likewise.
71056         (FE_INVALID_INTEGER_CONVERSION): Likewise.
71057         (FE_TONEAREST): Likewise.
71058         (FE_TOWARDZERO): Likewise.
71059         (FE_UPWARD): Likewise.
71060         (FE_DOWNWARD): Likewise.
71061         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
71062         (FE_DIVBYZERO): Likewise.
71063         (FE_OVERFLOW): Likewise.
71064         (FE_UNDERFLOW): Likewise.
71065         (FE_INEXACT): Likewise.
71066         (FE_TONEAREST): Likewise.
71067         (FE_DOWNWARD): Likewise.
71068         (FE_UPWARD): Likewise.
71069         (FE_TOWARDZERO): Likewise.
71070         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
71071         (FE_UNDERFLOW): Likewise.
71072         (FE_OVERFLOW): Likewise.
71073         (FE_DIVBYZERO): Likewise.
71074         (FE_INVALID): Likewise.
71075         (FE_TONEAREST): Likewise.
71076         (FE_TOWARDZERO): Likewise.
71077         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
71078         (FE_OVERFLOW): Likewise.
71079         (FE_UNDERFLOW): Likewise.
71080         (FE_DIVBYZERO): Likewise.
71081         (FE_INEXACT): Likewise.
71082         (FE_TONEAREST): Likewise.
71083         (FE_TOWARDZERO): Likewise.
71084         (FE_UPWARD): Likewise.
71085         (FE_DOWNWARD): Likewise.
71086         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
71087         (FE_DIVBYZERO): Likewise.
71088         (FE_OVERFLOW): Likewise.
71089         (FE_UNDERFLOW): Likewise.
71090         (FE_INEXACT): Likewise.
71091         (FE_TONEAREST): Likewise.
71092         (FE_DOWNWARD): Likewise.
71093         (FE_UPWARD): Likewise.
71094         (FE_TOWARDZERO): Likewise.
71096 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
71098         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
71100 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
71102         * scripts/cross-test-ssh.sh (command): Use newlines to separate
71103         commands.  Quote $PWD.
71104         (blacklist_exports): Don't use remove_newlines.  Replace "declare
71105         -x" by "export".
71106         (remove_newlines): Remove.
71108 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
71110         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
71111         * stdlib/stdlib.h (atof): Moved to ...
71112         * include/bits/stdlib-float.h: Here.  New file.
71113         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
71114         * stdlib/bits/stdlib-float.h: New file.
71115         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
71116         -mno-sse -mno-mmx.
71117         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
71118         <xmmintrin.h>.
71120 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71122         * conform/conformtest.pl (@headers): Add fenv.h.
71123         * conform/data/fenv.h-data: New file.
71124         * include/fenv.h [_ISOMAC]: Disable all contents of file except
71125         include of <math/fenv.h>.
71127         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
71128         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
71129         && !UNIX98].  Enables tests for XOPEN2K8.
71130         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
71131         POSIX2008]: Likewise.
71133         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
71134         (struct rusage): Do not expect type or its members.
71136         [BZ #3439]
71137         * math/math.h (FP_NAN): Define macro to integer constant usable in
71138         #if and use that to give value to enum constant.
71139         (FP_INFINITE): Likewise.
71140         (FP_ZERO): Likewise.
71141         (FP_SUBNORMAL): Likewise.
71142         (FP_NORMAL): Likewise.
71144 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
71146         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
71147         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
71148         arguments.
71150 2012-11-02  Roland McGrath  <roland@hack.frob.com>
71152         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
71153         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
71154         autoconf-time if not.
71155         * configure.in: Remove AC_PREREQ.
71157 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71159         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
71160         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
71161         of the internal implementation.
71163 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71165         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
71166         except include of <misc/sys/syslog.h>.
71168 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
71171         function returns with a NULL context exit with zero.
71173 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71175         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
71177 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
71179         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
71180         (run_program_cmd): This.
71181         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
71182         (tst_langinfo): New variable.  Use it.
71184 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
71186         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
71187         floating point opcodes.
71189 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71191         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
71192         variable.
71194         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
71196         * sysdeps/mach/hurd/powerpc: Remove directory.
71197         * sysdeps/mach/powerpc: Likewise.
71199 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71201         * scripts/check-local-headers.sh: Ignore c++ headers.
71203 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71205         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
71206         __libc_cleanup_region_start argument.
71208 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
71210         [BZ #14784]
71211         [BZ #14785]
71212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
71213         x * y using scaling, not as x * y + z.
71214         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71215         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71216         * math/libm-test.inc (fma_test): Add more tests.
71217         (fma_test_towardzero): Likewise.
71218         (fma_test_downward): Likewise.
71219         (fma_test_upward): Likewise.
71221 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71223         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
71225 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71227         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
71228         New variable.
71230 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
71232         * rt/tst-shm.c (worker): Correct checking for mmap failure.
71234 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71237         Fix sort order.
71238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71239         Likewise.
71241 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71244         Fix the order of the list for glibc 2.17.
71245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71246         Likewise.
71248 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71252 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71254         [BZ #14610]
71255         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
71256         for low part of x being zero before using __atanl (y).
71257         * math/libm-test.inc (atan2_test): Add another test.
71259         * manual/install.texi (Configuring and compiling): Document
71260         general use of test-wrapper and test-wrapper-env.
71261         * INSTALL: Regenerated.
71263         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
71264         (__fma): Do not extract and scale down low bits on after-rounding
71265         systems when result rounded to normal precision would have normal
71266         exponent.
71267         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
71268         (__fmal): Do not extract and scale down low bits on after-rounding
71269         systems when result rounded to normal precision would have normal
71270         exponent.
71271         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
71272         (__fmal): Do not extract and scale down low bits on after-rounding
71273         systems when result rounded to normal precision would have normal
71274         exponent.
71275         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
71276         macro.
71277         (fma_test): Add more tests.
71278         (fma_test_towardzero): Likewise.
71279         (fma_test_downward): Likewise.
71280         (fma_test_upward): Likewise.
71282 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
71284         * sysdeps/i386/tininess.h: Renamed to ...
71285         * sysdeps/x86/tininess.h: This.
71286         * sysdeps/x86_64/tininess.h: Removed.
71288 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71290         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
71291         input.  Use $(build-program-cmd).
71292         ($(objpfx)tst-array1-static.out): Likewise.
71293         ($(objpfx)tst-array2.out): Likewise.
71294         ($(objpfx)tst-array3.out): Likewise.
71295         ($(objpfx)tst-array4.out): Likewise.
71296         ($(objpfx)tst-array5.out): Likewise.
71297         ($(objpfx)tst-array5-static.out): Likewise.
71299 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
71301         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
71302         if defined.
71304         * nss/nsswitch.h (nss_interface_function): Provide new
71305         macro for use with NSS functions.
71306         * grp/initgroups.c: Use new macro.
71307         * nss/getXXbyYY.c: Likewise.
71308         * nss/getXXbyYY_r.c: Likewise.
71309         * nss/getXXent.c: Likewise.
71310         * nss/getXXent_r.c: Likewise.
71311         * sysdeps/posix/getaddrinfo.c: Likewise.
71313 2012-10-30  Andreas Jaeger  <aj@suse.de>
71315         * po/ru.po: Update Russion translation from translation project.
71317 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71319         [BZ #14152]
71320         [BZ #14783]
71321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
71322         result and shift together with sticky bit instead of replicating
71323         round-to-nearest rounding.
71324         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71325         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71326         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
71327         missing underflow exceptions.
71328         (fma_test_towardzero): Add more tests.
71329         (fma_test_downward): Likewise.
71330         (fma_test_upward): Likewise.
71332         [BZ #14047]
71333         * sysdeps/generic/tininess.h: New file.
71334         * sysdeps/i386/tininess.h: Likewise.
71335         * sysdeps/sh/tininess.h: Likewise.
71336         * sysdeps/x86_64/tininess.h: Likewise.
71337         * stdlib/tst-strtod-underflow.c: Likewise.
71338         * stdlib/tst-tininess.c: Likewise.
71339         * stdlib/strtod_l.c: Include <tininess.h>.
71340         (round_and_return): Do not set errno for exact underflow cases.
71341         Force an underflow exception when setting errno for underflow.
71342         Determine underflow based on rounding to normal precision if
71343         TININESS_AFTER_ROUNDING.
71344         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
71345         ERANGE for exact underflow cases.
71346         * stdlib/Makefile (tests): Add tst-tininess and
71347         tst-strtod-underflow.
71348         ($(objpfx)tst-tininess): Use $(link-libm).
71349         ($(objpfx)tst-strtod-underflow): Likewise.
71351 2012-10-30  Andreas Jaeger  <aj@suse.de>
71353         [BZ #14767]
71354         * elf/Makefile (tests): Remove conditional for have-initfini-array
71355         since this is now always required and the variable does not exist
71356         anymore.
71357         (tests-static): Likewise.
71358         (modules-names): Likewise.
71360         * po/eo.po: Add Esperanto translation from translation project.
71362         * elf/tst-array1.c (fini_array): Make writeable so that it can be
71363         merged with constructor/destructor.
71364         (init_array): Likewise.
71365         * elf/tst-array2dep.c (fini_array): Likewise.
71366         (init_array): Likewise.
71368 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
71370         * manual/message.texi: Delete @cartouche tags.
71372 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
71374         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
71375         EOPNOTSUPP.
71376         * sysdeps/mach/hurd/fsync.c: Likewise.
71378         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
71379         [_POSIX_REALTIME_SIGNALS]: Change condition to
71380         [_POSIX_REALTIME_SIGNALS > 0].
71382 2012-10-27  Andreas Jaeger  <aj@suse.de>
71384         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
71385         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
71386         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
71387         [__WORDSIZE != 64]: Likewise.
71389 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
71391         *  iconvdata/tst-table.sh: Remove ${SHELL}.
71392         *  iconvdata/tst-tables.sh: Likewise.
71394 2012-10-25  David S. Miller  <davem@davemloft.net>
71396         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71397         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
71398         of strtoull.
71400         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
71401         ifunc-impl-list.c
71402         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71403         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
71404         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
71405         file.
71407 2012-10-25  Roland McGrath  <roland@hack.frob.com>
71409         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71410         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
71411         __getdirentries.
71413 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71414             Jim Blandy  <jimb@codesourcery.com>
71416         * scripts/cross-test-ssh.sh: New file.
71417         * manual/install.texi (Configuring and compiling): Document use of
71418         cross-test-ssh.sh.
71419         * INSTALL: Regenerated.
71421 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
71423         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
71424         EOPNOTSUPP.
71426 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71428         * Makeconfig (run-program-prefix): Fix comment.
71430 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71431             Jim Blandy  <jimb@codesourcery.com>
71433         * Makeconfig (test-wrapper): New variable,
71434         (test-wrapper-env): Likewise.
71435         [$(cross-compiling) = yes && $(test-wrapper) != ""]
71436         (run-built-tests): Define to yes.
71437         (run-program-prefix): Use $(test-wrapper).
71438         (built-program-cmd): Likewise.
71439         * Rules (make-test-out): Use $(test-wrapper-env) and
71440         $(host-built-program-cmd).
71441         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
71442         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
71443         tst-pathopt.sh.
71444         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
71445         $(test-wrapper-env) to tst-rtld-load-self.sh.
71446         ($(objpfx)order2.out): Use $(test-wrapper).
71447         ($(objpfx)tst-initorder.out): Likewise.
71448         ($(objpfx)tst-initorder2.out): Likewise.
71449         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
71450         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
71451         (test_wrapper_env): New variable.  Use it to run ld.so.
71452         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
71453         Use it to run ld.so.
71454         (test_wrapper_env): Likewise.
71455         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
71456         $(test-wrapper) to run-iconv-test.sh.
71457         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
71458         (ICONV): Use $test_wrapper.
71459         * posix/Makefile ($(objpfx)globtest.out): Pass
71460         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
71461         globtest.sh, not $(run-program-prefix).
71462         * posix/globtest.sh (run_via_rtld_prefix): New variable.
71463         (test_wrapper): Likewise.
71464         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
71465         set together with run_via_rtld_prefix.
71466         (run_program_prefix): Define in terms of test_wrapper and
71467         run_via_rtld_prefix.
71469 2012-10-24  Roland McGrath  <roland@hack.frob.com>
71471         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
71472         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
71473         Targets removed.
71475         [BZ #14743]
71476         * include/time.h: Remove librt_hidden_proto (clock_gettime).
71477         Declare __clock_getres, __clock_gettime, __clock_settime,
71478         __clock_nanosleep, and __clock_getcpuclockid.
71479         * rt/clock_gettime.c: Define __clock_gettime as an alias.
71480         Remove librt_hidden_def (clock_gettime).
71481         * sysdeps/unix/clock_gettime.c: Likewise.
71482         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
71483         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
71484         * rt/clock_getres.c: Define __clock_getres as an alias.
71485         * sysdeps/posix/clock_getres.c: Likewise.
71486         * rt/clock_settime.c: Define __clock_settime as an alias.
71487         * sysdeps/unix/clock_settime.c: Likewise.
71488         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
71489         * sysdeps/unix/clock_nanosleep.c: Likewise.
71490         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
71491         * rt/clock-compat.c: New file.
71492         * rt/Makefile (librt-routines): Add clock-compat and move
71493         $(clock-routines) to ...
71494         (routines): ... here, new variable.
71495         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
71496         Don't add get_clockfreq here.
71497         * rt/Versions (libc: GLIBC_2.17): New version set.
71498         Add clock_* symbols here.
71499         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
71500         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
71501         (GLIBC_2.17): Add clock_* symbols.
71502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71504         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71506         Likewise.
71507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71508         Likewise.
71509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71513         * NEWS: Mention the move.
71515         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
71516         Use __open, __read, __close rather than their public counterparts.
71517         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71518         (__get_clockfreq_via_cpuinfo): Likewise.
71519         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
71520         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
71522         * config.h.in (HAVE_IFUNC): New #undef.
71523         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
71524         was successful.
71525         * configure: Regenerated.
71527 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71529         * configure.in: Move READELF check to start of file.
71530         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
71531         libc_cv_asm_gnu_indirect_function in the process.
71532         * configure: Regenerated.
71534 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71536         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
71537         send the output to /dev/null.
71538         (libc_cv_cc_with_libunwind): Likewise.
71539         (libc_cv_as_noexecstack): Likewise.
71540         * configure: Regenerate.
71542 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71544         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
71546         * posix/globtest.sh (TMPDIR): Do not set.
71547         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
71548         (testout): Likewise.
71550 2012-10-24  Andreas Jaeger  <aj@suse.de>
71552         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
71553         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
71554         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
71555         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
71556         posix_fadvise64, posix_fallocate64.
71558         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
71559         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
71560         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
71561         Likewise.
71562         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
71563         Likewise.
71564         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
71566         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
71567         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
71568         <bits/fcntl-linux.h>.
71569         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
71571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
71572         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
71573         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
71574         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
71575         [__WORDSIZE != 64]: Likewise.
71577 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71579         * Makeconfig (run-built-tests): New variable.
71580         * Rules [$(cross-compiling) = yes]: Change condition to
71581         [$(run-built-tests) = no].
71582         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
71583         to [$(run-built-tests) = yes].
71584         * elf/Makefile [$(cross-compiling) = no]: Likewise.
71585         * grp/Makefile [$(cross-compiling) = no]: Likewise.
71586         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
71587         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
71588         * intl/Makefile [$(cross-compiling) = no]: Likewise.
71589         * io/Makefile [$(cross-compiling) = no]: Likewise.
71590         * libio/Makefile [$(cross-compiling) = no]: Likewise.
71591         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
71592         * misc/Makefile [$(cross-compiling) = no]: Likewise.
71593         * posix/Makefile [$(cross-compiling) = no]: Likewise.
71594         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
71595         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
71596         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
71597         * string/Makefile [$(cross-compiling) = no]: Likewise.
71599         * posix/Makefile ($(objpfx)globtest.out): Pass
71600         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
71601         $(rtld-installed-name).
71602         * posix/globtest.sh (elf_objpfx): Remove variable.
71603         (rtld_installed_name): Likewise.
71604         (library_path): Likewise.
71605         (run_program_prefix): New variable.  Use for running globtest
71606         binary.
71608 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
71609             Joseph Myers  <joseph@codesourcery.com>
71611         * Makeconfig (host-built-program-cmd): New variable.
71612         * elf/Makefile (tst-stackguard1-ARGS): Use
71613         $(host-built-program-cmd).
71614         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
71615         (tst-spawn-ARGS): Likewise.
71616         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
71618 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71619             Jim Blandy  <jimb@codesourcery.com>
71621         * Makeconfig (run-via-rtld-prefix): New variable.
71622         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
71623         (built-program-cmd): Likewise.
71625 2012-10-22  Andreas Jaeger  <aj@suse.de>
71627         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
71628         __O_RSYNC if it exists, otherwise to O_SYNC.
71630 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
71631             Joseph Myers  <joseph@codesourcery.com>
71633         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
71634         /dev/null.
71635         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
71636         from /dev/null
71637         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
71638         /dev/null.
71640 2012-10-22  Andreas Jaeger  <aj@suse.de>
71642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
71643         Define always.
71644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
71646         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71647         bits/fcntl-linux.h.
71649         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
71650         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
71652         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
71653         to __O_LARGEFILE.
71654         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
71655         to __O_LARGEFILE.
71657 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
71658             Joseph Myers  <joseph@codesourcery.com>
71660         * config.make.in (NM): New variable.
71662 2012-10-21  Andreas Jaeger  <aj@suse.de>
71664         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
71665         definitions and declarations that are provided by
71666         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71668 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71670         [BZ #14683]
71671         * elf/Makefile (tests-static): Add tst-leaks1-static.
71672         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
71673         ($(objpfx)tst-leaks1-static): New rule.
71674         ($(objpfx)tst-leaks1-static-mem): Likewise.
71675         (tst-leaks1-static-ENV): New macro.
71676         * elf/dl-open.c (dl_open_worker): Check the main application
71677         only if SHARED is defined.
71678         * elf/tst-leaks1-static.c: New file.
71680 2012-10-20  Andreas Jaeger  <aj@suse.de>
71682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
71683         generic values for Linux.
71684         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
71685         and declarations that are provided by <bits/fcntl-linux.h> and
71686         include <bits/fcntl-linux.h>.
71687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71688         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71690 2012-10-20  Roland McGrath  <roland@hack.frob.com>
71692         * io/fcntl.h: Move include of <bits/types.h> to the top and
71693         include it unconditionally.
71695 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71697         * wcsmbs/Makefile (tests-ifunc): New variable.
71698         (tests): Add $(tests-ifunc).
71699         * wcsmbs/test-wcschr-ifunc.c: New file.
71700         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
71701         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
71702         * wcsmbs/test-wcslen-ifunc.c: Likewise.
71703         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
71704         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
71706         * string/Makefile (tests-ifunc): New variable.
71707         (tests): Add $(tests-ifunc).
71708         * string/test-memccpy.c (TEST_NAME): New macro.
71709         * string/test-memchr.c (TEST_NAME): Likewise.
71710         * string/test-memcmp.c (TEST_NAME): Likewise.
71711         * string/test-memcpy.c (TEST_NAME): Likewise.
71712         * string/test-memmem.c (TEST_NAME): Likewise.
71713         * string/test-memmove.c (TEST_NAME): Likewise.
71714         * string/test-memset.c (TEST_NAME): Likewise.
71715         * string/test-rawmemchr.c (TEST_NAME): Likewise.
71716         * string/test-stpcpy.c (TEST_NAME): Likewise.
71717         * string/test-stpncpy.c (TEST_NAME): Likewise.
71718         * string/test-strcasecmp.c (TEST_NAME): Likewise.
71719         * string/test-strcasestr.c (TEST_NAME): Likewise.
71720         * string/test-strcat.c (TEST_NAME): Likewise.
71721         * string/test-strchr.c (TEST_NAME): Likewise.
71722         * string/test-strcmp.c(TEST_NAME): Likewise.
71723         * string/test-strcpy.c (TEST_NAME): Likewise.
71724         * string/test-strcspn.c (TEST_NAME): Likewise.
71725         * string/test-strlen.c (TEST_NAME): Likewise.
71726         * string/test-strncasecmp.c (TEST_NAME): Likewise.
71727         * string/test-strncmp.c (TEST_NAME): Likewise.
71728         * string/test-strncpy.c (TEST_NAME): Likewise.
71729         * string/test-strnlen.c (TEST_NAME): Likewise.
71730         * string/test-strpbrk.c (TEST_NAME): Likewise.
71731         * string/test-strrchr.c (TEST_NAME): Likewise.
71732         * string/test-strspn.c (TEST_NAME): Likewise.
71733         * string/test-strstr.c (TEST_NAME): Likewise.
71734         * string/test-bcopy-ifunc.c: New file.
71735         * string/test-bzero-ifunc.c: Likewise.
71736         * string/test-memccpy-ifunc.c: Likewise.
71737         * string/test-memchr-ifunc.c: Likewise.
71738         * string/test-memcmp-ifunc.c: Likewise.
71739         * string/test-memcpy-ifunc.c: Likewise.
71740         * string/test-memmem-ifunc.c: Likewise.
71741         * string/test-memmove-ifunc.c: Likewise.
71742         * string/test-mempcpy-ifunc.c: Likewise.
71743         * string/test-memset-ifunc.c: Likewise.
71744         * string/test-rawmemchr-ifunc.c: Likewise.
71745         * string/test-stpcpy-ifunc.c: Likewise.
71746         * string/test-stpncpy-ifunc.c: Likewise.
71747         * string/test-strcasecmp-ifunc.c: Likewise.
71748         * string/test-strcasestr-ifunc.c: Likewise.
71749         * string/test-strcat-ifunc.c: Likewise.
71750         * string/test-strchr-ifunc.c: Likewise.
71751         * string/test-strchrnul-ifunc.c: Likewise.
71752         * string/test-strcmp-ifunc.c: Likewise.
71753         * string/test-strcpy-ifunc.c: Likewise.
71754         * string/test-strcspn-ifunc.c: Likewise.
71755         * string/test-strlen-ifunc.c: Likewise.
71756         * string/test-strncasecmp-ifunc.c: Likewise.
71757         * string/test-strncat-ifunc.c: Likewise.
71758         * string/test-strncmp-ifunc.c: Likewise.
71759         * string/test-strncpy-ifunc.c: Likewise.
71760         * string/test-strnlen-ifunc.c: Likewise.
71761         * string/test-strpbrk-ifunc.c: Likewise.
71762         * string/test-strrchr-ifunc.c: Likewise.
71763         * string/test-strspn-ifunc.c: Likewise.
71764         * string/test-strstr-ifunc.c: Likewise.
71766         * debug/Makefile (tests-ifunc): New variable.
71767         (tests): Add $(tests-ifunc).
71768         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
71769         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
71770         * debug/test-stpcpy_chk-ifunc.c: New file.
71771         * debug/test-strcpy_chk-ifunc.c: Likewise.
71773 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
71775         [BZ #13601]
71776         * elf/dl-load.c (open_verify): Retry read if the entire ELF
71777         header is not read in.
71779 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
71781         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
71782         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
71783         directly.  Pass built executable to script as
71784         $(built-program-cmd).
71785         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
71786         $testprogram without using LD_LIBRARY_PATH and $ldso.
71788         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
71789         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
71790         $(rtld-installed-name).
71791         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
71792         (rtld_installed_name): Likewise.
71793         (library_path): Likewise.
71794         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
71795         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
71796         $(run-program-prefix) to tst-tables.sh.
71797         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
71798         it to run tst-table-from and tst-table-to.
71799         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
71800         Pass it to tst-table.sh.
71801         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
71802         $(run-program-prefix) to tst-gettext.sh.
71803         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
71804         tst-translit.sh.
71805         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
71806         tst-gettext2.sh.
71807         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
71808         to run tst-gettext.
71809         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
71810         to run tst-gettext2.
71811         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
71812         to run tst-translit.
71813         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
71814         $(run-program-prefix) to tst-mtrace.sh.
71815         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
71816         to run tst-mtrace.
71817         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
71818         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
71819         $(rtld-installed-name).
71820         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
71821         (rtld_installed_name): Likewise.
71822         (run_program_prefix): New variable.  Use it to run wordexp-test.
71824         * Makeconfig (ARCH): Remove all definitions.
71825         (machine): Likewise.
71826         [ARCH]: Remove conditional code.
71827         [!objdir]: Give error.
71828         [!objdir] (objpfx): Remove.
71829         [!objdir] (common-objpfx): Likewise.
71830         [!objdir] (common-objdir): Likewise.
71831         * configure.in (config_makefile): Remove.  Hardcode Makefile in
71832         AC_CONFIG_FILES call.
71833         * configure: Regenerated.
71835         [BZ #13888]
71836         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
71837         or TMPDIR.
71838         (testout): Likewise.
71840         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
71841         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
71842         $(rtld-installed-name).
71843         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
71844         (rtld_installed_name): Likewise.
71845         (runit): Remove function.
71846         (run_getconf): New variable,  Use it for running getconf binary.
71848 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
71850         [BZ #14716]
71851         * string/test-memmem.c (check_result): New function.
71852         (do_one_test): Use it.
71853         (check1): New function.
71854         (test_main): Use it.
71856 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
71858         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
71860 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
71862         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
71863         (_G_LSEEK64): Likewise.
71864         (_G_MMAP64): Likewise.
71865         (_G_FSTAT64): Likewise.
71866         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
71867         (_G_LSEEK64): Likewise.
71868         (_G_MMAP64): Likewise.
71869         (_G_FSTAT64): Likewise.
71870         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
71871         unconditional.  Call __mmap64 directly.
71872         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
71873         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
71874         __lseek64 directly.
71875         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
71876         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
71877         __mmap64 directly.
71878         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
71879         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71880         __lseek64 directly.
71881         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
71882         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71883         __lseek64 directly.
71884         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
71885         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
71886         __lseek64 directly.
71887         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
71888         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
71889         __fxstat64 directly.
71890         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
71891         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
71892         unconditional.
71893         (freopen64) [!_G_OPEN64]: Remove conditional code.
71894         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
71895         unconditional.
71896         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
71897         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
71898         unconditional.
71899         (ftello64) [!_G_LSEEK64]: Remove conditional code.
71900         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
71901         unconditional.
71902         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71903         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
71904         unconditional.
71905         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
71906         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
71907         unconditional.
71908         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71909         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
71910         unconditional.
71911         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71912         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
71913         unconditional.
71914         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71916 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71918         [BZ #12140]
71919         * manual/memory.texi (Malloc Tunable Parameters): Add note
71920         about free list pointers overwriting some perturb bytes.
71921         Wording suggested by Roland McGrath.
71923 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
71925         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
71926         (lgamma_test): Likewise.
71927         (tgamma_test): Likewise.
71929 2012-10-16  Florian Weimer  <fweimer@redhat.com>
71931         [BZ #14700]
71932         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
71933         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
71935 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
71937         * NEWS: Mention BZ #14716.
71938         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
71939         when removing AVAILABLE1_USES_J macro.
71941 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
71943         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
71944         (__bswap_64): __uint64_t for unsigned 64-bit int.
71946 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
71948         * include/string.h (memmem): Declare libc hidden alias.
71949         * string/memmem.c (memmem): Define libc hidden alias.
71950         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
71951         __read, __close instead of open, read, close.
71953 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
71955         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
71956         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
71957         global and hidden.
71958         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
71959         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
71960         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
71961         Likewise.
71962         (__rawmemchr_sse2): Likewise.
71963         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
71964         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
71965         (__strchr_sse2): Likewise.
71966         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
71967         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
71968         (__strcasecmp_sse2): Likewise.
71969         (__strncasecmp_sse2): Likewise.
71970         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
71971         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
71972         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
71973         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
71974         (__strrchr_sse2): Likewise.
71975         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
71976         ifunc-impl-list.c.
71977         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
71978         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
71979         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
71980         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71981         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
71982         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
71983         * sysdeps/x86_64/multiarch/memset.S: Likewise.
71984         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
71985         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
71986         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
71987         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
71988         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
71989         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
71990         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
71991         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
71992         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
71993         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
71994         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
71995         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
71996         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
71997         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
71998         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
71999         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
72000         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
72001         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
72002         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72003         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
72004         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72005         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72006         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
72008         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72009         global and hidden.
72010         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72011         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72012         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72013         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72014         Likewise.
72015         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72016         Likewise.
72017         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72018         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72019         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72020         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72021         ifunc-impl-list.c.
72022         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72023         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72024         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72025         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72026         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72027         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72028         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72029         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72030         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72031         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72032         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72033         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72034         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72035         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72036         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72037         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72038         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72039         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72040         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72041         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72042         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72043         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72044         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72045         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72046         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72047         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72048         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
72049         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
72050         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
72051         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72052         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
72053         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72054         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72055         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
72056         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72057         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72058         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72059         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72060         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72061         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72062         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
72064         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
72065         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
72066         * include/ifunc-impl-list.h: New file.
72067         * misc/ifunc-impl-list.c: Likewise.
72068         * misc/Makefile (routines): Add ifunc-impl-list.
72069         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
72070         * string/test-string.h: Include <ifunc-impl-list.h>.
72071         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
72072         TEST_NAME]: New variables.
72073         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
72074         are defined.
72075         (test_init): Call __libc_ifunc_impl_list to initialize
72076         func_list if TEST_IFUNC and TEST_NAME are defined.
72078         * string/Makefile (strop-tests): Add bcopy and bzero.
72079         * string/test-bcopy.c: New file.
72080         * string/test-bzero.c: Likewise.
72081         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
72082         defined.
72083         * string/test-memset.c: Support bzero test if TEST_BZERO is
72084         defined.
72085         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
72086         __libc_memmove.
72087         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
72088         __libc_memset.
72089         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
72090         of memset.
72092 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
72094         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
72095         * configure: Regenerated.
72097         * Makeconfig (+link-static-before-libc): Don't include
72098         $(link-static-libc).
72100         * libio/libio.h (_IO_pos_t): Remove.
72102 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72104         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
72105         McGrath.
72107 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72109         * crypt/crypt-entry.c: Include fips-private.h.
72110         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
72111         * crypt/md5c-test.c (main): Tolerate disabled MD5.
72112         * sysdeps/unix/sysv/linux/fips-private.h: New file.
72113         * sysdeps/generic/fips-private.h: New file, dummy fallback.
72115 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72117         * crypt/crypt-private.h: Include stdbool.h.
72118         (_ufc_setup_salt_r): Return bool.
72119         * crypt/crypt-entry.c: Include errno.h.
72120         (__crypt_r): Return NULL with EINVAL for bad salt.
72121         * crypt/crypt_util.c (bad_for_salt): New.
72122         (_ufc_setup_salt_r): Check that salt is long enough and within
72123         the specified alphabet.
72124         * crypt/badsalttest.c: New file.
72125         * crypt/Makefile (tests): Add it.
72126         ($(objpfx)badsalttest): New.
72128 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
72130         * NEWS: Add entry for BZ #14602.
72132 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72134         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
72135         type-generic.
72136         * math/libm-test.inc: Update comment listing what functions and
72137         macros are tested.
72138         (isgreater_test): New function.
72139         (isgreaterequal_test): Likewise.
72140         (isless_test): Likewise.
72141         (islessequal_test): Likewise.
72142         (islessgreater_test): Likewise.
72143         (isunordered_test): Likewise.
72144         (main): Call the new functions.
72146 2012-10-09  Roland McGrath  <roland@hack.frob.com>
72148         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
72149         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
72150         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
72151         * sysdeps/i386/configure: Regenerated.
72152         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
72153         * sysdeps/mach/configure: Regenerated.
72154         * sysdeps/mach/hurd/configure: Regenerated.
72155         * sysdeps/powerpc/configure: Regenerated.
72156         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72157         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72158         * sysdeps/s390/s390-32/configure: Regenerated.
72159         * sysdeps/s390/s390-64/configure: Regenerated.
72160         * sysdeps/sh/configure: Regenerated.
72161         * sysdeps/sparc/configure: Regenerated.
72162         * sysdeps/unix/sysv/linux/configure: Regenerated.
72163         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
72164         * sysdeps/x86_64/configure: Regenerated.
72166         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
72167         defined.  Don't check if MAP is NULL.
72169 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72171         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
72172         (_G_stat64): Likewise.
72173         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
72174         (_G_stat64): Likewise.
72175         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
72176         instead of struct _G_stat64.
72177         * libio/fileops.c (mmap_remap_check): Likewise.
72178         (decide_maybe_mmap): Likewise.
72179         (_IO_new_file_seekoff): Likewise.
72180         (_IO_file_stat): Likewise.
72181         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
72182         _G_off64_t.
72183         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
72184         instead of struct _G_stat64.
72185         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72187 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
72189         [BZ #14602]
72190         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72191         Replace with ...
72192         (CHECK_EOL): New macro.
72193         (two_way_short_needle): Check beginning of haystack for EOL.  Use
72194         CHECK_EOL.
72195         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72196         Replace with CHECK_EOL.
72197         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72198         Replace with CHECK_EOL.
72200 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
72202         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
72203         type-generic.
72204         * math/libm-test.inc: Update comment listing what functions and
72205         macros are tested.
72206         (finite_test): New function.
72207         (isinf_test): Likewise.
72208         (isnan_test): Likewise.
72209         (fpclassify_test): Test subnormal input.
72210         (isfinite_test): Likewise.
72211         (isnormal_test): Likewise.
72212         (main): Call the new functions.
72214 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
72216         [BZ #14660]
72217         * Makerules (%.dynsym): Force C locale when running
72218         $(OBJDUMP) --dynamic-syms.
72220 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
72222         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
72223         <stdint.h>.
72225 2012-10-06  David S. Miller  <davem@davemloft.net>
72227         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
72228         upper 32-bits of the length value in %o2 since we use branch-on-register
72229         tests which consider the entire 64-bit register.
72231 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
72233         * string/test-strstr.c (check2): Add a test for page boundary.
72235 2012-10-05  David S. Miller  <davem@davemloft.net>
72237         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
72238         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
72239         file.
72240         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72241         sysdep_routines.
72242         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72243         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
72244         and bzero when HWCAP_SPARC_CRYPTO is present.
72246 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
72248         [BZ #14602]
72249         * string/test-strstr.c (check2): New function.
72250         (test_main): Call check2.
72252         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
72253         and bug-strchr1.
72254         * string/bug-strcasestr1.c (do_test): Moved to ...
72255         * string/test-strcasestr.c (check1): Here.  New function.
72256         (do_one_test): Break out result checking code into ...
72257         (check_result): This.  New function.
72258         (do_one_test): Call check_result.
72259         (test_main): Call check1.
72260         * string/bug-strchr1.c (do_test): Moved to ...
72261         * string/test-strchr.c (check1): Here.  New function.
72262         (do_one_test): Break out result checking code into ...
72263         (check_result): This.  New function.
72264         (do_one_test): Call check_result.
72265         (test_main): Call check1.
72266         * string/bug-strstr1.c (main): Moved to ...
72267         * string/test-strstr.c (check1): Here.  New function.
72268         (do_one_test): Break out result checking code into ...
72269         (check_result): This.  New function.
72270         (do_one_test): Call check_result.
72271         (test_main): Call check1.
72272         * string/bug-strcasestr1.c: Removed.
72273         * string/bug-strchr1.c: Likewise.
72274         * string/bug-strstr1.c: Likewise.
72276         * elf/Makefile (dl-routines): Add hwcaps.
72277         * elf/dl-support.c (_dl_important_hwcaps): Removed.
72278         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
72279         (_dl_important_hwcaps): Moved to ...
72280         * elf/dl-hwcaps.c: Here.  New file.
72281         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
72283         [BZ #14557]
72284         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
72285         if IS_IN_rtld isn't defined.
72287         * elf/dl-support.c (_dl_sysinfo_map): New.
72288         Include "get-dynamic-info.h" and "setup-vdso.h".
72289         (_dl_non_dynamic_init): Call setup_vdso.
72290         * elf/dynamic-link.h: Don't include <assert.h>.
72291         (elf_get_dynamic_info): Moved to ...
72292         * elf/get-dynamic-info.h: Here.  New file.
72293         * elf/dynamic-link.h: Include "get-dynamic-info.h".
72294         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
72295         * elf/setup-vdso.h: Here.  New file.
72296         * elf/rtld.c: Include "setup-vdso.h".
72297         (dl_main): Call setup_vdso.
72299 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
72301         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
72302         creal in comment listing functions tested.  List finite, isinf,
72303         isnan, isless, islessequal, isgreater, isgreaterequal,
72304         islessgreater, isunordered, lgamma_r and pow10 as functions and
72305         macros not tested.  Mention which functions not tested are aliases
72306         for other functions.  Fix typo.  Note that signs of NaNs are not
72307         tested.
72309         * scripts/config.guess: Update from config.git.
72310         * scripts/config.sub: Likewise.
72312 2012-10-04  Roland McGrath  <roland@hack.frob.com>
72314         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
72315         * misc/madvise.c (madvise): Renamed to __madvise.
72316         Make madvise a weak alias.
72317         * include/sys/mman.h: Declare __madvise.
72318         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
72319         * sysdeps/unix/syscalls.list
72320         (madvise): Make __madvise the strong name, and madvise a weak alias.
72321         * sysdeps/unix/sysv/linux/syscalls.list
72322         (madvise, mmap): Remove redundant entries.
72323         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
72324         * malloc/malloc.c (mtrim): Likewise.
72325         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
72327 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72329         * sysdeps/mach/hurd/dl-cache.c: File removed.
72330         * config.h.in (USE_LDCONFIG): New #undef.
72331         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
72332         * configure: Regenerated.
72333         * elf/Makefile (dl-routines): Add dl-cache only under
72334         [$(use-ldconfig) = yes].
72335         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
72336         cache on [USE_LDCONFIG].
72337         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
72338         [USE_LDCONFIG].
72339         * elf/rtld.c (dl_main): Likewise.
72341 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
72343         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
72344         _SC_LEVEL4_CACHE_LINESIZE.
72346 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72348         * sysdeps/unix/bsd/confstr.h: File removed.
72350 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
72352         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
72353         sys/sdt-config.h.
72355 2012-10-02  Roland McGrath  <roland@hack.frob.com>
72357         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
72358         Make 'mapoff' field ElfW(Off) rather than off_t.
72360 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
72362         * nscd/Makefile: Remove nscd-cflags and all its users.
72363         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
72364         (CFLAGS-nonlib): Add compiler flags for nscd modules.
72366         [BZ #10631]
72367         * malloc.c (malloc_printerr): Clarify error message.
72369 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
72371         [BZ #14648]
72372         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72373         Set bit_FMA_Usable if FMA is supported.
72374         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
72375         macro.
72376         (bit_FMA4_Usable): Updated.
72377         (index_FMA_Usable): New macro.
72378         (CPUID_FMA): Likewise.
72379         (HAS_FMA): Defined with bit_FMA_Usable.
72381 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72383         * bits/types.h (__swblk_t): Type removed.
72384         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
72385         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
72386         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72387         (__SWBLK_T_TYPE): Likewise.
72388         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72389         (__SWBLK_T_TYPE): Likewise.
72390         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72391         (__SWBLK_T_TYPE): Likewise.
72392         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72393         (__SWBLK_T_TYPE): Likewise.
72395 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
72396             Honza Horak <hhorak@redhat.com>
72398         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
72399         (xdr_mapname): Use YPMAXMAP as maxsize.
72400         (xdr_peername): Use YPMAXPEER as maxsize.
72401         (xdr_keydat): Use YPAXRECORD as maxsize.
72402         (xdr_valdat): Use YPMAXRECORD as maxsize.
72404 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72406         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
72408         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
72409         * csu/init-first.c: ... here.
72410         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
72411         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
72412         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
72413         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
72414         * sysdeps/i386/init-first.c: File removed.
72415         * sysdeps/sh/init-first.c: File removed.
72417 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
72419         [BZ #14645]
72420         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
72421         if x * y might underflow to zero and z is zero.
72422         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72423         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72424         * math/libm-test.inc (min_subnorm_value): New variable.
72425         (fma_test): Add more tests.
72426         (fma_test_towardzero): Likewise.
72427         (fma_test_downward): Likewise.
72428         (fma_test_upward): Likewise.
72429         (initialize): Set min_subnorm_value.
72431 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
72433         [BZ #14638]
72434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
72435         0 + 0.
72436         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
72437         mode for addition resulting in exact zero.
72438         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
72439         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
72440         exact 0 + 0.
72441         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72442         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72443         * math/libm-test.inc (fma_test): Add more tests.
72444         (fma_test_towardzero): New function.
72445         (fma_test_downward): Likewise.
72446         (fma_test_upward): Likewise.
72447         (main): Call the new functions.
72449 2012-09-28  David S. Miller  <davem@davemloft.net>
72451         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
72453 2012-09-28  Roland McGrath  <roland@hack.frob.com>
72455         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
72456         instead of SIGALRM.
72458         * sysdeps/gnu/_G_config.h: Moved to ...
72459         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
72460         * sysdeps/mach/hurd/_G_config.h: Moved to ...
72461         * sysdeps/generic/_G_config.h: ... here.
72463         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
72465         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
72467         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
72468         Conditionalize target on [libnss_test1.so-version].
72470         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
72472         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
72473         (elfobjdir): Move out of conditionals.
72475         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
72476         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
72477         (__nss_lookup_function): Conditionalize label remove_from_tree on
72478         [!DO_STATIC_NSS || SHARED], matching its only use.
72480 2012-09-28  David S. Miller  <davem@davemloft.net>
72482         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
72483         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
72484         file.
72485         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72486         sysdep_routines.
72487         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72488         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
72489         when HWCAP_SPARC_CRYPTO is present.
72491 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72493         * io/tst-mknodat.c: Create a FIFO instead of a socket.
72495 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
72497         [BZ #6530]
72498         * stdio-common/vfprintf.c (process_string_arg): Revert
72499         2000-07-22 change.
72501 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
72503         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
72504         for testcase.
72505         * stdio-common/tst-sprintf.c: Include <locale.h>
72506         (main): Test sprintf's handling of incomplete multibyte
72507         characters.
72509 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
72511         * elf/dl-runtime.c (VERSYMIDX): Removed.
72512         * elf/dl-version.c (VERSYMIDX): Likewise.
72513         * elf/do-rel.h (VERSYMIDX): Likewise.
72514         (VALIDX): Likewise.
72515         * elf/dynamic-link.h (VERSYMIDX): Likewise.
72516         * elf/rtld.c (VALIDX): Likewise.
72517         (ADDRIDX): Likewise.
72518         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
72519         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
72520         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
72521         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
72522         (VALIDX): Likewise.
72523         (ADDRIDX): Likewise.
72525 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72527         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
72529 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
72531         [BZ #11438]
72532         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
72533         to global scope.
72534         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
72535         addresses are in the same scope as 192.0.2/24.
72536         * posix/gai.conf: Document new scope table defaults.
72538 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72540         [BZ #5298]
72541         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
72542         for ftell.  Compute offsets from write pointers instead.
72543         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72545 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72547         [BZ #14543]
72548         * libio/Makefile (tests): New test case tst-fseek.
72549         * libio/tst-fseek.c: New test case to verify that fseek/ftell
72550         combination works in wide mode.
72551         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
72552         state when the external buffer state changes.
72554 2012-09-27  David S. Miller  <davem@davemloft.net>
72556         [BZ #14376]
72557         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
72558         pass reloc->r_addend in as the 'high' argument to
72559         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
72561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72563 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72565         * rt/tst-aio2.c: Include <pthread.h>.
72566         * rt/tst-aio3.c: Likewise.
72568 2012-09-27  Steve Ellcey  <sellcey@mips.com>
72570         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
72572 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
72574         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
72575         contents on [SHARED].
72577 2012-09-26  Marek Polacek  <polacek@redhat.com>
72579         [BZ #14530]
72580         [BZ #13741]
72581         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
72582         for C++ and GCC <4.3 as well as for non GCC compilers.
72584 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
72586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72588 2012-09-25  Roland McGrath  <roland@hack.frob.com>
72590         * Makefile.in (all, install): Declare with .PHONY.
72591         Reported by Michael Hope <michael.hope@linaro.org>.
72593 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72595         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
72596         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
72597         system header.
72598         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
72599         Likewise.
72600         (sydep_routines): Add the new and the internal functions.
72601         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
72602         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
72603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
72604         (GLIBC_2.17): Add the new function.
72605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72606         (GLIBC_2.17): Likewise.
72607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
72608         (GLIBC_2.17): Likewise.
72609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
72610         (GLIBC_2.17): Likewise.
72611         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
72613 2012-09-25  Alan Modra  <amodra@gmail.com>
72615         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
72616         Add release barrier before setting once_control to say
72617         initialisation is done.  Add hints on lwarx.  Use macro in
72618         place of isync.
72619         (clear_once_control): Add release barrier.
72621 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72623         [BZ #13629]
72624         * math/s_clog.c (__clog): Handle more values close to |z| = 1
72625         specially.
72626         * math/s_clog10.c (__clog10): Likewise.
72627         * math/s_clog10f.c (__clog10f): Likewise.
72628         * math/s_clog10l.c (__clog10l): Likewise.
72629         * math/s_clogf.c (__clogf): Likewise.
72630         * math/s_clogl.c (__clogl): Likewise.
72631         * math/Makefile (libm-calls): Add x2y2m1.
72632         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
72633         (__x2y2m1): Likewise.
72634         (__x2y2m1l): Likewise.
72635         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
72636         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
72637         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
72638         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
72639         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
72640         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
72641         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
72642         * sysdeps/i386/fpu/libm-test-ulps: Update.
72643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72645         [BZ #14621]
72646         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
72647         int as type of variable DEPTH.
72648         (glob): Use size_t instead of int as type of variables NEWCOUNT
72649         and OLD_PATHC.
72651 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72653         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72654         Add s_sincosf-sse2.
72655         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
72656         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
72657         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
72658         macros for using routine as __sincosf_ia32.
72659         Use macro for function declaration and weak_alias.
72660         * sysdeps/i386/fpu/libm-test-ulps: Update.
72662         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
72663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72665         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
72666         subnormal argument.
72667         * math/s_cexpf.c (__cexpf): Likewise.
72668         * math/s_csinf.c (__csinf): Likewise.
72669         * math/s_csinhf.c (__csinhf): Likewise.
72670         * math/s_ctanf.c (__ctanf): Likewise.
72671         * math/s_ctanhf.c (__ctanhf): Likewise.
72672         * math/s_ccosh.c (__ccoshf): Likewise.
72673         * math/s_cexp.c (__cexpl): Likewise.
72674         * math/s_csin.c (__csin): Likewise.
72675         * math/s_csinh.c (__csinh): Likewise.
72676         * math/s_ctan.c (__ctan): Likewise.
72677         * math/s_ctanh.c (ctanh): Likewise.
72678         * math/s_ccoshl.c (__ccoshl): Likewise.
72679         * math/s_cexpl.c (__cexpl): Likewise.
72680         * math/s_csinl.c (__csinl): Likewise.
72681         * math/s_csinhl.c (__csinhl): Likewise.
72682         * math/s_ctanl.c (__ctanl): Likewise.
72683         * math/s_ctanhl.c (__ctanhl): Likewise.
72685 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72687         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
72688         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
72689         (_IO_off_t): Define to __off_t, not _G_off_t.
72690         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
72691         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
72692         (_IO_wint_t): Define to wint_t, not _G_wint_t.
72693         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
72694         type of __dummy and __dummy2 fields.
72695         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
72696         (_G_ssize_t): Likewise.
72697         (_G_off_t): Likewise.
72698         (_G_pid_t): Likewise.
72699         (_G_uid_t): Likewise.
72700         (_G_wchar_t): Likewise.
72701         (_G_wint_t): Likewise.
72702         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
72703         (_G_ssize_t): Likewise.
72704         (_G_off_t): Likewise.
72705         (_G_pid_t): Likewise.
72706         (_G_uid_t): Likewise.
72707         (_G_wchar_t): Likewise.
72708         (_G_wint_t): Likewise.
72709         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
72710         (_G_ssize_t): Likewise.
72711         (_G_off_t): Likewise.
72712         (_G_pid_t): Likewise.
72713         (_G_uid_t): Likewise.
72714         (_G_wchar_t): Likewise.
72715         (_G_wint_t): Likewise.
72717 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72719         * malloc/arena.c: Include malloc-sysdep.h.
72720         (shrink_heap): Use check_may_shrink_heap to decide if madvise
72721         is sufficient to shrink the heap or an unmap is needed.
72722         * sysdeps/generic/malloc-sysdep.h: New file.  Define
72723         new function check_may_shrink_heap.
72724         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
72725         new function check_may_shrink_heap.
72727 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72729         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
72730         comments.
72732 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
72734         * catgets/test-gencat.sh: Add "set -e".
72735         * elf/tst-pathopt.sh: Likewise.
72736         * grp/tst_fgetgrent.sh: Likewise.
72737         * iconvdata/run-iconv-test.sh: Likewise.
72738         * intl/tst-gettext.sh: Likewise.
72739         * intl/tst-gettext2.sh: Likewise.
72740         * intl/tst-gettext4.sh: Likewise.
72741         * intl/tst-gettext6.sh: Likewise.
72742         * intl/tst-translit.sh: Likewise.
72743         * io/ftwtest-sh: Likewise.
72744         * libio/test-freopen.sh: Likewise.
72745         * malloc/tst-mtrace.sh: Likewise.
72746         * posix/globtest.sh: Likewise.
72747         * posix/tst-getconf.sh: Likewise.
72748         * posix/wordexp-tst.sh: Likewise.
72749         * stdio-common/tst-printf.sh: Likewise.
72750         * stdio-common/tst-unbputc.sh: Likewise.
72751         * stdlib/tst-fmtmsg.sh: Likewise.
72752         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72753         * catgets/Makefile: Do not specify -e option when running
72754         testsuite shell scripts.
72755         * elf/Makefile: Likewise.
72756         * grp/Makefile: Likewise.
72757         * iconvdata/Makefile: Likewise.
72758         * intl/Makefile: Likewise.
72759         * io/Makefile: Likewise.
72760         * libio/Makefile: Likewise.
72761         * malloc/Makefile: Likewise.
72762         * posix/Makefile: Likewise.
72763         * stdio-common/Makefile: Likewise.
72764         * stdlib/Makefile: Likewise.
72765         * sysdeps/x86_64/Makefile: Likewise.
72767         * io/ftwtest-sh: Add copyright header.
72768         * posix/globtest.sh: Likewise.
72769         * posix/tst-getconf.sh: Likewise.
72770         * posix/wordexp-tst.sh: Likewise.
72771         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72773 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
72775         [BZ #13679]
72776         * Makeconfig (+link): Defined as $(+link-static) if
72777         $(build-shared) isn't yes.
72778         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
72779         isn't yes.
72780         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
72782         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
72784         [BZ #14562]
72785         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
72786         new chunk size with MALLOC_ALIGN_MASK.
72788 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
72790         [BZ #5044]
72791         * stdio-common/printf_fphex.c: Include <stdbool.h> and
72792         <rounding-mode.h>.
72793         (__printf_fphex): Determine rounding using get_rounding_mode and
72794         round_away.
72795         * stdio-common/tst-printf-round.c (struct hex_test): New
72796         structure.
72797         (hex_tests): New variable.
72798         (test_hex_in_one_mode): New function.
72799         (do_test): Also run tests for hex float output.
72801 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
72803         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72804         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72805         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
72806         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72807         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72808         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
72809         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72810         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72812 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
72814         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
72815         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
72816         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
72817         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
72819 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
72821         [BZ #14579]
72822         * elf/rtld.c (dl_main): Limit the check for self loading to normal
72823         mode only.
72824         * elf/tst-rtld-load-self.sh: New test.
72825         * elf/Makefile: Run it.
72827 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
72829         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
72830         (tst-writev-ENV): Remove.
72831         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
72833 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
72835         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
72837 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
72839         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
72840         unconditional.
72841         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
72842         Likewise.
72843         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
72844         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
72845         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
72846         Likewise.
72848 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
72850         [BZ #14587]
72851         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
72852         * config.make.in (have-cpp-asm-debuginfo): Removed.
72853         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
72854         * configure: Regenerated.
72856 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
72858         [BZ #5044]
72859         * stdio-common/printf_fp.c: Include <stdbool.h> and
72860         <rounding-mode.h>.
72861         (___printf_fp): Determine rounding using get_rounding_mode and
72862         round_away.
72863         * stdio-common/tst-printf-round.c: New file.
72864         * stdio-common/Makefile (tests): Add tst-printf-round.
72865         (link-libm): New variable.
72866         ($(objpfx)tst-printf-round): Depend in $(link-libm).
72868 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
72870         [BZ #14576]
72871         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
72872         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
72873         Likewise.
72874         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
72875         Likewise.
72877 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
72879         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
72880         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72881         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72882         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72884 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
72886         [BZ #14518]
72887         * include/rounding-mode.h: New file.
72888         * sysdeps/generic/get-rounding-mode.h: Likewise.
72889         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
72890         * stdlib/strtod_l.c: Include <rounding-mode.h>.
72891         (MAX_VALUE): New macro.
72892         (MIN_VALUE): Likewise.
72893         (overflow_value): New function.
72894         (underflow_value): Likewise.
72895         (round_and_return): Use overflow_value and underflow_value to
72896         determine return values in overflow and underflow cases.  Use
72897         round_away to determine rounding depending on rounding mode.
72898         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
72899         determine return values in overflow and underflow cases.
72900         * stdlib/tst-strtod-round.c: Include <fenv.h>.
72901         (struct test_results): New structure.
72902         (struct test): Use struct test_results to store expected results
72903         for all rounding modes.
72904         (TEST): Include expected results for all rounding modes.
72905         (test_in_one_mode): New function.
72906         (do_test): Use test_in_one_mode to compute and check results.
72907         Check results for all rounding modes.
72908         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
72909         $(link-libm).
72911 2012-12-09  Allan McRae  <allan@archlinux.org>
72913         * sysdeps/i386/fpu/libm-test-ulps: Update
72915 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
72917         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
72918         (_G_int32_t): Likewise.
72919         (_G_uint16_t): Likewise.
72920         (_G_uint32_t): Likewise.
72921         (_G_HAVE_BOOL): Likewise.
72922         (_G_HAVE_ATEXIT): Likewise.
72923         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72924         (_G_HAVE_IO_FILE_OPEN): Likewise.
72925         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
72926         (_G_int32_t): Likewise.
72927         (_G_uint16_t): Likewise.
72928         (_G_uint32_t): Likewise.
72929         (_G_HAVE_BOOL): Likewise.
72930         (_G_HAVE_ATEXIT): Likewise.
72931         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72932         (_G_HAVE_IO_FILE_OPEN): Likewise.
72933         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
72934         (_G_int32_t): Likewise.
72935         (_G_uint16_t): Likewise.
72936         (_G_uint32_t): Likewise.
72937         (_G_HAVE_BOOL): Likewise.
72938         (_G_HAVE_ATEXIT): Likewise.
72939         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72940         (_G_HAVE_IO_FILE_OPEN): Likewise.
72942 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
72944         * csu/libc-tls.c: Update copyright years.
72946 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
72948         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
72949         [!_G_USING_THUNKS]: Remove conditional code.
72950         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
72951         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
72953         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
72954         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
72955         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72956         (_G_VTABLE_LABEL_PREFIX): Likewise.
72957         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72958         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72959         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72960         (_G_VTABLE_LABEL_PREFIX): Likewise.
72961         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72962         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72963         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72964         (_G_VTABLE_LABEL_PREFIX): Likewise.
72965         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72967 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
72969         * libio/Makefile: Include ../Makeconfig before tests.
72970         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
72971         only if $(build-shared) is yes.
72973         * iconv/gconv_db.c: Update copyright years.
72975 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72977         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
72978         unwind info if defined PIC. Fix special cases description.
72979         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
72981         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
72982         DP_HI_MASK entry.
72983         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
72985 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
72987         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
72989         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
72990         is NULL.
72992         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
72993         (LDLIBS-tst-chk4): This.
72994         (LDFLAGS-tst-chk5): Renamed to ...
72995         (LDLIBS-tst-chk5): This.
72996         (LDFLAGS-tst-chk6): Renamed to ...
72997         (LDLIBS-tst-chk6): This.
72998         (LDFLAGS-tst-lfschk4): Renamed to ...
72999         (LDLIBS-tst-lfschk4): This.
73000         (LDFLAGS-tst-lfschk5): Renamed to ...
73001         (LDLIBS-tst-lfschk5): This.
73002         (LDFLAGS-tst-lfschk6): Renamed to ...
73003         (LDLIBS-tst-lfschk6): This.
73005         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
73006         on $(common-objpfx)soversions.mk.
73008 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
73010         [BZ #10014]
73011         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73012         example host name.
73014 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
73016         * malloc/arena.c (arena_get_retry): New function that gets
73017         another arena for the caller to try its request on.
73018         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73019         current arena cannot fulfill the request.
73020         (__libc_memalign): Likewise.
73021         (__libc_memalign): Likewise.
73022         (__libc_pvalloc): Likewise.
73023         (__libc_calloc): Likewise.
73025 2012-09-05  John Tobey  <john.tobey@gmail.com>
73027         [BZ #13542]
73028         * manual/arith.texi (Operations on Complex): Fix description
73029         of carg branch cut.
73031 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73033         [BZ #10014]
73034         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73035         host name.
73037         [BZ #10038]
73038         * manual/memory.texi (Memory): Make order of menu items match
73039         order of sections.
73041 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73043         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73044         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
73045         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73047 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73049         * csu/libc-tls.c (static_dtv): Renamed to ...
73050         (_dl_static_dtv): This.  Make it global.
73051         (_dl_initial_dtv): Removed.
73052         (__libc_setup_tls): Updated.
73053         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
73054         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
73055         DL_INITIAL_DTV.
73057 2012-09-06  Petr Machata  <pmachata@redhat.com>
73059         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
73060         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
73061         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
73062         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
73064 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73066         [BZ #14545]
73067         * csu/libc-tls.c (_dl_initial_dtv): New variable.
73068         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
73069         freeing dtv[-1].
73071 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73073         [BZ #14544]
73074         * Makeconfig (link-static-before-libc): Replace $(+prector)
73075         with $(+prectorT).
73076         (link-static-after-libc): Replace $(+postctor) with
73077         $(+postctorT).
73078         (link-bounded): Replace $(+prector)/$(+postctor) with
73079         $(+prectorT)/$(+postctorT).
73080         (+prectorT): New macro.
73081         (+postctorT): Likewise.
73083 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73085         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
73086         (round_str): Handle values above the maximum for IBM long double
73087         as inexact.
73088         * stdlib/tst-strtod-round.c (tests): Regenerated.
73090 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73092         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
73093         assembler flag.
73094         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
73095         zarch_nohighgprs around the zarch optimized routines.
73096         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
73097         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
73098         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
73099         for zarch.
73101 2012-09-05  David S. Miller  <davem@davemloft.net>
73103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73105         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
73106         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
73107         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
73108         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73109         entries.
73111 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73113         * malloc/arena.c: Fold copyright years.
73114         * malloc/mcheck.c, malloc/memusage.c: Likewise.
73116 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73118         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
73120 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73122         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
73124 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73126         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
73127         change internal state upon failure.
73129 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73131         * malloc/mcheck.c (mcheck_check_all): Fix typo.
73132         * malloc/memusage.c (mmap): Likewise.
73133         (mmap64, mremap): Likewise.  Adjust name in comment.
73135 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73137         * libio/fileops.c: Fix typos in comments.
73138         * libio/oldfileops.c: Likewise.
73139         * libio/wfileops.c: Likewise.
73141 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73143         [BZ #1349]
73144         * malloc/Makefile (tests): Add tst-malloc-usable test case.
73145         (tst-malloc-usable-ENV): Set environment for test case.
73146         * malloc/hooks.c (malloc_check_get_size): New function to get
73147         requested size.
73148         * malloc/malloc.c (musable): Use malloc_check_get_size.
73149         * malloc/tst-malloc-usable.c: New test case.
73151 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73153         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
73155 2012-09-05  Allan McRae  <allan@archlinux.org>
73157         [BZ #13966]
73158         * configure.in (CXX_SYSINCLUDES): Use compiler output to
73159         determine header location.
73160         * configure: Regenerated.
73162 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73164         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
73165         float format.
73166         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
73167         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
73168         format.
73169         (test): Regenerate.
73171 2012-09-04  David S. Miller  <davem@davemloft.net>
73173         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
73174         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
73175         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
73177 2012-09-04  Florian Weimer  <fweimer@redhat.com>
73179         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
73180         failures.
73182         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
73184 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
73186         [BZ #9914]
73187         * libio/iogetdelim.c: Include <limits.h>.
73188         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
73189         + len + 1 would overflow.
73191 2012-09-03  Andreas Jaeger  <aj@suse.de>
73193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73194         * sysdeps/i386/fpu/libm-test-ulps: Update.
73196 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73198         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73199         Add s_sinf-sse2, s_conf-sse2.
73201         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
73202         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
73203         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
73204         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
73206         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
73207         for using routine as __sinf_ia32.
73208         Use macro for function declaration and weak_alias.
73209         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
73210         for using routine as __cosf_ia32.
73211         Use macro for function declaration and weak_alias.
73213         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
73214         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
73216         * sysdeps/x86_64/fpu/s_sinf.S: New file.
73217         * sysdeps/x86_64/fpu/s_cosf.S: New file.
73218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73220         * math/libm-test.inc (cos_test): Add more test cases.
73221         (sin_test): Likewise.
73222         (sincos_test): Likewise.
73224 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73226         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
73227         (IFUNC_RESOLVE): Make pointers to the specialized implementations
73228         hidden.
73229         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
73231 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
73233         [BZ #14538]
73234         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
73235         first element of the GOT.
73236         (elf_machine_load_address): Return the difference between
73237         the runtime address of _DYNAMIC and elf_machine_dynamic ().
73239 2012-09-01  Allan McRae  <allan@archlinux.org>
73241         [BZ #13412]
73242         * configure.in (AWK): Require gawk version 3.0 or later.
73243         * configure: Regenerated.
73245 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
73247         * sysdeps/unix/sysv/linux/kernel-features.h
73248         (__ASSUME_POSIX_CPU_TIMERS): Remove.
73249         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73250         [__NR_clock_getres]: Make code unconditional.
73251         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
73252         (clock_getcpuclockid): Remove code left unreachable by removal of
73253         conditionals.
73254         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
73255         code unconditional.
73256         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73257         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73258         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
73259         Make code unconditional.
73260         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73261         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73262         * sysdeps/unix/sysv/linux/clock_settime.c
73263         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
73264         conditional code.
73265         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
73266         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73268 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
73270         [BZ #14476]
73271         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
73272         scripts/test-installation.pl.
73274         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
73275         and $ld_so_version if it is set.
73277 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73279         [BZ #14516]
73280         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
73281         failure if reading from procfs failed.
73282         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
73284 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73286         * sysdeps/unix/sysv/linux/kernel-features.h
73287         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
73288         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73289         Remove conditional code.
73290         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73291         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
73292         Remove conditional code.
73293         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73294         * sysdeps/unix/sysv/linux/i386/fxstat.c
73295         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73296         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73297         * sysdeps/unix/sysv/linux/i386/fxstatat.c
73298         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73299         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73300         * sysdeps/unix/sysv/linux/i386/lxstat.c
73301         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73302         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73303         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
73304         Remove conditional code.
73305         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73306         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73307         Remove conditional code.
73308         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73309         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
73310         <kernel-features.h>.
73311         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
73312         Remove.
73313         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
73314         Remove conditional code.
73315         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73316         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
73317         Remove conditional.
73319 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
73321         [BZ #5400]
73322         * NEWS: Add fixed bug number.
73324 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73326         [BZ #14519]
73327         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
73328         underflowing exponent in case of negative sign.
73329         * stdlib/tst-strtod-round-data: Add more tests.
73330         * stdlib/tst-strtod-round.c (tests): Regenerated.
73332         [BZ #3479]
73333         * stdlib/strtod_l.c (NDIG): Remove.
73334         (HEXNDIG): Likewise.
73335         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
73336         smallest representable value.
73337         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
73338         lie within an exact representation of 1/2 ulp of the result.
73339         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
73340         unconditionally.
73341         (TENS_P9_IDX): Define unconditionally.
73342         (TENS_P9_SIZE): Likewise.
73343         (TENS_P10_IDX): Likewise.
73344         (TENS_P10_SIZE): Likewise.
73345         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
73346         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
73347         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
73348         entries for 10^2^13 and 10^2^14.
73349         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
73350         (TENS_P13_IDX): Define.
73351         (TENS_P13_SIZE): Likewise.
73352         (TENS_P14_IDX): Likewise.
73353         (TENS_P14_SIZE): Likewise.
73354         (_fpioconst_pow10): Change array size to
73355         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
73356         unconditional.
73357         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
73358         1024]: Add entries for 10^2^13 and 10^2^14.
73359         [LAST_POW10 > _LAST_POW10]: Remove #error.
73360         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
73361         (_fpioconst_pow10): Change array size to
73362         FPIOCONST_POW10_ARRAY_SIZE.
73363         * stdlib/gen-fpioconst.c: New file.
73364         * stdlib/gen-tst-strtod-round.c: Likewise.
73365         * stdlib/tst-strtod-round-data: Likewise.
73366         * stdlib/tst-strtod-round.c: Likewise.
73367         * stdlib/Makefile (tests): Add tst-strtod-round.
73369         [BZ #14459]
73370         * stdlib/strtod_l.c: Include <stdint.h>.
73371         (NDEBUG): Do not define.
73372         (round_and_return): Change EXPONENT parameter to type intmax_t.
73373         Rearrange calculations to avoid internal overflow possibilities.
73374         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
73375         Rearrange calculations to avoid internal overflow possibilities.
73376         Assert that number fits inside MPNSIZE limbs.
73377         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
73378         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
73379         calculations and add assertions to avoid internal overflow
73380         possibilities.  Add casts to avoid signed/unsigned operations.
73381         * stdlib/tst-strtod-overflow.c: New file.
73382         * stdlib/Makefile (tests): Add tst-strtod-overflow.
73384 2012-08-25  Marek Polacek  <polacek@redhat.com>
73386         * time/time.h: Fix some typos in comments.
73388 2012-08-23  Roland McGrath  <roland@hack.frob.com>
73390         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
73391         * posix/tst-rfc3484-2.c: Likewise.
73392         * posix/tst-rfc3484-3.c: Likewise.
73394 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
73396         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
73397         (EF_ARM_ABI_FLOAT_HARD): Likewise.
73399 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
73401         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
73402         #include of fxstatat64.c.
73404 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73406         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
73407         * shadow/getspent_r.c: Likewise.
73408         * shadow/getspnam.c: Likewise.
73409         * shadow/getspnam_r.c: Likewise.
73410         * gshadow/getsgent.c: Likewise.
73411         * gshadow/getsgent_r.c: Likewise.
73412         * gshadow/getsgnam.c: Likewise.
73413         * gshadow/getsgnam_r.c: Likewise.
73414         * inet/getnetbyad.c: Likewise.
73415         * inet/getnetbyad_r.c: Likewise.
73416         * inet/getnetbynm.c: Likewise.
73417         * inet/getnetbynm_r.c: Likewise.
73418         * inet/getnetent.c: Likewise.
73419         * inet/getnetent_r.c: Likewise.
73420         * inet/getproto.c: Likewise.
73421         * inet/getproto_r.c: Likewise.
73422         * inet/getprtent.c: Likewise.
73423         * inet/getprtent_r.c: Likewise.
73424         * inet/getprtname.c: Likewise.
73425         * inet/getprtname_r.c: Likewise.
73426         * inet/getrpcbyname.c: Likewise.
73427         * inet/getrpcbyname_r.c: Likewise.
73428         * inet/getrpcbynumber.c: Likewise.
73429         * inet/getrpcbynumber_r.c: Likewise.
73430         * inet/getrpcent.c: Likewise.
73431         * inet/getrpcent_r.c: Likewise.
73432         * inet/getaliasent.c: Likewise.
73433         * inet/getaliasent_r.c: Likewise.
73434         * inet/getaliasname.c: Likewise.
73435         * inet/getaliasname_r.c: Likewise.
73436         * nscd/getgrgid_r.c: Likewise.
73437         * nscd/getgrnam_r.c: Likewise.
73438         * nscd/gethstbyad_r.c: Likewise.
73439         * nscd/gethstbynm3_r.c: Likewise.
73440         * nscd/getpwnam_r.c: Likewise.
73441         * nscd/getpwuid_r.c: Likewise.
73442         * nscd/getsrvbynm_r.c: Likewise.
73443         * nscd/getsrvbypt_r.c: Likewise.
73444         * nscd/gai.c: Likewise.
73446         * configure.in (build_nscd): New substituted variable, set
73447         by --disable-build-nscd and defaults to $use_nscd.
73448         * configure: Regenerated.
73449         * config.make.in (build-nscd): New substituted variable.
73450         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
73451         Change conditional to require [$(build-nscd) = yes] as well.
73452         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
73454         [BZ #13696]
73455         * configure.in (use_nscd): New substituted variable, set by
73456         --disable-nscd.  If enabled, define USE_NSCD.
73457         * configure: Regenerated.
73458         * config.h.in: Add USE_NSCD.
73459         * config.make.in (use-nscd): New substituted variable.
73460         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
73461         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
73462         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
73463         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
73464         (CFLAGS-getgrnam_r.c): Likewise.
73465         (CFLAGS-initgroups.c): Likewise.
73466         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
73467         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
73468         Variables removed.
73469         * inet/getnetgrent_r.c
73470         (nscd_setnetgrent): New function, broken out of ...
73471         (setnetgrent): ... here.  Call it.
73472         (innetgr): Conditionalize nscd bits on [USE_NSCD].
73473         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
73474         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
73475         * nscd/Makefile (routines, aux): Move definitions after include of
73476         Makeconfig.  Conditionalize on [$(use-nscd) != no].
73477         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
73478         Conditionalize on [USE_NSCD].
73479         (is_nscd, nscd_init_cb): Likewise.
73480         (nss_load_library): Conditionalize init callback on [USE_NSCD].
73481         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
73482         * nss/nss_db/db-init.c: Likewise.
73483         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
73484         [USE_NSCD].
73485         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
73486         (make_request): Use it.
73487         (cache_valid_p): New function.
73488         (__check_pf): Use it.
73489         * NEWS: Add item for --disable-nscd.
73491 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
73493         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
73494         to support sed >= 4.2.1-20-ga9bf076.
73495         * configure: Regenerated.
73497 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73499         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
73500         Conditionalize whole body on [IREL].
73502 2012-08-22  Jeff Law <law@redhat.com>
73504         [BZ #14505]
73505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
73506         if the family is PF_UNSPEC.
73508 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
73510         * Makerules (lib-version): Rename from V.
73511         (install-lib-nosubdir): Change V to lib-version.
73513 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
73515         [BZ #14252]
73516         * powerpc32/power6/wcschr.c: New file.
73517         * powerpc32/power6/wcscpy.c: New file.
73518         * powerpc32/power6/wcsrchr.c: New file.
73519         * powerpc64/power6/wcschr.c: New file.
73520         * powerpc64/power6/wcscpy.c: New file.
73521         * powerpc64/power6/wcsrchr.c: New file.
73523 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73525         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
73526         (two_way_short_needle): Use it.
73527         * string/strstr.c (AVAILABLE1_USES_J): Define.
73528         * string/strcasestr.c: Likewise.
73530         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
73531         array references.
73532         * string/strcasestr.c (TOLOWER): Make side-effect safe.
73534         [BZ #11607]
73535         * NEWS: Add an entry.
73536         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
73537         define their defaults.
73538         (two_way_short_needle): Detect end-of-string on-the-fly.
73539         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
73540         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
73541         * string/bug-strcasestr1.c: New test.
73542         * string/Makefile: Run it.
73544 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73546         [BZ #11607]
73547         * string/str-two-way.h (two_way_short_needle): Optimize matching of
73548         the first character.
73550 2012-08-21  Roland McGrath  <roland@hack.frob.com>
73552         * csu/elf-init.c (__libc_csu_irel): Function removed.
73553         * csu/libc-start.c (apply_irel): New function.
73554         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
73556 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
73558         * sysdeps/unix/sysv/linux/kernel-features.h
73559         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
73560         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
73561         <kernel-features.h>.
73562         [__NR_fadvise64_64]: Make code unconditional.
73563         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
73564         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73565         !__NR_fadvise64_64)]: Likewise.
73566         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73567         !__NR_fadvise64_64))]: Likewise.
73568         [__NR_fadvise64]: Make code unconditional.
73569         [!__NR_fadvise64]: Remove conditional code.
73570         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
73571         <kernel-features.h>.
73572         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73573         unconditional.
73574         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73575         conditional code.
73576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
73577         not include <kernel-features.h>.
73578         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73579         unconditional.
73580         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73581         conditional code.
73582         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
73583         include <kernel-features.h>.
73584         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73585         unconditional.
73586         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73587         conditional code.
73589 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73591         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
73592         slight instruction rearrangements per scrollpipe analysis.
73593         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
73595 2012-08-20  Roland McGrath  <roland@hack.frob.com>
73597         * manual/syslog.texi (syslog; vsyslog, closelog):
73598         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
73599         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
73601         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
73602         DSOCAPS to match condition on defining it.
73604 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
73606         * sysdeps/unix/sysv/linux/kernel-features.h
73607         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
73608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
73609         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73610         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
73612         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73613         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
73615         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73616         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73618         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
73619         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
73621         * sysdeps/unix/sysv/linux/kernel-features.h
73622         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
73623         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
73624         unconditional.
73625         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73626         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
73627         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73628         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73629         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
73630         Make code unconditional.
73631         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73632         (__mmap64) [!__NR_mmap2]: Likewise.
73633         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
73634         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73635         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73636         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
73637         [__NR_mmap2]: Make code unconditional.
73638         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73639         (__mmap64) [!__NR_mmap2]: Likewise.
73641 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73643         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
73645 2012-08-18  Andreas Jaeger  <aj@suse.de>
73647         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
73649 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73651         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
73652         * include/unistd.h (__have_sock_cloexec): Likewise.
73653         (__have_pipe2): Likewise.
73654         (__have_dup3): Likewise.
73656 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73658         [BZ #9685]
73659         * include/unistd.h (__have_pipe2): Change define into an extern int.
73660         (__have_dup3): Likewise.
73661         * socket/have_sock_cloexec.c: Include fcntl.h.
73662         (__have_pipe2): New variable.
73663         (__have_dup3): Likewise.
73665 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
73667         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
73669 2012-08-17  Marek Polacek  <polacek@redhat.com>
73671         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
73672         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
73674 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73676         * configure.in: Add AC_SUBST for sysheaders.
73677         * configure: Regenerated.
73678         * config.make.in (sysheaders): New substituted variable.
73680         * sysdeps/unix/mkfifo.c: Moved ...
73681         * sysdeps/posix/mkfifo.c: ... here.
73682         * sysdeps/unix/mkfifoat.c: Moved ...
73683         * sysdeps/posix/mkfifoat.c: ... here.
73685         * sysdeps/unix/utime.c: Moved ...
73686         * sysdeps/posix/utime.c: ... here.
73688         * sysdeps/unix/time.c: Moved ...
73689         * sysdeps/posix/time.c: ... here.
73690         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
73691         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
73693         * sysdeps/unix/nice.c: Moved ...
73694         * sysdeps/posix/nice.c: ... here.
73696         * sysdeps/unix/alarm.c: Moved ...
73697         * sysdeps/posix/alarm.c: ... here.
73699         * intl/Makefile ($(codeset_mo)): Depend on the input file.
73701 2012-08-17  Jeff Law <law@redhat.com>
73703         * intl/Makefile (codeset_mo): New variable.
73704         ($(codeset_mo)): New target.
73705         (tst-codeset.out): Depend on that.  Remove explicit rule.
73706         (tst-gettext3.out, tst-gettext5.out): Likewise.
73707         (LOCPATH-ENV, tst-codeset-ENV): New variables.
73708         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
73709         * intl/tst-codeset.sh: Remove.
73710         * intl/tst-gettext3.sh: Likewise.
73711         * intl/tst-gettext5.sh: Likewise.
73713 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73715         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
73716         * sysdeps/unix/syscalls.list: ... here.
73718         * sysdeps/posix/getaddrinfo.c
73719         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
73720         (gaiconf_init, gaiconf_reload): Use them.
73721         [!_STATBUF_ST_NSEC]
73722         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
73723         Define using time_t rather than struct timespec.
73725         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
73726         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
73727         Macros removed.
73728         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
73729         [!NO_THREADS].
73730         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
73731         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
73732         Likewise.
73734         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
73735         __libc_cleanup_push argument.
73737         * bits/param.h: New file.
73738         * misc/sys/param.h: New file.
73739         * include/sys/param.h: New file.
73740         * misc/Makefile (headers): Add bits/param.h.
73741         * sysdeps/generic/sys/param.h: File removed.
73742         * sysdeps/unix/sysv/linux/bits/param.h: New file.
73743         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
73744         * sysdeps/mach/hurd/bits/param.h: New file.
73745         * sysdeps/mach/hurd/sys/param.h: File removed.
73747         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
73748         last change.
73750         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
73751         [_IO_MTSAFE_IO].
73752         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
73753         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
73754         New macros.
73756         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
73757         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
73758         rather than -D_IO_MTSAFE_IO conditionally.
73759         * stdio-common/Makefile (CPPFLAGS): Likewise.
73760         * wcsmbs/Makefile (CPPFLAGS): Likewise.
73761         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
73762         Use $(libio-mtsafe).
73763         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
73764         of -D_IO_MTSAFE_IO.
73765         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
73766         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
73767         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
73768         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
73769         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
73770         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
73771         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
73772         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
73773         (CFLAGS-fread_u_chk.c): Likewise.
73774         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
73775         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
73776         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
73777         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
73778         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
73779         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
73780         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
73781         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
73782         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
73784         * libio/Makefile: Test [$(libc-reentrant) = yes]
73785         instead of [$(filter %REENTRANT, $(defines)) nonempty].
73787         * Makeconfig
73788         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
73789         * sysdeps/pthread/configure: File removed.
73790         * sysdeps/pthread/Makeconfig: New file.
73791         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
73792         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
73794 2012-08-16  Gary Benson  <gbenson@redhat.com>
73796         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
73797         unmapping the first object in a namespace.
73799 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73801         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
73802         (__internal_setnetgrent): ... this.  Add internal_function to
73803         definition.  Add libc_hidden_def.
73804         (setnetgrent): Update caller.
73805         (internal_endnetgrent): Renamed to ...
73806         (__internal_endnetgrent): ... this.  Add internal_function to
73807         definition.  Add libc_hidden_def.
73808         (endnetgrent): Update caller.
73809         (internal_getnetgrent_r): Renamed to ...
73810         (__internal_getnetgrent_r): ... this.  Add internal_function to
73811         definition.  Add libc_hidden_def.
73812         (__getnetgrent_r): Update caller.
73813         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
73815 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73817         * stdlib/longlong.h: Update from GCC.
73819 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73821         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
73822         on _QL, which is set by umul_ppmm but never used.
73823         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
73824         variables, which are set by GMP macros but never used.
73825         * stdio-common/_itowa.c (_itowa): Likewise.
73826         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
73827         * stdlib/mod_1.c (mpn_mod_1): Likewise.
73829 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
73831         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
73832         struct La_sh_regs is not constant.
73833         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
73834         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
73835         and struct La_sparc64_regs are not constant.
73837 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73839         * sysdeps/unix/sysv/linux/kernel-features.h
73840         (__ASSUME_POSIX_TIMERS): Remove.
73841         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73842         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73843         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
73844         Make code unconditional.
73845         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73846         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
73847         Make code unconditional.
73848         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73849         * sysdeps/unix/sysv/linux/clock_nanosleep.c
73850         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
73851         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73852         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
73853         Make code unconditional.
73854         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73855         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
73856         (__libc_missing_posix_timers): Remove.
73858 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73860         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
73861         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
73863         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
73865         * elf/dl-sym.c: Include <stdlib.h>.
73867         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
73868         constants, which avoids warnings in 32-bit builds.
73870         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
73871         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
73873         * misc/lseek.c: File moved to ...
73874         * io/lseek.c: ... here.
73876         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
73878         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
73879         shifting LEN more than 31 bits at once.
73881 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73883         [BZ #14195]
73884         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
73885         segmentation fault for a case of two empty input strings.
73886         * string/test-strncasecmp.c (check1): Renamed to...
73887         (bz12205): ...this.
73888         (bz14195): Add new testcase for two empty input strings and N > 0.
73889         (test_main): Call new testcase, adapt for renamed function.
73891 2012-08-15  Andreas Jaeger  <aj@suse.de>
73893         [BZ #14090]
73894         * crypt/md5test2.c: New test, based on test supplied by Serge
73895         Belyshev <belyshev@depni.sinp.msu.ru>.
73896         * crypt/Makefile (xtests): Add md5test-giant..
73897         * crypt/Makefile ($(objpfx)md5test-giant): Add.
73899 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
73901         [BZ #14090]
73902         * crypt/md5.c (md5_process_block): Don't assume the buffer
73903         length is less than 2**32.
73904         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
73905         length is less than 2**64.
73907 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73909         * string/str-two-way.h: Include <sys/param.h>.
73910         (MAX): Macro removed.
73912         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
73913         Move #define and #undef of memmove to just before and after
73914         including <string.h>.
73916         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
73917         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
73918         and after including <string.h>.  Move declarations of
73919         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
73920         to before #include "string/memmove.c".
73922         * include/dirent.h: Declare __getdirentries.
73924         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
73925         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
73927 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
73929         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
73930         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
73931         * sysdeps/i386/configure: Regenerated.
73932         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
73933         STABS_CURRENT_FILE, and STABS_FUN.
73934         (END): Remove call to STABS_FUN_END.
73935         (STABS_CURRENT_FILE1): Delete.
73936         (STABS_CURRENT_FILE): Likewise.
73937         (STABS_FUN): Likewise.
73938         (STABS_FUN_END): Likewise.
73939         (STABS_FUN2): Likewise.
73940         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
73941         * sysdeps/x86_64/configure: Regenerated.
73943 2012-08-14  Roland McGrath  <roland@hack.frob.com>
73945         * elf/dl-open.c: Include <atomic.h>.
73946         * elf/dl-lookup.c: Likewise.
73948 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
73950         * sysdeps/unix/sysv/linux/kernel-features.h
73951         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
73952         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
73953         unconditionally.
73954         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
73955         unconditionally.
73956         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
73957         condition on __ASSUME_CLONE_THREAD_FLAGS.
73959 2012-08-14  Andreas Jaeger  <aj@suse.de>
73961         * sysdeps/i386/fpu/libm-test-ulps: Update.
73963 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
73965         * include/atomic.h (atomic_exchange_and_add): Split into ...
73966         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
73967         New atomic macros.
73969 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
73971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73973 2012-08-13  Jeff Law <law@redhat.com>
73975         * manual/stdio.texi (snprintf): Clarify handling of the trailing
73976         null byte in the output string.
73978 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
73980         * sysdeps/unix/sysv/linux/kernel-features.h
73981         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
73982         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
73983         (__ASSUME_ARG_MAX_STACK_BASED): Define.
73984         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
73985         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
73986         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
73987         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
73989 2012-08-09  Jeff Law <law@redhat.com>
73991         [BZ #13939]
73992         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
73993         When avoid_arena is set, don't retry in the that arena.  Pick the
73994         next one, whatever it might be.
73995         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
73996         (arena_lock): Pass in new parameter to arena_get2.
73997         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
73998         arena_get2.
73999         (__libc_malloc): Unify retrying after main arena failure with
74000         __libc_memalign version.
74001         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
74003 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
74005         [BZ #14166]
74006         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
74007         to __redirect_strstr.
74008         (__strstr_sse42): Use typeof __redirect_strstr.
74009         (__strstr_ia32): Likewise.
74010         (__libc_strstr): New prototype.
74011         (strstr): Renamed to ...
74012         (__libc_strstr): This.
74013         (strstr): New strong alias of __libc_strstr.
74014         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74015         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74016         __redirect_time.
74017         Include <time.h>.
74018         (__libc_time): New prototype.
74019         (time_ifunc): Replace time with __libc_time.
74020         (time): New strong alias and hidden definition of __libc_time.
74021         (__GI_time): Remove strong alias.
74022         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74023         Include <stddef.h>.
74024         (memmove): Redefined to __redirect_memmove.
74025         (__memmove_sse2): Use typeof __redirect_memmove.
74026         (__memmove_ssse3): Likewise.
74027         (__memmove_ssse3_back): Likewise.
74028         (__libc_memmove): New prototype.
74029         (memmove): Renamed to ...
74030         (__libc_memmove): This.
74031         (memmove): New strong alias of __libc_memmove.
74033 2012-08-08  Mark Salter  <msalter@redhat.com>
74035         * elf/elf.h
74036         (R_MN10300_TLS_GD): Define.
74037         (R_MN10300_TLS_LD): Likewise.
74038         (R_MN10300_TLS_LDO): Likewise.
74039         (R_MN10300_TLS_GOTIE): Likewise.
74040         (R_MN10300_TLS_IE): Likewise.
74041         (R_MN10300_TLS_LE): Likewise.
74042         (R_MN10300_TLS_DTPMOD): Likewise.
74043         (R_MN10300_TLS_DTPOFF): Likewise.
74044         (R_MN10300_TLS_TPOFF): Likewise.
74045         (R_MN10300_SYM_DIFF): Likewise.
74046         (R_MN10300_ALIGN): Likewise.
74047         (R_MN10300_NUM): Update.
74049 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
74051         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
74052         Remove.
74054 2012-08-08  Roland McGrath  <roland@hack.frob.com>
74056         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
74058         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
74059         sysdeps/unix -> sysdeps/posix move.
74060         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
74062 2012-08-07      Allan McRae     <allan@archlinux.org>
74064         [BZ #14303]
74065         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
74066         (SUNOS_CPP): Likewise.
74067         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
74068         not found.
74069         (open_input): Call CPP using execvp.
74071 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74073         * sysdeps/unix/sysv/linux/kernel-features.h
74074         (__ASSUME_PROT_GROWSUPDOWN): Remove.
74075         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74076         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74077         (__ASSUME_WAITID_SYSCALL): Likewise.
74078         * sysdeps/unix/sysv/linux/dl-execstack.c
74079         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
74080         code unconditional.
74081         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
74082         conditional code.
74083         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
74084         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
74085         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
74086         code.
74087         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
74088         unconditional.
74089         [__ASSUME_WAITID_SYSCALL]: Likewise.
74090         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
74092 2012-08-07  Roland McGrath  <roland@hack.frob.com>
74094         * sysdeps/unix/closedir.c: Renamed to ...
74095         * sysdeps/posix/closedir.c: ... here.
74096         * sysdeps/unix/dirfd.c: Renamed to ...
74097         * sysdeps/posix/dirfd.c: ... here.
74098         * sysdeps/unix/dirstream.h: Renamed to ...
74099         * sysdeps/posix/dirstream.h: ... here.
74100         * sysdeps/unix/fdopendir.c: Renamed to ...
74101         * sysdeps/posix/fdopendir.c: ... here.
74102         * sysdeps/unix/opendir.c: Renamed to ...
74103         * sysdeps/posix/opendir.c: ... here.
74104         * sysdeps/unix/readdir.c: Renamed to ...
74105         * sysdeps/posix/readdir.c: ... here.
74106         * sysdeps/unix/readdir_r.c: Renamed to ...
74107         * sysdeps/posix/readdir_r.c: ... here.
74108         * sysdeps/unix/rewinddir.c: Renamed to ...
74109         * sysdeps/posix/rewinddir.c: ... here.
74110         * sysdeps/unix/seekdir.c: Renamed to ...
74111         * sysdeps/posix/seekdir.c: ... here.
74112         * sysdeps/unix/telldir.c: Renamed to ...
74113         * sysdeps/posix/telldir.c: ... here.
74114         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
74115         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
74116         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
74117         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
74119         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
74120         * bits/fcntl.h: ... here.
74122         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
74123         not 0.
74124         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
74125         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
74126         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
74127         (struct flock): Move l_start, l_len to the beginning.
74128         Use __pid_t for l_pid.
74129         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
74130         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
74131         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
74132         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
74133         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
74134         [__USE_LARGEFILE64] (struct flock64): New type.
74135         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
74137         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
74138         * bits/dirent.h: ... here.
74140         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
74141         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
74143 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74145         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74146         Change from 2.6.0 to 2.6.16.
74147         * sysdeps/unix/sysv/linux/configure: Regenerated.
74148         * sysdeps/unix/sysv/linux/kernel-features.h
74149         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
74150         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
74151         version.
74152         (__ASSUME_UTIMES): Likewise.
74153         (__ASSUME_CLONE_STOPPED): Remove.
74154         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
74155         architectures, not kernel version.
74156         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
74157         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74158         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74159         (__ASSUME_WAITID_SYSCALL): Likewise.
74160         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
74161         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
74162         * README: State 2.6.16 as minimum Linux kernel version.  Do not
74163         refer to older versions.
74165 2012-08-06  Roland McGrath  <roland@hack.frob.com>
74167         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
74168         Define alphasort64 as an alias.
74169         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
74170         Define versionsort64 as an alias.
74171         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
74172         Define scandir64 as an alias.
74173         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
74174         Define scandirat64 as an alias.
74175         * dirent/alphasort64.c (alphasort64):
74176         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
74177         * dirent/versionsort64.c: Likewise.
74178         * dirent/scandir64.c: Likewise.
74179         * dirent/scandirat64.c: Likewise.
74180         * sysdeps/wordsize-64/alphasort.c: File removed.
74181         * sysdeps/wordsize-64/alphasort64.c: File removed.
74182         * sysdeps/wordsize-64/scandir.c: File removed.
74183         * sysdeps/wordsize-64/scandir64.c: File removed.
74184         * sysdeps/wordsize-64/scandirat.c: File removed.
74185         * sysdeps/wordsize-64/scandirat64.c: File removed.
74186         * sysdeps/wordsize-64/versionsort.c: File removed.
74187         * sysdeps/wordsize-64/versionsort64.c: File removed.
74188         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
74189         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
74190         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
74191         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
74192         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
74193         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
74194         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
74195         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
74197         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
74198         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74199         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
74200         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74201         [defined __arch64__ || defined __sparcv9]
74202         (__INO_T_MATCHES_INO64_T): New macro.
74203         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74204         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
74205         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
74206         * sysdeps/unix/sysv/linux/bits/dirent.h
74207         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
74208         (_DIRENT_MATCHES_DIRENT64): New macro.
74210         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
74211         Define lockf64 as an alias.
74212         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
74213         Define fseeko64 as an alias.
74214         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
74215         Define ftello64 as an alias.
74216         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
74217         Define _IO_fgetpos64 and fgetpos64 as aliases.
74218         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
74219         Define _IO_fsetpos64 and fsetpos64 as aliases.
74220         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
74221         Conditionalize body on this.
74222         * libio/fseeko64.c: Likewise.
74223         * libio/ftello64.c: Likewise.
74224         * libio/iofgetpos64.c: Likewise.
74225         * libio/iofsetpos64.c: Likewise.
74226         * sysdeps/wordsize-64/lockf.c: File removed.
74227         * sysdeps/wordsize-64/lockf64.c: File removed.
74228         * sysdeps/wordsize-64/fseeko.c: File removed.
74229         * sysdeps/wordsize-64/fseeko64.c: File removed.
74230         * sysdeps/wordsize-64/ftello.c: File removed.
74231         * sysdeps/wordsize-64/ftello64.c: File removed.
74232         * sysdeps/wordsize-64/iofgetpos.c: File removed.
74233         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
74234         * sysdeps/wordsize-64/iofsetpos.c: File removed.
74235         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
74236         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
74237         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
74238         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
74239         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
74240         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
74241         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
74242         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
74243         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
74244         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
74245         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
74247         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74248         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74249         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
74250         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74251         [defined __arch64__ || defined __sparcv9]
74252         (__OFF_T_MATCHES_OFF64_T): New macro.
74253         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74254         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74255         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74256         (__OFF_T_MATCHES_OFF64_T): New macro.
74258 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74260         * stdlib/secure-getenv.c (__secure_getenv): Replace
74261         GLIBC_2_16 with GLIBC_2_17.
74263 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74265         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
74266         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74268 2012-08-03  David S. Miller  <davem@davemloft.net>
74270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74272 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74274         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
74275         Remove.
74276         (__ASSUME_CORRECT_SI_PID): Likewise.
74277         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
74278         (__ASSUME_TMPFS_NAME): Likewise.
74279         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
74280         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
74281         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
74282         (HAVE_AUX_SECURE): Make definition unconditional.
74283         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
74284         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
74286 2012-08-03  Roland McGrath  <roland@hack.frob.com>
74288         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
74289         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
74290         * sysdeps/mach/hurd/eloop-threshold.h: New file.
74291         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74292         __eloop_threshold instead of SYMLOOP_MAX.
74294         * sysdeps/generic/eloop-threshold.h: New file.
74295         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
74296         of MAXSYMLINKS.
74297         * elf/chroot_canon.c (chroot_canon): Likewise.
74299 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74301         [BZ #13717]
74302         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74303         Change to 2.6.0 everywhere.
74304         * sysdeps/unix/sysv/linux/configure: Regenerated.
74305         * sysdeps/unix/sysv/linux/kernel-features.h
74306         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
74307         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
74308         kernel versions.
74309         (__ASSUME_POSIX_TIMERS): Define unconditionally.
74310         (__ASSUME_FUTEX_REQUEUE): Remove.
74311         (__ASSUME_STATFS64): Define unconditionally.
74312         (__ASSUME_AT_SECURE): Likewise.
74313         (__ASSUME_CORRECT_SI_PID): Likewise.
74314         (__ASSUME_TGKILL): Define without depending on kernel version for
74315         i386.
74316         (__ASSUME_UTIMES): Likewise.
74317         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
74318         kernel version.
74319         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
74320         (__ASSUME_TMPFS_NAME): Likewise.
74321         * README: Update reference to Linux kernel versions.
74323 2012-08-02  Marek Polacek  <polacek@redhat.com>
74325         [BZ #14150]
74326         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
74327         libc_cv_asm_type_prefix with %.
74328         * configure: Regenerated.
74329         * include/libc-symbols.h: Remove comment about
74330         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74331         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
74332         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
74333         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
74334         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
74335         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74336         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
74337         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
74338         * elf/tst-unique2mod1.c: Likewise.
74339         * elf/tst-unique1mod2.c: Likewise.
74340         * elf/tst-unique1mod1.c: Likewise.
74341         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
74342         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
74343         Replace ASM_TYPE_DIRECTIVE with .type.
74344         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74345         * sysdeps/i386/sysdep.h: Likewise.
74346         * sysdeps/x86_64/sysdep.h: Likewise.
74347         * sysdeps/sh/sysdep.h: Likewise.
74348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74349         Do not define ASM_TYPE_DIRECTIVE.
74350         * sysdeps/powerpc/sysdep.h: Likewise.
74351         * sysdeps/powerpc/powerpc32/sysdep.h:
74352         Replace ASM_TYPE_DIRECTIVE with .type.
74353         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74354         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74355         * sysdeps/i386/fpu/e_powf.S: Likewise.
74356         * sysdeps/i386/fpu/e_expl.S: Likewise.
74357         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74358         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74359         * sysdeps/i386/fpu/e_pow.S: Likewise.
74360         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74361         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74362         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74363         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74364         * sysdeps/i386/fpu/e_log2.S: Likewise.
74365         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74366         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74367         * sysdeps/i386/fpu/e_powl.S: Likewise.
74368         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74369         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74370         * sysdeps/i386/fpu/e_logl.S: Likewise.
74371         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74372         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74373         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74374         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74375         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74376         * sysdeps/i386/fpu/e_log.S: Likewise.
74377         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74378         * sysdeps/i386/fpu/e_logf.S: Likewise.
74379         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74380         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74381         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74382         * sysdeps/i386/fpu/e_log10.S: Likewise.
74383         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74384         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74385         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74386         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74387         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74388         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
74389         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74390         * sysdeps/i386/i686/strtok.S: Likewise.
74391         * sysdeps/i386/i386-mcount.S: Likewise.
74392         * sysdeps/i386/strtok.S: Likewise.
74393         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
74394         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74395         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74396         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74397         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74398         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74399         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74400         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74401         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74402         * sysdeps/x86_64/_mcount.S: Likewise.
74403         * sysdeps/x86_64/strtok.S: Likewise.
74404         * sysdeps/sh/_mcount.S: Likewise.
74406 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74408         * libio/iofopen.c: Include <fcntl.h>.
74409         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
74410         (_IO_fopen64, fopen64): Define as aliases.
74411         * libio/iofopen64.c: Include <fcntl.h>.
74412         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
74413         Conditionalize body on this.
74414         * sysdeps/wordsize-64/iofopen.c: File removed.
74415         * sysdeps/wordsize-64/iofopen64.c: File removed.
74417 2012-08-01  Marek Polacek  <polacek@redhat.com>
74419         * libc/Makeconfig: Use elf in place of binfmt-subdir.
74420         Use dlfcn directly instead of a variable.
74421         (binfmt-subdir): Do not define.
74422         (dlfcn): Likewise.
74424 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
74426         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
74427         Remove all definitions.
74428         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
74429         <kernel-features.h>.
74430         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74431         (miss_F_GETOWN_EX): Remove all definitions.
74432         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
74433         macro definition.
74434         [!__ASSUME_FCNTL64]: Remove conditional code.
74435         [__ASSUME_FCNTL64]: Make code unconditional.
74436         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
74437         <kernel-features.h>.
74438         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74439         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
74440         (lockf64) [__NR_fcntl64]: Make code unconditional.
74441         (lockf64) [__ASSUME_FCNTL64]: Likewise.
74443         * sysdeps/unix/sysv/linux/kernel-features.h
74444         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
74445         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
74446         Make code unconditional.
74447         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74448         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
74450         [__NR_vfork]: Make code unconditional.
74451         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74452         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
74454         [__NR_vfork]: Make code unconditional.
74455         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74456         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74458 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74460         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
74461         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
74463         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74464         Define mkstemp64 as an alias.
74465         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74466         Define mkstemps64 as an alias.
74467         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74468         Define mkostemp64 as an alias.
74469         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74470         Define mkostemps64 as an alias.
74471         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
74472         Conditionalize body on this.
74473         * misc/mkostemp64.c: Likewise.
74474         * misc/mkostemps64.c: Likewise.
74475         * misc/mkstemps64.c: Likewise.
74476         * sysdeps/wordsize-64/mkstemp64.c: File removed.
74477         * sysdeps/wordsize-64/mkostemp64.c: File removed.
74478         * sysdeps/wordsize-64/mkostemp.c: File removed.
74479         * sysdeps/wordsize-64/mkstemp.c: File removed.
74480         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
74481         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
74482         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
74483         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
74485         [BZ #14138]
74486         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
74487         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
74488         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
74489         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
74491         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
74492         compat_symbol macros from <shlib-compat.h> rather than the underlying
74493         default_symbol_version and symbol_version macros, so that DEFAULT
74494         lines in shlib-versions are respected.
74495         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
74497 2012-08-01  Florian Weimer  <fweimer@redhat.com>
74499         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
74500         Declare with warn_unused_result.
74501         (setgid, setregid, setegid, setresgid): Likewise.
74502         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
74503         Likewise.
74504         * WUR-REPORT: Remove set*id functions.
74506 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
74508         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
74510 2012-07-31  Roland McGrath  <roland@hack.frob.com>
74512         [BZ #10191]
74513         * include/sys/socket.h (__libc_accept, __libc_accept4):
74514         Add attribute_hidden.
74515         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
74517         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
74518         use of PTR_MANGLE.
74519         * inet/getnetgrent_r.c (setup): Likewise.
74521         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
74523 2012-07-31  David S. Miller  <davem@davemloft.net>
74525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74527 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
74529         [BZ #13629]
74530         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
74531         value between 1.0 and 2.0 and smaller part has absolute value less
74532         than 1.0.
74533         * math/s_clog10.c (__clog10): Likewise.
74534         * math/s_clog10f.c (__clog10f): Likewise.
74535         * math/s_clog10l.c (__clog10l): Likewise.
74536         * math/s_clogf.c (__clogf): Likewise.
74537         * math/s_clogl.c (__clogl): Likewise.
74538         * math/libm-test.inc (clog_test): Add more tests.
74539         (clog10_test): Likewise.
74540         * sysdeps/i386/fpu/libm-test-ulps: Update.
74541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74543 2012-07-31  Florian Weimer  <fweimer@redhat.com>
74545         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
74546         Exit with zero in case no suitable GID is found, and write a
74547         message to standard error.
74549 2012-07-30  Roland McGrath  <roland@hack.frob.com>
74551         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
74552         rather than to 1.
74553         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
74554         (MAXPATHLEN): Removed.
74555         (NOGROUP, NODEV): New macros.
74556         (setbit, clrbit, isset, isclr): New macros.
74557         (howmany, roundup, powerof2): New macros.
74558         (DEV_BSIZE): New macro.
74560         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
74561         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
74563         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
74564         definition on [!__NO_LONG_DOUBLE_MATH].
74566         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
74567         PTR_MANGLE and PTR_DEMANGLE.
74569         * socket/accept4.c (accept4): Rename to __libc_accept4.
74570         Define accept4 as a weak alias.
74572         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
74573         on [_DIRENT_HAVE_D_TYPE].
74574         * io/ftw.c (ftw_dir): Likewise.
74576         * io/xmknod.c (__xmknod): Don't check PATH for being null.
74578         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
74580         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
74581         Use the BSD numbers rather than the arbitrary ones we had.
74582         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
74583         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
74584         (SIGXCPU, SIGXFSZ): New macros.
74585         (_NSIG): Now 32.
74587         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
74588         initializer on [_LIBC_REENTRANT].
74590         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
74591         definitions inside [_POSIX_MAPPED_FILES].
74593         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
74595         * dirent/opendir.c: Include <fcntl.h>.
74597         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
74598         (__libc_getspecific): Likewise.
74599         (__libc_key_create): Likewise.
74601         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
74602         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
74603         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
74604         (tmpfile64): Define as alias.
74605         * sysdeps/wordsize-64/tmpfile.c: File removed.
74606         * sysdeps/wordsize-64/tmpfile64.c: File removed.
74607         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
74608         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
74610         * stdio-common/vfscanf.c: Include <stdbool.h>.
74611         * nss/makedb.c: Likewise.
74612         * stdio-common/_i18n_number.h: Likewise.
74613         * argp/argp-help.c: Likewise.
74614         * posix/wordexp.c: Likewise.
74615         * sysdeps/posix/spawni.c: Likewise.
74616         * nss/nss_files/files-initgroups.c: Likewise.
74617         * stdio-common/reg-modifier.c: Include <stdlib.h>.
74618         * nss/nss_files/files-initgroups.c: Likewise.
74619         * nss/nss_db/db-netgrp.c: Likewise.
74620         * nss/nss_db/db-initgroups.c: Likewise.
74621         * io/fchmodat.c: Include <sys/stat.h>.
74623         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
74624         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
74626         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
74627         [HAVE_MMAP].
74629         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
74630         Add multiple inclusion protection.
74632 2012-07-27  David S. Miller  <davem@davemloft.net>
74634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74636 2012-07-27  Gary Benson  <gbenson@redhat.com>
74638         [BZ #14298]
74639         * elf/rtld.c: Include <stap-probe.h>.
74640         (dl_main): Added static probes "init_start" and "init_complete".
74641         * elf/dl-load.c: Include <stap-probe.h>.
74642         (lose): Take new parameter "nsid".
74643         Added static probe "map_failed".
74644         (_dl_map_object_from_fd): Pass namespace id to lose.
74645         Added static probe "map_start".
74646         (open_verify): Pass namespace id to lose.
74647         * elf/dl-open.c: Include <stap-probe.h>.
74648         (dl_open_worker) Added static probes "map_complete", "reloc_start"
74649         and "reloc_complete".
74650         * elf/dl-close.c: Include <stap-probe.h>.
74651         (_dl_close_worker): Added static probes "unmap_start" and
74652         "unmap_complete".
74653         * elf/rtld-debugger-interface.txt: New file documenting the above.
74655 2012-07-26  Roland McGrath  <roland@hack.frob.com>
74657         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
74658         rather than a string variable.
74659         * sunrpc/rpc_main.c (h_output): Likewise.
74660         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
74662 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
74664         * inet/check_native.c: New file.
74666 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
74668         [BZ #13629]
74669         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
74670         if larger part has absolute value 1.0.
74671         * math/s_clog10.c (__clog10): Likewise.
74672         * math/s_clog10f.c (__clog10f): Likewise.
74673         * math/s_clog10l.c (__clog10l): Likewise.
74674         * math/s_clogf.c (__clogf): Likewise.
74675         * math/s_clogl.c (__clogl): Likewise.
74676         * math/libm-test.inc (clog_test): Add more tests.
74677         (clog10_test): Likewise.
74678         * sysdeps/i386/fpu/libm-test-ulps: Update.
74679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74681         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
74682         (pltexit): Likewise.
74683         (La_regs): Likewise.
74684         (La_retval): Likewise.
74685         (int_retval): Likewise.
74686         Update #error for removed macros to refer only to definitions in
74687         tst-audit.h.
74688         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
74689         macro.
74690         (pltexit): Likewise.
74691         (La_regs): Likewise.
74692         (La_retval): Likewise.
74693         (int_retval): Likewise.
74694         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
74695         macro.
74696         (pltexit): Likewise.
74697         (La_regs): Likewise.
74698         (La_retval): Likewise.
74699         (int_retval): Likewise.
74700         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
74701         macro.
74702         (pltexit): Likewise.
74703         (La_regs): Likewise.
74704         (La_retval): Likewise.
74705         (int_retval): Likewise.
74706         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
74707         macro.
74708         (pltexit): Likewise.
74709         (La_regs): Likewise.
74710         (La_retval): Likewise.
74711         (int_retval): Likewise.
74712         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
74713         macro.
74714         (pltexit): Likewise.
74715         (La_regs): Likewise.
74716         (La_retval): Likewise.
74717         (int_retval): Likewise.
74718         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
74719         macro.
74720         (pltexit): Likewise.
74721         (La_regs): Likewise.
74722         (La_retval): Likewise.
74723         (int_retval): Likewise.
74724         * sysdeps/generic/tst-audit.h: Update comment to refer only to
74725         macro definitions in tst-audit.h.
74726         * sysdeps/i386/tst-audit.h: New file.
74727         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
74728         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
74729         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
74730         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
74731         * sysdeps/sh/tst-audit.h: Likewise.
74732         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
74733         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
74734         * sysdeps/x86_64/tst-audit.h: Likewise.
74736 2012-07-26  Andreas Jaeger  <aj@suse.de>
74738         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
74739         ptrace.
74741         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
74742         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
74743         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
74744         PTRACE_O_MASK.
74745         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
74746         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
74747         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
74749         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
74750         value.
74752         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
74753         _sigsys.
74754         (si_call_addr, si_syscall, si_arch): Define new macro.
74755         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
74756         _sigsys.
74757         (si_call_addr, si_syscall, si_arch): Define new marcro.
74758         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
74759         _sigsys.
74760         (si_call_addr, si_syscall, si_arch): Define new macro.
74761         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
74762         _sigsys.
74763         (si_call_addr, si_syscall, si_arch): Define new macro.
74765 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74767         [BZ #13717]
74768         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74769         Change to 2.4.21 where previously 2.4.1.
74770         * sysdeps/unix/sysv/linux/configure: Regenerated.
74771         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
74772         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
74773         Linux kernel version.
74774         (__ASSUME_STD_AUXV): Remove.
74775         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
74776         kernel version.
74777         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
74778         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
74779         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
74780         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
74781         (__ASSUME_NETLINK_SUPPORT): Likewise.
74782         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
74783         (__no_netlink_support): Remove conditional definition.
74784         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
74785         Remove.
74786         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74787         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
74788         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
74789         (if_nameindex_ioctl): Remove.
74790         (if_nameindex_netlink): Do not handle __no_netlink_support.
74791         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74792         code.
74793         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
74794         Remove conditional code.
74795         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74796         code.
74797         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
74798         unconditional.
74799         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74800         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
74801         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
74802         Remove.
74803         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
74804         [!__ASSUME_STD_AUXV]: Remove conditional code.
74805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
74806         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
74807         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
74808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
74809         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
74810         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74811         code.
74812         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
74814         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
74815         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74816         conditional code.
74817         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
74819         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74820         code.
74821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
74822         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74823         conditional code.
74824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
74825         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74826         code unconditional.
74827         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74828         conditional code.
74829         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74830         unconditional.
74831         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74832         conditional code.
74833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74834         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74835         unconditional.
74836         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74837         conditional code.
74838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
74839         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74840         code unconditional.
74841         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74842         conditional code.
74843         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74844         unconditional.
74845         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74846         conditional code.
74847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
74848         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74849         code unconditional.
74850         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74851         conditional code.
74852         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74853         unconditional.
74854         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74855         conditional code.
74857 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
74859         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
74860         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
74861         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
74862         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
74863         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
74864         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
74865         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
74866         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
74867         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
74868         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
74869         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
74870         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
74871         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
74872         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
74873         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
74874         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
74875         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
74876         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
74877         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
74878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
74879         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
74880         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
74881         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74883 2012-07-25  Florian Weimer  <fweimer@redhat.com>
74885         * Versions.def: Add GLIBC_2.17.
74886         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
74887         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
74888         Introduce __libc_secure_getenv.
74889         * stdlib/Versions (2.17): Add secure_getenv
74890         (GLIBC_PRIVATE): Add __libc_secure_getenv.
74891         * stdlib/secure-getenv.c: Rename __secure_getenv to
74892         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
74893         symbol __secure_getenv for GLIBC_2.0.
74894         * stdlib/tst-secure-getenv.c: New.
74895         * stdlib/Makefile (tests): Add testcase.
74896         * manual/startup.texi (Environment Access): Document
74897         secure_getenv.
74898         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
74899         __libc_secure_getenv.
74900         * inet/ruserpass.c (ruserpass): Likewise.
74901         * malloc/mtrace.c (mtrace): Likewise.
74902         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
74903         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
74904         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
74905         * sysdeps/posix/tempname.c: Likewise.  Evaluate
74906         HAVE_SECURE_GETENV.
74907         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
74908         __secure_getenv to __libc_secure_getenv.
74909         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
74910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74911         Likewise.
74912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74913         Likewise.
74914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74916         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74922 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74924         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
74925         (struct La_i86_retval): Likewise.
74926         (struct La_x86_64_regs): Likewise.
74927         (struct La_x86_64_retval): Likewise.
74928         (struct La_x32_regs): Likewise.
74929         (struct La_x32_retval): Likewise.
74930         (struct La_ppc32_regs): Likewise.
74931         (struct La_ppc32_retval): Likewise.
74932         (struct La_ppc64_regs): Likewise.
74933         (struct La_ppc64_retval): Likewise.
74934         (struct La_sh_regs): Likewise.
74935         (struct La_sh_retval): Likewise.
74936         (struct La_s390_32_regs): Likewise.
74937         (struct La_s390_32_retval): Likewise.
74938         (struct La_s390_64_regs): Likewise.
74939         (struct La_s390_64_retval): Likewise.
74940         (struct La_sparc32_regs): Likewise.
74941         (struct La_sparc32_retval): Likewise.
74942         (struct La_sparc64_regs): Likewise.
74943         (struct La_sparc64_retval): Likewise.
74944         (struct audit_ifaces): Remove architecture-specific pltenter and
74945         pltexit members.
74946         * sysdeps/i386/ldsodefs.h: New file.
74947         * sysdeps/powerpc/ldsodefs.h: Likewise.
74948         * sysdeps/s390/ldsodefs.h: Likewise.
74949         * sysdeps/sh/ldsodefs.h: Likewise.
74950         * sysdeps/sparc/ldsodefs.h: Likewise.
74951         * sysdeps/x86_64/ldsodefs.h: Likewise.
74953 2012-07-25  Marek Polacek  <polacek@redhat.com>
74955         [BZ #6808]
74956         * math/libm-test.inc (yn_test): Add another test.
74957         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
74958         to ERANGE when the result is +-Inf.
74959         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
74960         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
74961         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
74962         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
74964 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
74966         * conform/data/time.h-data (NULL): Use macro-constant.  Require
74967         equal to 0.
74968         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
74969         clock_t.
74970         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
74972 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
74974         * configure.in <sysdeps resolving>: Correct printing
74975         Implies_before.
74976         * configure: Regenerate.
74978 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
74980         * math/w_ilogb.c: Include <limits.h>.
74981         * math/w_ilogbl.c: Likewise.
74983 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
74985         * manual/lang.texi (__va_copy): Document primarily as ISO C99
74986         va_copy.  Document allowing for unavailable va_copy only as
74987         pre-C99 compatibility.
74988         * manual/string.texi (Copying and Concatenation): Use va_copy
74989         instead of __va_copy in concat example.
74991 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
74993         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
74994         (__sendto): Use create_address_port.  Initialize APORT and deallocate
74995         it if not null.
74997         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
74998         with O_NOLINK passed to __file_name_lookup.
75000         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
75001         with O_NOLINK passed to __file_name_lookup.
75003         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
75004         negative N or less than NGIDS.
75006         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
75007         type to string_t.  Set ERANGE as errno and return it if NAME is not big
75008         enough.  Use memcpy instead of strncpy.
75010 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75012         * elf/Makefile (check-data): Remove.
75013         (localplt.data): New vpath directive.
75014         ($(objpfx)check-localplt.out): Use localplt.data from vpath
75015         instead of $(check-data).
75016         * scripts/data/localplt-generic.data: Move to ...
75017         * sysdeps/generic/localplt.data: ... here.
75018         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75019         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75020         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75022         ... here.
75023         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75025         ... here.
75026         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75028         ... here.
75029         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75031         ... here.
75032         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75034         ... here.
75035         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75037         ... here.
75039 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75041         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75042         PPC32 and PPC64 files.
75043         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75044         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75046 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75048         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
75049         __makecontext_ret to ...
75050         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
75051         ... here and call exit if uc_link is NULL.  New file.
75052         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
75053         __makecontext_ret.S.
75054         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
75055         __makecontext_ret to ...
75056         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75057         ... here and call exit if uc_link is NULL.  New file.
75058         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
75059         __makecontext_ret.S.
75061 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75063         * elf/elf.h (R_390_IRELATIVE): New definition.
75064         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
75065         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
75066         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
75067         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
75068         (elf_machine_lazy_rel): Likewise.
75069         * sysdeps/s390/dl-irel.h: New file.
75070         * sysdeps/s390/s390-64/memcpy.S: New asm code.
75071         * sysdeps/s390/s390-64/memset.S: New asm code.
75072         * sysdeps/s390/s390-64/memcmp.S: New asm code.
75073         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
75074         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
75075         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
75076         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
75077         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
75078         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
75079         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
75080         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
75081         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
75082         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
75083         * sysdeps/s390/s390-32/memcpy.S: New asm code.
75084         * sysdeps/s390/s390-32/memset.S: New asm code.
75085         * sysdeps/s390/s390-32/memcmp.S: New asm code.
75087 2012-07-17  Marek Polacek  <polacek@redhat.com>
75089         [BZ #14349]
75090         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
75091         * sysdeps/s390/s390-64/configure.in: Likewise.
75092         * sysdeps/sparc/configure.in: Likewise.
75093         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
75094         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
75095         * sysdeps/i386/configure.in: Likewise.
75096         * sysdeps/x86_64/configure.in: Likewise.
75097         * sysdeps/sh/configure.in: Likewise.
75098         * sysdeps/s390/s390-32/configure: Regenerated.
75099         * sysdeps/s390/s390-64/configure: Likewise.
75100         * sysdeps/x86_64/configure: Likewise.
75101         * sysdeps/sh/configure: Likewise.
75102         * sysdeps/powerpc/powerpc64/configure: Likewise.
75103         * sysdeps/powerpc/powerpc32/configure: Likewise.
75104         * sysdeps/sparc/configure: Likewise.
75105         * sysdeps/i386/configure: Likewise.
75107         * elf/dl-open.c: Comment fixes.
75109 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
75111         * Makefile [CXX] (check-data): Remove.
75112         [CXX] (c++-types.data): New vpath directive.
75113         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
75114         vpath.  Do not allow for C++ type data being missing.
75115         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
75116         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
75117         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
75118         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
75119         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
75120         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
75121         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
75122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
75123         ... here.
75124         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
75125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
75126         ... here.
75127         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
75128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
75129         ... here.
75130         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
75131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
75132         ... here.
75133         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
75134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
75135         ... here.
75136         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
75137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
75138         ... here.
75139         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
75140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
75141         ... here.
75142         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
75143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
75145         * elf/tls-macros.h (TLS_LE): Move architecture-specific
75146         definitions to architecture-specific files.
75147         (TLS_IE): Likewise.
75148         (TLS_LD): Likewise.
75149         (TLS_GD): Likewise.
75150         * sysdeps/i386/tls-macros.h: New file.
75151         * sysdeps/powerpc/tls-macros.h: Likewise.
75152         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
75153         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
75154         * sysdeps/sh/tls-macros.h: Likewise.
75155         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
75156         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
75157         * sysdeps/x86_64/tls-macros.h: Likewise.
75159 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75161         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
75162         zero value for regular exit case.
75164         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
75165         (__start_context): Preserve zero value for regular exit case.
75167 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75168             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75170         * manual/setjmp.texi (setcontext): Clarify normal process
75171         termination when uc_link is the null pointer.
75172         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
75173         exit call.
75175 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
75177         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
75178         preprocessor.  Test for each exception mask separately.
75180 2012-07-16  Andreas Jaeger  <aj@suse.de>
75182         * po/ru.po: Update from translation team.
75184 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
75186         * conform/data/string.h-data (NULL): Use macro-constant.  Require
75187         equal to 0.
75188         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75189         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75190         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
75191         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
75192         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75194 2012-07-13  Andreas Jaeger  <aj@suse.de>
75196         * po/fr.po: Update from translation team.
75198 2012-07-12  Marek Polacek  <polacek@redhat.com>
75200         [BZ #14173]
75201         * math/libm-test.inc (yn_test): Add test for BZ #14173.
75202         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
75203         loop condition.
75205 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
75207         [BZ #13717]
75208         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75209         Change to 2.4.1 where previously 2.4.0.
75210         * sysdeps/unix/sysv/linux/configure: Regenerated.
75211         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
75212         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
75213         version.
75214         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
75215         (__ASSUME_AT_CLKTCK): Remove.
75216         (__ASSUME_AT_PAGESIZE): Likewise.
75217         (__ASSUME_AT_XID): Likewise.
75218         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
75219         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
75220         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
75221         unconditionally.
75222         (HAVE_AUX_PAGESIZE): Likewise.
75223         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
75224         [__ASSUME_AT_CLKTCK]: Make code unconditional.
75225         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
75227 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
75229         [BZ #14307]
75230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
75231         the temporary buffer used to invoke __gethostbyname2_r,
75232         __gethostbyaddr_r and gethostbyname4_r to make room for struct
75233         host_data / struct gaih_addrtuple.
75234         * resolv/nss_dns/dns-host.c (global scope): Move definition of
75235         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
75236         header file nss/nsswitch.h.
75237         * nss/nsswitch.h (global scope): Add definition of implementation
75238         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
75239         resolv/nss_dns/dns-host.c).
75241 2012-07-11  Andreas Jaeger  <aj@suse.de>
75243         * po/fr.po: Update from translation team.
75245         * po/sv.po: Update from translation team
75246         * po/fr.po: Another update from translation team.
75248 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75250         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
75251         for subnormals or multiply small sinh result by itself.
75252         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75255 2012-07-11  David S. Miller  <davem@davemloft.net>
75257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75259 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
75261         [BZ #14347]
75262         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
75263         (INTERNAL_MARK): Shift it here.
75265 2012-07-10  Marek Polacek  <polacek@redhat.com>
75267         [BZ #14151]
75268         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
75269         libc_cv_asm_global_directive with .globl.
75270         * configure: Regenerated.
75271         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
75272         with .globl.
75273         * sysdeps/i386/configure: Regenerated.
75274         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
75275         with .globl.
75276         * sysdeps/x86_64/configure: Regenerated.
75277         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
75278         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
75279         * elf/tst-unique2mod2.c: Likewise.
75280         * elf/tst-unique2mod1.c: Likewise.
75281         * elf/tst-unique1mod2.c: Likewise.
75282         * elf/tst-unique1mod1.c: Likewise.
75283         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75284         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75285         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75286         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75287         * sysdeps/mach/sysdep.h: Likewise.
75288         * sysdeps/i386/sysdep.h: Likewise.
75289         * sysdeps/i386/i386-mcount.S: Likewise.
75290         * sysdeps/x86_64/_mcount.S: Likewise.
75291         * sysdeps/x86_64/sysdep.h: Likewise.
75292         * sysdeps/sh/_mcount.S: Likewise.
75293         * sysdeps/sh/sysdep.h: Likewise.
75294         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
75295         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
75296         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
75297         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75298         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
75299         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
75300         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
75301         * locale/localeinfo.h: Likewise.
75302         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
75303         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
75305 2012-07-09  Roland McGrath  <roland@hack.frob.com>
75307         [BZ #14336]
75308         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
75309         system".
75310         * manual/message.texi (The Uniforum approach): Likewise.
75311         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
75312         (glibc iconv Implementation): Likewise.
75314 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
75316         [BZ #14337]
75317         * math/s_clog.c (__clog): Avoid scaling a value down where that
75318         could result in underflow.
75319         * math/s_clog10.c (__clog10): Likewise.
75320         * math/s_clog10f.c (__clog10f): Likewise.
75321         * math/s_clog10l.c (__clog10l): Likewise.
75322         * math/s_clogf.c (__clogf): Likewise.
75323         * math/s_clogl.c (__clogl): Likewise.
75324         * math/libm-test.inc (clog_test): Add more tests.
75325         (clog10_test): Likewise.
75326         * sysdeps/i386/fpu/libm-test-ulps: Update.
75327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75329 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
75331         [BZ #14283]
75332         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
75333         by 7 not 8 to examine high bit of fractional part.
75335         [BZ #14042]
75336         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
75337         for call to __mcount_internal.
75338         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
75339         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
75340         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
75342 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
75344         [BZ #14154]
75345         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
75346         approximation for values within 0x1p-13f of an odd multiple of
75347         pi/4.
75348         * math/libm-test.inc (tan_test): Do not allow spurious underflow
75349         exception.  Add more tests.
75350         * sysdeps/i386/fpu/libm-test-ulps: Update.
75352         [BZ #6778]
75353         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
75354         inputs and return -1 for them.  Do not check for +Inf in case not
75355         reachable for +Inf.
75356         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
75357         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
75358         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75359         and return -1 for them.  Do not check for +Inf in case not
75360         reachable for +Inf.
75361         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
75362         define.
75363         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75364         and return -1 for them.  Do not check for +Inf in case not
75365         reachable for +Inf.
75366         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
75367         spurious underflow.
75368         * sysdeps/i386/fpu/libm-test-ulps: Update.
75369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75371 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
75373         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
75375 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
75377         [BZ #14157]
75378         [BZ #14331]
75379         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
75380         could result in spurious underflow.  Scale down values above
75381         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
75382         * math/s_csqrtf.c (__csqrtf): Likewise.
75383         * math/s_csqrtl.c (__csqrtl): Likewise.
75384         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
75385         spurious underflow.
75386         * sysdeps/i386/fpu/libm-test-ulps: Update.
75387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75389 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
75391         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
75392         xopen-msg.sed.
75393         * catgets/xopen-msg.awk: New file.
75394         * catgets/xopen-msg.sed: Removed.
75396         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
75397         po2text.sed.
75398         * intl/po2test.awk: New file.
75399         * intl/po2test.sed: Removed.
75401 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
75403         [BZ #14328]
75404         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
75405         or multiply small sinh result by itself.
75406         * math/s_ctanf.c (__ctanf): Likewise.
75407         * math/s_ctanh.c (__ctanh): Likewise.
75408         * math/s_ctanhf.c (__ctanhf): Likewise.
75409         * math/s_ctanhl.c (__ctanhl): Likewise.
75410         * math/s_ctanl.c (__ctanl): Likewise.
75411         * math/libm-test.inc (ctan_test_tonearest): New function.
75412         (ctan_test_towardzero): Likewise.
75413         (ctan_test_downward): Likewise.
75414         (ctan_test_upward): Likewise.
75415         (ctanh_test_tonearest): Likewise.
75416         (ctanh_test_towardzero): Likewise.
75417         (ctanh_test_downward): Likewise.
75418         (ctanh_test_upward): Likewise.
75419         (main): Call these new functions.
75420         * sysdeps/i386/fpu/libm-test-ulps: Update.
75421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75423 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
75425         * .gitignore: Delete /ports entry.
75427 2012-07-03  Andreas Jaeger  <aj@suse.de>
75429         * po/bg.po: Update from translation team.
75430         * po/cs.po: Likewise.
75431         * po/de.po: Likewise.
75432         * po/hr.po: Likewise.
75433         * po/nl.pl: Likewise.
75434         * po/pl.po: Likewise.
75435         * po/vi.po: Likewise.
75437 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
75439         * Makeconfig [!+link] (+link-before-libc): New variable.
75440         [!+link] (+link-after-libc): Likewise.
75441         [!+link] (+link-tests): Likewise.
75442         [!+link] (+link): Define in terms of $(+link-before-libc) and
75443         $(+link-after-libc).
75444         [!+link-static] (+link-static-before-libc): New variable.
75445         [!+link-static] (+link-static-after-libc): Likewise.
75446         [!+link-static] (+link-static-tests): Likewise.
75447         [!+link-static] (+link-static): Define in terms of
75448         $(+link-static-before-libc) and $(+link-static-after-libc).
75449         [build-shared] (link-libc-before-gnulib): New variable.
75450         [build-shared] (link-libc-tests): Likewise.
75451         [build-shared] (link-libc): Define in terms of
75452         $(link-libc-before-gnulib).
75453         [!build-shared] (link-libc-tests): New variable.
75454         (link-libc-static-tests): New variable.
75455         [!gnulib] (gnulib-arch): New variable.
75456         [!gnulib] (gnulib-tests): Likewise.
75457         [!gnulib] (static-gnulib-arch): Likewise.
75458         [!gnulib] (static-gnulib-tests): Likewise.
75459         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
75460         Define with "=" instead of ":=".
75461         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
75462         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
75463         * Rules (binaries-all-notests): New variable.
75464         (binaries-all-tests): Likewise.
75465         (binaries-static-notests): Likewise.
75466         (binaries-static-tests): Likewise.
75467         (binaries-all): Define using $(binaries-all-notests) and
75468         $(binaries-all-tests).
75469         (binaries-static): Define using $(binaries-static-notests) and
75470         $(binaries-static-tests).
75471         (binaries-shared-tests): New variable.
75472         (binaries-shared-notests): Likewise.
75473         (binaries-shared): Remove variable.
75474         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
75475         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
75476         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
75477         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
75478         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
75479         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
75480         * elf/Makefile (sln-modules): New variable.
75481         (extra-objs): Add $(sln-modules:=.o).
75482         (ldconfig-modules): Add static-stubs.
75483         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
75484         * elf/static-stubs.c: New file.
75486         [BZ #14283]
75487         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
75488         by 7 not 8 to examine high bit of fractional part.  Use volatile
75489         variables when splitting into final array of floats if
75490         __FLT_EVAL_METHOD__ != 0.
75491         * math/libm-test.inc (cos_test): Add another test.
75492         (sin_test): Likewise.
75493         * sysdeps/i386/fpu/libm-test-ulps: Update.
75495         [BZ #14273]
75496         * math/libm-test.inc (cosh_test): Add more tests.
75498         * version.h (RELEASE): Set to "development".
75499         (VERSION): Set to "2.16.90".
75501 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
75503         * NEWS: Update copyright. Remove last-updated date.
75504         Mention math library bug fixes and timezone data changes.
75505         * README: Mention GNU/Hurd, x32, and HPPA support status.
75507 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
75509         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
75511 2012-06-27  Andreas Jaeger  <aj@suse.de>
75513         * manual/contrib.texi (Contributors): Add Samuel Thibault.
75515 2012-06-25  Andreas Jaeger  <aj@suse.de>
75517         * sysdeps/s390/fpu/libm-test-ulps: Update.
75519 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
75520             Thomas Schwinge  <thomas@codesourcery.com>
75522         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
75523         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
75524         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
75525         fanotify_mark.
75527 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
75529         * sysdeps/mach/start.c: Remove file.
75530         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
75531         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
75532         * sysdeps/sh/init-first.c: Likewise.
75534         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
75535         registers for frame unwinding purposes, add CFI directives.
75536         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75537         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
75538         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
75539         Likewise.
75541         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
75542         __fortify_fail returning.
75543         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75545         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
75546         sysdeps/sh/____longjmp_chk.S.
75547         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
75548         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
75549         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
75550         (gen-as-const-headers): Append sigaltstack-offsets.sym.
75552         * sysdeps/sh/abort-instr.h: New file.
75553         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
75554         process in case exit returns.
75556         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
75557         initialize the GOT register before use.
75559         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
75560         calculation of ARGC > 4.
75562         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
75563         meaningful names to some local labels.
75565 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75566             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75568         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
75569         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
75570         (__arch_compare_and_exchange_val_16_acq): Likewise.
75571         (__arch_compare_and_exchange_val_32_acq): Likewise.
75572         (atomic_exchange_and_add): Fix gUSA sequence.
75573         (atomic_add): Likewise.
75574         (atomic_add_negative): Likewise.
75575         (atomic_add_zero): Likewise.
75576         (atomic_bit_test_set): Likewise.
75578 2012-06-22  Andreas Schwab  <schwab@redhat.com>
75580         [BZ #13579]
75581         * include/link.h (struct link_map): Add l_free_initfini.
75582         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
75583         l_initfini.
75584         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
75585         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
75586         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
75587         set.
75589 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
75591         * configure.in: Use AC_LANG_SOURCE.
75592         * configure: Regenerate.
75594 2012-06-22  Roland McGrath  <roland@hack.frob.com>
75596         * configure.in (libc_cv_localstatedir): New substituted variable.
75597         * configure: Regenerated.
75598         * config.make.in (localstatedir): New variable, substituted from
75599         libc_cv_localstatedir.
75600         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
75601         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
75602         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
75603         * sysdeps/gnu/configure: Regenerated.
75605 2012-06-21  Jeff Law  <law@redhat.com>
75607         [BZ #14277]
75608         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
75609         free.  Simplify list management for _LIBC case.
75611 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
75613         [BZ #14273]
75614         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
75615         Clear sign bit of 64-bit integer value before comparing against
75616         overflow value.
75618         * sysdeps/mach/configure: Regenerated.
75620 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
75622         [BZ #14278]
75623         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
75625 2012-06-21  Jeff Law  <law@redhat.com>
75627         [BZ #13882]
75628         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
75629         uint16_t for elements in the "seen" array to avoid char overflows.
75630         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75631         * elf/dl-open.c (dl_open_worker): Likewise.
75633 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
75635         * scripts/list-sources.sh: Scan PORTS for translations.
75636         * po/libc.pot: Regenerated.
75638 2012-06-21  Andreas Jaeger  <aj@suse.de>
75640         [BZ #12194]
75641         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
75642         warning.
75643         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
75644         * bits/byteswap-16.h (__bswap_16): Likewise.
75645         * bits/byteswap.h (__bswap_constant_16): Likewise.
75647 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
75649         [BZ #14117]
75650         * sysdeps/i386/fpu_control.h: Removed.
75651         * sysdeps/x86_64/fpu_control.h: Moved to ...
75652         * sysdeps/x86/fpu_control.h: Here.
75654         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
75655         (_FPU_SETCW): Likewise.
75657 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
75659         [BZ #14117]
75660         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
75661         * sysdeps/x86/fpu/bits/mathinline.h: This.
75662         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
75664         [BZ #14050]
75665         [BZ #14117]
75666         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
75667         functions if __x86_64__ is defined.
75669 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
75671         * string/endian.h: Add !__ASSEMBLER__ condition for including
75672         conversion interfaces.
75674 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
75676         [BZ #14241]
75677         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
75678         of ABS(x) in calculating zero to negative powers other than odd
75679         integers.
75680         * math/libm-test.inc (pow_test): Add more tests.
75682 2012-06-15  Andreas Jaeger  <aj@suse.de>
75684         * manual/contrib.texi (Contributors): Update entry of Liubov
75685         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
75686         Machado Filho.
75688 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
75690         * string/string.h: Add __wur to GNU version of strerror_r.
75692 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
75694         [BZ #14229]
75695         * string/Makefile (tests): Add tst-strtok_r.
75696         * string/tst-strtok_r.c: New file.
75697         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
75698         RAX_LP/RDX_LP on SAVE_PTR.
75700 2012-06-14  Roland McGrath  <roland@hack.frob.com>
75702         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
75704 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
75706         * libm_test.inc (csqrt_test): Allow more spurious underflow
75707         exceptions.
75708         (j0_test): Likewise.
75709         (j1_test): Likewise.
75710         (y0_test): Likewise.
75711         (y1_test): Likewise.
75713 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
75715         * po/Makefile (libc.pot): Use UTF-8 charset.
75717 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
75719         [BZ #14210]
75720         Suppress sign-conversion warning from FD_SET.
75721         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
75722         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
75723         not unsigned long int.
75724         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
75726 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
75728         [BZ #14050]
75729         [BZ #14117]
75730         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
75731         __extern_always_inline instead of __extern_inline.
75732         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
75733         (__signbit): Likewise.
75734         (__signbitl): Support C++ namespace.
75735         (lrintf): New inline function.
75736         (lrint): Likewise.
75737         (llrintf): Likewise.
75738         (llrint): Likewise.
75739         (fmaxf): Likewise.
75740         (fmax): Likewise.
75741         (fminf): Likewise.
75742         (fmin): Likewise.
75743         (rint): Likewise.
75744         (rintf): Likewise.
75745         (ceil): Likewise.
75746         (ceilf): Likewise.
75747         (floor): Likewise.
75748         (floorf): Likewise.
75749         (nearbyint): Likewise.
75750         (nearbyintf): Likewise.
75752 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
75754         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
75755         non-default versions.
75757 2012-06-11  Roland McGrath  <roland@hack.frob.com>
75759         [BZ #14218]
75760         * manual/argp.texi (Argp): Reword argp_parse description slightly.
75762 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
75764         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
75765         (FE_UPWARD, FE_DOWNWARD): Don't define.
75766         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
75767         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75769         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
75770         reading it.
75771         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75772         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75774 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75776         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75777         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
75778         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
75779         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
75781 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
75783         [BZ #14117]
75784         * sysdeps/i386/fpu/bits/fenv.h: Removed.
75785         * sysdeps/i386/fpu/Implies: New file.
75786         * sysdeps/x86_64/fpu/Implies: Likewise.
75787         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
75788         * sysdeps/x86/fpu/bits/fenv.h: This.
75790         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
75791         __SSE_MATH__.
75793 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
75795         [BZ #14134]
75796         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
75797         character 0xffff that matches the last element of the
75798         conversion table.
75800 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75802         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
75803         fmodl commit.
75805 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75807         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
75808         values higher than 25.6283.
75810 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75812         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
75813         subnormal exponent extraction and add some __builtin_expect.
75814         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
75815         Fix for subnormal mantissa calculation.
75817 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
75819         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
75820         cpu2 is -1 and errno is not ENOSYS.
75822 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
75824         [BZ #14117]
75825         * sysdeps/i386/i486/bits/string.h: Renamed to ...
75826         * sysdeps/x86/bits/string.h: This.
75827         * sysdeps/x86_64/bits/string.h: Removed.
75829         * sysdeps/i386/i486/bits/string.h: Define inline functions only
75830         if not compiling for x86-64, but compiling for >= i486.
75832         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
75833         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
75835         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
75836         New macro from Linux kernel 3.4.0.
75837         (FP_XSTATE_MAGIC2): Likewise.
75838         (FP_XSTATE_MAGIC2_SIZE): Likewise.
75839         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
75840         (struct _fpx_sw_bytes): New struct.
75841         (struct _xsave_hdr): Likewise.
75842         (struct _ymmh_state): Likewise.
75843         (struct _xstate): Likewise.
75845         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
75846         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
75847         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
75848         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
75849         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
75850         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
75852         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
75853         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
75854         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
75855         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
75856         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
75857         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
75859 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75861         [BZ #13743]
75862         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
75863         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
75864         (sysdep_headers): Include sys/platform/ppc.h.
75865         * sysdeps/powerpc/test-gettimebase.c: Test for
75866         __ppc_get_timebase() to catch future ISA opcode/insn changes.
75867         * manual/Makefile (appendices): Include platform.texi.
75868         * manual/contrib.texi (Contributors): Update @node pointers.
75869         * manual/maint.texi (Maintenance): Likewise.
75870         (Platform): New node.
75871         * manual/platform.texi: New file.  Document the new features.
75873 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
75874             Jakub Jelinek  <jakub@redhat.com>
75876         [BZ #14188]
75877         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
75878         where __builtin_expect is unavailable.
75880 2012-06-03  David S. Miller  <davem@davemloft.net>
75882         * stdlib/longlong.h: Updated from GCC.
75884 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
75886         [BZ #14042]
75887         * sysdeps/powerpc/powerpc32/mcount.c: New file.
75888         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
75889         __mcount_internal.
75890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75891         (GLIBC_2.16): Likewise.
75893 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75895         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
75897 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
75900         (default-abi): New variable.
75901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
75902         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
75903         variable.
75904         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
75905         Likewise.
75906         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
75907         Likewise.
75908         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
75909         Likewise.
75911         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
75912         definition.  Document in comment.
75914 2012-06-01  David S. Miller  <davem@davemloft.net>
75916         * stdlib/longlong.h: Updated from GCC.
75918 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75920         [BZ #14117]
75921         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
75922         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
75923         sys/debugreg.h sys/io.h here.
75924         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
75925         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
75926         sys/io.h.
75927         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
75928         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
75929         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
75930         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
75931         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
75932         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
75934         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
75935         Define only if __x86_64__ is defined.
75937 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75939         [BZ #14048]
75940         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
75941         Use int64_t for variable i.
75942         * math/libm-test.inc (fmod_test): Add more tests.
75944         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
75945         z computation is not scheduled after fetestexcept.
75946         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
75947         Use math_force_eval instead of asm to ensure calculation scheduled
75948         before exception test.
75949         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
75950         Ensure a1 + u.d computation is not scheduled after fetestexcept.
75952 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
75954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
75955         computation is not scheduled after fetestexcept.
75957 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75959         [BZ #14117]
75960         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
75961         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
75963 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75965         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
75966         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75968 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
75970         [BZ #14117]
75971         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
75972         <bits/wordsize.h>.
75973         (__WCHAR_MIN): Support __WORDSIZE == 64.
75974         (__WCHAR_MAX): Likewise.
75976         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
75977         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
75979         [BZ #14183]
75980         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
75981         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
75983         [BZ #14117]
75984         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
75985         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
75987         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
75988         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
75990         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
75991         Defined to 1 if __x86_64__ isn't defined.
75992         (_STAT_VER_LINUX_OLD): New.
75993         (st_atime): Remove duplicate.
75994         (st_mtime): Likewise.
75995         (st_ctime): Likewise.
75997 2012-05-31  David S. Miller  <davem@davemloft.net>
75999         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
76000         entries.
76002 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
76004         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
76005         gen-libm-test.pl.
76007         [BZ #14132]
76008         * elf/dl-reloc.c: Include <_itoa.h>.
76009         (_dl_reloc_bad_type): Remove use of INTUSE.
76010         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76011         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76012         * stdio-common/psiginfo.c (psiginfo): Likewise.
76013         * stdio-common/psignal.c (psignal): Likewise.
76014         * string/strsignal.c (strsignal): Likewise.
76015         * include/signal.h (_sys_siglist): Declare hidden proto.
76016         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
76017         INTVARDEF with libc_hidden_data_def.
76018         * stdio-common/itoa-udigits.c: Likewise.
76019         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76020         (_itoa_lower_digits_internal): Remove declaration.
76021         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76022         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76023         (_sys_sigabbrev_internal): Remove aliases.
76024         (_sys_siglist): Define hidden alias.
76026 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
76028         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76029         bits/sysctl.h.
76031 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76033         [BZ #14117]
76034         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76035         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76037         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76038         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76039         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76040         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76041         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76042         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76044         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76045         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76046         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76048         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
76049         with __addr.
76050         (insw): Likewise.
76051         (insl): Likewise.
76052         (outsb): Likewise.
76053         (outsw): Likewise.
76054         (outsl): Likewise.
76056         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
76057         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
76058         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
76060         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
76061         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
76062         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
76063         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
76064         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
76065         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
76067         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
76068         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
76070         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
76071         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
76073         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
76074         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
76075         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
76077         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
76078         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
76079         to ...
76080         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
76082         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
76083         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
76084         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
76086         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
76087         for x86-64.
76088         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
76090 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
76092         * math/math.h (M_El): Use two more decimal places.
76093         (M_LOG2El): Likewise.
76094         (M_LOG10El): Likewise.
76095         (M_LN2l): Likewise.
76096         (M_LN10l): Likewise.
76097         (M_PIl): Likewise.
76098         (M_PI_2l): Likewise.
76099         (M_PI_4l): Likewise.
76100         (M_1_PIl): Likewise.
76101         (M_2_PIl): Likewise.
76102         (M_2_SQRTPIl): Likewise.
76103         (M_SQRT2l): Likewise.
76104         (M_SQRT1_2l): Likewise.
76106 2012-05-31  David S. Miller  <davem@davemloft.net>
76108         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
76109         values between float registers.
76110         * sysdeps/sparc/sparc64/memset.S: Likewise.
76111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76113 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
76115         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
76116         -D_FORTIFY_SOURCE=1.
76117         (CPPFLAGS-tst-longjmp_chk.c): Define.
76118         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
76119         (CPPFLAGS-tst-longjmp_chk2.c): Define.
76120         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
76121         CFLAGS-tst-wchar-h.c.
76123 2012-05-31  Marek Polacek  <polacek@redhat.com>
76125         [BZ #14132]
76126         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
76127         __endmntent_internal): Remove declaration.
76128         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
76129         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
76130         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
76132 2012-05-30  David S. Miller  <davem@davemloft.net>
76134         * sysdeps/sparc/sparc32/soft-fp/q_util.c
76135         (___Q_simulate_exceptions): Use real FP ops rather than writing
76136         into the %fsr.
76137         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
76138         Likewise.
76140 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76142         [BZ #14117]
76143         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
76144         * sysdeps/x86/bits/xtitypes.h: This.
76146         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
76147         * sysdeps/x86/bits/wordsize.h: This.
76149         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
76150         * sysdeps/x86/bits/huge_vall.h: This.
76152         * sysdeps/i386/bits/select.h: Removed.
76153         * sysdeps/x86_64/bits/select.h: Renamed to ...
76154         * sysdeps/x86/bits/select.h: This.
76156         * sysdeps/i386/bits/setjmp.h: Removed.
76157         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
76158         * sysdeps/x86/bits/setjmp.h: This.
76160         * sysdeps/i386/bits/mathdef.h: Removed.
76161         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
76162         * sysdeps/x86/bits/mathdef.h: This.
76164 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
76166         [BZ #14132]
76167         * include/sys/socket.h (__connect_internal)
76168         (__libc_sa_len_internal): Remove declaration.
76169         (__connect, __libc_sa_len): Declare hidden_proto.
76170         (SA_LEN): Remove use of INTUSE.
76171         * socket/connect.c: Add libc_hidden_def.
76172         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
76173         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
76174         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
76175         alias.
76176         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
76177         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
76178         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
76179         of adding _internal alias.
76181 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76183         [BZ #14117]
76184         * sysdeps/i386/bits/link.h: Removed.
76185         * sysdeps/i386/bits/linkmap.h: Likewise.
76186         * sysdeps/x86_64/bits/link.h: Renamed to ...
76187         * sysdeps/x86/bits/link.h: This.
76188         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
76189         * sysdeps/x86/bits/linkmap.h: This.
76191         * sysdeps/i386/bits/endian.h: Removed.
76192         * sysdeps/x86_64/bits/endian.h: Renamed to ...
76193         * sysdeps/x86/bits/endian.h: This.
76195         * sysdeps/i386/bits/byteswap.h: Removed.
76196         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76197         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
76198         * sysdeps/x86/bits/byteswap.h: This.
76199         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
76200         * sysdeps/x86/bits/byteswap-16.h: This.
76201         * sysdeps/i386/Implies: Add x86.
76202         * sysdeps/x86_64/Implies: Likewise.
76204 2012-05-30  David S. Miller  <davem@davemloft.net>
76206         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
76207         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
76208         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
76209         (FP_TRAPPING_EXCEPTIONS): Define.
76210         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
76211         (FP_TRAPPING_EXCEPTIONS): Define.
76212         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
76213         subnormals only when inexact has been signalled or underflow
76214         exceptions are enabled.
76215         (_FP_PACK_CANONICAL): Likewise.
76217 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76219         [BZ #14183]
76220         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
76221         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
76223 2012-05-30  Richard Henderson  <rth@twiddle.net>
76225         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
76226         with #ifndef NOT_IN_libc.
76228         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
76229         marked to avoid plt entry.
76231 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76233         [BZ #14112]
76234         * Makeconfig (default-abi): New macro.
76235         (abi-includes): Likewise.
76236         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
76237         $(abi-$(default-abi)-lib-soname) for soname if defined.
76238         ($(common-objpfx)gnu/lib-names.stmp): Generate from
76239         abi-variants.
76240         * Makefile (installed-stubs): Likewise.
76241         * include/stubs-biarch.h: Removed.
76242         * scripts/lib-names.awk: Only handle one library at a time.
76243         * scripts/soversions.awk: Remove WORDSIZE support.
76244         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
76245         entries.
76246         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
76247         Removed.
76248         (syscall-list-default-condition): Likewise.
76249         (syscall-list-default-condition): Likewise.
76250         (syscall-list-includes): Likewise.
76251         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
76252         syscall-list-* with abi-*.  Handle undefined abi-variants.
76253         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
76254         * sysdeps/unix/sysv/linux/i386/Implies: New file.
76255         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
76256         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
76257         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
76258         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
76259         Removed.
76260         (syscall-list-32-options): Likewise.
76261         (syscall-list-32-condition): Likewise.
76262         (syscall-list-64-options): Likewise.
76263         (syscall-list-64-condition): Likewise.
76264         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
76265         macro.
76266         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
76267         Renamed to ...
76268         (abi-*): This.
76269         (abi-64-ld-soname): New macro.
76270         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
76271         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
76272         Renamed to ...
76273         (abi-*): This.
76274         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
76275         * sysdeps/x86_64/x32/shlib-versions: Likewise.
76277 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
76279         * sysdeps/unix/sysv/linux/kernel-features.h
76280         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
76281         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
76282         include <kernel-features.h>.
76283         [!__NR_ftruncate64]: Remove conditional code.
76284         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76285         [__NR_ftruncate64]: Make code unconditional.
76286         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76287         * sysdeps/unix/sysv/linux/truncate64.c: Do not
76288         include <kernel-features.h>.
76289         [!__NR_ftruncate64]: Remove conditional code.
76290         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76291         [__NR_ftruncate64]: Make code unconditional.
76292         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
76294         include <kernel-features.h>.
76295         [!__NR_ftruncate64]: Remove conditional code.
76296         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76297         [__NR_ftruncate64]: Make code unconditional.
76298         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
76300         include <kernel-features.h>.
76301         [!__NR_ftruncate64]: Remove conditional code.
76302         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76303         [__NR_ftruncate64]: Make code unconditional.
76304         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76306         * configure.in (libc_cv_fpie): Weaken to a compile test using
76307         LIBC_TRY_CC_OPTION.
76308         * configure: Regenerated.
76310 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
76313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
76314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
76315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76316         Refreshed.
76317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
76318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
76319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
76320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
76321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
76322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76323         Refreshed.
76325 2012-05-27  David S. Miller  <davem@davemloft.net>
76327         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
76328         (___Q_zero): New.
76329         (__Q_simulate_exceptions): Return void.  Change to simulate
76330         exceptions by writing into the %fsr.
76331         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
76332         (__Qp_handle_exceptions): Likewise.
76333         (numbers): Delete.
76334         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
76335         __Qp_handle_exceptions.
76336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
76337         __Qp_handle_exceptions.
76338         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76339         as unused and give dummy FP_RND_NEAREST initializer.
76340         (FP_INHIBIT_RESULTS): Define.
76341         (___Q_simulate_exceptions): Update declaration.
76342         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
76343         formatting.
76344         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76345         as unused and give dummy FP_RND_NEAREST initializer.
76346         (__Qp_handle_exceptions): Update declaration.
76347         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
76348         formatting.
76350 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
76352         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
76353         the temporary FPU control word.
76354         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
76355         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
76356         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
76357         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76358         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
76359         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
76360         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
76361         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76362         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
76363         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
76364         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76366 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76368         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
76369         fields.
76371 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
76373         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
76374         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
76375         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
76376         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
76377         Likewise.
76378         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
76379         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
76380         Likewise.
76382 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
76384         * po/h.po: Update from translation team.
76386 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
76388         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
76390         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
76391         handling of denormals.
76392         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76393         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
76394         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76395         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76396         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76397         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
76398         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
76399         Likewise.
76401 2012-05-26  Marek Polacek  <polacek@redhat.com>
76403         [BZ #14152]
76404         * math/libm-test.inc (fma_test): Don't always expect underflow
76405         exception.
76407 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76409         [BZ #12416]
76410         * elf/tst-execstack.c: Include stackinfo.h.
76411         (do_test): Adjust test case to ensure that pthread_getattr_np
76412         behaviour remains the same after marking stack executable.
76414 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76416         * sysdeps/unix/sysv/linux/kernel-features.h
76417         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
76418         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
76419         kernel-features.h.
76420         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76421         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76422         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
76423         kernel-features.h.
76424         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76425         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76427 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
76429         * configure.in: Define the default includes to being none.
76430         * configure: Regenerated.
76432 2012-05-25  Roland McGrath  <roland@hack.frob.com>
76434         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
76435         * sysdeps/x86_64/setjmp.S: Likewise.
76436         * sysdeps/i386/bsd-setjmp.S: Likewise.
76437         * sysdeps/i386/bsd-_setjmp.S: Likewise.
76438         * sysdeps/i386/setjmp.S: Likewise.
76439         * sysdeps/i386/__longjmp.S: Likewise.
76440         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76441         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
76443         * include/stap-probe.h: New file.
76444         * configure.in: Handle --enable-systemtap.
76445         * configure: Regenerated.
76446         * config.h.in (USE_STAP_PROBE): New #undef.
76447         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
76448         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
76449         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
76451 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76453         [BZ #13717]
76454         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76455         to 2.4.0 where earlier.
76456         * sysdeps/unix/sysv/linux/configure: Regenerated.
76457         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
76458         <kernel-features.h>.
76459         [__ASSUME_32BITUIDS]: Make code unconditional.
76460         [!__ASSUME_32BITUIDS]: Remove conditional code.
76461         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
76462         <kernel-features.h>.
76463         [__ASSUME_32BITUIDS]: Make code unconditional.
76464         [!__ASSUME_32BITUIDS]: Remove conditional code.
76465         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
76466         [__ASSUME_32BITUIDS]: Make code unconditional.
76467         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
76468         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
76469         <kernel-features.h>.
76470         [__ASSUME_32BITUIDS]: Make code unconditional.
76471         [!__ASSUME_32BITUIDS]: Remove conditional code.
76472         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
76473         <kernel-features.h>.
76474         [__ASSUME_32BITUIDS]: Make code unconditional.
76475         [!__ASSUME_32BITUIDS]: Remove conditional code.
76476         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
76477         <kernel-features.h>.
76478         [__ASSUME_32BITUIDS]: Make code unconditional.
76479         [!__ASSUME_32BITUIDS]: Remove conditional code.
76480         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
76481         <kernel-features.h>.
76482         [__ASSUME_32BITUIDS]: Make code unconditional.
76483         [!__ASSUME_32BITUIDS]: Remove conditional code.
76484         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
76485         <kernel-features.h>.
76486         [__ASSUME_32BITUIDS]: Make code unconditional.
76487         [!__ASSUME_32BITUIDS]: Remove conditional code.
76488         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
76489         <kernel-features.h>.
76490         [__ASSUME_32BITUIDS]: Make code unconditional.
76491         [!__ASSUME_32BITUIDS]: Remove conditional code.
76492         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
76493         <kernel-features.h>.
76494         [__ASSUME_32BITUIDS]: Make code unconditional.
76495         [!__ASSUME_32BITUIDS]: Remove conditional code.
76496         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
76497         <kernel-features.h>.
76498         [__ASSUME_32BITUIDS]: Make code unconditional.
76499         [!__ASSUME_32BITUIDS]: Remove conditional code.
76500         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
76501         <kernel-features.h>.
76502         [__ASSUME_32BITUIDS]: Make code unconditional.
76503         [!__ASSUME_32BITUIDS]: Remove conditional code.
76504         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
76505         <kernel-features.h>.
76506         [__ASSUME_32BITUIDS]: Make code unconditional.
76507         [!__ASSUME_32BITUIDS]: Remove conditional code.
76508         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
76509         <kernel-features.h>.
76510         [__NR_setresgid] (__setresgid): Do not declare.
76511         [__ASSUME_32BITUIDS]: Make code unconditional.
76512         [!__ASSUME_32BITUIDS]: Remove conditional code.
76513         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
76514         <kernel-features.h>.
76515         [__NR_setresuid] (__setresuid): Do not declare.
76516         [__ASSUME_32BITUIDS]: Make code unconditional.
76517         [!__ASSUME_32BITUIDS]: Remove conditional code.
76518         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
76519         <kernel-features.h>.
76520         [__ASSUME_32BITUIDS]: Make code unconditional.
76521         [!__ASSUME_32BITUIDS]: Remove conditional code.
76522         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
76523         <kernel-features.h>.
76524         [__ASSUME_32BITUIDS]: Make code unconditional.
76525         [!__ASSUME_32BITUIDS]: Remove conditional code.
76526         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
76527         <kernel-features.h>.
76528         [__ASSUME_32BITUIDS]: Make code unconditional.
76529         [!__ASSUME_32BITUIDS]: Remove conditional code.
76530         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
76531         <kernel-features.h>.
76532         [__ASSUME_32BITUIDS]: Make code unconditional.
76533         [!__ASSUME_32BITUIDS]: Remove conditional code.
76534         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
76535         <kernel-features.h>.
76536         [__ASSUME_32BITUIDS]: Make code unconditional.
76537         [!__ASSUME_32BITUIDS]: Remove conditional code.
76538         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
76539         <kernel-features.h>.
76540         [__ASSUME_32BITUIDS]: Make code unconditional.
76541         [!__ASSUME_32BITUIDS]: Remove conditional code.
76542         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
76543         <kernel-features.h>.
76544         [__ASSUME_32BITUIDS]: Make code unconditional.
76545         [!__ASSUME_32BITUIDS]: Remove conditional code.
76546         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
76547         <kernel-features.h>.
76548         [__ASSUME_32BITUIDS]: Make code unconditional.
76549         [!__ASSUME_32BITUIDS]: Remove conditional code.
76550         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
76551         <kernel-features.h>.
76552         [__ASSUME_32BITUIDS]: Make code unconditional.
76553         [!__ASSUME_32BITUIDS]: Remove conditional code.
76554         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
76555         <kernel-features.h>.
76556         [__ASSUME_32BITUIDS]: Make code unconditional.
76557         [!__ASSUME_32BITUIDS]: Remove conditional code.
76558         * sysdeps/unix/sysv/linux/kernel-features.h
76559         (__ASSUME_SETRESUID_SYSCALL): Remove.
76560         (__ASSUME_SETRESGID_SYSCALL): Likewise.
76561         (__ASSUME_32BITUIDS): Likewise.
76562         (__ASSUME_LDT_WORKS): Likewise.
76563         (__ASSUME_O_DIRECTORY): Likewise.
76564         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
76565         architecture but not kernel version.
76566         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
76567         (__ASSUME_MMAP2_SYSCALL): Likewise.
76568         (__ASSUME_STAT64_SYSCALL): Likewise.
76569         (__ASSUME_IPC64): Likewise.
76570         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
76571         <kernel-features.h>.
76572         [__ASSUME_32BITUIDS]: Make code unconditional.
76573         [!__ASSUME_32BITUIDS]: Remove conditional code.
76574         * sysdeps/unix/sysv/linux/opendir.c: Do not include
76575         <kernel-features.h>.
76576         [__ASSUME_O_DIRECTORY]: Make code unconditional.
76577         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
76578         132096]: Remove conditional code.
76579         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
76580         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
76581         <kernel-features.h>.
76582         [__ASSUME_32BITUIDS]: Make code unconditional.
76583         [!__ASSUME_32BITUIDS]: Remove conditional code.
76584         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
76585         <kernel-features.h>.
76586         [__ASSUME_32BITUIDS]: Make code unconditional.
76587         [!__ASSUME_32BITUIDS]: Remove conditional code.
76588         * sysdeps/unix/sysv/linux/setegid.c: Do not include
76589         <kernel-features.h>.
76590         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
76591         unconditional.
76592         (__setresgid): Do not declare.
76593         [__ASSUME_32BITUIDS]: Make code unconditional.
76594         [!__ASSUME_32BITUIDS]: Remove conditional code.
76595         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
76596         <kernel-features.h>.
76597         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
76598         unconditional.
76599         (__setresuid): Do not declare.
76600         [__ASSUME_32BITUIDS]: Make code unconditional.
76601         [!__ASSUME_32BITUIDS]: Remove conditional code.
76602         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
76603         <kernel-features.h>.
76604         [__ASSUME_32BITUIDS]: Make code unconditional.
76605         [!__ASSUME_32BITUIDS]: Remove conditional code.
76606         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
76607         <kernel-features.h>.
76608         [__ASSUME_32BITUIDS]: Make code unconditional.
76609         [!__ASSUME_32BITUIDS]: Remove conditional code.
76611 2012-05-25  Richard Henderson  <rth@twiddle.net>
76613         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
76614         dl_hwcap to ifunc resolver.
76615         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
76616         elf_ifunc_invoke.
76617         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
76618         dl_hwcap to ifunc resolver.
76619         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
76621 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76623         [BZ #14153]
76624         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
76625         for |x| <= 2**-26, not 2**-57.
76626         * math/libm-test.inc (acos_test): Do not allow spurious underflow
76627         exception.
76629 2012-05-24  Jeff Law  <law@redhat.com>
76631         * stdio-common/Makefile (tests): Add bug25.
76632         * stdio-common/bug25.c: New test.
76634 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76636         [BZ #13576]
76637         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
76638         multiple of MALLOC_ALIGNMENT in size.
76639         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
76641 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76643         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
76644         Require >= 256.
76645         (FILENAME_MAX): Use macro-int-constant.
76646         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
76647         (_IOFBF): Use macro-int-constant.
76648         (_IOLBF): Likewise.
76649         (_IONBF): Likewise.
76650         (SEEK_CUR): Likewise.
76651         (SEEK_END): Likewise.
76652         (SEEK_SET): Likewise.
76653         (TMP_MAX): Likewise.
76654         (EOF): Use macro-int-constant.  Require < 0.
76655         (NULL): Use macro-constant.  Require == 0.
76656         (stdin): Require type to be FILE *.
76657         (stdout): Likewise.
76658         (stderr): Likewise.
76659         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
76660         macro-int-constant.
76661         (EXIT_SUCCESS): Likewise.
76662         (NULL): Use macro-constant.  Require == 0.
76663         (RAND_MAX): Use macro-int-constant.
76664         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
76665         [C99-based standards] (strtof): Require function.
76666         [C99-based standards] (strtold): Likewise.
76667         [C99-based standards] (strtoll): Likewise.
76668         [C99-based standards] (strtoull): Likewise.
76669         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76670         [ISO || ISO99 || ISO11] (limits.h): Likewise.
76671         [ISO || ISO99 || ISO11] (math.h): Likewise.
76672         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
76673         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76674         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76676 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
76678         [BZ #14132]
76679         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
76680         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
76681         * intl/dgettext.c (DCGETTEXT): Likewise.
76682         * intl/gettext.c (DCGETTEXT): Likewise.
76683         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
76684         * posix/regex_internal.h (gettext): Likewise.
76685         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
76686         Remove declaration.
76687         * include/argz.h (__argz_count_internal)
76688         (__argz_stringify_internal): Remove declaration.
76689         (__argz_count, __argz_stringify): Declare hidden proto.
76690         * intl/dcgettext.c: Remove use of INTDEF.
76691         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
76692         * string/argz-stringify.c: Likewise.
76693         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76694         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76695         Declare hidden proto.
76696         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76697         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76698         Declare hidden proto.
76699         * include/stdio.h (__asprintf_internal): Don't declare.
76700         (__asprintf): Don't define as macro.  Declare hidden proto.
76701         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
76702         (__fsetlocking): Declare hidden proto.
76703         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
76704         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
76705         hidden proto.
76706         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
76707         (_IO_setlinebuf): Remove use of INTUSE.
76708         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
76709         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
76710         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
76711         Remove declaration.
76712         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
76713         (_IO_do_flush): Remove use of INTUSE.
76714         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
76715         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
76716         (_IO_adjust_column, _IO_least_wmarker)
76717         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
76718         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
76719         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
76720         (_IO_default_doallocate, _IO_wdefault_doallocate)
76721         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
76722         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
76723         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
76724         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
76725         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
76726         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
76727         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
76728         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
76729         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
76730         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
76731         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
76732         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
76733         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
76734         proto.
76735         (_IO_flush_all_internal, _IO_adjust_column_internal)
76736         (_IO_default_uflow_internal, _IO_default_finish_internal)
76737         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
76738         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
76739         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
76740         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
76741         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
76742         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
76743         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
76744         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
76745         (_IO_file_close_internal, _IO_file_close_it_internal)
76746         (_IO_file_underflow_internal, _IO_file_overflow_internal)
76747         (_IO_file_init_internal, _IO_file_attach_internal)
76748         (_IO_file_fopen_internal, _IO_file_read_internal)
76749         (_IO_file_sync_internal, _IO_file_seek_internal)
76750         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
76751         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
76752         (_IO_str_underflow_internal, _IO_str_overflow_internal)
76753         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
76754         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
76755         (_IO_list_all_internal, _IO_link_in_internal)
76756         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
76757         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
76758         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
76759         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
76760         (_IO_do_write_internal, _IO_padn_internal)
76761         (_IO_getline_info_internal, _IO_getline_internal)
76762         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
76763         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
76764         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
76765         (_IO_vfscanf_internal, _IO_vfprintf_internal)
76766         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
76767         (_IO_init_internal, _IO_un_link_internal): Don't declare.
76768         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
76769         with libc_hidden_ver, remove use of INTUSE.
76770         * libio/genops.c: Likewise.
76771         * libio/freopen.c: Likewise.
76772         * libio/freopen64.c: Likewise.
76773         * libio/iofclose.c: Likewise.
76774         * libio/iofdopen.c: Likewise.
76775         * libio/iofflush.c: Likewise.
76776         * libio/iofflush_u.c: Likewise.
76777         * libio/iofgets.c: Likewise.
76778         * libio/iofgets_u.c: Likewise.
76779         * libio/iofopen.c: Likewise.
76780         * libio/iofopncook.c: Likewise.
76781         * libio/iofread.c: Likewise.
76782         * libio/iofread_u.c: Likewise.
76783         * libio/ioftell.c: Likewise.
76784         * libio/iofwrite.c: Likewise.
76785         * libio/iogetline.c: Likewise.
76786         * libio/iogets.c: Likewise.
76787         * libio/iogetwline.c: Likewise.
76788         * libio/iopadn.c: Likewise.
76789         * libio/iopopen.c: Likewise.
76790         * libio/ioseekoff.c: Likewise.
76791         * libio/ioseekpos.c: Likewise.
76792         * libio/iosetbuffer.c: Likewise.
76793         * libio/iosetvbuf.c: Likewise.
76794         * libio/ioungetc.c: Likewise.
76795         * libio/ioungetwc.c: Likewise.
76796         * libio/iovdprintf.c: Likewise.
76797         * libio/iovsprintf.c: Likewise.
76798         * libio/iovsscanf.c: Likewise.
76799         * libio/memstream.c: Likewise.
76800         * libio/obprintf.c: Likewise.
76801         * libio/oldfileops.c: Likewise.
76802         * libio/oldiofclose.c: Likewise.
76803         * libio/oldiofdopen.c: Likewise.
76804         * libio/oldiofopen.c: Likewise.
76805         * libio/oldiopopen.c: Likewise.
76806         * libio/oldstdfiles.c: Likewise.
76807         * libio/putc.c: Likewise.
76808         * libio/setbuf.c: Likewise.
76809         * libio/setlinebuf.c: Likewise.
76810         * libio/stdfiles.c: Likewise.
76811         * libio/strops.c: Likewise.
76812         * libio/vasprintf.c: Likewise.
76813         * libio/vscanf.c: Likewise.
76814         * libio/vsnprintf.c: Likewise.
76815         * libio/vswprintf.c: Likewise.
76816         * libio/wfiledoalloc.c: Likewise.
76817         * libio/wfileops.c: Likewise.
76818         * libio/wgenops.c: Likewise.
76819         * libio/wmemstream.c: Likewise.
76820         * libio/wstrops.c: Likewise.
76821         * libio/__fpurge.c: Likewise.
76822         * libio/__fsetlocking.c: Likewise.
76823         * assert/assert.c: Likewise.
76824         * debug/fgets_chk.c: Likewise.
76825         * debug/fgets_u_chk.c: Likewise.
76826         * debug/fread_chk.c: Likewise.
76827         * debug/fread_u_chk.c: Likewise.
76828         * debug/gets_chk.c: Likewise.
76829         * debug/obprintf_chk.c: Likewise.
76830         * debug/vasprintf_chk.c: Likewise.
76831         * debug/vdprintf_chk.c: Likewise.
76832         * debug/vsnprintf_chk.c: Likewise.
76833         * debug/vsprintf_chk.c: Likewise.
76834         * malloc/mtrace.c: Likewise.
76835         * misc/error.c: Likewise.
76836         * misc/syslog.c: Likewise.
76837         * stdio-common/asprintf.c: Likewise.
76838         * stdio-common/fxprintf.c: Likewise.
76839         * stdio-common/getw.c: Likewise.
76840         * stdio-common/isoc99_fscanf.c: Likewise.
76841         * stdio-common/isoc99_scanf.c: Likewise.
76842         * stdio-common/isoc99_vfscanf.c: Likewise.
76843         * stdio-common/isoc99_vscanf.c: Likewise.
76844         * stdio-common/isoc99_vsscanf.c: Likewise.
76845         * stdio-common/printf-prs.c: Likewise.
76846         * stdio-common/printf_fp.c: Likewise.
76847         * stdio-common/printf_fphex.c: Likewise.
76848         * stdio-common/printf_size.c: Likewise.
76849         * stdio-common/putw.c: Likewise.
76850         * stdio-common/scanf.c: Likewise.
76851         * stdio-common/sprintf.c: Likewise.
76852         * stdio-common/tmpfile.c: Likewise.
76853         * stdio-common/vfprintf.c: Likewise.
76854         * stdio-common/vfscanf.c: Likewise.
76855         * stdlib/strfmon_l.c: Likewise.
76856         * sunrpc/openchild.c: Likewise.
76857         * sunrpc/xdr_stdio.c: Likewise.
76858         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
76859         * sysdeps/mach/hurd/tmpfile.c: Likewise.
76861 2012-05-24  Roland McGrath  <roland@hack.frob.com>
76863         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76865         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
76866         in the third column, to generate for the shared library an IFUNC
76867         that uses _dl_vdso_vsym.
76868         * Makerules (COMPILE.c, compile-stdin.c): New variables.
76869         * Makeconfig (object-suffixes-noshared): New variable.
76871         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
76872         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
76873         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
76874         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
76876         [BZ #14132]
76877         * include/sys/time.h (__gettimeofday): Remove macro.
76878         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
76879         * time/gettimeofday.c (__gettimeofday): Remove #undef.
76880         Remove INTDEF.
76881         (__gettimeofday): Add libc_hidden_def.
76882         (gettimeofday): Add libc_hidden_weak.
76883         * sysdeps/mach/gettimeofday.c: Likewise.
76884         * sysdeps/posix/gettimeofday.c: Likewise.
76885         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
76886         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
76887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
76888         (__gettimeofday_internal): Remove strong_alias.
76889         (__gettimeofday): Add libc_hidden_def.
76890         (gettimeofday): Add libc_hidden_weak.
76891         * sysdeps/unix/syscalls.list (gettimeofday):
76892         Remove __gettimeofday_internal alias.
76894 2012-05-24  Daniel Jacobowitz  <drow@false.org>
76895             H.J. Lu  <hongjiu.lu@intel.com>
76897         [BZ #12495]
76898         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
76899         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
76900         (largebin_index_32_big): New.
76901         (largebin_index): Use it for 16-byte alignment.
76902         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
76903         correction with front_misalign.
76905 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
76908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
76909         Likewise.
76910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
76911         Likewise.
76912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
76913         Likewise.
76914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
76915         Likewise.
76916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
76917         Likewise.
76918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
76919         Likewise.
76920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
76921         Likewise.
76922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
76923         Likewise.
76924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
76925         Likewise.
76926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
76927         Likewise.
76928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
76929         Likewise.
76930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
76931         Likewise.
76933         * scripts/data/c++-types-x32-linux-gnu.data: New file.
76934         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
76936 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76938         [BZ #10846]
76939         [BZ #14036]
76940         * math/libm-test.inc (exp_test): Add test from bug 14036.
76941         (pow_test): Add test from bug 10846.
76943         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
76944         and other flags.
76945         (special_function): Do not include flags in test name.
76946         (parse_args): Likewise.
76947         * sysdeps/i386/fpu/libm-test-ulps: Update.
76948         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76949         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
76950         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
76951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76953         * math/gen-libm-test.pl (%beautify): Add entries for underflow
76954         exceptions.
76955         * math/libm-test.inc ("Philosophy"): Update comment about
76956         exception testing.
76957         (UNDERFLOW_EXCEPTION): New macro.
76958         (UNDERFLOW_EXCEPTION_OK): Likewise.
76959         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
76960         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
76961         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
76962         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
76963         (INVALID_EXCEPTION_OK): Update value.
76964         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
76965         (OVERFLOW_EXCEPTION_OK): Likewise.
76966         (IGNORE_ZERO_INF_SIGN): Likewise.
76967         (test_exceptions): Handle underflow exceptions.
76968         (acos_test): Update for underflow exception expectations.
76969         (cexp_test): Likewise.
76970         (clog_test): Likewise.
76971         (clog10_test): Likewise.
76972         (csqrt_test): Likewise.
76973         (ctan_test): Likewise.
76974         (ctanh_test): Likewise.
76975         (exp_test): Likewise.
76976         (exp10_test): Likewise.
76977         (exp2_test): Likewise.
76978         (expm1_test): Likewise.
76979         (fma_test): Likewise.
76980         (j0_test): Likewise.
76981         (jn_test): Likewise.
76982         (nexttoward_test): Likewise.
76983         (pow_test): Likewise.
76984         (scalbn_test): Likewise.
76985         (scalbln_test): Likewise.
76986         (tan_test): Likewise.
76987         (y1_test): Likewise.
76988         * sysdeps/i386/fpu/libm-test-ulps: Update.
76989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76991 2012-05-23  David S. Miller  <davem@davemloft.net>
76993         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76994         (__libc_sigaction): Remove unused local variables.
76996 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76998         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
77000 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
77002         mktime: avoid signed integer overflow
77003         * time/mktime.c (__mktime_internal): Do not mishandle the case
77004         where diff == INT_MIN.
77006         mktime: simplify computation of average
77007         * time/mktime.c (ranged_convert): Use new time_t_avg function
77008         instead of rolling our own (probably-slower) code.
77010         mktime: do not assume signed right shift propagates sign bit
77011         * time/mktime.c (isdst_differ): New static function.
77012         (__mktime_internal): No need to normalize tm_isdst now.
77013         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77014         tm_isdst values.
77016         mktime: merge another wrapv change from gnulib
77017         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77018         from some compilers.
77020         mktime: remove incorrect attempt at unusual arithmetics
77021         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77022         The code didn't really work on such machines anyway.
77023         (TYPE_MINIMUM): Assume two's complement.
77024         (twos_complement_arithmetic): Verify that long_int and time_t
77025         are two's complement (or unsigned, in the latter case).
77027         mktime: check signed shifts on long_int and time_t, too
77028         * time/mktime.c (SHR): Check that shifts work as desired
77029         on the types long_int and time_t too, as SHR is used on
77030         such types.
77032         mktime: do not assume 'long' is wide enough
77033         * time/mktime.c (verify): Move decl up.
77034         (long_int): New type.
77035         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77036         to remove assumption in the code that 'long' is wide enough to
77037         store year values.  This assumption is not true on x32 and on
77038         some non-glibc platforms.
77040         mktime: merge wrapv change from gnulib
77041         * time/mktime.c (WRAPV): New macro.
77042         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77043         (guess_time_tm, __mktime_internal): Do not assume that signed
77044         integer overflow wraps around; modern compilers generate code
77045         where this assumption is no longer valid.
77047 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77049         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77050         Replace "jmp L(pseudo_end)" with "ret".
77051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
77052         Likewise.
77054 2012-05-23  Andreas Jaeger  <aj@suse.de>
77056         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
77057         * sysdeps/unix/sysv/linux/poll.c: Remove file.
77059 2012-05-23  Andreas Jaeger  <aj@suse.de>
77060             Maximilian Attems  <max@stro.at>
77062         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
77063         New macros.
77065 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77067         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
77068         code so that pseudo_end is just ret and the stack pointer is
77069         correct also for static library in error case.
77071 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
77073         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
77074         move to syscalls.list.
77075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
77076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
77077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
77078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
77080         * manual/install.texi (Running make install): Do not mention Linux
77081         kernel version for which pt_chown is not needed.
77082         (Linux): Do not mention problems with nscd with 2.0 kernels.
77083         * INSTALL: Regenerated.
77085 2012-05-23  Andreas Jaeger  <aj@suse.de>
77087         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
77088         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
77089         macro.
77090         * sysdeps/unix/sysv/linux/s390/bits/mman.h
77091         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77092         * sysdeps/unix/sysv/linux/sh/bits/mman.h
77093         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77094         * sysdeps/unix/sysv/linux/i386/bits/mman.h
77095         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77096         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
77097         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77098         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
77099         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77100         * sysdeps/unix/sysv/linux/bits/in.h
77101         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
77103 2012-05-22  Roland McGrath  <roland@hack.frob.com>
77105         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
77106         (PREPARE_VERSION): Just use assert instead, it will be elided
77107         under [NDEBUG] anyway.
77109 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77111         * sysdeps/unix/sysv/linux/Makefile: Include
77112         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
77113         (sysdep_routines): Remove sysctl.
77114         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
77115         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
77116         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
77117         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
77118         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
77120 2012-05-22  Andreas Jaeger  <aj@suse.de>
77122         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
77123         that pseudo_end is just ret and the stack pointer is correct also
77124         for static library in error case.
77126 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
77128         [BZ #14122]
77129         * nss/nsswitch.c (defconfig_entries): New variable.
77130         (__nss_database_lookup): Don't leak defconfig entries.
77131         (nss_parse_service_list): Don't leak on error paths.
77132         (free_database_entries): New function.
77133         (free_defconfig): New function.
77134         (free_mem): Move common code to free_database_entries.
77136 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77138         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
77139         Add arch_prctl.
77140         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
77142         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
77143         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
77144         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
77145         New macro.
77146         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
77147         (INTERNAL_SYSCALL_TYPES): Likewise.
77148         (LOAD_ARGS_TYPES_[1-6]): Likewise.
77149         (LOAD_REGS_TYPES_[1-6]): Likewise.
77150         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
77151         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
77153 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77155         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
77156         copysignl for GLIBC_2_0.
77157         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
77158         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
77159         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
77160         logbl for GLIBC_2_0.
77161         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
77162         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
77164 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77166         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
77167         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77169         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77170         Use "neg %eax".
77172         * time/mktime.c: Update copyright years.
77174 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
77176         mktime: merge comment-quoting-style change from gnulib
77177         * time/mktime.c: Quote 'like this' in comments.
77178         The GNU coding standards suggest that we no longer quote `like this',
77179         as "`" and "'" are typically rendered asymmetrically nowadays.
77180         The typical gnulib style is to quote 'like this' when quoting
77181         code, and "like this" when quoting English.
77183         * time/mktime.c (compile-command): Add "-I.".
77185         mktime: merge mktime-internal.h change from gnulib
77186         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
77188         mktime: merge time_r change from gnulib
77189         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
77191         mktime: merge DEBUG change from gnulib
77192         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
77193         case system <time.h> has a #define.
77195         mktime: merge <sys/types.h> change from gnulib
77196         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
77197         since <time.t> is now guaranteed to define time_t.
77199         mktime: merge HAVE_CONFIG_H change from gnulib
77200         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
77202 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77204         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77205         Use "neg %eax".
77207         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
77208         __rlim_t cast.
77209         (struct rusage): Use anonymous union to pad each field to
77210         __syscall_slong_t.
77212 2012-05-21  David S. Miller  <davem@davemloft.net>
77214         * Makefules (o-iterator): Remove .s cases.
77215         (compile-command.s): Delete.
77216         (COMPILE.s): Delete.
77217         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
77219 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
77221         * configure.in (libc_cv_predef_stack_protector): Only consider
77222         "foobar" and "__stack_chk_fail" lines in libc_undefs.
77223         * configure: Regenerated.
77225 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77228         New macro.  Use R*LP on int and pointer.
77229         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
77230         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
77231         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
77232         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
77234         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
77235         [__WORDSIZE_TIME64_COMPAT32] instead of
77236         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
77237         (struct utmp): Likewise.
77238         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
77239         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
77240         Renamed to ...
77241         (__WORDSIZE_TIME64_COMPAT32): This.
77242         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
77243         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
77244         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
77245         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
77246         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
77247         (__WORDSIZE_TIME64_COMPAT32): New macro.
77249 2012-05-21  Andreas Jaeger  <aj@suse.de>
77251         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
77252         only if [SHARED]. Add prototype for __wcschr_ia32.
77254 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77256         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
77257         of %rbp unmolested in the jmp_buf while mangling the low bits.
77258         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
77259         unmolested high bits of %rbp while demangling the low bits.
77260         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77262 2012-05-21  Andreas Jaeger  <aj@suse.de>
77264         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
77265         * sunrpc/svc_simple.c: Use it for registerrpc.
77266         * sunrpc/xcrypt.c: Use it for passwd2des.
77268         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
77270 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77272         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
77273         Don't define if [__SYSCALL_WORDSIZE != 32].
77274         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
77275         New macro.
77277 2012-05-21  Bruno Haible  <bruno@clisp.org>
77278             Andreas Jaeger  <aj@suse.de>
77280         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
77281         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
77282         inptr and inend for must_buffer_ch.
77283         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
77284         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
77285         * stdio-common/Makefile (tests): Remove bug15.
77286         (bug15-ENV): Remove macro.
77287         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
77288         anymore.
77290 2012-05-19  Andreas Jaeger  <aj@suse.de>
77291             Roland McGrath  <roland@hack.frob.com>
77293         * manual/contrib.texi: Completely rewritten. It contains now an
77294         alphabetical list of contributors and their contributions.
77296 2012-05-21  Richard Henderson  <rth@twiddle.net>
77298         * misc/getauxval.c (__getauxval): Use unsigned long int.
77299         * misc/sys/auxv.h: Include <sys/cdefs.h>.
77300         (getauxval): Use unsigned long int.
77302 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77304         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77306 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77308         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
77309         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
77310         __alignof__ (long double).
77312 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77316 2012-05-20  Richard Henderson  <rth@twiddle.net>
77318         * misc/getauxval.c: New file.
77319         * misc/sys/auxv.h: New file.
77320         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
77321         (routines): Add getauxval.
77322         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
77323         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
77324         * elf/dl-sysdep.c (_dl_auxv): Remove.
77325         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
77326         * elf/dl-support.c (_dl_auxv): New variable.
77327         (_dl_aux_init): Initialize it.
77328         * manual/startup.texi (Auxiliary Vector): New node.
77329         * sysdeps/generic/bits/hwcap.h: New file.
77330         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
77331         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
77332         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
77333         * sysdeps/sparc/sysdep.h: ... here.  Include it.
77334         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
77335         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
77336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77337         Update.
77338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
77339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
77340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
77341         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
77342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
77345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
77347 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77351 2012-05-19  David S. Miller  <davem@davemloft.net>
77353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77355 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77357         [BZ #14123]
77358         * math/s_ccosh.c: Include <float.h>
77359         (__ccosh): Avoid internal overflow calculating sinh and cosh
77360         values before multiplying by sin and cos values.
77361         * math/s_ccoshf.c: Likewise.
77362         * math/s_ccoshl.c: Likewise.
77363         * math/s_csin.c: Likewise.
77364         * math/s_csinf.c: Likewise.
77365         * math/s_csinl.c: Likewise.
77366         * math/s_csinh.c: Likewise.
77367         * math/s_csinhf.c: Likewise.
77368         * math/s_csinhl.c: Likewise.
77369         * math/libm-test.inc (ccos_test): Add more tests.
77370         (ccosh_test): Likewise.
77371         (csin_test): Likewise.
77372         (csinh_test): Likewise.
77373         * sysdeps/i386/fpu/libm-test-ulps: Update.
77374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77376 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
77378         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
77379         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
77381         * sysdeps/x86_64/x32/_itoa.h: Add comment.
77383 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77385         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
77386         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
77387         * sysdeps/powerpc/soft-fp/Versions: Likewise.
77388         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
77389         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
77390         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
77391         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
77392         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
77393         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
77394         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
77395         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
77396         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
77397         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
77398         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
77399         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
77400         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
77401         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
77402         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
77403         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
77404         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
77405         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
77406         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
77407         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
77408         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
77409         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
77410         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
77411         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
77412         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
77413         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
77414         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
77415         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
77417 2012-05-18  Andreas Jaeger  <aj@suse.de>
77419         * csu/.gitignore: Delete.
77421 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77423         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
77424         (timex): Use __syscall_slong_t.
77426 2012-05-18  Andreas Jaeger  <aj@suse.de>
77427             Carlos O'Donell  <carlos_odonell@mentor.com>
77429         * manual/install.texi (Configuring and compiling): Update
77430         description about files modified in the source directory.
77431         * INSTALL: Regenerated.
77433 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77435         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
77436         value.  Use "or" to set return value to -1.
77437         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
77438         negate return value.
77440 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77442         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
77443         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
77444         failure if the compiler has Graphite support disabled.
77445         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
77446         Likewise.
77447         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
77448         (CFLAGS-memmove.c): Likewise.
77449         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
77450         Likewise.
77452 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77454         * sysdeps/x86_64/x32/_itoa.h: New file.
77456         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
77457         getdents system call only if kernel and user dirents have the
77458         same d_ino and d_off.
77460         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77461         LLONG_MAX != LONG_MAX.
77462         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77463         (_fitoa_word): Likewise.
77465         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
77466         years.
77467         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
77468         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
77469         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
77471         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
77472         include <bits/wordsize.h>.  Check __x86_64__ instead of
77473         __WORDSIZE.
77474         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
77475         if __x86_64__ is defined.  Use anonymous union on fpstate.
77477         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
77478         anonymous union.
77480 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
77482         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
77483         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
77484         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
77485         Refer to _rtld_local_ro instead of _rtld_global_ro.
77486         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
77487         Likewise.
77488         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
77489         Likewise.
77490         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
77491         Likewise.
77492         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
77493         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
77494         of _rtld_global, and rtld_progname instead of _dl_argv[0].
77496         [BZ #10882]
77497         * sysdeps/powerpc/powerpc32/dl-machine.c
77498         (__elf_machine_runtime_setup) [PROF]: Don't reference
77499         _dl_prof_resolve.
77501 2012-05-18  Andreas Jaeger  <aj@suse.de>
77503         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
77504         function only available for GCCs before 3.4 since GCC 3.4
77505         introduced a builtin.
77506         (lrint): Likewise.
77507         (llrintf): Likewise.
77508         (llrint): Likewise.
77509         (fmaxf): Likewise.
77510         (fmax): Likewise.
77511         (fminf): Likewise.
77512         (fmin): Likewise.
77513         (rint): Likewise.
77514         (rintf): Likewise.
77515         (nearbyint): Likewise.
77516         (nearbyintf): Likewise.
77517         (ceil): Likewise.
77518         (ceilf): Likewise.
77519         (floor): Likewise.
77520         (floorf): Likewise.
77522 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77524         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
77525         on both fields and cast pointer to __syscall_ulong_t.
77527         * bits/types.h (__fsword_t): New type.
77528         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
77529         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
77530         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77531         (__FSWORD_T_TYPE): Likewise.
77532         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77533         (__FSWORD_T_TYPE): Likewise.
77534         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77535         (__FSWORD_T_TYPE): Likewise.
77536         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
77537         (__FSWORD_T_TYPE): Likewise.
77538         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
77539         __SWORD_TYPE with __fsword_t.
77540         (statfs64): Likewise.
77542 2012-05-17  David S. Miller  <davem@davemloft.net>
77544         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
77546 2012-05-17  Andreas Jaeger  <aj@suse.de>
77548         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
77549         warning.
77551 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77553         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
77555 2012-05-17  Andreas Jaeger  <aj@suse.de>
77557         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
77558         when it is used.
77560 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77562         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
77564 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77566         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
77567         * sysdeps/x86_64/tst-mallocalign1.c: New file.
77569 2012-05-17  Andreas Jaeger  <aj@suse.de>
77570             Carlos O'Donell  <carlos_odonell@mentor.com>
77572         [BZ #14059]
77573         * sysdeps/x86_64/multiarch/init-arch.h
77574         (bit_YMM_Usable): Rename to...
77575         (bit_AVX_Usable): ... this.
77576         (bit_FMA4_Usable): New macro.
77577         (bit_XMM_state): New macro.
77578         (bit_YMM_state): New macro.
77579         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
77580         [__ASSEMBLER__] (index_AVX_Usable): ... this.
77581         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
77582         (CPUID_OSXSAVE): New macro.
77583         (CPUID_AVX): New macro.
77584         (CPUID_FMA4): New macro.
77585         (index_YMM_Usable): Rename to...
77586         (index_AVX_Usable): ... this.
77587         (HAS_AVX): Use HAS_ARCH_FEATURE.
77588         (HAS_FMA4): Likewise.
77589         (HAS_YMM_USABLE): Remove.
77590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77591         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
77592         are present.
77593         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
77594         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
77595         * sysdeps/x86_64/multiarch/Makefile: Likewise.
77596         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
77597         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
77599 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77601         * math/libm-test.c: Support platforms without multiple rounding modes.
77602         * math/bug-nextafter.c: Support platforms without FP exceptions.
77603         * math/bug-nexttoward.c: Likewise.
77604         * math/test-fenv.c: Likewise.
77605         * math/test-misc.c: Likewise.
77606         * stdlib/bug-getcontext.c: Likewise.
77608 2012-05-17  Andreas Jaeger  <aj@suse.de>
77610         * manual/examples/search.c (critter_cmp): Change signature to
77611         avoid warnings.
77612         * manual/string.texi (Collation Functions): Likewise.
77614 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77616         * bits/types.h: Fold copyright years.
77617         * bits/typesizes.h: Likewise.
77618         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
77619         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
77620         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
77621         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
77622         * time/time.h: Likewise.
77624 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
77626         [BZ #208]
77627         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
77628         in instead of returning them.  Return void.
77629         (__libc_mallinfo): Accumulate over all arenas.
77630         (__malloc_stats): Adjust for change in int_mallinfo interface.
77632 2012-05-16  Roland McGrath  <roland@hack.frob.com>
77634         [BZ #10375]
77635         * configure.in (NM): Add AC_CHECK_TOOL for it.
77636         (libc_extra_cflags): New substituted variable.
77637         Check for -fstack-protector being used implicitly.
77638         * configure: Regenerated.
77639         * config.make.in (config-extra-cflags): New variable,
77640         gets @libc_extra_cflags@.
77641         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
77643         [BZ #10375]
77644         * configure.in: Check for _FORTIFY_SOURCE being predefined.
77645         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
77646         * configure: Regenerated.
77647         * config.make.in (CPPUNDEFS): New substituted variable.
77648         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
77649         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
77650         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
77652 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77654         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
77655         (mq_attr): Use __syscall_slong_t.
77657 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77659         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
77660         Check __x86_64__ instead of __WORDSIZE.
77661         (_STAT_VER_LINUX): Likewise.
77662         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
77663         __syscall_ulong_t and __syscall_slong_t.
77664         (stat64): Likewise.
77666 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77668         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
77670 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77672         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
77674 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77676         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
77677         __syscall_ulong_t.
77679         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
77680         include <bits/wordsize.h>.  Check __x86_64__ instead of
77681         __WORDSIZE.
77682         (greg_t): Use "__extension__ long long int" if __x86_64__ is
77683         defined.
77684         (mcontext_t): Replace "unsigned long" with "unsigned long long".
77686         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
77687         include <bits/wordsize.h>.  Check __x86_64__ instead of
77688         __WORDSIZE.
77689         (user_regs_struct): Use "__extension__ unsigned long long"
77690         instead of "unsigned long" if __x86_64__ is defined.
77691         (user): Likewise.  Pad after pointer field if __ILP32__ is
77692         defined.
77694 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
77696         * configure.in (makeinfo): Require version 4.5 or later.  Allow
77697         versions 5 to 9.
77698         * configure: Regenerated.
77699         * manual/install.texi (texinfo): Increase version requirement to
77700         4.5 or later.
77701         * INSTALL: Regenerated.
77703         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
77705 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77707         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
77709         * sysdeps/x86_64/x32/ffs.c: New file.
77711         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
77712         __syscall_ulong_t.
77713         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
77714         defined.  Use __syscall_ulong_t.
77715         (shminfo): Use __syscall_ulong_t.
77716         (shm_info): Likewise.
77718         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
77719         __syscall_ulong_t.
77721         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
77722         <bits/wordsize.h>.
77723         (msgqnum_t): Use __syscall_ulong_t.
77724         (msglen_t): Likewise.
77725         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
77726         __syscall_ulong_t.
77728         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
77729         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77731         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
77733         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
77734         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
77736         * sysvipc/sys/msg.h (msgbuf): Replace long int with
77737         __syscall_slong_t.
77739         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
77740         include <bits/wordsize.h>.  Check __x86_64__ instead of
77741         __WORDSIZE.
77743         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
77744         "unsigned long long int" if __x86_64__ is defined.
77745         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
77747         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
77748         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77749         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
77751         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
77752         <stdint.h>.
77753         (GET_PC): Cast to uintptr_t first.
77754         (GET_FRAME): Likewise.
77755         (GET_STACK): Likewise.
77757         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
77758         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
77759         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
77760         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
77761         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
77762         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
77763         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
77764         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
77765         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
77766         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
77767         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
77768         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
77769         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77770         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
77771         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
77772         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
77773         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
77774         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
77775         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
77776         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
77777         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
77778         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
77779         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
77780         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
77781         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
77782         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
77783         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
77784         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
77785         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
77787 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
77789         * Makerules (+depfiles): Also collect depfiles from .oS in
77790         $(extra-objs).
77791         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
77792         .oS, $(libnldbl-routines)).
77794         * Makerules (native-compile-mkdep-flags): Define.
77795         * sunrpc/Makefile (extra-objs): Add $(addprefix
77796         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
77797         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
77798         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
77799         calling $(make-target-directory).
77801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77803         * bits/types.h (__snseconds_t): Removed.
77804         * time/time.h (struct timespec): Replace __snseconds_t with
77805         __syscall_slong_t.
77806         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
77807         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
77808         Likewise.
77809         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77810         (__SNSECONDS_T_TYPE): Likewise.
77811         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77812         (__SNSECONDS_T_TYPE): Likewise.
77813         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77814         (__SNSECONDS_T_TYPE): Likewise.
77816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77818         * sysdeps/mach/hurd/bits/typesizes.h
77819         (__SYSCALL_SLONG_TYPE): New macro.
77820         (__SYSCALL_ULONG_TYPE): Likewise.
77822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77824         * bits/types.h (__syscall_slong_t): New type.
77825         (__syscall_ulong_t): Likewise.
77827         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
77828         (__SYSCALL_ULONG_TYPE): Likewise.
77829         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77830         (__SYSCALL_SLONG_TYPE): Likewise.
77831         (__SYSCALL_ULONG_TYPE): Likewise.
77832         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77833         (__SYSCALL_SLONG_TYPE): Likewise.
77834         (__SYSCALL_ULONG_TYPE): Likewise.
77835         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77836         (__SYSCALL_SLONG_TYPE): Likewise.
77837         (__SYSCALL_ULONG_TYPE): Likewise.
77839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77841         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
77842         Add sigaltstack-offsets.sym.
77843         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
77844         <sigaltstack-offsets.h>.
77845         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
77846         longjmp_msg pointer.
77847         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
77848         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
77849         signal stack.
77850         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
77852 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
77854         * elf/stackguard-macros.h: Remove file.
77855         * sysdeps/generic/stackguard-macros.h: New file.
77856         * sysdeps/i386/stackguard-macros.h: Likewise.
77857         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
77858         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
77859         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
77860         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
77861         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
77862         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
77863         * sysdeps/x86_64/stackguard-macros.h: Likewise.
77864         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
77865         <elf/stackguard-macros.h>.
77867         [BZ #14109]
77868         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
77869         __aligned__ in attribute.
77870         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
77871         (gregset_t): Likewise.
77873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77875         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
77876         * sysdeps/x86_64/64/Implies-after: Here.  New file.
77877         * sysdeps/x86_64/x32/Implies-after: New file.
77879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77881         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
77882         and access return value for _dl_profile_fixup.  Use R10_LP to
77883         load frame size.
77885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77887         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
77889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77891         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
77892         * sysdeps/x86_64/x32/sysdep.h: New file.
77894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77896         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
77897         * sysdeps/x86_64/setjmp.S: Likewise.
77899 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77901         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
77902         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
77903         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
77904         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
77905         remove unused global constant.
77907 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
77909         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
77910         include of <not-cancel.h>.
77912 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77914         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
77916 2012-05-15  Jeff Law  <law@redhat.com>
77917             Andreas Jaeger  <aj@suse.de>
77919         [BZ #13594]
77920         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
77921         out from...
77922         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
77923         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
77924         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
77925         code changing __hst_map_handle.map.
77927 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77929         * configure.in (sysnames): Look for Implies-before and Implies-after
77930         files.
77931         * configure: Regenerated.
77933 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77935         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
77936         8-byte data alignment with LP_SIZE alignment.
77938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77940         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
77941         into R10_LP.
77943 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77945         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
77947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77949         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
77950         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
77951         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
77952         Likewise.
77953         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77957         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
77958         (stackinfo_sub_sp): Likewise.
77960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77962         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
77963         RAX_LP.
77965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77967         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
77968         into R*_LP.
77970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77972         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
77973         sizes into R*_LP.
77975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77977         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
77979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77981         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
77982         into R11_LP and load __x86_64_shared_cache_size_half into
77983         R8_LP.
77985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77987         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
77988         R8_LP.
77990 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77992         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
77993         logb for POWER7.
77994         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
77995         logbf for POWER7.
77996         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
77997         logbl for POWER7.
77998         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
77999         powerpc32/power7/fpu/s_logb.c via #include.
78000         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
78001         powerpc32/power7/fpu/s_logbf.c via #include.
78002         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
78003         powerpc32/power7/fpu/s_logbl.c via #include.
78005 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78007         * README.libm: Remove file.
78009 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78011         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78012         count for x32.  Use R*_LP and omit operand-size suffix.
78014 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78016         * shlib-versions: Move x86_64-.*-linux.* entries to ...
78017         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
78018         * sysdeps/x86_64/x32/shlib-versions: New file.
78020 2012-05-14  Roland McGrath  <roland@hack.frob.com>
78022         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78023         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78024         Use _dl_fatal_printf instead.
78026 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78028         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78029         set if not set by the user.  Do not allow for being unset.
78030         * sysdeps/unix/sysv/linux/configure: Regenerated.
78032 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78034         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78035         the `q' suffix from lea and replace .quad with ASM_ADDR.
78037 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78039         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78040         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
78041         instead of $17.
78042         (PTR_DEMANGLE): Likewise.
78044 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78046         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78047         (LP_OP): Likewise.
78048         (ASM_ADDR): Likewise.
78049         (RAX_LP): Likewise.
78050         (RBP_LP): Likewise.
78051         (RBX_LP): Likewise.
78052         (RCX_LP): Likewise.
78053         (RDI_LP): Likewise.
78054         (RSI_LP): Likewise.
78055         (RSP_LP): Likewise.
78056         (R8_LP): Likewise.
78057         (R9_LP): Likewise.
78058         (R10_LP): Likewise.
78059         (R10_LP): Likewise.
78060         (R11_LP): Likewise.
78061         (R12_LP): Likewise.
78062         (R13_LP): Likewise.
78063         (R14_LP): Likewise.
78064         (R15_LP): Likewise.
78066 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78068         * sysdeps/x86_64/x32/dl-machine.h: New file.
78070 2012-05-14  Andreas Jaeger  <aj@suse.de>
78072         * manual/Makefile (subdir): Remove export of subdir.
78073         (all): Remove target.
78074         (.PHONY): Remove all from list.
78075         (mkinstalldirs): Remove.
78076         (.PHONY): Remove installdirs from list.
78077         ($(inst_infodir)/libc.info): Use make-target-directory.
78078         (installdirs): Remove.
78079         (subdir_%): Remove.
78080         (glibc-targets): Remove.
78081         (lib): Remove.
78082         (stubs): Remove.
78083         ($(objpfx)stubs ../po/manual.pot): Remove.
78084         ($(objpfx)stamp%): Remove.
78085         (make-target-directory): Remove.
78086         (subdir_install): Remove.
78087         (routines): Remove.
78088         (aux): Remove.
78089         (sources): Remove.
78090         (objects): Remove.
78091         (headers): Remove.
78093         [BZ #13750]
78094         * manual/.gitignore: Remove, it's not needed anymore.
78095         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
78096         all files in it.
78097         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
78098         directory.
78099         (texis): Renamed to $(objpfx)texis.
78100         (texis-path): New, contains path to generated files.
78101         (chapters.%): Use texis-path for complete path, add extra argument
78102         libc-texinfo.sh.
78103         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
78104         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
78105         (summary,texi, stamp-summary): Use complete path of
78106         files. Generate files in build dir.
78107         (dir-add.texi): Build in build dir.
78108         (libm-err.texi,stamp-libm-err): Likewise.
78109         (version.texi, stamp-version): Likewise.
78110         (.%c.texi): Likewise.
78111         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
78112         (mostlyclean): Remove target.
78113         (realclean): Remove target.
78114         (generated): Add new variable with contents from mostlyclean and
78115         realclean, remove entries duplicated in common-mostlyclean, add
78116         stamp-libm-err and stamp-version.
78117         (generated-dirs): Add libc directory.
78118         ($(inst_infodir)/libc.info): Install files from build dir.
78120         * manual/install.texi (Configuring and compiling): Adjust since
78121         the info files are not part of the tar ball anymore.
78123 2012-05-14  Andreas Jaeger  <aj@suse.de>
78125         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
78126         variable.
78128 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78130         [BZ #13717]
78131         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78132         to 2.2.0 where earlier.
78133         * sysdeps/unix/sysv/linux/configure: Regenerated.
78134         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
78135         Remove conditional code.
78136         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
78137         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
78138         Remove conditional code.
78139         [!__NR_lchown]: Likewise.
78140         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78141         [__NR_lchown]: Likewise.
78142         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
78143         comment referencing __ASSUME_LCHOWN_SYSCALL.
78144         * sysdeps/unix/sysv/linux/i386/sigaction.c
78145         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78146         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78147         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
78148         Remove conditional code.
78149         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
78150         (__protocol_available): Remove #if 0 code.
78151         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
78152         conditional code.
78153         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
78154         * sysdeps/unix/sysv/linux/kernel-features.h
78155         (__ASSUME_GETCWD_SYSCALL): Don't define.
78156         (__ASSUME_REALTIME_SIGNALS): Likewise.
78157         (__ASSUME_PREAD_SYSCALL): Likewise.
78158         (__ASSUME_PWRITE_SYSCALL): Likewise.
78159         (__ASSUME_POLL_SYSCALL): Likewise.
78160         (__ASSUME_LCHOWN_SYSCALL): Likewise.
78161         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
78162         non-SPARC.
78163         (__ASSUME_SIOCGIFNAME): Don't define.
78164         (__ASSUME_MSG_NOSIGNAL): Likewise.
78165         (__ASSUME_SENDFILE): Define unconditionally.
78166         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
78167         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
78168         conditional code.
78169         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
78170         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
78171         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78172         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78173         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
78174         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78175         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
78177         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78178         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
78180         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78181         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
78183         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78184         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
78186         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78187         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
78189         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78190         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
78192         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78193         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
78195         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78196         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
78198         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78199         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78200         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
78201         Remove conditional code.
78202         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78203         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78204         Remove conditional code.
78205         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78206         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
78207         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
78208         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78209         Remove conditional code.
78210         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78211         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
78212         Remove conditional code.
78213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78214         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
78215         Remove conditional code.
78216         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78217         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78218         Remove conditional code.
78219         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78220         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78221         Remove conditional code.
78222         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78223         * sysdeps/unix/sysv/linux/sh/pwrite64.c
78224         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78225         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78226         * sysdeps/unix/sysv/linux/sigaction.c
78227         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78228         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78229         * sysdeps/unix/sysv/linux/sigpending.c
78230         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78231         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78232         * sysdeps/unix/sysv/linux/sigprocmask.c
78233         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78234         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78235         * sysdeps/unix/sysv/linux/sigsuspend.c
78236         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78237         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78238         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78239         (__libc_missing_rt_sigs): Remove.
78240         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
78241         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
78242         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
78243         Remove conditional code.
78244         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
78245         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
78246         return 1.
78247         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
78248         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
78249         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
78250         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
78252 2012-05-14  Andreas Jaeger  <aj@suse.de>
78254         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
78255         it's not used in glibc.
78256         (__coshm1): Likewise.
78257         (__acosh1p): Likewise.
78258         (__sgn): Likewise.
78260         * manual/string.texi (Copying and Concatenation): Add missing
78261         variable in concat example.
78262         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
78264 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78266         [BZ #14103]
78267         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
78268         __builtin_clzl with __builtin_clzll.
78270 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78272         [BZ #14104]
78273         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
78274         libc_freeres_ptr.
78276 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78278         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
78279         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
78280         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
78281         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
78283 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
78285         * NEWS: Update ia64 info.
78287 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
78289         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
78290         used as bcopy.
78292 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
78294         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
78295         * sysdeps/unix/syscalls.list (dup3): Likewise.
78296         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
78297         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
78299 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78301         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
78302         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
78304 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78306         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
78307         thread pointer.
78308         (TLS_IE): Use mov/add instead of movq/addq to load thread
78309         pointer.
78310         (TLS_GD_PREFIX): New.
78311         (TLS_GD): Use it.
78313 2012-05-11  David S. Miller  <davem@davemloft.net>
78315         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
78316         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
78317         (_FPU_SETCW): Likewise.
78319 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78321         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
78322         is 32-byte aligned.
78324 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
78326         [BZ #11837]
78327         * iconvdata/gb18030.c: Update tables.
78328         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
78329         characters specially.
78330         (BODY for TO_LOOP): Add encoding of missing ranges.
78332 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
78334         [BZ #13673]
78335         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
78336         * sysdeps/mach/hurd/dup3.c: Likewise.
78337         * sysdeps/mach/hurd/readlinkat.c: Likewise.
78338         * sysdeps/powerpc/memmove.c:: Likewise.
78340 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78342         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
78343         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
78345 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78347         * elf/elf.h (R_X86_64_RELATIVE64): New.
78348         (R_X86_64_NUM): Updated.
78349         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
78350         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
78351         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
78352         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
78353         tst-quad1pie tst-quad2pie
78354         (modules-names): Add tst-quadmod1 tst-quadmod2.
78355         ($(objpfx)tst-quad1): New dependency.
78356         ($(objpfx)tst-quad2): Likewise.
78357         ($(objpfx)tst-quad1pie): Likewise.
78358         ($(objpfx)tst-quad2pie): Likewise.
78359         * sysdeps/x86_64/tst-quad1.c: New file.
78360         * sysdeps/x86_64/tst-quad1pie.c: New file.
78361         * sysdeps/x86_64/tst-quad2.c: Likewise.
78362         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
78363         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
78364         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
78365         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
78366         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
78368 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78370         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
78371         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
78372         * streams/stropts.h (t_scalar_t): Define type.
78374         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
78375         (_PATH_PRESERVE): Set to "/var/lib".
78376         (_PATH_RWHODIR): Set to "/var/spool/rwho".
78378         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
78379         instead of int.
78381         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
78382         if __dir_mkfile succeeded.
78384         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
78385         checking for _hurd_dtablesize.  Unlock it right after having
78386         finished _hurd_dtable allocation.
78388 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78390         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
78391         * sysdeps/mach/hurd/configure: Regenerated.
78392         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
78393         special-casing to...
78394         * sysdeps/gnu/configure.in: ... this new file.
78395         * sysdeps/unix/sysv/linux/configure: Regenerated.
78396         * sysdeps/gnu/configure: New generated file.
78398         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
78399         for Linux: use nsec instead of usec, as well as:
78400         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
78401         members of type struct timespec.
78402         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
78403         New macros.
78404         (struct stat64): Likewise.
78405         (_STATBUF_ST_NSEC): New macro.
78406         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
78408         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78409         __strtoul_internal rather than strtoul.
78411 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78413         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
78414         and reject them.
78416 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78418         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
78419         which preserves existing values.
78420         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
78422 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78424         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
78425         TIMEOUT values.  Return EINVAL for NFDS values either negative or
78426         greater than FD_SETSIZE.
78428 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78430         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
78431         allocated, call __vm_protect to finish enabling the existing space, and
78432         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
78433         allocate the remainder.
78435 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78437         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
78438         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
78440 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78442         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
78443         sysdeps/mach/hurd/readlink.c.
78445         * posix/tst-sysconf.c (posix_options): Only use
78446         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
78447         _POSIX_SYNCHRONIZED_IO when they are defined
78448         * sysdeps/mach/hurd/bits/posix_opt.h:
78449         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
78450         (_XOPEN_REALTIME): Undefine macro.
78451         (_XOPEN_REALTIME_THREADS): Undefine macro.
78452         (_XOPEN_SHM): Undefine macro.
78453         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
78454         macro to -1.
78455         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
78456         macro to -1.
78457         (_POSIX_ASYNC_IO): Undefine macro.
78458         (_POSIX_PRIORITIZED_IO): Undefine macro.
78459         (_POSIX_SPIN_LOCKS): Define macro to -1.
78461         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
78462         SA_NODEFER, SA_RESETHAND.
78463         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
78464         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
78465         F_DUPFD_CLOEXEC.
78467 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78469         * elf/Makefile (pldd-modules): Define unconditionally.
78471 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78473         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
78475 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78477         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
78478         Return ENOENT when name is empty.
78479         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
78481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78483         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
78485         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
78487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78489         Fix mlock in all cases except non-readable pages.
78490         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
78491         instead of VM_PROT_ALL as parameter to __vm_wire function.
78493         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
78494         (__mkdir): When path is `/', just fail with EEXIST.
78495         * sysdeps/mach/hurd/mkdirat.c: Likewise.
78497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78499         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
78500         <sys/uio.h> (for writev).
78501         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
78502         and <sys/param.h> (for MIN).
78504 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78506         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
78507         REQUESTED_TIME.  Properly set the remaining time and return EINTR
78508         if interrupted.
78510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78512         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
78513         Depend on against $(link-rpcuserlibs).
78515 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78517         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
78518         (__libc_stack_end): Do not use attribute_relro.
78519         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
78520         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
78521         to libthread-provided value.
78522         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
78523         attribute_relro.
78525 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78527         [BZ #3748]
78528         * bits/libc-lock.h (__libc_once_get): New macro.
78529         * sysdeps/mach/bits/libc-lock.h: Likewise.
78530         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
78531         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
78532         instead of using implementation details.
78534         * libio/fileops.c: Unconditionally include <kernel-features.h>.
78535         * libio/freopen.c: Likewise.
78536         * libio/freopen64.c: Likewise.
78537         * misc/syslog.c: Likewise.
78538         * nscd/connections.c: Likewise.
78539         * nscd/netgroupcache.c: Likewise.
78540         * sysdeps/posix/getcwd.c: Likewise.
78542 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78544         * math/w_ilogbf.c: Add #include <limits.h>.
78546 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78548         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
78549         path instead of returning without unlocking.
78551         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
78552         immediate-write ioctls.
78553         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
78555 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78557         * sysdeps/mach/hurd/i386/init-first.c (init): Use
78558         __builtin_frame_address instead of making assumptions about the
78559         location of the return address relative to DATA.  Force early load of
78560         the return address.
78561         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
78562         __builtin_frame_address.
78564         dup3 for GNU Hurd.
78565         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
78566         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
78567         implement dup3 and do some further code clean-ups.
78568         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
78569         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
78571 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78573         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
78575         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
78576         HURD_CRITICAL_END around holding _hurd_dtable_lock.
78577         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
78578         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
78579         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
78580         d->port.lock.
78582         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
78583         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
78584         when handler == SIG_ERR, not when handler != SIG_ERR.
78586 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78588         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
78589         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
78590         definitions.
78592         accept4 for GNU Hurd.
78593         * include/sys/socket.h (__libc_accept4): New prototype.
78594         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
78595         to implement __libc_accept4.
78596         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
78597         __libc_accept4.
78598         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
78600         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
78601         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
78602         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
78603         signal-defines.sym.
78605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78607         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
78609 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78611         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
78612         assertion on O_CLOEXEC flag.
78613         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
78614         * hurd/intern-fd.c: Likewise.
78615         * hurd/port2fd.c: Likewise.
78617 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78619         [BZ #3906]
78620         * bits/in.h (IPV6_PKTINFO): Define new macro.
78621         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
78623 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78625         [BZ #13954]
78626         [BZ #13955]
78627         [BZ #13956]
78628         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
78629         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78630         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
78631         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78632         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78633         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78634         * math/libm-test.inc (logb_test) : Additional logb tests.
78636 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
78637             Andreas Jaeger  <aj@suse.de>
78639         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
78640         * configure: Regenerated.
78641         * config.h.in (LINK_OBSOLETE_RPC): New macro.
78642         * config.make.in (link-obsolete-rpc): New substituted variable.
78643         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
78644         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
78645         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78646         (shared-only-routines): Don't set it under [link-obsolete-rpc],
78647         so that libc.a contains the symbols.
78648         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78649         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
78650         * sunrpc/auth_none.c: Likewise.
78651         * sunrpc/auth_unix.c: Likewise.
78652         * sunrpc/authdes_prot.c: Likewise.
78653         * sunrpc/authuxprot.c: Likewise.
78654         * sunrpc/clnt_gen.c: Likewise.
78655         * sunrpc/clnt_perr.c: Likewise.
78656         * sunrpc/clnt_raw.c: Likewise.
78657         * sunrpc/clnt_simp.c: Likewise.
78658         * sunrpc/clnt_tcp.c: Likewise.
78659         * sunrpc/clnt_udp.c: Likewise.
78660         * sunrpc/clnt_unix.c: Likewise.
78661         * sunrpc/des_crypt.c: Likewise.
78662         * sunrpc/des_soft.c: Likewise.
78663         * sunrpc/get_myaddr.c: Likewise.
78664         * sunrpc/key_call.c: Likewise.
78665         * sunrpc/key_prot.c: Likewise.
78666         * sunrpc/netname.c: Likewise.
78667         * sunrpc/pm_getmaps.c: Likewise.
78668         * sunrpc/pm_getport.c: Likewise.
78669         * sunrpc/pmap_clnt.c: Likewise.
78670         * sunrpc/pmap_prot.c: Likewise.
78671         * sunrpc/pmap_prot2.c: Likewise.
78672         * sunrpc/pmap_rmt.c: Likewise.
78673         * sunrpc/publickey.c: Likewise.
78674         * sunrpc/rpc_cmsg.c: Likewise.
78675         * sunrpc/rpc_common.c: Likewise.
78676         * sunrpc/rpc_dtable.c: Likewise.
78677         * sunrpc/rpc_prot.c: Likewise.
78678         * sunrpc/rpc_thread.c: Likewise.
78679         * sunrpc/rtime.c: Likewise.
78680         * sunrpc/svc.c: Likewise.
78681         * sunrpc/svc_auth.c: Likewise.
78682         * sunrpc/svc_raw.c: Likewise.
78683         * sunrpc/svc_run.c: Likewise.
78684         * sunrpc/svc_tcp.c: Likewise.
78685         * sunrpc/svc_udp.c: Likewise.
78686         * sunrpc/svc_unix.c: Likewise.
78687         * sunrpc/svcauth_des.c: Likewise.
78688         * sunrpc/xcrypt.c: Likewise.
78689         * sunrpc/xdr.c: Likewise.
78690         * sunrpc/xdr_array.c: Likewise.
78691         * sunrpc/xdr_float.c: Likewise.
78692         * sunrpc/xdr_intXX_t.c: Likewise.
78693         * sunrpc/xdr_mem.c: Likewise.
78694         * sunrpc/xdr_rec.c: Likewise.
78695         * sunrpc/xdr_ref.c: Likewise.
78696         * sunrpc/xdr_sizeof.c: Likewise.
78697         * sunrpc/xdr_stdio.c: Likewise.
78699 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78701         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
78702         change.  Update copyright years.
78704 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78706         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
78708 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
78709             Joseph Myers  <joseph@codesourcery.com>
78710             Paul Pluzhnikov  <ppluzhnikov@google.com>
78712         [BZ #14012]
78713         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
78714         requiring rpcgen.
78715         [cross-compiling] (extra-libs): Likewise.
78716         [cross-compiling] (extra-libs-others): Likewise.
78717         [cross-compiling] (librpcsvc-routines): Likewise.
78718         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
78719         [cross-compiling] (omit-deps): Likewise.
78720         (sunrpc-CPPFLAGS): New variable.
78721         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
78722         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
78723         (cross-rpcgen-objs): New variable.
78724         (extra-objs): Append $(cross-rpcgen-objs).
78725         ($(cross-rpcgen-objs)): New rule.
78726         ($(objpfx)cross-rpcgen): Likewise.
78727         (rpcgen-cmd): Define to use $(built-program-file).  Expand
78728         comment.
78729         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
78730         ($(objpfx)x%.stmp): Likewise.
78731         * sunrpc/proto.h [IS_IN_build] (_): Define.
78732         [IS_IN_build] (_libc_intl_domainname): Likewise.
78734 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78736         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
78737         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
78738         and R_X86_64_TPOFF64.
78740 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78742         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
78743         sysdeps/unix/sysv/syscalls.list.
78744         (stime): Likewise.
78745         (utime): Likewise.
78746         * sysdeps/unix/sysv/syscalls.list: Remove file.
78748 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
78750         [BZ #3440]
78751         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
78752         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
78753         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
78754         (__LC_IDENTIFICATION): Make these macros useful in #if
78755         expressions, as required by C99.
78757 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
78759         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
78760         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
78761         after this.
78763 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
78765         * stdlib/longlong.h: Updated from GCC.
78767 2012-05-09  Andreas Jaeger  <aj@suse.de>
78769         * nscd/nscd.c (run_modes): Make named enum, reorder so that
78770         default is first entry.
78771         (run_mode): Set type.
78772         (main): Remove informal message about syslog.
78773         (options): Fix typo.
78775         [BZ #14053]
78776         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
78777         to asm.
78778         (lrint): Likewise.
78779         (llrintf): Likewise.
78780         (llrint): Likewise.
78781         (rint): Likewise.
78782         (rintf): Likewise.
78783         (nearbyint): Likewise.
78784         (nearbyintf): Likewise.
78786 2012-05-09  Andreas Jaeger  <aj@suse.de>
78787             Pedro Alves  <palves@redhat.com>
78789         * nscd/nscd.c (run_mode): Use enum.
78790         (main): Cleanup coding style issue.
78792 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
78793             Andreas Jaeger  <aj@suse.de>
78795         * nscd/nscd.c (go_background): Replaced with...
78796         (run_mode): ... this.
78797         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
78798         (options): Add -F --foreground.
78799         (main): Implement it.
78800         (parse_opt): Parse it.
78802 2012-05-09  Andreas Jaeger  <aj@suse.de>
78804         [BZ #14083]
78805         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
78806         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
78807         -Wconversion warning.
78808         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
78809         Likewise.
78811 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
78813         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
78814         == 0.
78815         (LC_ALL): Use macro-int-constant.
78816         (LC_COLLATE): Likewise.
78817         (LC_CTYPE): Likewise.
78818         (LC_MESSAGES): Likewise.
78819         (LC_MONETARY): Likewise.
78820         (LC_NUMERIC): Likewise.
78821         (LC_TIME): Likewise.
78822         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
78823         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78824         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78825         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
78826         Specify type.
78827         [C99-based standards] (float_t): Expect type.
78828         [C99-based standards] (double_t): Expect type.
78829         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
78830         type.
78831         [C99-based standards] (HUGE_VALL): Likewise.
78832         [C99-based standards] (INFINITY): Likewise.
78833         [C99-based standards] (NAN): Likewise.
78834         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
78835         [C99-based standards] (FP_NAN): Likewise.
78836         [C99-based standards] (FP_NORMAL): Likewise.
78837         [C99-based standards] (FP_SUBNORMAL): Likewise.
78838         [C99-based standards] (FP_ZERO): Likewise.
78839         [C99-based standards] (FP_FAST_FMA): Use
78840         optional-macro-int-constant.  Specify type.  Require == 1.
78841         [C99-based standards] (FP_FAST_FMAF): Likewise.
78842         [C99-based standards] (FP_FAST_FMAL): Likewise.
78843         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
78844         [C99-based standards] (FP_ILOGBNAN): Likewise.
78845         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
78846         Specify type.
78847         [C99-based standards] (MATH_ERREXCEPT): Likewise.
78848         [C99-based standards] (math_errhandling): Specify type.
78849         [ISO99 || ISO11] (signgam): Do not allow.
78850         [non-C99-based standards] (copysignf): Do not allow.
78851         [non-C99-based standards] (exp2f): Likewise.
78852         [non-C99-based standards] (log2f): Likewise.
78853         [non-C99-based standards] (modff): Allow.
78854         [non-C99-based standards] (erff): Do not allow.
78855         [non-C99-based standards] (erfcf): Likewise.
78856         [non-C99-based standards] (gammaf): Likewise.
78857         [non-C99-based standards] (hypotf): Likewise.
78858         [non-C99-based standards] (j0f): Likewise.
78859         [non-C99-based standards] (j1f): Likewise.
78860         [non-C99-based standards] (jnf): Likewise.
78861         [non-C99-based standards] (lgammaf): Likewise.
78862         [non-C99-based standards] (tgammaf): Likewise.
78863         [non-C99-based standards] (y0f): Likewise.
78864         [non-C99-based standards] (y1f): Likewise.
78865         [non-C99-based standards] (ynf): Likewise.
78866         [non-C99-based standards] (isnanf): Likewise.
78867         [non-C99-based standards] (acoshf): Likewise.
78868         [non-C99-based standards] (asinhf): Likewise.
78869         [non-C99-based standards] (atanhf): Likewise.
78870         [non-C99-based standards] (cbrtf): Likewise.
78871         [non-C99-based standards] (expm1f): Likewise.
78872         [non-C99-based standards] (ilogbf): Likewise.
78873         [non-C99-based standards] (log1pf): Likewise.
78874         [non-C99-based standards] (logbf): Likewise.
78875         [non-C99-based standards] (nextafterf): Likewise.
78876         [non-C99-based standards] (remainderf): Likewise.
78877         [non-C99-based standards] (rintf): Likewise.
78878         [non-C99-based standards] (scalbf): Likewise.
78879         [non-C99-based standards] (copysignl): Likewise.
78880         [non-C99-based standards] (exp2l): Likewise.
78881         [non-C99-based standards] (log2l): Likewise.
78882         [non-C99-based standards] (modfl): Allow.
78883         [non-C99-based standards] (erfl): Do not allow.
78884         [non-C99-based standards] (erfcl): Likewise.
78885         [non-C99-based standards] (gammal): Likewise.
78886         [non-C99-based standards] (hypotl): Likewise.
78887         [non-C99-based standards] (j0l): Likewise.
78888         [non-C99-based standards] (j1l): Likewise.
78889         [non-C99-based standards] (jnl): Likewise.
78890         [non-C99-based standards] (lgammal): Likewise.
78891         [non-C99-based standards] (tgammal): Likewise.
78892         [non-C99-based standards] (y0l): Likewise.
78893         [non-C99-based standards] (y1l): Likewise.
78894         [non-C99-based standards] (ynl): Likewise.
78895         [non-C99-based standards] (isnanl): Likewise.
78896         [non-C99-based standards] (acoshl): Likewise.
78897         [non-C99-based standards] (asinhl): Likewise.
78898         [non-C99-based standards] (atanhl): Likewise.
78899         [non-C99-based standards] (cbrtl): Likewise.
78900         [non-C99-based standards] (expm1l): Likewise.
78901         [non-C99-based standards] (ilogbl): Likewise.
78902         [non-C99-based standards] (log1pl): Likewise.
78903         [non-C99-based standards] (logbl): Likewise.
78904         [non-C99-based standards] (nextafterl): Likewise.
78905         [non-C99-based standards] (remainderl): Likewise.
78906         [non-C99-based standards] (rintl): Likewise.
78907         [non-C99-based standards] (scalbl): Likewise.
78908         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78909         [non-C99-based standards] (FP_*): Do not allow.
78910         [C99-based standards] (FP_*): Change to
78911         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78912         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78913         allow.
78914         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
78915         (SIG_ERR): Likewise.
78916         [X/Open-based standards] (SIG_HOLD): Likewise.
78917         (SIG_IGN): Likewise.
78918         (SIGABRT): Use macro-int-constant.  Specify type.  Require
78919         positive value.
78920         (SIGFPE): Likewise.
78921         (SIGILL): Likewise.
78922         (SIGINT): Likewise.
78923         (SIGSEGV): Likewise.
78924         (SIGTER): Likewise.
78925         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
78926         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
78927         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
78928         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
78929         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
78930         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
78931         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
78932         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
78933         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
78934         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
78935         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
78936         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
78937         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
78938         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
78939         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
78940         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
78941         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
78942         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
78943         [X/Open-based standards] (SIGTRAP): Likewise.
78944         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
78945         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
78946         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
78947         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
78948         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78949         allow.
78951 2012-05-08  Ian Wienand  <ianw@vmware.com>
78953         [BZ #14080]
78954         * time/tzset.c (__tzset_parse_tz): Update default rules for
78955         daylight time changes in the Energy Policy Act of 2005.
78957 2012-05-09  Andreas Jaeger  <aj@suse.de>
78959         [BZ #13983]
78960         * elf/ldconfig.c (parse_conf): Change string to make clear that
78961         ldconfig only issued a warning if ld.so.conf does not exist.
78963 2012-05-08  David S. Miller  <davem@davemloft.net>
78965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
78966         movxtod instead of popping the value on the stack.
78968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78970 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
78972         * config.h.in: Add HAVE_ARM_PCS_VFP.
78974 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
78976         [BZ #13979]
78977         * include/features.h: Warn if user requests __FORTIFY_SOURCE
78978         checking but the checks are disabled for any reason.
78980 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
78982         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
78983         and ELF64_R_TYPE with ELFW(R_TYPE).
78985 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
78987         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
78988         (ulimit): Likewise.
78990         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
78991         (settimeofday): Likewise.
78993 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
78995         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
78996         a struct th_u2 inside the union, and move tu_block/tu_code into
78997         a new th_u3 union of tu_block/tu_code inside of that.  Move
78998         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
78999         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
79000         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
79001         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
79002         (th_stuff): Change to th_u1.tu_stuff.
79003         (th_data): Define.
79004         (th_msg): Change to th_u1.th_u2.tu_data.
79006 2012-05-07  David S. Miller  <davem@davemloft.net>
79008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79010         [BZ #14074]
79011         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79012         (SETUP_PIC_REG): Use it.
79013         (SETUP_PIC_REG_LEAF): Use it.
79015 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
79017         [BZ #13885]
79018         [BZ #13923]
79019         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79020         USE_AS_EXPM1L.
79021         (EXPL_FINITE): Likewise.
79022         (FLDLOG): Likewise.
79023         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79024         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79025         e_expl.S.
79026         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79027         USE_AS_EXPM1L.
79028         (EXPL_FINITE): Likewise.
79029         (FLDLOG): Likewise.
79030         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79031         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79032         e_expl.S.
79033         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
79034         test of -max_value argument for long double.
79035         * sysdeps/i386/fpu/libm-test-ulps: Update.
79036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79038 2012-05-06  David S. Miller  <davem@davemloft.net>
79040         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79041         quad soft-float symbols whose references which are compiler
79042         generated.
79043         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79045 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
79047         [BZ #13884]
79048         [BZ #13914]
79049         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79050         USE_AS_EXP10L.
79051         (EXPL_FINITE): Likewise.
79052         (FLDLOG): Likewise.
79053         (c0): Likewise.
79054         (c1): Likewise.
79055         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79056         Adjust comments for base varying.
79057         (__expl_finite): Change alias to EXPL_FINITE.
79058         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
79059         e_expl.S.
79060         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
79061         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
79062         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
79063         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
79064         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79065         USE_AS_EXP10L.
79066         (EXPL_FINITE): Likewise.
79067         (FLDLOG): Likewise.
79068         (c0): Likewise.
79069         (c1): Likewise.
79070         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79071         Adjust comments for base varying.
79072         (__expl_finite): Change alias to EXPL_FINITE.
79073         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
79074         tests for bugs.
79075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79077         [BZ #14064]
79078         * math/libm-test.inc (check_float_internal): Correct ulp
79079         calculation for subnormal expected results.
79081 2012-05-06  Andreas Jaeger  <aj@suse.de>
79083         * Makeconfig (+math-flags): New, set to -frounding-math.
79084         (+cflags): Add +math-flags so that all of glibc gets compiled with
79085         it.
79087         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
79089 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
79091         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
79092         Disable one test.
79094         [BZ #13787]
79095         [BZ #13922]
79096         [BZ #14036]
79097         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
79098         (__ieee754_expl): Allow for and saturate large arguments.
79099         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
79100         (u_threshold): Likewise.
79101         (__exp): Call __ieee754_exp before checking for overflow and
79102         underflow.
79103         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
79104         (u_threshold): Likewise.
79105         (__expf): Call __ieee754_expf before checking for overflow and
79106         underflow.
79107         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
79108         (u_threshold): Likewise.
79109         (__expl): Call __ieee754_expl before checking for overflow and
79110         underflow.
79111         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
79112         (__ieee754_expl): Allow for and saturate large arguments.
79113         * math/libm-test.inc (exp_test): Add another test.  Do not allow
79114         missing overflow exception on overflow.
79115         (expm1_test): Do not allow missing overflow exception on overflow.
79117         * sysdeps/i386/fpu/e_expl.c: Move to ...
79118         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
79119         rather than using inline asm.
79120         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
79121         * sysdeps/x86_64/fpu/e_expl.S: Copy from
79122         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
79124         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
79125         (nice): Likewise.
79126         (poll): Likewise.
79127         (signal): Likewise.
79128         (time): Likewise.
79129         (times): Likewise.
79131 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79133         * sysdeps/unix/syscalls.list (adjtime): Add entry from
79134         sysdeps/unix/common/syscalls.list.
79135         (fchmod): Likewise.
79136         (fchown): Likewise.
79137         (ftruncate): Likewise.
79138         (getrusage): Likewise.
79139         (gettimeofday): Likewise.
79140         (setpgid): Likewise.
79141         (setregid): Likewise.
79142         (setreuid): Likewise.
79143         (sigaction): Likewise.
79144         (truncate): Likewise.
79145         (vhangup): Likewise.
79146         * sysdeps/unix/common/syscalls.list: Remove file.
79147         * sysdeps/unix/bsd/Implies: Don't include unix/common.
79148         * sysdeps/unix/sysv/linux/Implies: Likewise.
79150 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
79152         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
79153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
79154         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
79155         Moved to ...
79156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
79157         Here.
79158         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
79159         to ...
79160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
79161         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
79162         to ...
79163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
79164         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
79165         to ...
79166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
79167         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
79168         to ...
79169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
79170         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
79171         to ...
79172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
79173         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
79174         to ...
79175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
79176         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
79177         to ...
79178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
79179         Here.
79180         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
79181         to ...
79182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
79183         Here.
79184         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
79185         to ...
79186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
79187         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
79188         Moved to ...
79189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
79190         Here.
79191         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
79192         to ...
79193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
79195 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79197         * sysdeps/unix/common/bits/dirent.h: Remove file.
79198         * sysdeps/unix/common/bits/fcntl.h: Likewise.
79200         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
79201         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
79202         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
79203         * sysdeps/unix/bsd/isatty.c: Likewise.
79204         * sysdeps/unix/bsd/tcdrain.c: Likewise.
79205         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
79206         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
79208 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79210         [BZ #13563]
79211         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
79212         long double comparison inaccuracies.
79213         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
79214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79216 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
79218         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
79219         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
79221 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79223         [BZ #14049]
79224         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
79225         nonzero digits before rounding a hex value.
79226         * stdlib/tst-strtod.c (tests): Add another test.
79228 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79230         * sysdeps/s390/fpu/libm-test-ulps: Update.
79232 2012-05-03  Andreas Jaeger  <aj@suse.de>
79234         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
79235         does not get optimized out.
79236         (malloc_opt_barrier): New.
79238 2012-05-03  Andreas Jaeger  <aj@suse.de>
79239             Roland McGrath  <roland@hack.frob.com>
79241         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
79242         intermediate file deletion.
79243         (generated): Add .symlist files.
79245 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
79247         [BZ #13775]
79248         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
79249         Redirect under this condition.
79250         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79251         [__USE_GNU] (__dprintf_chk): Not under this condition.
79252         [__USE_GNU] (__vdprintf_chk): Likewise.
79253         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
79254         under this condition.
79255         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79256         [__USE_XOPEN2K8] (dprintf): Define under this condition.
79257         [__USE_XOPEN2K8] (vdprintf): Likewise.
79258         [__USE_GNU] (__dprintf_chk): Not under this condition.
79259         [__USE_GNU] (__vdprintf_chk): Likewise.
79260         [__USE_GNU] (dprintf): Likewise.
79261         [__USE_GNU] (vdprintf): Likewise.
79263 2012-05-03  Roland McGrath  <roland@hack.frob.com>
79265         * elf/Makefile (common-generated): Set this instead of generated for
79266         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
79267         $(all-built-dso)-derived lists.
79269 2012-05-03  Andreas Jaeger  <aj@suse.de>
79271         * sysdeps/i386/fpu/libm-test-ulps: Update.
79273         * FAQ: Removed.
79274         * FAQ.in: Likewise.
79275         * scripts/gen-FAQ.pl: Likewise.
79276         * manual/install.texi (Installation): Point to online location of
79277         FAQ.
79278         * Makefile (files-for-dist): Remove FAQ.
79279         (FAQ): Remove.
79281 2012-05-02  Allan McRae  <allan@archlinux.org>
79283         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
79284         (LDFLAGS-reldepmod5.so): Likewise.
79285         (LDFLAGS-reldep6mod1.so): Likewise.
79286         (LDFLAGS-reldep6mod4.so): Likewise.
79287         (LDFLAGS-reldep8mod3.so): Likewise.
79288         (LDFLAGS-unload4mod1.so): Likewise.
79289         (LDFLAGS-unload4mod2.so): Likewise.
79290         (LDFLAGS-tst-initorder): Likewise.
79291         (LDFLAGS-tst-initordera2.so): Likewise.
79292         (LDFLAGS-tst-initordera3.so): Likewise.
79293         (LDFLAGS-tst-initordera4.so): Likewise.
79294         (LDFLAGS-tst-initorderb2.so): Likewise.
79295         (LDFLAGS-noload): Likewise.
79296         (LDFLAGS-next): Likewise.
79297         (LDFLAGS-order2mod1.so): Likewise.
79298         (LDFLAGS-order2mod2.so): Likewise.
79299         (LDFLAGS-tst-initorder2): Likewise.
79300         (LDFLAGS-tst-initorder2a.so): Likewise.
79301         (LDFLAGS-tst-initorder2b.so): Likewise.
79302         (LDFLAGS-tst-initorder2c.so): Likewise.
79303         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
79305 2012-05-02  David S. Miller  <davem@davemloft.net>
79307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79309 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
79311         [BZ #14055]
79312         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
79314 2012-05-02  Andreas Jaeger  <aj@suse.de>
79316         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
79317         since we manipulate rounding mode.
79318         (CPPFLAGS-test-idouble.c): Likewise.
79319         (CPPFLAGS-test-ifloat.c): Likewise.
79320         (CFLAGS-test-ldouble.c): Likewise.
79321         (CFLAGS-test-double.c): Likewise.
79322         (CFLAGS-test-float.c): Likewise.
79323         (CFLAGS-test-misc.c): Likewise.
79324         (CFLAGS-test-test-fenv.c): Likewise.
79326 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79328         [BZ #2550]
79329         [BZ #2570]
79330         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
79331         comparisons to determine direction to adjust input.
79333 2012-05-01  Roland McGrath  <roland@hack.frob.com>
79335         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
79336         output to the target.
79338         * scripts/localplt.awk: New file.
79339         * elf/Makefile ($(objpfx)check-localplt): Target removed.
79340         (check-localplt-CFLAGS): Variable removed.
79341         ($(all-built-dso:=.jmprel)): New static pattern rule.
79342         (generated): Add those targets.
79343         (localplt-built-dso): New variable.
79344         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
79346         * elf/check-localplt.c: File removed.
79348         * scripts/check-execstack.awk: New file.
79349         * elf/Makefile ($(objpfx)check-execstack): Target removed.
79350         (check-execstack-CFLAGS): Variable removed.
79351         ($(objpfx)check-execstack.h): Target removed.
79352         ($(objpfx)execstack-default): New target.
79353         (generated): Add that instead of check-execstack.h.
79354         ($(all-built-dso:=.phdr)): New static pattern rule.
79355         (generated): Add those targets.
79356         * elf/check-execstack.c: File removed.
79358         * scripts/check-textrel.awk: New file.
79359         * elf/Makefile ($(objpfx)check-textrel): Target removed.
79360         (check-textrel-CFLAGS): Variable removed.
79361         (all-built-dso): Use := to define.o
79362         ($(all-built-dso:=.dyn)): New static pattern rule.
79363         (generated): Add those targets.
79364         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
79365         * config.make.in (READELF): New substituted variable.
79366         * elf/check-textrel.c: File removed.
79368 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79370         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79371         allow.
79372         * conform/data/ctype.h-data [C99-based standards] (isblank):
79373         Expect function.
79374         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
79375         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
79376         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79377         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
79378         Specify type.  Require positive value.
79379         (EILSEQ): Likewise.
79380         (ERANGE): Likewise.
79381         [ISO || POSIX] (EILSEQ): Do not expect.
79382         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
79383         Specify type.  Require positive value.
79384         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
79385         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
79386         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
79387         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
79388         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
79389         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
79390         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
79391         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
79392         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
79393         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
79394         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
79395         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
79396         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
79397         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
79398         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
79399         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
79400         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
79401         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
79402         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
79403         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
79404         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
79405         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
79406         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
79407         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
79408         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
79409         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
79410         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
79411         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
79412         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
79413         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
79414         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
79415         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
79416         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
79417         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
79418         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
79419         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
79420         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
79421         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
79422         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
79423         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
79424         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
79425         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
79426         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
79427         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
79428         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
79429         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
79430         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
79431         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
79432         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
79433         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
79434         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
79435         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
79436         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
79437         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
79438         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
79439         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
79440         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
79441         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
79442         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
79443         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
79444         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
79445         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
79446         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
79447         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
79448         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
79449         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
79450         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
79451         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
79452         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
79453         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
79454         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
79455         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
79456         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
79457         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
79458         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
79459         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
79460         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
79461         Require >= 2.
79462         (FLT_ROUNDS): Expect as macro, not constant.
79463         (FLT_MANT_DIG): Use macro-int-constant.
79464         (DBL_MANT_DIG): Likewise.
79465         (LDBL_MANT_DIG): Likewise.
79466         (FLT_DIG): Likewise.
79467         (DBL_DIG): Likewise.
79468         (LDBL_DIG): Likewise.
79469         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
79470         (DBL_MIN_EXP): Likewise.
79471         (LDBL_MIN_EXP): Likewise.
79472         (FLT_MAX_EXP): Use macro-int-constant.
79473         (DBL_MAX_EXP): Likewise.
79474         (LDBL_MAX_EXP): Likewise.
79475         (FLT_MAX_10_EXP): Likewise.
79476         (DBL_MAX_10_EXP): Likewise.
79477         (LDBL_MAX_10_EXP): Likewise.
79478         (FLT_MAX): Use macro-constant.
79479         (DBL_MAX): Likewise.
79480         (LDBL_MAX): Likewise.
79481         (FLT_EPSILON): Use macro-constant.  Give upper bound.
79482         (DBL_EPSILON): Likewise.
79483         (LDBL_EPSILON): Likewise.
79484         (FLT_MIN): Likewise.
79485         (DBL_MIN): Likewise.
79486         (LDBL_MIN): Likewise.
79487         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
79488         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
79489         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
79490         [ISO11] (FLT_HAS_SUBNORM): Likewise.
79491         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
79492         [ISO11] (DBL_DECIMAL_DIG): Likewise.
79493         [ISO11] (FLT_DECIMAL_DIG): Likewise.
79494         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
79495         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
79496         [ISO11] (FLT_TRUE_MIN): Likewise.
79497         [ISO11] (LDBL_TRUE_MIN): Likewise.
79498         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79499         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
79500         (SCHAR_MIN): Use macro-int-constant.  Specify type.
79501         (SCHAR_MAX): Likewise.
79502         (UCHAR_MAX): Likewise.
79503         (CHAR_MIN): Likewise.
79504         (CHAR_MAX): Likewise.
79505         (MB_LEN_MAX): Use macro-int-constant.
79506         (SHRT_MIN): Use macro-int-constant.  Specify type.
79507         (SHRT_MAX): Likewise.
79508         (USHRT_MAX): Likewise.
79509         (INT_MAX): Likewise.
79510         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
79511         bound negative.
79512         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79513         bound with "U".
79514         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79515         bound with "L".
79516         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
79517         bound negative.  Suffix upper bound with "L".
79518         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79519         bound with "UL".
79520         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
79521         Specify type.
79522         [C99-based standards] (LLONG_MAX): Likewise.
79523         [C99-based standards] (ULLONG_MAX): Likewise.
79524         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
79525         == 0.
79526         [ISO11] (max_align_t): Require type.
79527         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79529         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
79530         from $CFLAGS, without defining away __attribute__ calls.
79531         (checknamespace): Use $CFLAGS_namespace.
79533         * conform/conformtest.pl (@keywords): Only include C99 keywords
79534         for standards based on C99 or C11.
79536         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
79537         Disable tests.
79538         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
79539         UNIX98]: Likewise.
79541         * conform/conformtest.pl: Handle "macro-int-constant" and test for
79542         usability of symbols in #if.
79544         * conform/conformtest.pl: If macro or constant types start
79545         "promoted:", expect the symbol to be of the following type
79546         promoted by the integer promotions.
79548         * conform/conformtest.pl: Parse all "constant" and "macro" lines
79549         in one place.  Also handle "macro-constant".
79551         * conform/conformtest.pl: Only accept expected macro values with
79552         "==".  Parse all "macro" lines in one place.
79553         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
79555         * conform/conformtest.pl: Handle braced types on "constant" lines
79556         instead of handling "typed-constant".
79557         * conform/data/signal.h-data: Use "constant" instead of
79558         "typed-constant".
79560         * conform/conformtest.pl: Handle "optional-" at start of lines in
79561         one place rather than duplicating several cases.  Handle each
79562         format of "macro" line with initial "optional-".
79564         * conform/conformtest.pl: Only accept expected constant or
79565         optional-constant values with "==".  Parse all "constant" lines in
79566         one place.  Parse all "optional-constant" lines in one place.
79567         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
79568         * conform/data/fmtmsg.h-data: Likewise.
79569         * conform/data/netinet/in.h-data: Likewise.
79570         * conform/data/tar.h-data: Likewise.
79571         * conform/data/limits.h-data: Use "==" form on "constant" and
79572         "optional-constant" lines.
79574         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
79575         Use -std=c99 for XOPEN2K.
79576         (@knownproblems): Remove.
79577         (newtoken): Don't check %isknown.
79579         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
79580         Do not expect macro.
79581         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
79582         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
79583         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
79584         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
79585         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
79586         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
79587         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
79588         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
79589         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
79590         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
79591         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
79592         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
79593         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
79594         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
79595         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
79596         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
79597         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
79598         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
79599         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
79600         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
79601         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
79602         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
79603         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
79604         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
79605         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
79606         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
79607         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
79608         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
79609         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
79610         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
79611         [XPG3] (acosh): Likewise.
79612         [XPG3] (asinh): Likewise.
79613         [XPG3] (atanh): Likewise.
79614         [XPG3] (cbrt): Likewise.
79615         [XPG3] (expm1): Likewise.
79616         [XPG3] (ilogb): Likewise.
79617         [XPG3] (log1p): Likewise.
79618         [XPG3] (logb): Likewise.
79619         [XPG3] (nextafter): Likewise.
79620         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
79621         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
79622         [XPG3] (remainder): Likewise.
79623         [XPG3] (rint): Likewise.
79624         [XPG3 || XPG4 || UNIX98] (round): Likewise.
79625         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
79626         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
79627         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
79628         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
79629         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
79630         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
79631         [UNIX98 || XOPEN2K] (scalb): Expect.
79632         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
79633         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
79634         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
79635         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
79636         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
79637         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
79638         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
79639         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
79640         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
79641         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
79642         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
79643         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
79644         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
79645         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
79646         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
79647         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
79648         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
79649         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
79650         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
79651         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
79652         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
79653         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
79654         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
79655         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
79656         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
79657         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
79658         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
79659         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
79660         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
79661         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
79662         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
79663         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
79664         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
79665         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
79666         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
79667         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
79668         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
79669         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
79670         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
79671         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
79672         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
79673         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
79674         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
79675         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
79676         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
79677         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
79678         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
79679         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
79680         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
79681         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
79682         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
79683         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
79684         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
79685         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
79686         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
79687         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
79688         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
79689         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
79690         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
79691         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
79692         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
79693         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
79694         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
79695         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
79696         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
79697         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
79698         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
79699         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
79700         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
79701         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
79702         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
79703         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
79704         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
79705         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
79706         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
79707         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
79708         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
79709         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
79710         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
79711         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
79712         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
79713         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
79714         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
79715         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
79716         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
79717         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
79718         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
79719         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
79720         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
79721         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
79722         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
79723         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
79724         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
79725         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
79726         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
79727         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
79728         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
79729         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
79730         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
79731         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
79732         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
79733         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
79734         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
79735         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
79736         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
79737         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
79738         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
79739         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
79740         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
79741         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
79742         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
79743         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
79744         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
79745         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
79746         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
79747         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
79748         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
79749         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
79750         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
79751         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
79752         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
79753         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
79754         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
79755         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
79756         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
79757         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
79758         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
79759         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
79760         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
79761         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
79762         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
79763         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
79764         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
79765         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
79766         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
79767         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
79768         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
79770         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
79771         _XOPEN_SOURCE_EXTENDED for XPG4.
79773         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
79775         * Makeconfig (localtime): Remove variable.
79776         (inst_localtime-file): Likewise.
79778 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
79781         Update.
79782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79783         Update.
79784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
79785         Update.
79786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
79787         Update.
79788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
79789         Update.
79790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
79791         Update.
79792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79793         Update.
79794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
79795         Update.
79796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
79797         Update.
79799 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79801         [BZ #2550]
79802         [BZ #2570]
79803         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
79804         comparisons to determine direction to adjust input.
79805         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
79806         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
79807         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
79808         Likewise.
79809         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
79810         Likewise.
79811         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
79812         Likewise.
79813         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
79814         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
79815         Likewise.
79816         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
79817         Likewise.
79818         * math/libm-test.inc (nexttoward_test): Add more tests.
79820 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79822         [BZ #14040]
79823         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
79824         in version GLIBC_2.1, not GLIBC_2.0.
79825         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
79826         Likewise.
79828 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
79830         [BZ #13942]
79831         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
79832         (1 - x) * (1 + x).
79833         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79834         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
79835         * math/libm-test.inc (acos_test): Add more tests.
79836         (asin_test): Likewise.
79837         * sysdeps/i386/fpu/libm-test-ulps: Update.
79838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79840         [BZ #14034]
79841         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
79842         of square root.
79843         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
79844         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79845         * math/libm-test.inc (acos_test_tonearest): New function.
79846         (acos_test_towardzero): Likewise.
79847         (acos_test_downward): Likewise.
79848         (acos_test_upward): Likewise.
79849         (asin_test_tonearest): Likewise.
79850         (asin_test_towardzero): Likewise.
79851         (asin_test_downward): Likewise.
79852         (asin_test_upward): Likewise.
79853         (main): Call the new functions.
79854         * sysdeps/i386/fpu/libm-test-ulps: Update.
79855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79857         [BZ #13884]
79858         [BZ #13924]
79859         * math/e_exp10.c: Include <float.h>.
79860         (__ieee754_exp10): Handle underflow here rather than multiplying
79861         large negative argument by M_LN10.
79862         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
79863         of __ieee754_expf.
79864         * math/e_exp10l.c: Include <float.h>.
79865         (__ieee754_exp10l): Handle underflow here rather than multiplying
79866         large negative argument by M_LN10l.
79867         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
79868         spurious overflow exception on underflow.
79870 2012-04-29  Marek Polacek  <polacek@redhat.com>
79872         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
79873         (__fortify_function): New macro.
79874         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
79875         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
79876         __extern_always_inline.
79877         * libio/bits/stdio2.h: Likewise.
79878         * libio/bits/stdio.h: Likewise.
79879         * string/string.h: Likewise.
79880         * string/bits/string3.h: Likewise.
79881         * include/stdio.h: Likewise.
79882         * stdlib/bits/stdlib.h: Likewise.
79883         * stdlib/stdlib.h: Likewise.
79884         * rt/bits/mqueue2.h: Likewise.
79885         * rt/mqueue.h: Likewise.
79886         * posix/bits/unistd.h: Likewise.
79887         * posix/unistd.h: Likewise.
79888         * io/bits/poll2.h: Likewise.
79889         * io/bits/fcntl2.h: Likewise.
79890         * io/fcntl.h: Likewise.
79891         * io/sys/poll.h: Likewise.
79892         * misc/bits/syslog.h: Likewise.
79893         * misc/bits/syslog-ldbl.h: Likewise.
79894         * misc/sys/syslog.h: Likewise.
79895         * socket/bits/socket2.h: Likewise.
79896         * socket/sys/socket.h: Likewise.
79897         * debug/tst-chk1.c: Likewise.
79898         * wcsmbs/bits/wchar2.h: Likewise.
79899         * wcsmbs/bits/wchar-ldbl.h: Likewise.
79900         * wcsmbs/wchar.h: Likewise.
79902 2012-04-29  Andreas Jaeger  <aj@suse.de>
79904         * Makerules (tests): Remove enable-check-abi protection.
79905         (check-abi-warn): Remove.
79906         (check-abi-%): Remove check-abi-warn usage.
79908         * configure.in: Remove check-abi configure option.
79909         * configure: Regenerated.
79910         * config.make.in (enable-check-abi): Remove.
79912 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
79914         [BZ #14033]
79915         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
79916         double functions to double *_finite functions.
79918         [BZ #13941]
79919         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
79920         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
79921         LDBL_MIN_EXP.
79922         * stdio-common/Makefile (tests): Add tst-sprintf3.
79923         * stdio-common/tst-sprintf3.c: New file.
79925         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
79926         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
79928 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
79930         * conform/conformtest.pl: Remove duplicate typed-constant
79931         handling.
79933 2012-04-28  David S. Miller  <davem@davemloft.net>
79935         * Makerules (%.abilist): Add vpath on sysdep_dirs.
79936         (check-abi-%): Remove AWK script prerequisite and explicit
79937         abilist directory.
79938         (check-abi): Rewrite to just diff the symlist with the abilist.
79939         (config-tls, config-abi-config): Delete, no longer used.
79940         (update-abi-%): Remove AWK script and explicit abilist directory.
79941         (update-abi): Rewrite to simply compare and conditionally copy the
79942         symlist and the sysdep abilist file.  Remove update-abi-config
79943         checks.
79944         * abilist/ld.abilist: Remove.
79945         * abilist/libBrokenLocale.abilist: Remove.
79946         * abilist/libanl.abilist: Remove.
79947         * abilist/libcrypt.abilist: Remove.
79948         * abilist/libdl.abilist: Remove.
79949         * abilist/librt.abilist: Remove.
79950         * abilist/libthread_db.abilist: Remove.
79951         * abilist/libutil.abilist: Remove.
79952         * scripts/extract-abilist.awk: Remove.
79953         * scripts/merge-abilist.awk: Remove.
79954         * sysdeps/generic/libcidn.abilist: New file.
79955         * sysdeps/generic/libnss_compat.abilist: New file.
79956         * sysdeps/generic/libnss_db.abilist: New file.
79957         * sysdeps/generic/libnss_dns.abilist: New file.
79958         * sysdeps/generic/libnss_files.abilist: New file.
79959         * sysdeps/generic/libnss_hesiod.abilist: New file.
79960         * sysdeps/generic/libnss_nis.abilist: New file.
79961         * sysdeps/generic/libnss_nisplus.abilist: New file.
79962         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
79963         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
79964         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
79965         file.
79966         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
79967         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
79968         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
79969         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
79970         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
79971         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
79972         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
79973         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
79974         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
79975         file.
79976         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
79977         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
79978         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
79979         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
79980         file.
79981         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
79982         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
79983         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
79984         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
79985         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
79986         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
79987         file.
79988         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
79989         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
79990         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
79991         file.
79992         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
79993         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
79994         New file.
79995         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
79996         New file.
79997         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
79998         New file.
79999         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
80000         New file.
80001         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
80002         New file.
80003         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
80004         New file.
80005         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
80006         New file.
80007         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
80008         New file.
80009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80010         New file.
80011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80012         New file.
80013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80014         New file.
80015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80016         New file.
80017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80018         New file.
80019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80020         file.
80021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80022         New file.
80023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80024         New file.
80025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80026         file.
80027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80028         New file.
80029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80030         New file.
80031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80032         file.
80033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80034         New file.
80035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80036         New file.
80037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80038         New file.
80039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80040         New file.
80041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80042         New file.
80043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80044         New file.
80045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80047         file.
80048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
80049         New file.
80050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
80051         file.
80052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
80053         file.
80054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
80055         file.
80056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
80057         file.
80058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
80059         file.
80060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80061         New file.
80062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
80063         file.
80064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
80065         file.
80066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
80067         New file.
80068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
80069         file.
80070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
80071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
80072         file.
80073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
80074         New file.
80075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
80076         file.
80077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
80078         file.
80079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
80080         file.
80081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
80082         file.
80083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
80084         file.
80085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80086         New file.
80087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
80088         file.
80089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
80090         file.
80091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
80092         New file.
80093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
80094         file.
80095         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80096         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
80097         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
80098         file.
80099         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
80100         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
80101         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
80102         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
80103         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
80104         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
80105         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
80106         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
80107         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
80108         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
80109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
80110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
80111         file.
80112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
80113         New file.
80114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
80115         file.
80116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
80117         file.
80118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
80119         file.
80120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
80121         file.
80122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
80123         file.
80124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
80125         New file.
80126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
80127         New file.
80128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
80129         file.
80130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
80131         New file.
80132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
80133         file.
80134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
80135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
80136         file.
80137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
80138         New file.
80139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
80140         file.
80141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
80142         file.
80143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
80144         file.
80145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
80146         file.
80147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
80148         file.
80149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
80150         New file.
80151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
80152         New file.
80153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
80154         file.
80155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
80156         New file.
80157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
80158         file.
80160 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80162         * conform/conformtest.pl: Fix typo in handling typed-constant from
80163         allow-header.
80165 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80167         * README: Cut down references to pre-2.6 Linux kernels and
80168         Linuxthreads.  Update lists of configurations in libc and ports
80169         and sort alphabetically.  Say "or newer" with Linux kernel version
80170         requirements.
80172         * config.h.in [IS_IN_build]: Allow compiling without optimization.
80174 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
80176         [BZ #887]
80177         * math/libm-test.inc (logb_test_downward): New test to expose
80178         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
80179         rounding mode.
80181 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80183         [BZ #14027]
80184         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
80185         to be done.
80186         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
80187         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
80189 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
80191         * sysdeps/unix/i386/brk.S: Remove file.
80192         * sysdeps/unix/i386/dl-brk.S: Likewise.
80193         * sysdeps/unix/i386/pipe.S: Likewise.
80194         * sysdeps/unix/i386/sigreturn.S: Likewise.
80195         * sysdeps/unix/i386/syscall.S: Likewise.
80196         * sysdeps/unix/i386/vfork.S: Likewise.
80197         * sysdeps/unix/i386/wait.S: Likewise.
80199         * sysdeps/unix/common/tcsendbrk.c: Move to ...
80200         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
80202         * configure.in (arm*-none*): Do not allow without
80203         --enable-hacker-mode.
80204         (netbsd*): Remove case setting base_os.
80205         (386bsd*): Likewise.
80206         (freebsd*): Likewise.
80207         (bsdi*): Likewise.
80208         (osf*): Likewise.
80209         (sunos*): Likewise.
80210         (ultrix*): Likewise.
80211         (newsos*): Likewise.
80212         (dynix*): Likewise.
80213         (*bsd*): Likewise.
80214         (sysv*): Likewise.
80215         (isc*): Likewise.
80216         (esix*): Likewise.
80217         (sco*): Likewise.
80218         (minix*): Likewise.
80219         (irix4*): Likewise.
80220         (irix6*): Likewise.
80221         (solaris[2-9]*): Likewise.
80222         (none): Likewise.
80223         * configure: Regenerated.
80225 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80227         [BZ #11521]
80228         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
80229         overflow or cancellation in calculating denominator.
80230         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
80231         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
80232         down expression to avoid unexpected rounding in newer GCCs.
80233         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
80235 2012-04-26  David S. Miller  <davem@davemloft.net>
80237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
80238         long-double compat symbols.
80239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
80243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
80245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
80246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
80247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
80248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
80249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
80250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
80251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80253 2012-04-25  David S. Miller  <davem@davemloft.net>
80255         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
80256         HWCAP_* values only after the memory barriers have been defined.
80257         (atomic_full_barrier): Define.
80258         (atomic_read_barrier): Define.
80259         (atomic_write_barrier): Define.
80261 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80263         * shlib-versions: Add libgcc_s version information.
80264         * sysdeps/generic/libgcc_s.h: Remove.
80265         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
80266         libgcc_s.h.
80267         * sysdeps/gnu/unwind-resume.c: Likewise.
80268         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
80270 2012-04-25  David S. Miller  <davem@davemloft.net>
80272         * sysdeps/unix/sparc/brk.S: Delete.
80273         * sysdeps/unix/sparc/dl-brk.S: Delete.
80274         * sysdeps/unix/sparc/pipe.S: Delete.
80275         * sysdeps/unix/sparc/sysdep.S: Delete.
80276         * sysdeps/unix/sparc/sysdep.h: Delete.
80277         * sysdeps/unix/sparc/vfork.S: Delete.
80278         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
80279         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
80280         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
80281         (ret_ERRVAL, r0, r1, MOVE): Define.
80282         (JUMPTARGET): Remove.
80283         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
80284         sysdeps/unix/sparc/sysdep.h
80285         (ENTRY, END): Remove.
80286         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80288 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
80290         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
80291         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
80292         -DIS_IN_build.
80294         * timezone/README: Update upstream location and email address for
80295         tzcode and tzdata.
80296         * timezone/zdump.c: Update from tzcode 2012b.
80297         * timezone/zic.c: Likewise.
80299         * configure.in (libc_cv_as_needed): Remove test.
80300         * configure: Regenerated.
80301         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
80302         conditional definition.
80303         [$(have-as-needed) != yes] (no-as-needed): Likewise.
80304         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
80305         * config.make.in (have-as-needed): Remove variable.
80307 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
80308             Paul Pluzhnikov  <ppluzhnikov@google.com>
80310         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
80311         strings correctly.
80313 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
80315         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
80316         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
80317         * sysdeps/sh/strlen.S: Likewise.
80319 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80321         * sysdeps/unix/fork.S: Remove file.
80322         * sysdeps/unix/i386/fork.S: Likewise.
80323         * sysdeps/unix/sparc/fork.S: Likewise.
80325         * sysdeps/unix/system.c: Remove file.
80326         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
80328         * sysdeps/unix/getegid.S: Remove file.
80329         * sysdeps/unix/geteuid.S: Likewise.
80331 2012-04-24  Roland McGrath  <roland@hack.frob.com>
80333         * scripts/check-localplt.awk: New file.
80334         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
80335         of diff.
80336         * scripts/data/localplt-generic.data: Add a comment.
80338         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
80339         NODE when __dir_mkfile failed.
80340         * sysdeps/mach/hurd/symlinkat.c: Likewise.
80341         Reported by Ludovic Courtès <ludo@gnu.org>.
80343 2012-04-24  Andreas Jaeger  <aj@suse.de>
80345         * Makerules (common-clean): Also remove gen-as-const-headers
80346         files.
80348 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80350         * Makerules (native-compile): Do not change working directory for
80351         build.  Use $(OUTPUT_OPTION) in command.
80352         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
80354 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80356         [BZ #13886]
80357         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
80358         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
80359         * math/libm-test.inc (floor_test): Add more tests.
80360         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
80362 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80364         * sysdeps/unix/getdents.c: Remove file.
80365         * sysdeps/unix/sysv/getdents.c: Likewise.
80366         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
80368         * sysdeps/unix/syscalls.list (madvise): Add syscall from
80369         sysdeps/unix/mman/syscalls.list.
80370         (mmap): Likewise.
80371         (mprotect): Likewise.
80372         (msync): Likewise.
80373         (munmap): Likewise.
80374         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
80375         * sysdeps/unix/mman/syscalls.list: Remove.
80376         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
80378         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
80379         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
80380         * configure: Regenerated.
80381         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
80382         $(libgcc_s_suffix).
80383         * config.make.in (libgcc_s_suffix): Remove variable.
80385 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
80387         * sysdeps/unix/sysv/gethostname.c: Move to ...
80388         * sysdeps/posix/gethostname.c: ... here.
80390         * sysdeps/unix/execve.S: Remove file.
80392         * sysdeps/unix/_exit.S: Remove file.
80394 2012-04-23  Andreas Jaeger  <aj@suse.de>
80396         [BZ #13739]
80397         * manual/Makefile: Remove make dist support, there's no
80398         need for a stand-alone documentation tar ball.
80399         (TEXI2DVI): Define always, it's not in Makeconfig.
80400         (dist): Removed.
80401         (tar-it): Removed.
80402         (edition): Removed.
80403         (glibc-doc-$(edition).tar): Removed
80404         (%.Z): Removed.
80405         (%.gz): Removed.
80406         (%.uu): Removed.
80407         (ETAGS): Remove, it's in Makeconfig.
80408         (move-if-change): Remove, it's in Makeconfig.
80410 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
80412         [BZ #13970]
80413         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
80414         (strtod, strtof, strtold, strtol, strtoul, strtoq)
80415         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
80416         (strtod_l, strtof_l, strtold_l): Remove __wur.
80417         It is not necessarily an error to ignore strtol's return value.
80418         One can reliably look at the stored endptr to decide whether
80419         the number had valid syntax.
80421 2012-04-21  Andreas Jaeger  <aj@suse.de>
80423         [BZ #13739]
80424         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
80426 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
80428         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
80429         * sysdeps/unix/sysv/Versions: Remove file.
80431 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
80433         [BZ #13927]
80434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80436 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
80438         [BZ #7064]
80439         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
80440         version from __vm86.
80442 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
80444         * sysdeps/unix/common/lxstat.c: Remove file.
80445         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
80447         * sysdeps/unix/sysv/Makefile: Remove file.
80449         * sysdeps/unix/sysv/direct.h: Remove file.
80451         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
80452         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
80453         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
80454         * sysdeps/unix/sysv/bits/signum.h: Likewise.
80455         * sysdeps/unix/sysv/bits/stat.h: Likewise.
80456         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
80457         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
80459         * sysdeps/unix/sysv/setrlimit.c: Remove file.
80461         * sysdeps/unix/xmknod.c: Remove file.
80462         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
80464         * sysdeps/unix/sysv/settimeofday.c: Remove file.
80466         * sysdeps/unix/sysv/i386/time.S: Remove file.
80468         * sysdeps/unix/fxstat.c: Remove file.
80469         * sysdeps/unix/xstat.c: Likewise.
80470         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
80472         * sysdeps/unix/sysv/sigaction.c: Remove file.
80474         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
80475         (sysdep_headers): Remove variable.
80476         [termio.h not in sysdep_headers] (generated): Likewise.
80477         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
80478         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
80479         * sysdeps/unix/sysv/tcdrain.c: Likewise.
80480         * sysdeps/unix/sysv/tcflow.c: Likewise.
80481         * sysdeps/unix/sysv/tcflush.c: Likewise.
80482         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
80483         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
80484         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
80485         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
80486         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
80488         * sysdeps/unix/siglist.c: Remove file.
80490         * sysdeps/unix/getppid.S: Remove file.
80492         * sysdeps/unix/mkdir.c: Remove file.
80493         * sysdeps/unix/rmdir.c: Likewise.
80495 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
80497         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
80498         ERR_MAX value.
80499         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
80500         errlist-compat value.
80502 2012-04-18  David S. Miller  <davem@davemloft.net>
80504         * sysdeps/generic/memcopy.h (reg_char): Delete.
80505         * debug/strcat_chk.c: Use char, not reg_char.
80506         * debug/strcpy_chk.c: Likewise.
80507         * debug/strncat_chk.c: Likewise.
80508         * debug/strncpy_chk.c: Likewise.
80509         * string/memchr.c: Likewise.
80510         * string/memrchr.c: Likewise.
80511         * string/rawmemchr.c: Likewise.
80512         * string/strcat.c: Likewise.
80513         * string/strchr.c: Likewise.
80514         * string/strchrnul.c: Likewise.
80515         * string/strcmp.c: Likewise.
80516         * string/strcpy.c: Likewise.
80517         * string/strncat.c: Likewise.
80518         * string/strncmp.c: Likewise.
80519         * string/strncpy.c: Likewise.
80521 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80523         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
80524         __builtin_memcopy is called when src and dest ranges are known to not
80525         overlap.
80527 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80529         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
80530         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
80531         fwd_align_merge macro call.
80532         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
80533         bwd_align_merge macro call.
80534         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80536 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80538         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
80539         bwd_align_merge macros.
80540         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
80541         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
80542         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80544 2012-04-18  David S. Miller  <davem@davemloft.net>
80546         * sysdeps/sparc/sparc64/memcopy.h: Delete.
80548 2012-04-18  Andreas Jaeger  <aj@suse.de>
80550         [BZ #6794]
80551         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
80552         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
80553         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80555         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
80556         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
80557         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80559         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
80560         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
80561         Adjust for changed ldbl-128 files.
80563         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
80564         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
80565         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80567 2012-04-17  David S. Miller  <davem@davemloft.net>
80569         * sysdeps/sparc/sparc32/memcopy.h: Delete.
80571 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
80573         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
80574         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
80575         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
80576         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
80577         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
80578         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
80580 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80582         [BZ #6794]
80583         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
80584         * math/libm-test.inc: Add ilogb errno and exception tests.
80585         * math/w_ilogb.c: New file: ilogb wrapper.
80586         * math/w_ilogbf.c: New file: ilogbf wrapper.
80587         * math/w_ilogbl.c: New file: ilogbl wrapper.
80588         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
80589         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
80590         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
80591         exception being thrown with 0.0 as argument.
80592         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
80593         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
80594         exception being thrown with 0.0 as argument.
80595         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
80596         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80597         exception being thrown with 0.0 as argument.
80598         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
80599         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80600         exception being thrown with 0.0 as argument.
80601         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
80602         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
80603         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
80604         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
80605         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
80606         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
80607         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
80608         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
80609         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
80611 2012-04-17  Petr Baudis  <pasky@ucw.cz>
80613         * include/sys/uio.h: Change __vector to __iovec to avoid clash
80614         with altivec.
80616 2012-04-16  Marek Polacek  <polacek@redhat.com>
80618         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
80620 2012-04-16  Marek Polacek  <polacek@redhat.com>
80622         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
80623         operands of fdivp instruction.
80625 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80627         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
80628         * elf/tst-auditmod3b.c: Likewise.
80629         * elf/tst-auditmod4b.c: Likewise.
80630         * elf/tst-auditmod5b.c: Likewise.
80631         * elf/tst-auditmod6b.c: Likewise.
80632         * elf/tst-auditmod6c.c: Likewise.
80633         * elf/tst-auditmod7b.c: Likewise.
80634         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
80635         * sysdeps/x86_64/preconfigure.in: Likewise.
80636         * sysdeps/x86_64/preconfigure: Regenerated.
80638 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80640         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
80641         __ILP32__.
80643 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
80645         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80646         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
80648 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
80650         [BZ #13973]
80651         * locale/iso-639.def: Fix gl language name. Spotted by
80652         Yaron Shahrabani.
80654 2012-04-12  Roland McGrath  <roland@hack.frob.com>
80656         [BZ #2074]
80657         * libio/libio.h (__io_write_fn): Update comment.
80659 2012-04-12  Petr Baudis  <pasky@ucw.cz>
80661         [BZ #2074]
80662         * stdio.texi (Hook Functions): The user provided writer function
80663         is not allowed to return -1.
80665 2012-04-11  David S. Miller  <davem@davemloft.net>
80667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80669 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
80671         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
80672         Add a leading slash to rtkaio.
80674 2012-04-11  Jim Meyering  <meyering@redhat.com>
80676         [BZ #11959]
80677         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
80678         It is not necessarily an error to ignore fwrite's return
80679         value.  One can reliably use ferror to test for errors after
80680         the fact.
80682 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80684         * bits/types.h (__snseconds_t): New type.
80685         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
80687         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
80688         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80689         (__SNSECONDS_T_TYPE): Likewise.
80690         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80691         (__SNSECONDS_T_TYPE): Likewise.
80692         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80693         (__SNSECONDS_T_TYPE): Likewise.
80695 2012-04-10  Andreas Jaeger  <aj@suse.de>
80697         [BZ #2636]
80698         * manual/time.texi (Processor Time): Return type of times is
80699         elapsed real time since an arbitrary point in the past.
80700         (CPU Time): Move CLK_TCK from here...
80701         (Processor Time): ...to here.  Correct description.
80702         * manual/conf.texi (Constants for Sysconf): Correct description of
80703         _SC_CLK_TCK.
80705 2012-04-10  David S. Miller  <davem@davemloft.net>
80707         [BZ #13967]
80708         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
80709         where the is a gap between DT_REL(A) and DT_JMPREL.
80711 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80713         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
80714         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80715         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80717 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
80719         * elf/dl-support.c (_dl_inhibit_cache): New variable.
80720         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
80721         (dl_main): Handle --inhibit-cache.
80722         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
80723         _dl_inhibit_cache.
80724         * elf/dl-load.c (_dl_map_object): Use it.
80725         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
80727 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80729         [BZ #13872]
80730         * sysdeps/i386/fpu/e_powl.S (p78): New object.
80731         (__ieee754_powl): Saturate large exponents rather than testing for
80732         overflow of y*log2(x).
80733         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80734         * math/libm-test.inc (pow_test): Do not permit spurious overflow
80735         exceptions.
80737         [BZ #11521]
80738         * math/s_ctan.c: Include <float.h>.
80739         (__ctan): Avoid internal overflow or cancellation in calculating
80740         denominator.
80741         * math/s_ctanf.c: Likewise.
80742         * math/s_ctanl.c: Likewise.
80743         * math/s_ctanh.c: Likewise.
80744         * math/s_ctanhf.c: Likewise.
80745         * math/s_ctanhl.c: Likewise.
80746         * math/libm-test.inc (ctan_test): Add more tests.
80747         (ctanh_test): Likewise.
80748         * sysdeps/i386/fpu/libm-test-ulps: Update.
80749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80751 2012-04-09  Andreas Jaeger  <aj@suse.de>
80753         [BZ #6894]
80754         * manual/filesys.texi (Directory Entries): Mention that d_namlen
80755         is an optional BSD extension.
80757         [BZ #10254]
80758         * manual/stdio.texi (Opening Streams): Document additional fopen
80759         parameters.
80761 2012-04-09  Roland McGrath  <roland@hack.frob.com>
80763         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
80764         %eax without telling the compiler.
80766 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
80768         [BZ # 13963]
80769         * manual/install.texi: Use sourceware.org.
80771 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80773         [BZ #13873]
80774         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
80775         (__ieee754_pow): Generate overflow and underflow using huge*huge
80776         and tiny*tiny rather than just returning constant infinity or zero
80777         for large exponents.
80778         * math/libm-test.inc (pow_test): Require overflow exceptions for
80779         applicable cases of large exponents.
80781         [BZ #706]
80782         * sysdeps/i386/fpu/e_pow.S (p10): New object.
80783         (__ieee754_pow): Use iterative multiplication algorithm only for
80784         integer exponents with absolute value below 1024.  Check for odd
80785         integer exponents when using algorithm for real exponents.
80786         * math/libm-test.inc (pow_test): Add more tests.
80787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80789 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
80791         [BZ #13705]
80792         * math/libm-test.inc (exp_test): Do not allow overflow exception
80793         on underflow test.
80795 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
80797         [BZ #13705]
80798         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
80799         instead of __kernel_standard_f.
80801 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
80803         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
80804         * sysdeps/x86_64/memset_chk.S: Likewise.
80806 2012-04-08  Andreas Jaeger  <aj@suse.de>
80808         [BZ #10153]
80809         * manual/startup.texi (Environment Access): Describe return value
80810         for putenv and setenv.
80812         [BZ #6895]
80813         * manual/filesys.texi (Directory Entries): Add description for
80814         DT_LNK.
80816         [BZ #6890]
80817         * manual/filesys.texi (Directory Entries): Clarify that it's file
80818         system not operating system in the description of DT_UNKNOWN.
80820         [BZ #6578]
80821         * manual/syslog.texi (closelog): Fix reference, it's openlog.
80823 2012-04-08  Stephen Compall  <s11@member.fsf.org>
80825         [BZ #6649]
80826         * manual/llio.texi (Opening and Closing Files): Add cross
80827         reference to explain mode argument.
80829 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
80831         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
80832         * sysdeps/x86_64/memset_chk.S: Likewise.
80834 2012-04-07  David S. Miller  <davem@davemloft.net>
80836         * elf/elf.h (R_SPARC_WDISP10): Define.
80837         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
80838         R_SPARC_SIZE32.
80839         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
80840         R_SPARC_SIZE64 and R_SPARC_H34.
80842 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
80844         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
80845         conditions and remove no longer applicable assertion.
80847 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80849         * bits/byteswap.h: Include <features.h>.
80850         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80851         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80853 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80855         * bits/byteswap.h (__bswap_16): Removed.
80856         Include <bits/byteswap-16.h> to get __bswap_16.
80857         * sysdeps/i386/bits/byteswap.h: Likewise.
80858         * sysdeps/s390/bits/byteswap.h: Likewise.
80859         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80860         * bits/byteswap-16.h: New file.
80861         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80862         * sysdeps/s390/bits/byteswap-16.h: Likewise.
80863         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
80864         * string/Makefile (headers): Add bits/byteswap-16.h.
80866 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80868         [BZ #13895]
80869         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
80870         extra indirection.
80871         * nss/Makefile (tests-static, tests): Add tst-nss-static.
80872         * nss/tst-nss-static.c: New.
80874 2012-04-06  Robert Millan  <rmh@gnu.org>
80876         [BZ #6486]
80877         * manual/llio.texi (File Position Primitive): lseek
80878         refers to WHENCE when it really means OFFSET.
80880 2012-04-06  Andreas Jaeger  <aj@suse.de>
80882         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
80883         strncmp declarations.
80885         * abilist/libc.abilist: Add __poll and __ppoll.
80887 2012-04-05  David S. Miller  <davem@davemloft.net>
80889         * scripts/check-local-headers.sh: Accept a host triplet in the
80890         path matched by the exclude regexp.
80892         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
80893         definition.
80894         * sysdeps/powerpc/powerpc32/dl-machine.h
80895         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
80896         * sysdeps/s390/s390-32/dl-machine.h
80897         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80898         * sysdeps/sparc/sparc32/dl-machine.h
80899         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80900         * sysdeps/sparc/sparc64/dl-machine.h
80901         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80903         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
80904         lazy binding.
80905         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
80906         undefined symbol errors.
80908         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
80909         DT_NEEDED entries.
80911 2012-04-05  Michael Matz  <matz@suse.de>
80913         [BZ #13592]
80914         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
80916 2012-04-05  Andreas Jaeger  <aj@suse.de>
80918         [BZ #13908]
80919         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
80920         comment.
80922 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80924         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
80925         which ROUND is no valid rounding mode.
80927 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80929         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
80930         read again.
80931         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
80933 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80935         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
80936         an exception using FPU order intentionally.
80938 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80940         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
80941         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
80942         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
80943         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
80945 2012-04-05  Simon Josefsson  <simon@josefsson.org>
80947         [BZ #12340]
80948         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
80949         EINVAL when BUFLEN is too smal.
80951 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
80953         [BZ #13553]
80954         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
80955         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
80957 2012-04-03  Andreas Jaeger  <aj@suse.de>
80959         [BZ #13938]
80960         * manual/setjmp.texi (System V contexts): Fix sentence.
80962         [BZ #13926]
80963         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
80964         New macro for this case.
80965         [!__GNUC__] (__bswap_64): New inline function for this case.
80966         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80967         * bits/byteswap.h: Likewise.
80968         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
80969         ull, guard with __GLIBC_HAVE_LONG_LONG.
80971         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
80972         __GLIBC_HAVE_LONG_LONG.
80974         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
80975         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
80977 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80979         [BZ #13691]
80980         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
80981         inptr and inend, rather than using last_ch.
80983 2012-04-02  David S. Miller  <davem@davemloft.net>
80985         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
80986         * stdio-common/printf-parse.h (read_int): Change return type to
80987         'int', return -1 on INT_MAX overflow.
80988         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
80989         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
80990         overflows INT_MAX.  Check for overflow of in-format-string precision
80991         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
80992         SIZE_MAX not INT_MAX for integer overflow test.
80993         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
80994         skip the construct in the format string but do not record anything.
80995         * stdio-common/bug22.c: Adjust to test both width/prevision
80996         INT_MAX overflow as well as total length INT_MAX overflow.  Check
80997         explicitly for proper errno values.
80999 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
81001         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81002         CHAR_MAX.
81003         * string/test-strcmp.c [! WIDE]: Likewise.
81004         * time/tst-mktime2.c: Likewise for INT_MAX.
81005         * string/test-string.h: #include <sys/param.h> for MIN.
81007         * csu/init-first.c (__libc_init_first): Call __ctype_init.
81008         * sysdeps/i386/init-first.c (init): Likewise.
81009         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81010         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81011         * sysdeps/sh/init-first.c (init): Likewise.
81013 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
81015         * po/ru.po: Update from translation team.
81016         * po/vi.po: Likewise.
81018 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
81020         * resolv/nss_dns/dns-host.c: Merge copyright years.
81022 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81024         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81025         Optimize memcpy with prefetch if
81026         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
81027         src, dst pointers have unequal 16 byte alignments.
81029 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
81031         [BZ #13928]
81032         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81033         from a CNAME entry and return the minimum ttl for the query.
81034         (gaih_getanswer_slice): Likewise.
81036 2012-03-30  Jeff Law  <law@redhat.com>
81038         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81039         due to long keys.
81040         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81041         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81043         * resolv/nss_dns/dns-host.c: Update copyright year.
81045 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
81047         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81048         requests to save a system call.  Fix check that all bytes are sent.
81050         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
81051         comments for sendmmsg.
81053 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81055         [BZ #13691]
81056         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
81057         with only 1 character between 0x0041 and 0x01b0.
81058         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
81059         * wcsmbs/tst-mbsnrtowcs.c: New file.
81061 2012-03-29  David S. Miller  <davem@davemloft.net>
81063         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
81064         small copies by hand.
81066 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
81068         [BZ #13761]
81069         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
81070         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
81071         group memberships.
81073 2012-03-28  David S. Miller  <davem@davemloft.net>
81075         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
81076         that branches into memcpy.
81077         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
81078         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
81079         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
81080         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
81081         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
81082         bits.
81083         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
81084         implementation too.
81085         * sysdeps/sparc/mempcpy.S: New file.
81087         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
81088         the IFUNC routine in the libc case.
81089         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81091         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
81092         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
81093         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
81094         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
81095         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
81096         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
81097         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
81098         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
81100         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
81101         loop to 256 bytes instead of 64 bytes and fix test signedness.
81103         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
81104         * sysdeps/sparc/sparc32/Makefile: rather than here...
81105         * sysdeps/sparc/sparc64/Makefile: and here.
81107 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
81109         * malloc/mallocbug.c: Avoid warnings about unused variables.
81111 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
81113         [BZ #13760]
81114         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
81115         in the right place. Discard and retry query if response is
81116         larger than input buffer size.
81118 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
81120         [BZ #369]
81121         [BZ #2678]
81122         [BZ #3866]
81123         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
81124         x for large integer exponent.
81125         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
81126         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
81127         sign of result as needed afterwards.
81128         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
81129         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
81130         result for underflowing pow the same as for overflow.
81131         (__kernel_standard_l): Handle powl overflow and underflow here
81132         rather than calling __kernel_standard.
81133         * math/libm-test.inc (pow_test): Add more tests.
81135         [BZ #3868]
81136         [BZ #13879]
81137         [BZ #13910]
81138         [BZ #13911]
81139         [BZ #13912]
81140         [BZ #13913]
81141         [BZ #13915]
81142         [BZ #13916]
81143         [BZ #13917]
81144         [BZ #13918]
81145         [BZ #13919]
81146         [BZ #13920]
81147         [BZ #13921]
81148         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
81149         * sysdeps/ieee754/k_standard.c: Include <float.h>.
81150         (__kernel_standard_l): New function.
81151         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
81152         __kernel_standard.
81153         * math/w_acosl.c (__acosl): Likewise.
81154         * math/w_asinl.c (__asinl): Likewise.
81155         * math/w_atan2l.c (__atan2l): Likewise.
81156         * math/w_atanhl.c (__atanhl): Likewise.
81157         * math/w_coshl.c (__coshl): Likewise.
81158         * math/w_exp10l.c (__exp10l): Likewise.
81159         * math/w_exp2l.c (__exp2l): Likewise.
81160         * math/w_fmodl.c (__fmodl): Likewise.
81161         * math/w_hypotl.c (__hypotl): Likewise.
81162         * math/w_j0l.c (__j0l, __y0l): Likewise.
81163         * math/w_j1l.c (__j1l, __y1l): Likewise.
81164         * math/w_jnl.c (__jnl, __ynl): Likewise.
81165         * math/w_lgammal.c (__lgammal): Likewise.
81166         * math/w_log10l.c (__log10l): Likewise.
81167         * math/w_log2l.c (__log2l): Likewise.
81168         * math/w_logl.c (__logl): Likewise.
81169         * math/w_powl.c (__powl): Likewise.
81170         * math/w_remainderl.c (__remainderl): Likewise.
81171         * math/w_scalbl.c (sysv_scalbl): Likewise.
81172         * math/w_sinhl.c (__sinhl): Likewise.
81173         * math/w_sqrtl.c (__sqrtl): Likewise.
81174         * math/w_tgammal.c (__tgammal): Likewise.
81175         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
81176         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
81177         * math/libm-test.inc (acos_test): Add more tests.
81178         (acosh_test): Likewise.
81179         (asin_test): Likewise.
81180         (atanh_test): Likewise.
81181         (exp_test): Likewise.
81182         (exp10_test): Likewise.
81183         (exp2_test): Likewise.
81184         (expm1_test): Likewise.
81185         (lgamma_test): Likewise.
81186         (log_test): Likewise.
81187         (log10_test): Likewise.
81188         (log1p_test): Likewise.
81189         (log2_test): Likewise.
81190         (pow_test): Do not allow some spurious overflow exceptions.
81191         (sqrt_test): Add more tests.
81192         (tgamma_test): Likewise.
81193         (y0_test): Likewise.
81194         (y1_test): Likewise.
81195         (yn_test): Likewise.
81197 2012-03-27  Anton Blanchard  <anton@samba.org>
81199         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
81200         MAP_HUGETLB.
81201         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81202         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81203         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81205 2012-03-27  David S. Miller  <davem@davemloft.net>
81207         * conform/Makefile: Run run-conformtest.sh using $(BASH).
81209         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
81210         have-as-vis3 check.
81212 2012-03-27  Andreas Jaeger  <aj@suse.de>
81214         * sysdeps/x86_64/elf/configure.in: Moved to ...
81215         * sysdeps/x86_64/configure.in: ... here.
81216         * sysdeps/x86_64/elf/start.S: Moved to ...
81217         * sysdeps/x86_64/start.S: ... here.
81218         * sysdeps/x86_64/elf/configure: Delete.
81220         * sysdeps/x86_64/configure.in: Merge contents from
81221         sysdeps/i386/configure.in (without i686 check).
81223         * sysdeps/i386/elf/Versions: Merge into ...
81224         * sysdeps/i386/Versions: ... this.
81225         * sysdeps/i386/elf/Versions: Delete file.
81226         * sysdeps/i386/elf/start.S: Moved to ...
81227         * sysdeps/i386/start.S: ...here.
81228         * sysdeps/i386/elf/configure.in: Merge into...
81229         * sysdeps/i386/configure.in: ...here.
81230         * sysdeps/i386/elf/configure.in: Delete file.
81231         * sysdeps/i386/elf/configure: Delete file.
81233         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
81234         * debug/backtracesyms.c: ... here.
81235         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
81236         * debug/backtracesymsfd.c: ... here.
81237         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
81238         * sysdeps/generic/ifunc-sel.h: ... here.
81240         * sysdeps/unix/i386/start.c: Delete file.
81241         * sysdeps/unix/sparc/start.c: Delete file.
81242         * sysdeps/unix/start.c: Delete file.
81244         * sysdeps/sh/elf/configure.in: Moved to ...
81245         * sysdeps/sh/configure.in: ... here.
81246         * sysdeps/sh/elf/start.S: Moved to ...
81247         * sysdeps/sh/start.S: ... here.
81248         * sysdeps/sh/elf/configure: Delete file.
81250         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
81251         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
81252         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
81253         * sysdeps/powerpc/powerpc64/entry.h: ... here.
81254         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
81255         * sysdeps/powerpc/powerpc64/start.S: here.
81256         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
81257         * sysdeps/powerpc/powerpc64/Makefile: ... this.
81258         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
81259         * sysdeps/powerpc/powerpc64/configure.in: ... this.
81260         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
81262         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
81263         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
81264         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
81265         * sysdeps/powerpc/powerpc32/start.S: ... here.
81266         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
81267         * sysdeps/powerpc/powerpc32/configure.in: ... this.
81268         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
81270         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
81271         * sysdeps/powerpc/ifunc-sel.h: ... here.
81272         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
81273         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
81275         * sysdeps/sparc/elf/configure.in: Moved to ...
81276         * sysdeps/sparc/configure.in: ... here.
81277         * sysdeps/sparc/elf/configure: Delete file.
81278         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
81279         * sysdeps/sparc/sparc32/start.S: ... here.
81280         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
81281         * sysdeps/sparc/sparc64/start.S: ... here.
81282         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
81283         * sysdeps/sparc/sparc32/Makefile: ... this.
81284         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
81285         * sysdeps/sparc/sparc64/Makefile: ... this.
81287         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
81288         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
81289         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
81290         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
81291         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
81292         * sysdeps/s390/s390-32/setjmp.S: ... here.
81293         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
81294         * sysdeps/s390/s390-32/configure.in: ... here.
81295         * sysdeps/s390/s390-32/elf/configure: Delete file.
81296         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
81297         * sysdeps/s390/s390-32/start.S: ... here.
81299         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
81300         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
81301         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
81302         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
81303         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
81304         * sysdeps/s390/s390-64/setjmp.S: ... here.
81305         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
81306         * sysdeps/s390/s390-64/configure.in: ... here
81307         * sysdeps/s390/s390-64/elf/configure: Delete file.
81308         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
81309         * sysdeps/s390/s390-64/start.S: ... here.
81310         * sysdeps/s390/s390-64/elf/configure: Delete.
81312         * configure.in: Remove support for elf directories in sysdeps.
81314         * configure: Regenerated.
81315         * sysdeps/i386/configure: Regenerated.
81316         * sysdeps/powerpc/powerpc32/configure: Regenerated.
81317         * sysdeps/powerpc/powerpc64/configure: Regenerated.
81318         * sysdeps/s390/s390-32/configure: Regenerated.
81319         * sysdeps/s390/s390-64/configure: Regenerated.
81320         * sysdeps/sh/configure: Regenerated.
81321         * sysdeps/sparc/configure: Regenerated.
81322         * sysdeps/x86_64/configure: Regenerated.
81324 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
81326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81328         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
81329         denormal result into account.
81331 2012-03-25  Roland McGrath  <roland@hack.frob.com>
81333         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
81334         Reported by Allan McRae <allan@archlinux.org>.
81336 2012-03-23  Jeff Law  <law@redhat.com>
81338         * nss/getnssent.c (__nss_getent): Fix typo.
81340 2012-03-23  David S. Miller  <davem@davemloft.net>
81342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81344 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
81346         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
81347         to pad to uint64_t for each field.
81348         (dl_tls_index): Replace unsigned long with uint64_t.
81350 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
81351         Paul Pluzhnikov  <ppluzhnikov@google.com>
81353         [BZ #6528]
81354         * grp/Makefile (otherlibs): Don't set it.
81355         * inet/Makefile (otherlibs): Likewise.
81356         * login/Makefile (otherlibs): Likewise.
81357         * nscd/Makefile (otherlibs): Likewise.
81358         * posix/Makefile (otherlibs): Likewise.
81359         * pwd/Makefile (otherlibs): Likewise.
81360         * rt/Makefile (otherlibs): Likewise.
81361         * sunrpc/Makefile (otherlibs): Likewise.
81362         * nss/Makefile (otherlibs): Likewise.
81363         Add libnss_files to routines and static-only-routines.
81364         ($(objpfx)getent): Remove rule.
81365         * resolv/Makefile: Add libnss_dns and libresolv to routines and
81366         static-only-routines.
81368 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81370         [BZ #13892]
81371         * math/s_cexp.c: Include <float.h>.
81372         (__cexp): Handle exp result overflowing not necessarily
81373         overflowing both real and imaginary parts of result.
81374         * math/s_cexpf.c: Likewise.
81375         * math/s_cexpl.c: Likewise.
81376         * math/libm-test.inc (cexp_test): Add more tests.
81377         * sysdeps/i386/fpu/libm-test-ulps: Update.
81378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81380 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81382         * include/link.h (ELFW): New macro.
81383         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
81384         Replace ELF64_R_TYPE with ELFW(R_TYPE).
81386 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81388         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
81389         with uint64_t.
81391 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81393         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
81394         declaration.
81395         (struct La_x32_retval): Likewise.
81397 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81399         * sysdeps/x86_64/preconfigure.in: New file.
81400         * sysdeps/x86_64/preconfigure: New generated file.
81402 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81404         [BZ #13824]
81405         * math/e_exp2l.c: Include <float.h>.
81406         (__ieee754_exp2l): Handle overflow and underflow cases
81407         separately.  Only pass fractional part of argument to
81408         __ieee754_expl.
81409         * math/libm-test.inc (exp2_test): Add more tests.
81411         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
81412         negating x to take absolute value.
81413         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
81414         Likewise.
81415         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
81416         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
81417         Likewise.
81418         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
81419         computing low part if x was negated.
81420         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
81422 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81424         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
81425         la_x32_gnu_pltexit.
81426         (pltexit): Cast int_retval to ptrdiff_t.
81427         * elf/tst-auditmod3b.c: Likewise.
81428         * elf/tst-auditmod4b.c: Likewise.
81429         * elf/tst-auditmod5b.c: Likewise.
81430         * elf/tst-auditmod6b.c: Likewise.
81431         * elf/tst-auditmod6c.c: Likewise.
81432         * elf/tst-auditmod7b.c: Likewise.
81434         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
81435         and x32_gnu_pltexit.
81437         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
81438         __ELF_NATIVE_CLASS.
81439         (La_x32_regs): New macro.
81440         (La_x32_retval): Likewise.
81441         (la_x32_gnu_pltenter): New function prototype.
81442         (la_x32_gnu_pltexit): Likewise.
81444 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
81446         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
81447         exponent.
81449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81451         * configure.in (libc_cv_cc_nofma): Check for option to disable
81452         generation of FMA instructions.
81453         * configure: Regenerate.
81454         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
81455         * sysdeps/ieee754/dbl-64/Makefile: New file.
81456         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
81457         Remove brandred-fma4.
81458         (CFLAGS-brandred-fma4.c): Remove.
81459         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
81460         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
81461         define.
81462         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
81463         define.
81465 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81467         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81468         LLONG_MAX != LONG_MAX.
81469         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81470         (_fitoa_word): Likewise.
81471         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
81472         LLONG_MAX != LONG_MAX.
81473         * stdio-common/_itowa.h: Include <_itoa.h>.
81474         (_itowa_word): Use _ITOA_WORD_TYPE on value.
81475         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
81476         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
81477         only if not defined.
81478         (_ITOA_WORD_TYPE): Likewise.
81479         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81480         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
81482 2012-03-21  David S. Miller  <davem@davemloft.net>
81484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81486 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81488         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
81489         of x86_64 when setting libc_cv_slibdir, libdir and
81490         libc_cv_localedir.
81491         * sysdeps/unix/sysv/linux/configure: Regenerated.
81493 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81495         * manual/lang.texi (Old Varargs): Remove section.
81496         (How Variadic): Update menu.
81497         (va_start): Do not mention varargs.h.
81499 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81500             Joseph Myers  <joseph@codesourcery.com>
81502         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
81503         link test.
81504         * configure: Regenerated.
81506 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81508         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
81509         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
81510         conformtest.pl
81512 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81514         * NOTES: Remove.
81515         * Makefile (files-for-dist): Remove NOTES.
81516         (NOTES): Remove rule.
81517         * README: Don't refer to NOTES.
81518         * manual/creature.texi: Don't include macros.texi.
81519         * manual/intro.texi (creature.texi): Remove comment referring to
81520         NOTES.
81522         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
81523         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
81524         * configure: Regenerated.
81525         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
81526         LIBC_TRY_CC_OPTION.
81527         (libc_cv_as_i686): Likewise.
81528         (libc_cv_cc_avx): Likewise.
81529         (libc_cv_cc_sse2avx): Likewise.
81530         (libc_cv_cc_fma4): Likewise.
81531         (libc_cv_cc_novzeroupper): Likewise.
81532         * sysdeps/i386/configure: Regenerated.
81534         [BZ #13883]
81535         * sysdeps/i386/fpu/s_cexp.S: Remove.
81536         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81537         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81538         * math/libm-test.inc (cexp_test): Add more tests.
81539         * sysdeps/i386/fpu/libm-test-ulps: Update.
81540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81542 2012-03-21  Allan McRae  <allan@archlinux.org>
81544         * timezone/Makefile: Do not install iso3166.tab and zone.tab
81546 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81548         [BZ #13871]
81549         * math/w_exp2.c: Do not include <float.h>.
81550         (o_threshold, u_threshold): Remove.
81551         (__exp2): Calculate result before checking finiteness and calling
81552         __kernel_standard.
81553         * math/w_exp2f.c: Likewise.
81554         * math/w_exp2l.c: Likewise.
81555         * math/libm-test.inc (exp2_test): Require overflow exception for
81556         1e6 input.
81558         [BZ #3866]
81559         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
81560         range of signed 64-bit integers before using fistpll.  Remove
81561         checks for whether integers fit in mantissa bits.
81562         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
81563         the range of signed 32-bit integers before using fistpl.  Remove
81564         checks for whether integers fit in mantissa bits.
81565         * sysdeps/i386/fpu/e_powl.S (p64): New object.
81566         (__ieee754_powl): Test for y outside the range of signed 64-bit
81567         integers before using fistpll.  Reduce 64-bit values to 63-bit
81568         ones as needed.
81569         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
81570         divide-by-zero is raised for zero to large negative powers.
81571         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
81572         (__ieee754_powl): Test for y outside the range of signed 64-bit
81573         integers before using fistpll.  Reduce 64-bit values to 63-bit
81574         ones as needed.
81575         * math/libm-test.inc (pow_test): Add more tests.
81577 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81579         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
81580         <stdio-common/_itoa.h>.
81581         * debug/segfault.c: Likewise.
81582         * elf/dl-cache.c: Likewise.
81583         * elf/dl-minimal.c: Likewise.
81584         * elf/dl-misc.c: Likewise.
81585         * elf/dl-sysdep.c: Likewise.
81586         * elf/dl-version.c: Likewise.
81587         * elf/rtld.c: Likewise.
81588         * hurd/hurdsock.c: Likewise.
81589         * hurd/lookup-retry.c: Likewise.
81590         * malloc/malloc.c: Likewise.
81591         * malloc/mtrace.c: Likewise.
81592         * nscd/nscd_getgr_r.c: Likewise.
81593         * nscd/nscd_getpw_r.c: Likewise.
81594         * nscd/nscd_getserv_r.c: Likewise.
81595         * posix/getopt_init.c: Likewise.
81596         * posix/wordexp.c: Likewise.
81597         * stdio-common/_itoa.c: Likewise.
81598         * stdio-common/printf_fphex.c: Likewise.
81599         * stdio-common/vfprintf.c: Likewise.
81600         * string/_strerror.c: Likewise.
81601         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
81602         * sysdeps/i386/i686/hp-timing.h: Likewise.
81603         * sysdeps/mach/_strerror.c: Likewise.
81604         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
81605         * sysdeps/mach/hurd/sethostid.c: Likewise.
81606         * sysdeps/mach/hurd/xmknodat.c: Likewise.
81607         * sysdeps/mach/xpg-strerror.c: Likewise.
81608         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
81609         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
81610         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
81611         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
81612         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
81613         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
81614         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
81615         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
81616         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
81617         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
81618         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
81619         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
81620         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
81621         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
81622         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
81623         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
81624         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
81625         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
81626         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
81627         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
81628         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
81630         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
81632         * stdio-common/_itoa.h: Moved to ...
81633         * sysdeps/generic/_itoa.h: Here.
81635         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
81637         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
81638         instead of "_itoa.h" and "_itowa.h".
81639         * stdio-common/vfprintf.: Likewise.
81641 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81643         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
81644         <bits/wordsize.h>.
81645         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
81646         (__signbit): Likewise.
81647         (llrintf): Likewise.
81648         (llrint): Likewise.
81650 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81652         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
81653         __WORDSIZE != 64.
81655 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
81657         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
81658         OVERFLOW_EXCEPTION_OK.
81659         * math/libm-test.inc ("Philosophy"): Update comment about
81660         exception testing.
81661         (OVERFLOW_EXCEPTION): Define.
81662         (OVERFLOW_EXCEPTION_OK): Likewise.
81663         (INVALID_EXCEPTION_OK): Renumber.
81664         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81665         (IGNORE_ZERO_INF_SIGN): Likewise.
81666         (test_exceptions): Handle FE_OVERFLOW.
81667         (exp10_test): Expect overflow exceptions.
81668         (exp2_test): Likewise.
81669         (expm1_test): Likewise.
81670         (nextafter_test): Likewise.
81671         (pow_test): Likewise.
81672         (scalbn_test): Likewise.
81673         (scalbln_test): Likewise.
81675 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81677         * sysdeps/x86_64/bits/atomic.h
81678         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
81679         64bit integer.
81680         (atomic_exchange_acq): Likewise.
81681         (__arch_exchange_and_add_body): Likewise.
81682         (__arch_add_body): Likewise.
81683         (atomic_add_negative): Likewise.
81684         (atomic_add_zero): Likewise.
81686 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81688         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
81689         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
81691 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81693         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
81694         Check __x86_64__ instead of __WORDSIZE.
81696 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81698         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
81700 2012-03-19  David S. Miller  <davem@davemloft.net>
81702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81704         * sysdeps/sparc/fpu/fenv_private.h: New file.
81705         * sysdeps/sparc/fpu/math_private.h: Use it.
81706         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
81707         Remove.
81708         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
81709         (libc_feholdexcept_setroundl): Remove.
81710         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
81711         Remove.
81712         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
81713         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
81715 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81717         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
81718         int64_t instead of long int.
81719         (INSERT_WORDS64): Likewise.
81721 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81723         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
81724         _Unwind_GetCFA return to _Unwind_Ptr first.
81726 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
81728         [BZ #13629]
81729         * math/s_clog.c: Include <float.h>.
81730         (__clog): Scale large or subnormal inputs.
81731         * math/s_clogf.c: Likewise.
81732         * math/s_clogl.c: Likewise.
81733         * math/s_clog10.c: Include <float.h>.
81734         (M_LOG10_2): Define.
81735         (__clog10): Scale large or subnormal inputs.
81736         * math/s_clog10f.c: Likewise.
81737         * math/s_clog10l.c: Likewise.
81738         * math/libm-test.inc (clog_test): Add more tests.
81739         (clog10_test): Likewise.
81740         * sysdeps/i386/fpu/libm-test-ulps: Update.
81741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81743         [BZ #11451]
81744         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
81745         x and y.
81746         * math/libm-test.inc (atan2_test): Add another test.
81748         * Makerules (common-objdir-compile): Remove.
81749         * sysdeps/unix/Makefile (config-generated): Do not add
81750         $(unix-generated) to variable.
81751         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
81752         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
81753         Remove rule.
81754         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
81755         Likewise.
81756         [generic bits/local_lim.h] (before-compile): Do not append to
81757         variable.
81758         [generic bits/local_lim.h] (common-generated): Likewise.
81759         [generic sys/param.h] (before-compile): Do not append to variable.
81760         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
81761         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
81762         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
81763         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
81764         include.
81765         [generic sys/param.h] (sys/param.h-includes): Remove variable.
81766         [generic sys/param.h] (sys/param.h-includes): Remove rule.
81767         [generic sys/param.h] ($(addprefix
81768         $(common-objpfx),$(sys/param.h-includes))): Likewise.
81769         [generic sys/param.h] (common-generated): Do not append to
81770         variable.
81771         [generic sys/param.h] (sysdep_headers): Likewise.
81772         [generic bits/errno.h] (before-compile): Do not append to
81773         variable.
81774         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
81775         rule.
81776         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
81777         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
81778         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
81779         [generic bits/errno.h] (common-generated): Do not append to
81780         variable.
81781         [generic bits/ioctls.h] (before-compile): Do not append to
81782         variable.
81783         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
81784         rule.
81785         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
81786         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
81787         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
81788         rule.
81789         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
81790         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
81791         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
81792         [generic bits/ioctls.h] (common-generated): Do not append to
81793         variable.
81794         [generic sys/syscall.h] (syscall.h): Remove variable.
81795         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
81796         rule.
81797         [generic sys/syscall.h] (before-compile): Do not append to
81798         variable.
81799         [generic sys/syscall.h] (common-generated): Likewise.
81800         * sysdeps/unix/errnos-tmpl.c: Remove file.
81801         * sysdeps/unix/errnos.awk: Likewise.
81802         * sysdeps/unix/ioctls-tmpl.c: Likewise.
81803         * sysdeps/unix/ioctls.awk: Likewise.
81804         * sysdeps/unix/mk-local_lim.c: Likewise.
81805         * sysdeps/unix/snarf-ioctls: Likewise.
81807 2012-03-19  Richard Henderson  <rth@twiddle.net>
81809         * sysdeps/i386/fpu/fenv_private.h: New file.
81810         * sysdeps/i386/fpu/math_private.h: Use it.
81811         (math_opt_barrier, math_force_eval): Remove.
81812         (libc_feholdexcept_setround_53bit): Remove.
81813         (libc_feupdateenv_53bit): Remove.
81814         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81815         (math_opt_barrier, math_force_eval): Remove.
81816         (libc_feholdexcept): Remove.
81817         (libc_feholdexcept_setround): Remove.
81818         (libc_fetestexcept, libc_fesetenv): Remove.
81819         (libc_feupdateenv_test): Remove.
81820         (libc_feupdateenv, libc_feholdsetround): Remove.
81821         (libc_feresetround): Remove.
81823         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
81824         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
81826         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
81827         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
81828         (libc_feupdateenv_testl): New.
81829         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
81830         (libc_feupdateenv_testf): New.
81831         (libc_feupdateenv): Use libc_feupdateenv_test.
81832         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
81833         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
81835         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
81836         (libc_feholdsetroundf, libc_feholdsetroundl): New.
81837         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
81838         (libc_feresetround_noex): New.
81839         (libc_feresetround_noexf): New.
81840         (libc_feresetround_noexl): New.
81841         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
81842         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
81843         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
81844         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
81845         SET_RESTORE_ROUND.
81846         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
81847         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
81848         (__cos): Likewise.
81849         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
81850         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
81851         SET_RESTORE_ROUND_NOEX.
81852         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
81853         SET_RESTORE_ROUND_NOEXF.
81854         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
81855         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
81856         (libc_feholdsetroundf): New.
81857         (libc_feresetround, libc_feresetroundf): New.
81859         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
81860         (libc_feholdexcept_setround_53bit): Convert from macro to function.
81861         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
81863         * sysdeps/generic/math_private.h: Include <fenv.h>.
81864         (default_libc_feholdexcept): New.
81865         (default_libc_feholdexcept_setround): New.
81866         (default_libc_fesetenv, default_libc_feupdateenv): New.
81867         (libc_feholdexcept): Only define if undefined.
81868         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
81869         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
81870         (libc_feholdexcept_setroundl): Likewise.
81871         (libc_feholdexcept_setround_53bit): Likewise.
81872         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
81873         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
81874         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
81875         (libc_feupdateenv_53bit): Likewise.
81876         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
81877         (libc_feholdexcept): Convert from macro to inline function.
81878         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
81879         (libc_fesetenv, libc_feupdateenv): Likewise.
81881         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
81882         not previously defined.
81883         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
81884         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
81885         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
81886         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
81887         * sysdeps/ieee754/flt-32/math_private.h: New file.
81888         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
81889         math_private.h below SET_FLOAT_WORD.
81890         (__isnan, __isinf_ns, __finite): Remove.
81891         (__isnanf, __isinf_nsf, __finitef): Remove.
81893 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
81895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81897 2012-03-17  David S. Miller  <davem@davemloft.net>
81899         [BZ #6471]
81900         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
81901         for 2.16.
81903 2012-03-16  David S. Miller  <davem@davemloft.net>
81905         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
81906         warnings.
81908         [BZ #6471]
81909         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
81910         properly.
81911         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
81912         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
81913         sysdep_routines when subdir is sysvipc.
81914         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
81915         __getshmlba helper.
81917         * sysdeps/sparc/fpu/libm-test/ulps: Update.
81919 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81921         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
81922         [__LP64__].
81924 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81926         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
81927         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
81928         (__lround): Renamed to ...
81929         (__llround): This.  Replace long int with long long int.
81930         Define lround functions as aliases of llround functions.
81931         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
81933 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81935         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
81936         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
81937         adresses to uintptr_t.  Replace "long int" and "unsigned long
81938         int" with "greg_t" on va_arg.
81940 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81942         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
81943         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
81945         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
81946         Move e_machine check before EI_CLASS check.  Handle x32
81947         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
81948         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
81949         SKIP_EM_IA_64 and include
81950         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
81952         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
81953         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
81954         (add_system_dir): New macro.
81956         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
81957         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
81959 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
81961         [BZ #2551]
81962         [BZ #2552]
81963         [BZ #2553]
81964         [BZ #2554]
81965         [BZ #2562]
81966         [BZ #2563]
81967         [BZ #2565]
81968         [BZ #2566]
81969         [BZ #2576]
81970         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
81971         (y0): Likewise.
81972         * math/w_j0f.c (j0f): Likewise.
81973         (y0f): Likewise.
81974         * math/w_j0l.c (__j0l): Likewise.
81975         (__y0l): Likewise.
81976         * math/w_j1.c (j1): Likewise.
81977         (y1): Likewise.
81978         * math/w_j1f.c (j1f): Likewise.
81979         (y1f): Likewise.
81980         * math/w_j1l.c (__j1l): Likewise.
81981         (__y1l): Likewise.
81982         * math/w_jn.c (jn): Likewise.
81983         (yn): Likewise.
81984         * math/w_jnf.c (jnf): Likewise.
81985         (ynf): Likewise.
81986         * math/w_jnl.c (__jnl): Likewise.
81987         (__ynl): Likewise.
81988         * math/libm-test.inc (j0_test): Add more tests.
81989         (j1_test): Likewise.
81990         (jn_test): Likewise.  Add trailing semicolon to existing test.
81991         (y0_test): Likewise.
81992         (y1_test): Likewise.
81993         * sysdeps/i386/fpu/libm-test-ulps: Update.
81994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81996         [BZ #13851]
81997         [BZ #13854]
81998         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
81999         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
82000         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
82001         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
82002         (__tanl): Set errno for infinite argument.
82003         * sysdeps/i386/fpu/mptan.c: Remove.
82004         * sysdeps/i386/fpu/s_tan.S: Likewise.
82005         * sysdeps/i386/fpu/s_tanl.S: Likewise.
82006         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
82007         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
82008         * math/libm-test.inc (tan_test): Add more tests and enable more
82009         tests for double and long double.
82010         * sysdeps/i386/fpu/libm-test-ulps: Update.
82011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82013 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
82015         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82016         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82018 2012-03-16  Roland McGrath  <roland@hack.frob.com>
82020         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82021         * configure.in: Use it for both main tree and add-ons.
82022         * configure: Regenerated.
82024 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82026         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82028 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82030         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82031         in comment.
82033         [BZ #13851]
82034         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82035         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82036         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82037         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82038         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82039         infinite argument.
82040         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82041         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82042         != 0 for prec == 2.
82043         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82044         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82045         * sysdeps/i386/fpu/s_cosl.S: Likewise.
82046         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82047         * sysdeps/i386/fpu/s_sinl.S: Likewise.
82048         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
82049         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
82050         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
82051         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
82052         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
82053         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
82054         * math/libm-test.inc (cos_test): Add more tests and enable more
82055         tests for long double.
82056         (sin_test): Likewise.
82057         (sincos_test): Likewise.
82058         * sysdeps/i386/fpu/libm-test-ulps: Update.
82059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82061 2012-03-16  David S. Miller  <davem@davemloft.net>
82063         * sysdeps/sparc/fpu/math_private.h: New file.
82065 2012-03-15  David S. Miller  <davem@davemloft.net>
82067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
82068         file.
82069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
82070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
82071         file.
82072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
82073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
82074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
82075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
82076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
82077         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
82078         sysdep routines.
82079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82081         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
82082         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
82084         * sysdeps/sparc/sparc-ifunc.h: New file.
82085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
82086         sparc-ifunc.h
82087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
82088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
82089         Likewise.
82090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
82091         Likewise.
82092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
82093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
82094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
82096         Likewise.
82097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
82099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
82101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
82102         Likewise.
82103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
82104         Likewise.
82105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
82107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
82108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
82109         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
82110         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
82111         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
82112         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
82113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
82114         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
82115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
82116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
82117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
82118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
82119         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
82120         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
82121         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
82122         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
82123         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
82124         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
82125         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
82126         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
82127         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
82128         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
82130 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82132         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
82133         scaling.
82134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82136 2012-03-15  Andreas Jaeger  <aj@suse.de>
82138         [BZ #13852]
82139         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
82140         ieee754/flt-32 implementation for sin, cos and sincos.
82141         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
82142         * sysdeps/i386/fpu/s_cosf.S: Likewise.
82143         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
82144         * sysdeps/i386/fpu/s_sinf.S: Likewise.
82145         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
82146         ieee754/flt-32 implementation for tan.
82148         * math/libm-test.inc (cos_test): Enable some large input tests for
82149         float as well
82150         (sin_test): Likewise.
82151         (sincos_test): Likewise.
82152         (tan_test): Add tests for large input.
82154         * sysdeps/i386/fpu/libm-test-ulps: Update.
82156 2012-03-15  Andreas Jaeger  <aj@suse.de>
82158         [BZ #13658]
82159         * math/libm-test.inc (cos_test): Add more test cases.
82160         (sin_test): Likewise.
82161         (sincos_test): Likewise.
82163 2012-03-15  Andreas Jaeger  <aj@suse.de>
82165         [BZ #13837]
82166         * math/libm-test.inc (cos_test): Add a test case for large input
82167         value.
82168         (sin_test): Likewise.
82169         (sincos_test): Likewise.
82171 2012-03-15  Andreas Jaeger  <aj@suse.de>
82172             Joseph Myers  <joseph@codesourcery.com>
82174         [BZ #13658]
82175         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
82176         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
82177         * sysdeps/i386/fpu/branred.c: Likewise.
82178         * sysdeps/i386/fpu/dosincos.c: Likewise.
82179         * sysdeps/i386/fpu/mpa.c: Likewise.
82180         * sysdeps/i386/fpu/s_cos.S: Likewise.
82181         * sysdeps/i386/fpu/s_sin.S: Likewise.
82182         * sysdeps/i386/fpu/s_sincos.S: Likewise.
82183         * sysdeps/i386/fpu/sincos32.c: Likewise.
82185         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
82186         Define.
82187         (libc_feupdateenv_53bit): Define.
82188         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
82189         Define.
82190         (libc_feupdateenv_53bit): Define.
82192         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
82193         53 bit (without extend i386 double precision).
82195         * math/libm-test.inc (sincos_test): Add tests for large input.
82196         (sin): Likewise.
82197         (cos): Likewise.
82199         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
82201 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82205 2012-03-15  David S. Miller  <davem@davemloft.net>
82207         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
82208         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
82209         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
82210         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
82211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
82212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
82213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
82214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
82215         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
82216         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
82217         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
82218         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
82219         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
82220         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
82221         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
82222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
82223         file.
82224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
82225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
82226         file.
82227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
82228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
82229         file.
82230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
82231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
82232         file.
82233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
82234         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
82235         fmin/fmax sysdep routines.
82236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82238 2012-03-14  David S. Miller  <davem@davemloft.net>
82240         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
82241         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
82242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
82243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
82244         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
82245         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
82246         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
82247         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
82248         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
82249         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
82250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
82251         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
82252         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
82253         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
82254         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
82255         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
82256         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
82257         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
82258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
82259         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
82260         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
82261         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
82262         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
82263         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
82264         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
82265         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
82266         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
82267         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
82268         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
82269         routines.
82270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
82271         file.
82272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
82273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
82274         file.
82275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
82276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
82277         file.
82278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
82279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
82280         file.
82281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
82282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
82283         file.
82284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
82285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
82286         file.
82287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
82288         file.
82289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
82290         file.
82291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
82292         file.
82293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
82294         New file.
82295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
82296         file.
82297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
82298         file.
82299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
82300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
82301         file.
82302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
82303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
82304         file.
82305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
82306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
82307         file.
82308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
82309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
82310         VIS3 routines.
82312         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
82313         New file.
82315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82317         * sysdeps/sparc/configure.in: New file.
82318         * sysdeps/sparc/configure: Generate.
82319         * configure.in (libc_cv_sparc_as_vis3): Substitute.
82320         * configure: Regenerate.
82321         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
82322         * config.make.in (have-as-vis3): New.
82323         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
82324         available use -Av9d instead of -Av9a.
82325         * sysdeps/sparc/sparc64/Makefile: Likewise.
82326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
82327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
82328         New file.
82329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
82330         file.
82331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
82332         New file.
82333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
82334         file.
82335         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
82336         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
82337         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
82338         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
82339         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
82341         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
82342         fzeros/fnegs to load 0x80000000 into a float register instead of
82343         using the stack.
82344         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
82346 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82349         bits/syscall.h.
82350         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
82351         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
82352         ($(inst_includedir)/bits/syscall.h): Remove rule.
82353         ($(objpfx)bits/syscall.d): Include instead of
82354         $(objpfx)syscall-list.d.
82355         (generated): Change syscall-list.h and syscall-list.d to
82356         bits/syscall.h and bits/syscall.d.
82358 2012-03-14  Roland McGrath  <roland@hack.frob.com>
82360         [BZ #13846]
82361         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
82363 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82365         [BZ #13841]
82366         * math/s_csqrt.c: Include <float.h>.
82367         (__csqrt): Scale large or subnormal inputs.
82368         * math/s_csqrtf.c: Likewise.
82369         * math/s_csqrtl.c: Likewise.
82370         * math/libm-test.inc (csqrt_test): Add more tests.
82371         * sysdeps/i386/fpu/libm-test-ulps: Update.
82372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82374         [BZ #13840]
82375         * math/libm-test.inc (hypot_test): Add more tests.
82377 2012-03-13  David S. Miller  <davem@davemloft.net>
82379         [BZ #13840]
82380         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
82381         double-precision for the calculation instead of scaling.
82383 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
82385         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
82386         manipulate bits before adding and subtracting TWO52[sx].
82387         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
82388         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
82389         Likewise.
82390         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
82392 2012-03-13  David S. Miller  <davem@davemloft.net>
82394         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
82395         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
82396         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
82397         rtld-global-offsets.h
82398         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82400         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
82401         large parameters.
82403         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
82405         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
82406         'err' in the ifdef scope in which it is actually used.
82408         * nss/nss_db/db-init.c: Include string.h
82410 2012-03-12  David S. Miller  <davem@davemloft.net>
82412         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82413         masking out of the most significant byte of random value used.
82414         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82415         Fix coding style in previous change.
82417         * sysdeps/unix/sysv/linux/kernel-features.h
82418         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
82419         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
82420         expression.
82421         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
82422         later.
82424 2012-03-11  David S. Miller  <davem@davemloft.net>
82426         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
82427         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
82428         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
82429         for 'resultvar' otherwise things get truncated on 64-bit.
82431         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82432         Fix masking out of the most significant byte of random value used.
82434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82436 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
82438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82440 2012-03-09  David S. Miller  <davem@davemloft.net>
82442         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
82443         variables with appropriate CPP guards.
82444         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
82445         from the frame pointer, not the stack pointer.  Correct layout
82446         comments.  Fix test on resulting framesize and the management of
82447         the outregs buffer for pltexit.  Preserve floating point return
82448         values across _dl_call_pltexit call.
82449         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
82450         framesize and the management of the outregs buffer for pltexit.
82451         Preserve floating point return values across _dl_call_pltexit
82452         call.
82453         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
82454         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
82455         (la_sparc64_gnu_pltexit): New functions.
82456         (print_exit): Fix format string for return register value.
82458 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
82460         * sunrpc/Makefile (others): Add rpcgen.
82461         ($(objpfx)rpcgen): Remove special build rule and dependency on
82462         libc.
82463         * sunrpc/rpcgen.c: New file.
82465 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
82467         [BZ #13673]
82468         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
82469         * stdio-common/bug-vfprintf-nargs.c: Likewise.
82470         * sysdeps/i386/crti.S: Likewise.
82471         * sysdeps/i386/crtn.S: Likewise.
82472         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
82473         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
82474         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
82475         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
82476         * sysdeps/sh/crti.S: Likewise.
82477         * sysdeps/sh/crtn.S: Likewise.
82478         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
82480         [BZ #13673]
82481         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
82482         with URL.
82483         * locale/programs/locfile-kw.gperf: Likewise.
82484         * locale/programs/charmap-kw.h: Regenerated.
82485         * locale/programs/locfile-kw.h: Likewise.
82487         [BZ #13673]
82488         * intl/plural.y: Replace FSF snail mail address with URL.
82489         * intl/plural.c: Regenerated.
82491 2012-03-09  Richard Henderson  <rth@twiddle.net>
82493         * include/math_private.h: Remove file.
82494         * math/math_private.h: Move file ...
82495         * sysdeps/generic/math_private.h: ... here.
82497         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
82498         * sysdeps/powerpc/fpu/math_private.h: Likewise.
82499         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82501         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
82502         and <math_private.h>.
82503         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82504         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82505         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82506         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82507         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82508         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
82509         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82510         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82511         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82512         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82513         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82514         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82515         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82516         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82517         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82518         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82519         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82520         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82521         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82522         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82523         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82524         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82525         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82526         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82527         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
82528         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82529         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82530         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82531         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82532         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82533         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82534         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82535         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
82536         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82537         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82538         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82539         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82540         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82541         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82542         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82543         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
82544         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82545         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82546         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
82547         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
82548         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82549         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
82550         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
82551         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82552         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82553         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
82554         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
82555         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
82556         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82557         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
82558         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82559         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82560         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
82561         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
82562         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
82563         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82564         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
82565         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82566         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82567         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
82568         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82569         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82570         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82571         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
82572         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
82573         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
82574         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82575         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
82576         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82577         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
82578         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
82579         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
82580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82581         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
82582         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
82583         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
82584         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
82585         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
82586         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82587         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82588         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
82589         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
82590         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
82591         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82592         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82593         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82594         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82595         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82596         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82597         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82598         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82599         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82600         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82601         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82602         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82603         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82604         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82605         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82606         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82607         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82608         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82609         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82610         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82611         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82612         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82613         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82614         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82615         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82616         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82617         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
82618         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82619         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82620         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82621         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82622         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82623         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82624         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82625         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82626         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
82627         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82628         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82629         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82630         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
82631         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82632         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
82633         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
82634         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82635         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82636         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
82637         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
82638         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82639         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82640         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82641         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
82642         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82643         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82644         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82645         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82646         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
82647         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
82648         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82649         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82650         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82651         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
82652         * sysdeps/ieee754/k_standard.c: Likewise.
82653         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82654         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82655         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82656         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82657         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82658         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82659         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82660         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82661         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82662         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82663         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82664         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82665         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82666         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82667         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82668         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82669         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
82670         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82671         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82672         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
82673         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
82674         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
82675         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82676         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82677         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
82678         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
82679         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82680         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82681         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82682         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82683         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
82684         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82685         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82686         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82687         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
82688         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82689         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82690         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
82691         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
82692         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82693         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
82694         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
82695         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
82696         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82697         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
82698         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
82699         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82700         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82701         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82702         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82703         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82704         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
82705         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82706         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
82707         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82708         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82709         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
82710         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
82711         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82712         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82713         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82714         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
82715         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82716         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82717         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82718         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82719         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82720         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82721         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82722         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82723         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82724         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82725         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82726         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82727         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82728         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82729         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
82730         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82731         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82732         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
82733         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
82734         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
82735         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82736         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82737         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
82738         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82739         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82740         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
82741         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
82742         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82743         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
82744         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82745         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
82746         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
82747         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82748         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82749         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
82750         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
82751         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
82752         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
82753         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82754         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82755         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82756         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82757         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
82758         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82759         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82760         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
82761         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
82762         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82763         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82764         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82765         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82766         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82767         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82768         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82769         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82770         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82771         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82772         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82773         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82774         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82775         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82776         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82777         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82778         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
82779         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82780         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82781         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82782         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82783         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82784         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82785         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82786         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
82787         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82788         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82789         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
82790         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
82791         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82792         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
82793         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
82794         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82795         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
82796         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
82797         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82798         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82799         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82800         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82801         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82802         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
82803         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82804         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82805         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82806         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82807         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
82808         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
82809         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82810         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82811         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82812         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
82813         * sysdeps/ieee754/s_lib_version.c: Likewise.
82814         * sysdeps/ieee754/s_matherr.c: Likewise.
82815         * sysdeps/ieee754/s_signgam.c: Likewise.
82816         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82817         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82818         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
82819         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
82820         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
82821         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
82822         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
82823         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
82824         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
82825         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
82826         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
82827         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
82828         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82829         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82830         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
82831         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
82832         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
82833         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
82834         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
82835         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82836         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82838 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82840         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
82841         * sunrpc/rpc_main.c: Likewise.
82842         * sunrpc/rpc_svcout.c: Likewise.
82844 2012-03-09  David S. Miller  <davem@davemloft.net>
82846         * include/math_private.h: New file.
82848 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82850         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
82851         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
82852         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
82853         from <bits/socket_type.h>.
82854         (enum __socket_type): Don't define here.
82855         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
82856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82857         bits/socket_type.h.
82859         [BZ #13566]
82860         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
82861         checking __USE_GNU.
82863         * Makerules ($(inst_includedir)/%.h): New rule.
82864         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
82865         (install-others): Remove variable setting.
82866         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
82868 2012-03-08  Richard Henderson  <rth@twiddle.net>
82870         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
82871         from macro to inline function; merge with the
82872         !__LIBC_INTERNAL_MATH_INLINES version.
82873         (__ieee754_sqrtf): Likewise.
82875         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
82876         to inline function.
82877         (__rintf, __floor, __floorf): Likewise.
82879         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
82880         macro to inline function.
82881         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
82883         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
82884         not <math/math_private.h>.
82886 2012-03-08  David S. Miller  <davem@davemloft.net>
82888         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
82889         copyright year.
82890         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
82892 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
82894         * resolv/gai_misc.c (handle_requests): Fix struct timespec
82895         normalization.
82896         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
82897         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
82899 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
82901         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
82902         be defined individually, they must be defined as a block.  Define
82903         S for printing a string instead of hidint the different by using a
82904         macro for adding the 'l'.
82905         * stdio-common/tst-fphex-wide.c: Adjust.
82907 2012-03-07  Marek Polacek  <polacek@redhat.com>
82909         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
82911 2012-03-08  Marek Polacek  <polacek@redhat.com>
82913         [BZ #13806]
82914         * stdio-common/Makefile (tests): Add tst-fphex-wide.
82915         * stdio-common/tst-fphex.c: Define a few macros to make the
82916         test reusable.  Use them.
82917         * stdio-common/tst-fphex-wide.c: New file.
82919 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
82921         [BZ #6911]
82922         * manual/macros.texi (gnusystems): New macro.
82923         (nongnusystems): Likewise.
82924         (gnulinuxhurdsystems): Likewise.
82925         (gnuhurdsystems): Likewise..
82926         (gnulinuxsystems): Likewise.
82927         * manual/charset.texi: Use new macros or @theglibc{} to refer to
82928         variants of the GNU system, not "GNU system".
82929         * manual/conf.texi: Likewise.
82930         * manual/errno.texi: Likewise.  Update example of errno macro
82931         expansion.
82932         * manual/filesys.texi: Likewise.
82933         (getumask): Document as specific to GNU/Hurd.
82934         * manual/install.texi: Likewise.  Reword some references to
82935         GNU/Linux.
82936         * manual/intro.texi: Likewise.
82937         * manual/io.texi: Likewise.
82938         (File Name Portability): Detail which constraints are inapplicable
82939         to all GNU systems and which are only inapplicable to GNU/Hurd.
82940         * manual/job.texi: Likewise.
82941         * manual/llio.texi: Likewise.
82942         (O_NOCTTY): Document as present on GNU/Linux.
82943         * manual/maint.texi: Likewise.
82944         * manual/memory.texi: Likewise.
82945         * manual/pattern.texi: Likewise.
82946         * manual/pipe.texi: Likewise.
82947         * manual/process.texi: Likewise.
82948         * manual/resource.texi: Likewise.
82949         (RUSAGE_CHILDREN): Remove statement about specifying a particular
82950         child on GNU/Hurd.
82951         * manual/setjmp.texi: Likewise.
82952         * manual/signal.texi: Likewise.
82953         * manual/startup.texi: Likewise.
82954         * manual/stdio.texi: Likewise.
82955         * manual/terminal.texi: Likewise.
82956         (ONLCR): Document as POSIX.
82957         (OXTABS): Document availability on GNU/Linux as XTABS.
82958         (ONOEOT): Document availability separately from other bits.
82959         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
82960         * manual/time.texi: Likewise.
82961         * manual/users.texi: Likewise.
82962         * INSTALL: Regenerated.
82963         * sysdeps/gnu/errlist.c: Regenerated.
82965         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
82966         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
82967         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
82968         puts.
82969         * configure: Regenerated.
82971 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
82973         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
82974         default includes instead of AC_HEADER_CHECK.
82975         * sysdeps/i386/configure: Regenerated.
82977         [BZ #10716]
82978         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
82979         * math/s_cacoshf.c (__cacoshf): Likewise.
82980         * math/s_cacoshl.c (__cacoshl): Likewise.
82981         * math/s_casinh.c (__casinh): Set signs of result from argument.
82982         * math/s_casinhf.c (__casinhf): Likewise.
82983         * math/s_casinhl.c (__casinhl): Likewise.
82984         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
82985         (casinh_test): Add more tests.
82986         * sysdeps/i386/fpu/libm-test-ulps: Update.
82987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82989 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
82991         * po/zh_TW.po: Update from translation team.
82993         * login/Makefile (distribute): Remove variable.
82994         * catgets/Makefile: Likewise.
82995         * mach/Makefile: Likewise.
82996         * malloc/Makefile: Likewise.
82997         * misc/Makefile: Likewise.
82998         * iconv/Makefile: Likewise.
82999         * nscd/Makefile: Likewise.
83000         * hurd/Makefile: Likewise.
83001         * manual/Makefile: Likewise.
83002         * locale/Makefile: Likewise.
83003         * intl/Makefile: Likewise.
83004         * conform/Makefile: Likewise.
83005         * nss/Makefile: Likewise.
83006         * time/Makefile: Likewise.
83007         * soft-fp/Makefile: Likewise.
83008         * dirent/Makefile: Likewise.
83009         * gmon/Makefile: Likewise.
83010         * po/Makefile: Likewise.
83011         * rt/Makefile: Likewise.
83012         * socket/Makefile: Likewise.
83013         * math/Makefile: Likewise.
83014         * signal/Makefile: Likewise.
83015         * debug/Makefile: Likewise.
83016         * elf/Makefile: Likewise.
83017         * timezone/Makefile: Likewise.
83018         * stdlib/Makefile: Likewise.
83019         * iconvdata/Makefile: Likewise.
83020         * sunrpc/Makefile: Likewise.
83021         * io/Makefile: Likewise.
83022         * argp/Makefile: Likewise.
83023         * inet/Makefile: Likewise.
83024         * hesiod/Makefile: Likewise.
83025         * grp/Makefile: Likewise.
83026         * csu/Makefile: Likewise.
83027         * wctype/Makefile: Likewise.
83028         * crypt/Makefile: Likewise.
83029         * libio/Makefile: Likewise.
83030         * string/Makefile: Likewise.
83031         * nis/Makefile: Likewise.
83032         * resolv/Makefile: Likewise.
83033         * stdio-common/Makefile: Likewise.
83034         * wcsmbs/Makefile: Likewise.
83035         * dlfcn/Makefile: Likewise.
83036         * posix/Makefile: Likewise.
83038         [BZ #6959]
83039         * timezone/Makefile: Don't install timezone files, just the programs
83040         and scripts.
83042 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
83044         * nss/databases.def: Add missing gshadow entry.
83046         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
83048 2012-03-06  Marek Polacek  <polacek@redhat.com>
83050         [BZ #13726]
83051         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
83052         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
83053         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
83054         * stdio-common/tst-long-dbl-fphex.c: New file.
83056 2012-03-06  David S. Miller  <davem@davemloft.net>
83058         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83059         (set_obp_int): New function.
83060         (get_obp_int): New function.
83061         (__get_clockfreq_via_dev_openprom): Likewise.
83062         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
83063         Avoid unused variable warnings on 'val' and use builtin_expect.
83064         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
83065         __builtin_expect.
83066         (INLINE_CLONE_SYSCALL): Likewise.
83068 2012-03-05  David S. Miller  <davem@davemloft.net>
83070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83072 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
83074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83076         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
83077         only for |x| >= 40.
83078         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83080 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
83082         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
83083         Replace gettimeofday with __vdso_gettimeofday.
83085         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83086         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
83087         __vdso_clock_gettime and __vdso_getcpu.
83089         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
83090         time with __vdso_time.
83092 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83094         * manual/lang.texi (size_t): Note types to which size_t may be
83095         equivalent with the GNU C Library, but do not describe when
83096         differences between them are significant.
83098 2012-03-05  Andreas Jaeger  <aj@suse.de>
83100         * sysdeps/i386/fpu/libm-test-ulps: Update.
83102 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83104         [BZ #3976]
83105         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
83106         (__ieee754_pow): Save and restore rounding mode and use
83107         round-to-nearest for main computations.
83108         * math/libm-test.inc (pow_test_tonearest): New function.
83109         (pow_test_towardzero): Likewise.
83110         (pow_test_downward): Likewise.
83111         (pow_test_upward): Likewise.
83112         (main): Call the new functions.
83113         * sysdeps/i386/fpu/libm-test-ulps: Update.
83114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83116         [BZ #3976]
83117         * math/libm-test.inc (cosh_test_tonearest): New function.
83118         (cosh_test_towardzero): Likewise.
83119         (cosh_test_downward): Likewise.
83120         (cosh_test_upward): Likewise.
83121         (sinh_test_tonearest): Likewise.
83122         (sinh_test_towardzero): Likewise.
83123         (sinh_test_downward): Likewise.
83124         (sinh_test_upward): Likewise.
83125         (main): Call the new functions.
83126         * sysdeps/i386/fpu/libm-test-ulps: Update.
83127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83129 2012-03-05  Tom de Vries  <tom@codesourcery.com>
83131         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
83132         default stack guard is set in last bytes.
83133         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
83135 2012-03-05  Kees Cook  <keescook@chromium.org>
83137         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
83139         [BZ #13656]
83140         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
83141         possibly allocate from heap instead of stack.
83142         * stdio-common/bug-vfprintf-nargs.c: New file.
83143         * stdio-common/Makefile (tests): Add nargs overflow test.
83145 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
83147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83149 2012-03-03  Marek Polacek  <polacek@redhat.com>
83151         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
83152         * math/math_private.h: Likewise.
83153         * stdlib/tst-strtod.c: Likewise.
83154         * sysdeps/i386/i486/bits/atomic.h: Likewise.
83155         * sysdeps/x86_64/bits/atomic.h: Likewise.
83157 2012-03-02  David S. Miller  <davem@davemloft.net>
83159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
83160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
83161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
83162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
83163         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
83164         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
83165         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
83166         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
83168 2012-03-02  Roland McGrath  <roland@hack.frob.com>
83170         [BZ #13792]
83171         * manual/examples/README: New file, says the example source files
83172         can be used under GPL>=2.
83173         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
83174         line containing just "*/".
83175         * manual/examples/add.c: Add copyright header (GPL>=2).
83176         * manual/examples/argp-ex1.c: Likewise.
83177         * manual/examples/argp-ex2.c: Likewise.
83178         * manual/examples/argp-ex3.c: Likewise.
83179         * manual/examples/argp-ex4.c: Likewise.
83180         * manual/examples/atexit.c: Likewise.
83181         * manual/examples/db.c: Likewise.
83182         * manual/examples/dir.c: Likewise.
83183         * manual/examples/dir2.c: Likewise.
83184         * manual/examples/execinfo.c: Likewise.
83185         * manual/examples/filecli.c: Likewise.
83186         * manual/examples/filesrv.c: Likewise.
83187         * manual/examples/fmtmsgexpl.c: Likewise.
83188         * manual/examples/genpass.c: Likewise.
83189         * manual/examples/inetcli.c: Likewise.
83190         * manual/examples/inetsrv.c: Likewise.
83191         * manual/examples/isockad.c: Likewise.
83192         * manual/examples/longopt.c: Likewise.
83193         * manual/examples/memopen.c: Likewise.
83194         * manual/examples/memstrm.c: Likewise.
83195         * manual/examples/mkfsock.c: Likewise.
83196         * manual/examples/mkisock.c: Likewise.
83197         * manual/examples/mygetpass.c: Likewise.
83198         * manual/examples/pipe.c: Likewise.
83199         * manual/examples/popen.c: Likewise.
83200         * manual/examples/rprintf.c: Likewise.
83201         * manual/examples/search.c: Likewise.
83202         * manual/examples/select.c: Likewise.
83203         * manual/examples/setjmp.c: Likewise.
83204         * manual/examples/sigh1.c: Likewise.
83205         * manual/examples/sigusr.c: Likewise.
83206         * manual/examples/stpcpy.c: Likewise.
83207         * manual/examples/strdupa.c: Likewise.
83208         * manual/examples/strftim.c: Likewise.
83209         * manual/examples/strncat.c: Likewise.
83210         * manual/examples/subopt.c: Likewise.
83211         * manual/examples/swapcontext.c: Likewise.
83212         * manual/examples/termios.c: Likewise.
83213         * manual/examples/testopt.c: Likewise.
83214         * manual/examples/testpass.c: Likewise.
83215         * manual/examples/timeval_subtract.c: Likewise.
83217         [BZ #13792]
83218         * manual/time.texi (Elapsed Time): Move timeval_subtract example
83219         function to ...
83220         * manual/timeval_subtract.c.texi: ... here, new file.
83222 2012-03-02  David S. Miller  <davem@davemloft.net>
83224         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
83226 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
83228         [BZ #3976]
83229         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
83230         (__sin): Save and restore rounding mode and use round-to-nearest
83231         for all computations.
83232         (__cos): Save and restore rounding mode and use round-to-nearest
83233         for all computations.
83234         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
83235         <fenv.h>.
83236         (tan): Save and restore rounding mode and use round-to-nearest for
83237         all computations.
83238         * math/libm-test.inc (cos_test_tonearest): New function.
83239         (cos_test_towardzero): Likewise.
83240         (cos_test_downward): Likewise.
83241         (cos_test_upward): Likewise.
83242         (sin_test_tonearest): Likewise.
83243         (sin_test_towardzero): Likewise.
83244         (sin_test_downward): Likewise.
83245         (sin_test_upward): Likewise.
83246         (tan_test_tonearest): Likewise.
83247         (tan_test_towardzero): Likewise.
83248         (tan_test_downward): Likewise.
83249         (tan_test_upward): Likewise.
83250         (main): Call the new functions.
83251         * sysdeps/i386/fpu/libm-test-ulps: Update.
83252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83254         [BZ #10135]
83255         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
83256         small n, then large n, before computing and testing k+n.
83257         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
83258         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
83259         Likewise.
83260         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
83261         Likewise.
83262         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
83263         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
83264         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
83265         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
83266         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
83267         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
83268         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
83269         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
83270         * math/libm-test.inc (scalbn_test): Add more tests.
83271         (scalbln_test): Likewise.
83273         * manual/filesys.texi (mode_t): Describe constraints on size and
83274         signedness, not exact equivalence to a particular type.
83275         (ino_t): Likewise.
83276         (ino64_t): Likewise.
83277         (dev_t): Likewise.
83278         (nlink_t): Likewise.
83279         (blkcnt_t): Likewise.
83280         (blkcnt64_t): Likewise.
83281         * manual/llio.texi (off_t): Likewise.
83283         [BZ #3976]
83284         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
83285         (__ieee754_exp): Save and restore rounding mode and use
83286         round-to-nearest for all computations.
83287         * math/libm-test.inc (exp_test_tonearest): New function.
83288         (exp_test_towardzero): Likewise.
83289         (exp_test_downward): Likewise.
83290         (exp_test_upward): Likewise.
83291         (main): Call the new functions.
83292         * sysdeps/i386/fpu/libm-test-ulps: Update.
83293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83295 2012-03-01  Chris Demetriou  <cgd@google.com>
83297         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
83298         have predictable order.
83300 2012-03-01  David S. Miller  <davem@davemloft.net>
83302         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
83304         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
83305         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
83306         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
83307         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
83309         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
83310         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
83311         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
83312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
83313         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
83314         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
83315         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
83316         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
83317         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
83319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83321         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
83322         * sysdeps/sparc/fpu/libm-test-ulps: to here.
83323         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
83325         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
83326         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83327         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83328         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
83329         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
83330         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
83331         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
83332         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83333         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83334         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
83335         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
83336         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83337         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83338         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83339         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83340         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83341         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
83342         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
83343         * sysdeps/sparc/elf/configure: Regenerated.
83345 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
83347         * configure.in (AS, LD): Require binutils 2.20 or later.
83348         * configure: Regenerated.
83349         * manual/install.texi (Tools for Compilation): Give binutils 2.20
83350         as required minimum version.
83351         * INSTALL: Regenerated.
83353         [BZ #2541]
83354         [BZ #4108]
83355         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
83356         before squaring exponent.
83357         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
83358         bottom long double and 27 bits of top long double before squaring
83359         exponent.
83360         * math/libm-test.inc (erfc_test): Add more tests.
83361         * sysdeps/i386/fpu/libm-test-ulps: Update.
83362         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83365 2012-03-01  Kai Tietz  <ktietz@redhat.com>
83367         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
83368         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
83369         containing bit-fields.
83370         * soft-fp/extended.h (_FP_UNION_E): Likewise.
83371         * soft-fp/single.h (_FP_UNION_S): Likewise.
83372         * soft-fp/double.h (_FP_UNION_D): Likewise.
83374 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83376         [BZ #13786]
83377         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
83378         not include ../strcmp.S.
83379         [USE_AS_STRNCASECMP_L]: Likewise.
83380         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
83381         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
83382         * sysdeps/i386/i686/multiarch/strncase_l-c.c
83383         (__strncasecmp_l_ia32): Define as alias to
83384         __strncasecmp_l_nonascii.
83386         [BZ #5794]
83387         * math/libm-test.inc (expm1_test): Add test for bug 5794.
83388         * sysdeps/i386/fpu/libm-test-ulps: Update.
83389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83391         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
83392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83394 2012-02-29  Jeff Law  <law@redhat.com>
83396         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
83397         out of bounds read.
83399 2012-02-29  Marek Polacek  <polacek@redhat.com>
83401         [BZ #13706]
83402         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
83403         * elf/Makefile: Add rules to run tst-unused-dep.out.
83405 2012-02-28  David S. Miller  <davem@davemloft.net>
83407         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
83408         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
83409         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
83410         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
83411         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
83412         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
83414 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83416         * math/libm-test.inc (llround_test): Move one test from
83417         lround_test.  Use TEST_f_L in moved test.
83418         (lround_test): Move misplaced test to llround_test.  Add testcase
83419         from bug 2561.
83421 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
83423         * sysdeps/x86_64/fpu/e_expf.S: New file.
83424         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
83426 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
83428         [BZ #13637]
83429         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
83430         of remain_len that may cause incomplete multi-byte character and
83431         false match.
83432         * posix/bug-regex33.c: New file.
83433         * posix/Makefile (tests): Add bug-regex33.
83435 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
83437         * manual/macros.texi: New file.
83438         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
83439         * manual/libc.texinfo: Include macros.texi.
83440         * manual/creatute.texi: Likewise.
83441         * manual/install.texi: Likewise.
83442         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
83443         @glibcadj{} in references to the GNU C Library.
83444         * manual/charset.texi: Likewise.
83445         * manual/conf.texi: Likewise.
83446         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
83447         when not using those macros.
83448         * manual/creature.texi: Likewise.
83449         * manual/crypt.texi: Likewise.
83450         * manual/errno.texi: Likewise.
83451         * manual/filesys.texi: Likewise.
83452         * manual/header.texi: Likewise.
83453         * manual/install.texi: Likewise.
83454         * manual/intro.texi: Likewise.
83455         * manual/io.texi: Likewise.
83456         * manual/job.texi: Likewise.
83457         * manual/lang.texi: Likewise.
83458         * manual/libc.texiinfo: Likewise.
83459         * manual/llio.texi: Likewise.
83460         * manual/locale.texi: Likewise.
83461         * manual/maint.texi: Likewise.
83462         * manual/math.texi: Likewise.
83463         * manual/memory.texi: Likewise.
83464         * manual/message.texi: Likewise.
83465         * manual/nss.texi: Likewise.
83466         * manual/pattern.texi: Likewise.
83467         * manual/process.texi: Likewise.
83468         * manual/resource.texi: Likewise.
83469         * manual/search.texi: Likewise.
83470         * manual/setjmp.texi: Likewise.
83471         * manual/signal.texi: Likewise.
83472         * manual/socket.texi: Likewise.
83473         * manual/startup.texi: Likewise.
83474         * manual/stdio.texi: Likewise.
83475         * manual/string.texi: Likewise.
83476         * manual/sysinfo.texi: Likewise.
83477         * manual/syslog.texi: Likewise.
83478         * manual/terminal.texi: Likewise.
83479         * manual/time.texi: Likewise.
83480         * manual/users.texi: Likewise.
83481         * INSTALL: Regenerated.
83482         * NOTES: Regenerated.
83483         * sysdeps/gnu/errlist.c: Regenerated.
83485 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
83487         * include/dirent.h: Include <dirstream.h> before
83488         <dirent/dirent.h>.
83490 2012-02-28  David S. Miller  <davem@davemloft.net>
83492         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
83493         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
83494         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
83495         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
83497 2012-02-27  David S. Miller  <davem@davemloft.net>
83499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
83500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
83501         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
83502         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
83504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
83505         frame pointer instead of stack pointer relative arg slot.
83506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83507         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83508         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83510 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
83512         [BZ #3992]
83513         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
83515 2012-02-27  David S. Miller  <davem@davemloft.net>
83517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
83518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
83521         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83522         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83523         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
83524         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
83526 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83528         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
83529         later.  Allow versions 5-9.
83530         * configure: Regenerated.
83531         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
83532         required minimum version and 4.6 as recommended version.  Do not
83533         mention bugs in GCC 2.7 and 2.8.
83534         * INSTALL: Regenerated.
83536 2012-02-27  David S. Miller  <davem@davemloft.net>
83538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
83539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
83540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
83541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
83542         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
83543         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
83544         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
83545         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
83547         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
83548         manipulate bits before adding and subtracting TWO112[sx].
83549         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
83551 2012-02-27  Roland McGrath  <roland@hack.frob.com>
83553         [BZ #13775]
83554         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
83555         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
83556         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
83557         being in POSIX, because they are in 1003.1-2008.
83559         * rt/tst-aio.c: Include <fcntl.h>.
83560         * rt/tst-aio7.c: Likewise.
83561         * rt/tst-aio64.c: Likewise.
83563         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
83565 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83567         * manual/install.texi (--with-headers): Describe headers as
83568         interface headers, not private headers.
83569         (Specific advice for GNU/Linux systems): Describe use of headers
83570         from "make headers_install", not private headers from older
83571         kernels.
83572         * INSTALL: Regenerated.
83573         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
83574         Change to 2.6.19.
83575         * sysdeps/unix/sysv/linux/configure: Regenerated.
83577         * manual/llio.texi (fclean): Remove documentation.
83579         * manual/Makefile (libc-texi-generated): New variable.  Include
83580         version.texi.
83581         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
83582         $(libc-texi-generated), not duplicated list of files.
83583         (version.texi, stamp-version): New rules.
83584         (realclean): Remove $(libc-texi-generated), not individual files
83585         from that list.  Do not remove dir-add.texinfo.
83586         * manual/libc.texinfo: Comment out uses of edition numbers and
83587         references to printed manual.  Remove last-updated dates.
83588         (EDITION): Comment out.
83589         (ISBN): Likewise.
83590         (VERSION, UPDATED): Remove.
83591         (version.texi): Include.
83593 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
83595         * sysdeps/posix/spawni.c: Include <signal.h>.
83596         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
83597         * sysdeps/pthread/aio_fsync.c: Likewise.
83599 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
83601         * conform/Makefile (tests): Run only when not cross-compiling and
83602         when fast-check is not defined.
83604         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
83605         * conform/data/limits.h-data: Fixes for POSIX2008.
83606         * conform/run-conformtest.sh: Run all tests.
83607         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
83608         headers.
83609         * include/bits/dlfcn.h: Likewise.
83610         * include/langinfo.h: Likewise.
83611         * include/monetary.h: Likewise.
83612         * include/sys/poll.h: Likewise.
83614         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
83615         for __USE_GNU.
83616         * posix/spawn.h: Define __need_sigset_t.
83617         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
83618         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
83619         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
83620         to get sigevent_t only.
83621         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
83622         only for __USE_GNU.
83623         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83624         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83625         process_vm_writev only for __USE_GNU.
83626         * termios/termios.h: Declare tcgetsid also for POSIX2008.
83628         * conform/Makefile: For now ignore errors from run-conformtest.
83629         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
83630         POSIX to avoid namespace pollution.  Don't prepend headers.
83631         * conform/data/aio.h-data: Fixes for POSIX testing.
83632         * conform/data/fcntl.h-data: Likewise.
83633         * conform/data/glob.h-data: Likewise.
83634         * conform/data/grp.h-data: Likewise.
83635         * conform/data/pthread.h-data: Likewise.
83636         * conform/data/pwd.h-data: Likewise.
83637         * conform/data/signal.h-data: Likewise.
83638         * conform/data/spawn.h-data: Likewise.
83639         * conform/data/stdio.h-data: Likewise.
83640         * conform/data/stdlib.h-data: Likewise.
83641         * conform/data/stropts.h-data: Likewise.
83642         * conform/data/sys/mman.h-data: Likewise.
83643         * conform/data/sys/stat.h-data: Likewise.
83644         * conform/data/sys/types.h-data: Likewise.
83645         * conform/data/sys/wait.h-data: Likewise.
83646         * conform/data/time.h-data: Likewise.
83647         * conform/data/unistd.h-data: Likewise.
83648         * conform/data/utime.h-data: Likewise.
83650         * io/sys/stat.h: fchmod was always in POSIX.
83651         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
83652         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
83653         * rt/aio.h: Define __need_timespec before including <time.h>.
83654         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
83655         struct.  Add forward declaration of pthread_attr_t and use it in
83656         sigevent.
83657         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83658         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83659         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
83660         always remove CLK_TCK definition.
83662 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
83664         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
83666 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
83668         * conform/run-conformtest.sh: New file.
83669         * conform/Makefile: Run run-conformtest for tests.
83670         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
83671         support.
83673         * conform/data/uchar.h-data: New file.
83674         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
83675         * conform/data/arpa/inet.h-data: Likewise.
83676         * conform/data/assert.h-data: Likewise.
83677         * conform/data/complex.h-data: Likewise.
83678         * conform/data/cpio.h-data: Likewise.
83679         * conform/data/ctype.h-data: Likewise.
83680         * conform/data/dirent.h-data: Likewise.
83681         * conform/data/dlfcn.h-data: Likewise.
83682         * conform/data/errno.h-data: Likewise.
83683         * conform/data/fcntl.h-data: Likewise.
83684         * conform/data/float.h-data: Likewise.
83685         * conform/data/fmtmsg.h-data: Likewise.
83686         * conform/data/fnmatch.h-data: Likewise.
83687         * conform/data/ftw.h-data: Likewise.
83688         * conform/data/glob.h-data: Likewise.
83689         * conform/data/grp.h-data: Likewise.
83690         * conform/data/iconv.h-data: Likewise.
83691         * conform/data/inttypes.h-data: Likewise.
83692         * conform/data/langinfo.h-data: Likewise.
83693         * conform/data/libgen.h-data: Likewise.
83694         * conform/data/limits.h-data: Likewise.
83695         * conform/data/locale.h-data: Likewise.
83696         * conform/data/math.h-data: Likewise.
83697         * conform/data/monetary.h-data: Likewise.
83698         * conform/data/mqueue.h-data: Likewise.
83699         * conform/data/ndbm.h-data: Likewise.
83700         * conform/data/net/if.h-data: Likewise.
83701         * conform/data/netdb.h-data: Likewise.
83702         * conform/data/netinet/in.h-data: Likewise.
83703         * conform/data/nl_types.h-data: Likewise.
83704         * conform/data/poll.h-data: Likewise.
83705         * conform/data/pthread.h-data: Likewise.
83706         * conform/data/pwd.h-data: Likewise.
83707         * conform/data/regex.h-data: Likewise.
83708         * conform/data/sched.h-data: Likewise.
83709         * conform/data/search.h-data: Likewise.
83710         * conform/data/semaphore.h-data: Likewise.
83711         * conform/data/setjmp.h-data: Likewise.
83712         * conform/data/signal.h-data: Likewise.
83713         * conform/data/spawn.h-data: Likewise.
83714         * conform/data/stdarg.h-data: Likewise.
83715         * conform/data/stdio.h-data: Likewise.
83716         * conform/data/stdlib.h-data: Likewise.
83717         * conform/data/string.h-data: Likewise.
83718         * conform/data/strings.h-data: Likewise.
83719         * conform/data/stropts.h-data: Likewise.
83720         * conform/data/sys/ipc.h-data: Likewise.
83721         * conform/data/sys/mman.h-data: Likewise.
83722         * conform/data/sys/msg.h-data: Likewise.
83723         * conform/data/sys/resource.h-data: Likewise.
83724         * conform/data/sys/select.h-data: Likewise.
83725         * conform/data/sys/sem.h-data: Likewise.
83726         * conform/data/sys/shm.h-data: Likewise.
83727         * conform/data/sys/socket.h-data: Likewise.
83728         * conform/data/sys/stat.h-data: Likewise.
83729         * conform/data/sys/statvfs.h-data: Likewise.
83730         * conform/data/sys/time.h-data: Likewise.
83731         * conform/data/sys/timeb.h-data: Likewise.
83732         * conform/data/sys/times.h-data: Likewise.
83733         * conform/data/sys/types.h-data: Likewise.
83734         * conform/data/sys/uio.h-data: Likewise.
83735         * conform/data/sys/un.h-data: Likewise.
83736         * conform/data/sys/utsname.h-data: Likewise.
83737         * conform/data/sys/wait.h-data: Likewise.
83738         * conform/data/syslog.h-data: Likewise.
83739         * conform/data/tar.h-data: Likewise.
83740         * conform/data/termios.h-data: Likewise.
83741         * conform/data/utime.h-data: Likewise.
83742         * conform/data/utmpx.h-data: Likewise.
83743         * conform/data/varargs.h-data: Likewise.
83744         * conform/data/wchar.h-data: Likewise.
83745         * conform/data/wctype.h-data: Likewise.
83746         * conform/data/wordexp.h-data: Likewise.
83748         * include/stropts.h: New file.
83749         * include/uchar.h: New file.
83750         * include/aio.h: Changes to allow conformtest.pl to use the headers.
83751         * include/assert.h: Likewise.
83752         * include/ctype.h: Likewise.
83753         * include/dirent.h: Likewise.
83754         * include/dlfcn.h: Likewise.
83755         * include/fcntl.h: Likewise.
83756         * include/fnmatch.h: Likewise.
83757         * include/glob.h: Likewise.
83758         * include/grp.h: Likewise.
83759         * include/libio.h: Likewise.
83760         * include/locale.h: Likewise.
83761         * include/math.h: Likewise.
83762         * include/net/if.h: Likewise.
83763         * include/netdb.h: Likewise.
83764         * include/netinet/in.h: Likewise.
83765         * include/pthread.h: Likewise.
83766         * include/pwd.h: Likewise.
83767         * include/regex.h: Likewise.
83768         * include/sched.h: Likewise.
83769         * include/search.h: Likewise.
83770         * include/setjmp.h: Likewise.
83771         * include/signal.h: Likewise.
83772         * include/stdio.h: Likewise.
83773         * include/stdlib.h: Likewise.
83774         * include/string.h: Likewise.
83775         * include/sys/cdefs.h: Likewise.
83776         * include/sys/mman.h: Likewise.
83777         * include/sys/msg.h: Likewise.
83778         * include/sys/resource.h: Likewise.
83779         * include/sys/select.h: Likewise.
83780         * include/sys/socket.h: Likewise.
83781         * include/sys/stat.h: Likewise.
83782         * include/sys/statvfs.h: Likewise.
83783         * include/sys/time.h: Likewise.
83784         * include/sys/times.h: Likewise.
83785         * include/sys/uio.h: Likewise.
83786         * include/sys/utsname.h: Likewise.
83787         * include/sys/wait.h: Likewise.
83788         * include/termios.h: Likewise.
83789         * include/time.h: Likewise.
83790         * include/ulimit.h: Likewise.
83791         * include/unistd.h: Likewise.
83792         * include/utime.h: Likewise.
83793         * include/wchar.h: Likewise.
83794         * include/wctype.h: Likewise.
83795         * include/wordexp.h: Likewise.
83797         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
83799         * time/time.h: TIME_UTC must be a macro.
83800         Make timespec_get available for ISO C11 only as well.
83802 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
83804         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
83805         Reported by Peng Haitao <penght@cn.fujitsu.com>.
83807 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83809         * configure.in: Use -o not -a in test for unsupported multi-arch.
83811 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83813         * manual/texinfo.tex: Update to version 2012-01-19.16.
83815 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83817         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
83819 2012-02-24  Roland McGrath  <roland@hack.frob.com>
83821         [BZ #13738]
83822         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
83823         * manual/fdl-1.3.texi: New file.
83824         * manual/fdl-1.1.texi: File removed.
83826         [BZ #13738]
83827         * manual/libc.texinfo (FDL_VERSION): New @set.
83828         Use it for mention of FDL in cover text.
83829         (Documentation License): Use it in @include file name.
83831 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83832             Roland McGrath  <roland@hack.frob.com>
83834         [BZ #5461]
83835         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
83836         (not LONG_LONG_MAX and LONG_LONG_MIN.
83837         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
83838         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
83839         name.
83840         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
83842 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83844         [BZ #2547]
83845         [BZ #11365]
83846         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
83847         manipulate bits before adding and subtracting TWO23[sx].
83848         * math/libm-test.inc (nearbyint_test): Add more tests.
83850 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83852         [BZ #2548]
83853         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
83854         bits before adding and subtracting TWO23[sx].
83855         * math/libm-test.inc (rint_test): Add more tests.
83856         (rint_test_tonearest): Likewise.
83857         (rint_test_towardzero): Likewise.
83858         (rint_test_downward): Likewise.
83859         (rint_test_upward: Likewise.
83861 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83863         [BZ #10110]
83864         * include/stdc-predef.h: New file.  Extracted from features.h.
83865         * include/features.h: Include stdc-predef.h.
83866         * Makefile (headers): Add stdc-predef.h.
83867         * CONFORMANCE (Compiler limitations): Update.
83869 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83871         * manual/libc.texinfo (VERSION, UPDATED): Revert.
83873 2012-02-21  David S. Miller  <davem@davemloft.net>
83875         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
83876         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
83878 2012-02-20  David S. Miller  <davem@davemloft.net>
83880         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
83881         using a normal save/restore sequence, rather than allocating a
83882         dummy stack frame just to store a frame pointer and restore.
83883         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83885 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83887         * manual/install.texi: Fix stray word in line-wrapped comment.
83889 2012-02-20  David S. Miller  <davem@davemloft.net>
83891         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
83892         both binutils and gcc support GOTDATA.
83894         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
83895         "rd %pc" in the PIC register setup sequences.
83897         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
83898         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
83899         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83900         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
83901         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83902         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83903         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83904         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83905         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
83906         (SYSCALL_ERROR_HANDLER): Likewise.
83907         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83908         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83909         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
83910         (SYSCALL_ERROR_HANDLER): Likewise.
83912         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
83913         (HAVE_GCC_GOTDATA): New.
83914         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
83915         relocation support in both binutils and gcc.
83916         * sysdeps/sparc/elf/configure: Regenerate.
83918         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
83919         * sysdeps/sparc/sparc32/elf/configure: Delete.
83920         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
83921         * sysdeps/sparc/sparc64/elf/configure: Delete.
83922         * sysdeps/sparc/elf/configure.in: New file.
83923         * sysdeps/sparc/elf/configure: Generate.
83925         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
83926         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
83927         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83928         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
83929         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
83931 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83933         * manual/install.texi: Do not mention specific glibc version
83934         numbers.
83935         * manual/libc.texinfo (VERSION, UPDATED): Update.
83936         (@copying): Use @copyright{} and range of years.
83938 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83940         [BZ #13695]
83941         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
83942         [crti.S not in sysdirs] (generated): Do not append.
83943         [crti.S not in sysdirs] (omit-deps): Likewise.
83944         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
83945         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
83946         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
83947         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
83948         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
83949         Likewise.
83950         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
83951         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
83952         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
83953         * csu/defs.awk: Remove file.
83954         * sysdeps/generic/initfini.c: Likewise.
83955         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
83956         variable.
83957         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
83958         Likewise.
83960 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83962         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
83963         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
83964         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
83965         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
83966         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83967         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
83968         <bits/epoll.h>.
83969         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
83970         (__EPOLL_PACKED): Define to empty if not defined by
83971         <bits/epoll.h>.
83972         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
83973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83974         bits/epoll.h.
83976 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83978         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
83979         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
83980         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
83981         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
83982         <bits/timerfd.h>.
83983         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
83984         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83985         bits/timerfd.h.
83987 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83989         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
83990         in C locale.
83991         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83992         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
83993         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
83994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83996 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
83998         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83999         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84001 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
84003         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
84004         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
84005         defined.
84006         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
84007         Likewise.
84008         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84009         entry for 2.16.
84011 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
84013         * math/w_acos.c: Use non-signaling floating-point comparisons.
84014         * math/w_acosf.c: Likewise.
84015         * math/w_acosh.c: Likewise.
84016         * math/w_acoshf.c: Likewise.
84017         * math/w_acoshl.c: Likewise.
84018         * math/w_acosl.c: Likewise.
84019         * math/w_asin.c: Likewise.
84020         * math/w_asinf.c: Likewise.
84021         * math/w_asinl.c: Likewise.
84022         * math/w_atanh.c: Likewise.
84023         * math/w_atanhf.c: Likewise.
84024         * math/w_atanhl.c: Likewise.
84025         * math/w_exp2.c: Likewise.
84026         * math/w_exp2f.c: Likewise.
84027         * math/w_exp2l.c: Likewise.
84028         * math/w_j0.c: Likewise.
84029         * math/w_j0f.c: Likewise.
84030         * math/w_j0l.c: Likewise.
84031         * math/w_j1.c: Likewise.
84032         * math/w_j1f.c: Likewise.
84033         * math/w_j1l.c: Likewise.
84034         * math/w_jn.c: Likewise.
84035         * math/w_jnf.c: Likewise.
84036         * math/w_log.c: Likewise.
84037         * math/w_log10.c: Likewise.
84038         * math/w_log10f.c: Likewise.
84039         * math/w_log10l.c: Likewise.
84040         * math/w_log2.c: Likewise.
84041         * math/w_log2f.c: Likewise.
84042         * math/w_log2l.c: Likewise.
84043         * math/w_logf.c: Likewise.
84044         * math/w_logl.c: Likewise.
84045         * math/w_sqrt.c: Likewise.
84046         * math/w_sqrtf.c: Likewise.
84047         * math/w_sqrtl.c: Likewise.
84048         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84049         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
84050         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84051         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84052         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84054 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84056         [BZ #9739]
84057         * manual/string.texi (strnlen): Use correct parameter name in
84058         equivalent expression.
84060 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84062         [BZ #11174]
84063         * manual/users.texi (seteuid): Consistently use neweuid for
84064         argument name.
84066 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84068         [BZ #13704]
84069         * manual/nss.texi (Services in the NSS configuration): Correct
84070         list of services in example configuration file.
84072 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
84074         [BZ #11322]
84075         * manual/arith.texi: Remove statements about negative zero
84076         behaving identically to zero.
84078 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84080         [BZ #5993]
84081         * manual/install.texi: Do not document upgrading from libc5.
84083 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84085         [BZ #4596]
84086         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
84088 2012-02-18  David S. Miller  <davem@davemloft.net>
84090         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
84091         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
84092         %o7 across the call.
84093         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
84094         instead.
84095         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
84096         SETUP_PIC_REG_LEAF.
84097         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84098         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
84099         * sysdeps/sparc/crtn.S: Likewise.
84101 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
84103         * aout/Makefile: Remove.
84105 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
84107         [BZ #13058]
84108         * manual/examples/argp-ex1.c (main): Format definition in GNU
84109         style.
84110         * manual/examples/argp-ex2.c (main): Likewise.
84111         * manual/examples/argp-ex3.c (main): Likewise.
84112         * manual/examples/argp-ex4.c (main): Likewise.
84113         * manual/examples/longopt.c (main): Use new-style prototype
84114         definition.
84115         * manual/examples/strncat.c (main): Specify return type and use
84116         (void) for arguments.
84117         * manual/examples/subopt.c (main): Use char **argv argument.
84119 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84121         [BZ #5077]
84122         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
84123         rounding modes.
84125 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
84127         [BZ #6907]
84128         * manual/string.texi (strchr): Change when strchrnul is
84129         recommended.
84131 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
84133         [BZ #174]
84134         * manual/locale.texi (setlocale): Document LOCPATH.
84136 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84138         [BZ #10210]
84139         * manual/process.texi (execle): Move @dots{} before last argument.
84141 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
84143         [BZ #12047]
84144         * manual/charset.texi (Generic Charset Conversion): Fix typo
84145         (LC_TYPE -> LC_CTYPE).
84147 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
84149         [BZ #5805]
84150         * manual/arith.texi (scalbn): Use @var{} on parameter names.
84151         (scalbnf): Likewise.
84152         (scalbnl): Likewise.
84153         (scalbln): Likewise.
84154         (scalblnf): Likewise.
84155         (scalblnl): Likewise.
84156         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
84157         (vwarnx): Likewise.
84158         (verr): Likewise.
84159         (verrx): Likewise.
84160         * manual/filesys.texi (telldir): Use braces around return type.
84161         * manual/llio.texi (mmap): Add space after comma.
84162         (mmap64): Likewise.
84163         * manual/math.texi (jn): Use @var{} on parameter names.
84164         (jnf): Likewise.
84165         (jnl): Likewise.
84166         (yn): Likewise.
84167         (ynf): Likewise.
84168         (ynl): Likewise.
84169         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
84170         line.
84171         * manual/resource.texi (ulimit): Use @dots{} instead of literal
84172         "...".
84173         (sched_get_priority_min): Remove semicolon on @deftypefun line.
84174         (sched_get_priority_max): Likewise.
84175         * manual/signal.texi (sigvec): Add space after comma.
84176         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
84177         names.
84178         (if_indextoname): Likewise.
84179         (if_freenameindex): Likewise.
84180         (sendto): Use ',' instead of '.' in prototype.
84181         * manual/startup.texi (syscall): Use @dots{} instead of literal
84182         "...".
84183         * manual/stdio.texi (__fpending): Separate initial words of
84184         paragraph from @deftypefun line.
84185         * manual/syslog.texi (syslog): Use @dots{} instead of literal
84186         "...".
84187         (vsyslog): Use @var{} on parameter names.
84188         * manual/terminal.texi (stty): Use @var{} on parameter names.
84189         * manual/users.texi (getutmp): Use @var{} on parameter names.
84190         (getutmpx): Likewise.
84192 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84194         [BZ #6884]
84195         * manual/stdio.texi (fopen): Fix typos in description of
84196         ",ccs=STRING".
84198 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
84200         [BZ #4026]
84201         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
84202         get clock_id definition.
84204 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
84206         [BZ #4822]
84207         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
84208         (madvise): Cast every argument to void on its own.
84210 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84212         [BZ #9902]
84213         * manual/startup.texi (Exit Status): Fix typo.
84215 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84217         [BZ #10140]
84218         * manual/examples/argp-ex1.c: Include <stdlib.h>.
84219         * manual/examples/argp-ex2.c: Likewise.
84220         * manual/examples/argp-ex3.c: Likewise.
84222 2012-02-16  Richard Henderson  <rth@redhat.com>
84224         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
84225         * sysdeps/s390/s390-32/initfini.c: Remove.
84226         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
84227         * sysdeps/s390/s390-64/initfini.c: Remove.
84229 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
84231         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
84232         compiler output for sysdeps/generic/initfini.c.
84233         * sysdeps/sh/elf/initfini.c: Remove file.
84235 2012-02-16  David S. Miller  <davem@davemloft.net>
84237         [BZ #11494]
84238         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
84240         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
84241         * sysdeps/sparc/crti.S: New file.
84242         * sysdeps/sparc/crtn.S: New file.
84243         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
84244         * sysdeps/sparc/sparc64/Makefile: Likewise.
84246 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
84248         [BZ #3335]
84249         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
84251 2012-02-15  Roland McGrath  <roland@hack.frob.com>
84253         [BZ #4822]
84254         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
84256         * mach/devstream.c (cookie_io_functions_t): Macro removed.
84257         (write, read, close): Likewise.
84258         Patch by Aurelien Jarno <aurelien@aurel32.net>.
84260 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
84262         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
84263         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
84264         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
84265         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
84266         <bits/signalfd.h>.
84267         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
84268         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84269         bits/signalfd.h.
84271 2012-02-14  Marek Polacek  <polacek@redhat.com>
84273         * sysdeps/x86_64/crti.S: New file.
84274         * sysdeps/x86_64/crtn.S: New file.
84275         * sysdeps/x86_64/elf/initfini.c: Remove file.
84277 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84279         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
84280         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
84281         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
84282         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
84283         <bits/inotify.h>.
84284         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
84285         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84286         bits/inotify.h.
84288 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84290         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
84291         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
84292         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
84293         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
84294         <bits/eventfd.h>.
84295         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
84296         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84297         bits/eventfd.h.
84299 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
84301         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
84302         __feraiseexcept instead of feraiseexcept.
84304         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
84305         nanosleep invocations.
84306         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
84307         strings, and add error checking for a nanosleep invocations.
84309 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
84311         Replace FSF snail mail address with URLs, as per GNU coding standards.
84312         Most of the snail mail addresses were wrong anyway, and omitting
84313         them makes the source code easier to maintain.  Almost all of the
84314         changes are to license notices and to locale LC_IDENTIFICATION
84315         addresses, except for this one:
84316         * manual/libc.texinfo: In "Published by", give the FSF's URL,
84317         not its snail mail address.
84319 2012-02-09  Richard Henderson  <rth@twiddle.net>
84321         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
84322         of kernel-features.h.
84324         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
84326 2012-02-08  Marek Polacek  <polacek@redhat.com>
84328         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
84329         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
84330         * sysdeps/gnu/_G_config.h: Likewise.
84331         * sysdeps/generic/_G_config.h: Likewise.
84333 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
84335         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
84336         tests.
84337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84339         * sysdeps/powerpc/powerpc32/crti.S: New file.
84340         * sysdeps/powerpc/powerpc32/crtn.S: New file.
84341         * sysdeps/powerpc/powerpc64/crti.S: New file.
84342         * sysdeps/powerpc/powerpc64/crtn.S: New file.
84344         * Makeconfig (have-initfini): Don't set.
84345         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
84346         * configure.in (nopic_initfini): Don't substitute.
84347         * config.h.in (HAVE_INITFINI): Don't #undef.
84348         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
84349         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
84351 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
84353         Support crti.S and crtn.S provided directly by architectures.
84354         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
84355         [crti.S in sysdirs] (omit-deps): Likewise.
84356         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
84357         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
84358         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
84359         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
84360         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
84361         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
84362         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
84363         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
84364         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
84365         compiler output for sysdeps/generic/initfini.c.
84366         * sysdeps/i386/elf/Makefile: Remove file.
84367         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
84369 2012-02-07  Marek Polacek  <polacek@redhat.com>
84371         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
84372         * sysdeps/gnu/_G_config.h: Likewise.
84373         * sysdeps/mach/hurd/_G_config.h: Likewise.
84375 2012-02-07  Marek Polacek  <polacek@redhat.com>
84377         * math/Makefile (tests): Add tst-CMPLX2.
84378         * math/tst-CMPLX2.c: New file.
84380 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
84382         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84384         * math/libm-test.inc (jn_test): Add missing L suffix.
84386 2012-02-06  Marek Polacek  <polacek@redhat.com>
84388         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
84389         * sysdeps/i386/fpu/e_powf.S: Likewise.
84390         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84391         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84392         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84393         * sysdeps/i386/fpu/e_pow.S: Likewise.
84394         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
84395         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84396         * sysdeps/i386/fpu/s_expm1.S: Likewise.
84397         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
84398         * sysdeps/i386/fpu/e_log2.S: Likewise.
84399         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84400         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84401         * sysdeps/i386/fpu/e_powl.S: Likewise.
84402         * sysdeps/i386/fpu/s_log1p.S: Likewise.
84403         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84404         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
84405         * sysdeps/i386/fpu/e_logl.S: Likewise.
84406         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
84407         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
84408         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
84409         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
84410         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84411         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84412         * sysdeps/i386/fpu/e_log.S: Likewise.
84413         * sysdeps/i386/fpu/s_cexp.S: Likewise.
84414         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84415         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
84416         * sysdeps/i386/fpu/e_logf.S: Likewise.
84417         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84418         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84419         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
84420         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
84421         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84422         * sysdeps/i386/fpu/e_log10.S: Likewise.
84423         * sysdeps/i386/fpu/s_frexp.S: Likewise.
84424         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84425         * sysdeps/i386/fpu/s_asinh.S: Likewise.
84426         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
84427         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84428         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
84429         * sysdeps/i386/asm-syntax.h: Likewise.
84430         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84431         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84432         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84433         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
84434         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
84435         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84436         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
84437         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
84438         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84439         * sysdeps/powerpc/sysdep.h: Likewise.
84440         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
84441         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
84443 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
84445         [BZ #411]
84446         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
84448 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
84450         * sysdeps/i386/sysdep.h: Include <features.h>.
84451         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
84452         version.
84454 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
84456         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
84457         Define.
84458         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
84459         LOAD_PIC_REG_STR.
84461 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84463         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
84464         (SETUP_PIC_REG): Use GET_PC_THUNK.
84465         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
84466         macro.
84468 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84470         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
84471         for non-PIC compilation.
84472         (SETUP_PIC_REG): Add .p2align directive.
84473         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
84474         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
84475         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
84476         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
84477         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
84478         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
84479         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
84480         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
84481         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
84482         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
84483         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
84484         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
84485         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
84486         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
84487         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
84488         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
84489         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
84490         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
84491         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
84492         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
84493         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
84494         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
84495         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
84496         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
84497         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
84498         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
84499         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84500         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
84501         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
84502         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
84503         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
84504         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84505         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
84506         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
84507         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
84508         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
84509         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
84510         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
84511         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
84512         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
84513         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
84515 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84517         * math/tst-CMPLX.c: Include <stdio.h>.
84519 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
84521         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
84522         float.
84523         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84524         * sysdeps/sparc/bits/mathdef.h: Likewise.
84526 2012-01-31  Marek Polacek  <polacek@redhat.com>
84528         * libio/libio.h: Don't define _PARAMS.
84529         * locale/programs/config.h: Don't define PARAMS.
84530         * stdlib/strtol_l.c: Likewise.
84531         (__strtol_l): Remove PARAMS from the prototype.
84533 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
84535         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
84536         names.  Just use the correct names.  Remove unnecessary wrapper
84537         functions.
84538         * malloc/arena.c: Likewise.
84539         * malloc/hooks.c: Likewise.
84541         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
84542         ARENA_TEST says not to.  Simplify test for creation of a new arena.
84543         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
84545 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
84547         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
84548         into tail calls.
84549         (update_get_addr): New function.
84550         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
84551         GET_ADDR_MODULE parameter.
84553 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84555         * crypt/cert.c: Remove __STDC__ conditionals.
84556         * crypt/crypt-entry.c: Likewise.
84557         * crypt/crypt_util.c: Likewise.
84558         * libio/filedoalloc.c: Likewise.
84559         * libio/fileops.c: Likewise.
84560         * libio/genops.c: Likewise.
84561         * libio/iofclose.c: Likewise.
84562         * libio/iofdopen.c: Likewise.
84563         * libio/iofopen.c: Likewise.
84564         * libio/iofopen64.c: Likewise.
84565         * libio/iogetdelim.c: Likewise.
84566         * libio/iopopen.c: Likewise.
84567         * libio/obprintf.c: Likewise.
84568         * libio/oldfileops.c: Likewise.
84569         * libio/oldiofclose.c: Likewise.
84570         * libio/oldiofdopen.c: Likewise.
84571         * libio/oldiofopen.c: Likewise.
84572         * libio/oldiopopen.c: Likewise.
84573         * libio/wfiledoalloc.c: Likewise.
84574         * libio/wgenops.c: Likewise.
84575         * locale/programs/xmalloc.c: Likewise.
84576         * misc/syslog.c: Likewise.
84577         * stdio-common/xbug.c: Likewise.
84578         * string/memchr.c: Likewise.
84579         * string/memcmp.c: Likewise.
84580         * string/memrchr.c: Likewise.
84581         * string/rawmemchr.c: Likewise.
84582         * sysdeps/posix/getcwd.c: Likewise.
84583         * time/strftime_l.c: Likewise.
84585 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84587         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
84588         * config.make.in (config-cflags-sse2avx): Define.
84589         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
84590         Fix typo.
84592 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
84594         * scripts/config.guess: Update from upstream config git repository.
84595         * scripts/config.sub: Likewise.
84597 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
84599         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
84600         (EM_NUM): Update.
84601         (R_TILEPRO_*, R_TILEGX_*): New macros.
84603         * scripts/firstversions.awk: Fix bug in version range handling.
84605         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
84607         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
84609         * include/sys/epoll.h: New file.
84610         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
84611         libc_hidden_def.
84613 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
84615         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
84616         Avoid unnecessary __WORDSIZE == 64 test.
84617         (fmaxf): Use VEX format if possible.
84618         (fmax): Likewise.
84619         (fminf): Likewise.
84620         (fmin): Likewise.
84622         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
84623         * math/math_private.h: Remove libc_fegetround* and
84624         libc_fesetround*.
84625         * sysdeps/i386/configure.in: Check for -msse2avx.
84626         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
84627         also if SSE2AVX is defined.
84628         Remove libc_fegetround* and libc_fesetround*.
84629         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
84630         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
84631         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
84632         of HAS_YMM_USABLE.
84633         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84634         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84635         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84636         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84637         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84639         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
84641 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84643         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
84644         size is not set.
84645         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84647 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
84649         [BZ #13618]
84650         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
84651         relocation.
84652         * Makeconfig (libm): Define.
84653         * elf/Makefile: Add rules to build and run tst-relsort1.
84654         * elf/tst-relsort1.c: New file.
84655         * elf/tst-relsort1mod1.c: New file.
84656         * elf/tst-relsort1mod2.c: New file.
84658 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
84660         * math/s_ldexp.c: Remove __STDC__ conditionals.
84661         * math/s_ldexpf.c: Likewise.
84662         * math/s_ldexpl.c: Likewise.
84663         * math/s_nextafter.c: Likewise.
84664         * math/s_nexttowardf.c: Likewise.
84665         * math/s_significand.c: Likewise.
84666         * math/s_significandf.c: Likewise.
84667         * math/s_significandl.c: Likewise.
84668         * math/w_jnl.c: Likewise.
84669         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84670         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84671         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84672         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84673         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84674         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84675         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
84676         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84677         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84678         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84679         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84680         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84681         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84682         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84683         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84684         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84685         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84686         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84687         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84688         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84689         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84690         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84691         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84692         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84693         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84694         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84695         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84696         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84697         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84698         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84699         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84700         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84701         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84702         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84703         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84704         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84705         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84706         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84707         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84708         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84709         * sysdeps/ieee754/k_standard.c: Likewise.
84710         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84711         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84712         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84713         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84714         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84715         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84716         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84717         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84718         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84719         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84720         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84721         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84722         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84723         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84724         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84725         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84726         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84727         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84728         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84729         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84730         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84731         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84732         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84733         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84734         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84735         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84736         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84737         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84738         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84739         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84740         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84741         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
84742         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84743         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84744         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84745         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84746         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
84747         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84748         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84749         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
84750         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
84751         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84752         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
84753         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
84754         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84755         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
84756         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
84757         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84758         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84759         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
84760         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
84761         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84762         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84763         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84764         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84765         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84766         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
84767         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84768         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84769         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84770         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84771         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84772         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84773         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84774         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84775         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84776         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84777         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84778         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84779         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84780         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84781         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84782         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84783         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84784         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84785         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84786         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84787         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84788         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84789         * sysdeps/ieee754/s_matherr.c: Likewise.
84790         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84791         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84792         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84793         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84795 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84797         * crypt/md5.h: Remove __STDC__ conditionals.
84798         * libio/libioP.h: Likewise.
84799         * locale/programs/config.h: Likewise.
84800         * sysdeps/generic/sysdep.h: Likewise.
84801         * sysdeps/i386/asm-syntax.h: Likewise.
84802         * sysdeps/s390/asm-syntax.h: Likewise.
84803         * sysdeps/unix/sysdep.h: Likewise.
84804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
84805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
84807 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84809         * libio/libio.h: Remove __STDC__ conditionals.
84810         * malloc/obstack.h: Likewise.
84811         * math/complex.h: Likewise.
84812         * math/math.h: Likewise.
84813         * sysdeps/generic/_G_config.h: Likewise.
84814         * sysdeps/gnu/_G_config.h: Likewise.
84815         * sysdeps/mach/hurd/_G_config.h: Likewise.
84816         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84817         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84818         * sysdeps/sparc/bits/mathdef.h: Likewise.
84820 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
84822         [BZ #13583]
84823         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
84824         Clean up HAS_* macros.
84825         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
84826         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
84827         possible.
84828         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
84829         HAS_AVX.
84830         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84831         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84832         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84833         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84834         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84836 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
84838         * elf/tst-unique3.cc (gets): Remove declaration.
84839         * elf/tst-unique3lib.cc (gets): Likewise.
84840         * elf/tst-unique3lib2.cc (gets): Likewise.
84841         * elf/tst-unique4.cc (gets): Likewise.
84843 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
84845         * include/stdio.h: Add C++ protection.  Add gets declarations and
84846         definitions.
84847         * debug/tst-chk1.c: Don't declare gets here.
84848         * stdio-common/tst-gets.c: Likewise.
84850 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84852         * posix/glob: Remove directory.
84854 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84856         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
84858 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
84860         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
84861         of the non-standard EPFNOSUPPORT.
84863 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84865         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
84866         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
84867         ANYWHERE set to 1 only on KERN_NO_SPACE error.
84869 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
84871         * wcsmbs/uchar.h: Test __STDC_VERSION__.
84873 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
84875         * nscd/aicache.c (addhstaiX): Do not cache negative results of
84876         transient errors.
84877         * nscd/grpcache.c (cache_addgr): Likewise.
84878         * nscd/hstcache.c (cache_addhst): Likewise.
84879         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84880         * nscd/pwdcache.c (cache_addpw): Likewise.
84881         * nscd/servicescache.c (cache_addserv): Likewise.
84883 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
84885         * malloc/malloc.c: Various cleanups.
84886         * malloc/hooks.c: Likewise.
84888         * stdlib/Makefile (tests): Add bug-fmtmsg1.
84889         * stdlib/bug-fmtmsg1.c: New file.
84891         * stdlib/fmtmsg.c (init): Add missing unlock.
84892         Patch by Peng Haitao <penght@cn.fujitsu.com>.
84894 2012-01-12  Marek Polacek  <polacek@redhat.com>
84896         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
84897         and _GNU_SOURCE.
84899 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84901         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
84902         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
84903         macro to ensure uniqueness of label name.
84904         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84905         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84907 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
84909         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
84911         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
84912         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84913         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84914         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
84916 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
84918         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
84920         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
84921         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84922         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84924         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
84926         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
84927         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84928         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84929         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
84931         * math/bits/math-finite.h: Add ldexp support.
84933 2012-01-10  Marek Polacek  <polacek@redhat.com>
84935         * locale/programs/localedef.h (show_archive_content): Add noreturn
84936         attribute.
84938 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
84940         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
84942 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84944         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
84946         * io/Makefile (headers): Add bits/poll2.h.
84948 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
84950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
84951         typo #include statement.
84953 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84955         * include/sys/cdefs.h: Define __attribute_alloc_size.
84956         * catgets/gencat.c: Add alloc_size attribute and apply consistently
84957         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
84958         * elf/pldd.c: Likewise.
84959         * iconv/iconv_charmap.c: Likewise.
84960         * iconv/iconvconfig.c: Likewise.
84961         * iconv/strtab.c: Likewise.
84962         * locale/programs/locale.c: Likewise.
84963         * locale/programs/localedef.h: Likewise.
84964         * locale/programs/simple-hash.c: Likewise.
84965         * nscd/nscd.h: Likewise.
84966         * nss/makedb.c: Likewise.
84967         * sysdeps/generic/ldconfig.h: Likewise.
84968         * locale/programs/localedef.c: Remove xmalloc prototype.
84969         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
84971 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
84973         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
84974         appropriate.
84976 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84978         * math/Makefile (tests): Add tst-CMPLX.
84979         * math/tst-CMPLX.c: New file.
84981         * math/complex.h (CMPLXL): Fix typo.
84983         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
84984         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
84985         GLIBC_2.16.
84986         * debug/tst-chk1.c: Add poll and ppoll tests.
84987         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
84988         * include/sys/poll.h: Add hidden proto for ppoll.
84989         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
84990         * sysdeps/mach/hurd/ppoll.c: Likewise.
84991         * io/ppoll.c: Likewise.
84992         * debug/poll_chk.c: New file.
84993         * debug/ppoll_chk.c: New file.
84994         * include/bits/poll2.h: New file.
84995         * io/bits/poll2.h: New file.
84997         [BZ #1350]
84998         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
85000         * configure.in: static is always set to yes.  Remove.
85001         * config.make.in: Don't set build-static.
85002         * Makeconfig: Remove use of build-static.
85003         * dlfcn/Makefile: Likewise.
85004         * elf/Makefile: Likewise.
85005         * math/Makefile: Likewise.
85006         * misc/Makefile: Likewise.
85007         * nptl/Makefile: Likewise.
85008         * sysdeps/mach/hurd/Makefile: Likewise.
85010         * configure.in: PWD_P is not used anymore.
85011         * config.make.in: Remove PWD_P entry.
85013         * configure.in: Remove last remnants of RANLIB.
85014         No need to check for signed size_t anymore.
85015         Don't set libc_commonpagesize and libc_relro_required here for Alpha
85016         and IA-64.
85017         Remove __builtin_expect test because we require at least gcc 3.4.
85018         * aclocal.m4: Likewise.
85020         * wcsmbs/mbrtoc16.c: Implement using towc function.
85021         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85022         * wcsmbs/wcsmbsload.c: Likewise.
85023         * iconv/gconv_simple.c: Likewise.
85024         * iconv/gconv_int.h: Likewise.
85025         * iconv/gconv_builtin.h: Likewise.
85026         * iconv/iconv_prog.c: Remove CHAR16 handling.
85028         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85030         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85032         * configure.in: Remove --with-elf and --enable-bounded options.
85033         Dont set base_machine for ia64.  More non-ELF conditions removed.
85034         Remove testing and setting of leading underscore information.
85035         * config.make.in (build-bounded): Set to no.
85036         * config.h.in: Remove NO_UNDERSCORES entry.
85037         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
85038         them.
85039         * csu/start.c: Remove !NO_UNDERSCORE code.
85040         * locale/localeinfo.h: Likewise.
85041         * sysdeps/generic/machine-gmon.h: Likewise.
85042         * sysdeps/generic/sysdep.h: Likewise.
85043         * sysdeps/i386/sysdep.h: Likewise.
85044         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85045         * sysdeps/mach/sysdep.h: Likewise.
85046         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85047         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85048         * sysdeps/sh/sysdep.h: Likewise.
85049         * sysdeps/sparc/sparc32/alloca.S: Likewise.
85050         * sysdeps/unix/i386/sysdep.S: Likewise.
85051         * sysdeps/unix/sparc/start.c: Likewise.
85052         * sysdeps/unix/sparc/sysdep.S: Likewise.
85053         * sysdeps/unix/sparc/sysdep.h: Likewise.
85054         * sysdeps/unix/start.c: Likewise.
85055         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85056         * sysdeps/x86_64/sysdep.h: Likewise.
85058 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
85060         [BZ #13553]
85061         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
85062         for non-gcc.
85063         * argp/argp-fmtstream.h: Use const instead __const.
85064         * argp/argp.h: Likewise.
85065         * assert/assert.h: Likewise.
85066         * bits/fenv.h: Likewise.
85067         * bits/sched.h: Likewise.
85068         * bits/sigset.h: Likewise.
85069         * bits/sigthread.h: Likewise.
85070         * catgets/nl_types.h: Likewise.
85071         * conform/data/pthread.h-data: Likewise.
85072         * crypt/crypt-private.h: Likewise.
85073         * crypt/crypt.h: Likewise.
85074         * crypt/crypt_util.c: Likewise.
85075         * ctype/ctype.h: Likewise.
85076         * debug/execinfo.h: Likewise.
85077         * debug/mbsnrtowcs_chk.c: Likewise.
85078         * debug/mbsrtowcs_chk.c: Likewise.
85079         * debug/wcsnrtombs_chk.c: Likewise.
85080         * debug/wcsrtombs_chk.c: Likewise.
85081         * debug/wcstombs_chk.c: Likewise.
85082         * dirent/dirent.h: Likewise.
85083         * dlfcn/dlfcn.h: Likewise.
85084         * elf/neededtest4.c: Likewise.
85085         * grp/grp.h: Likewise.
85086         * gshadow/gshadow.h: Likewise.
85087         * iconv/gconv.h: Likewise.
85088         * iconv/gconv_int.h: Likewise.
85089         * iconv/gconv_simple.c: Likewise.
85090         * iconv/iconv.h: Likewise.
85091         * iconv/loop.c: Likewise.
85092         * iconv/skeleton.c: Likewise.
85093         * include/aio.h: Likewise.
85094         * include/aliases.h: Likewise.
85095         * include/argz.h: Likewise.
85096         * include/arpa/inet.h: Likewise.
85097         * include/assert.h: Likewise.
85098         * include/dirent.h: Likewise.
85099         * include/dlfcn.h: Likewise.
85100         * include/execinfo.h: Likewise.
85101         * include/fcntl.h: Likewise.
85102         * include/fenv.h: Likewise.
85103         * include/glob.h: Likewise.
85104         * include/grp.h: Likewise.
85105         * include/libintl.h: Likewise.
85106         * include/mntent.h: Likewise.
85107         * include/netdb.h: Likewise.
85108         * include/pwd.h: Likewise.
85109         * include/rpc/netdb.h: Likewise.
85110         * include/sched.h: Likewise.
85111         * include/search.h: Likewise.
85112         * include/shadow.h: Likewise.
85113         * include/signal.h: Likewise.
85114         * include/stdio.h: Likewise.
85115         * include/stdlib.h: Likewise.
85116         * include/string.h: Likewise.
85117         * include/sys/socket.h: Likewise.
85118         * include/sys/stat.h: Likewise.
85119         * include/sys/statfs.h: Likewise.
85120         * include/sys/statvfs.h: Likewise.
85121         * include/sys/syslog.h: Likewise.
85122         * include/sys/time.h: Likewise.
85123         * include/sys/uio.h: Likewise.
85124         * include/time.h: Likewise.
85125         * include/unistd.h: Likewise.
85126         * include/utmp.h: Likewise.
85127         * include/wchar.h: Likewise.
85128         * include/wctype.h: Likewise.
85129         * inet/aliases.h: Likewise.
85130         * inet/arpa/inet.h: Likewise.
85131         * inet/netinet/ether.h: Likewise.
85132         * inet/netinet/in.h: Likewise.
85133         * intl/libintl.h: Likewise.
85134         * io/bits/fcntl2.h: Likewise.
85135         * io/fcntl.h: Likewise.
85136         * io/ftw.h: Likewise.
85137         * io/sys/poll.h: Likewise.
85138         * io/sys/stat.h: Likewise.
85139         * io/sys/statfs.h: Likewise.
85140         * io/sys/statvfs.h: Likewise.
85141         * io/utime.h: Likewise.
85142         * libio/bits/stdio.h: Likewise.
85143         * libio/bits/stdio2.h: Likewise.
85144         * libio/libio.h: Likewise.
85145         * libio/libioP.h: Likewise.
85146         * libio/stdio.h: Likewise.
85147         * locale/lc-ctype.c: Likewise.
85148         * locale/locale.h: Likewise.
85149         * login/utmp.h: Likewise.
85150         * malloc/arena.c: Likewise.
85151         * malloc/malloc.c: Likewise.
85152         * malloc/malloc.h: Likewise.
85153         * malloc/mcheck.c: Likewise.
85154         * malloc/mtrace.c: Likewise.
85155         * math/bits/mathcalls.h: Likewise.
85156         * math/fenv.h: Likewise.
85157         * math/math_private.h: Likewise.
85158         * misc/bits/error.h: Likewise.
85159         * misc/bits/syslog.h: Likewise.
85160         * misc/err.h: Likewise.
85161         * misc/error.h: Likewise.
85162         * misc/fstab.h: Likewise.
85163         * misc/mntent.h: Likewise.
85164         * misc/regexp.h: Likewise.
85165         * misc/search.h: Likewise.
85166         * misc/sgtty.h: Likewise.
85167         * misc/sys/mman.h: Likewise.
85168         * misc/sys/syslog.h: Likewise.
85169         * misc/sys/uio.h: Likewise.
85170         * misc/sys/xattr.h: Likewise.
85171         * misc/ttyent.h: Likewise.
85172         * nis/rpcsvc/ypclnt.h: Likewise.
85173         * nss/nss.h: Likewise.
85174         * posix/bits/unistd.h: Likewise.
85175         * posix/fnmatch.h: Likewise.
85176         * posix/glob.h: Likewise.
85177         * posix/sched.h: Likewise.
85178         * posix/spawn.h: Likewise.
85179         * posix/sys/wait.h: Likewise.
85180         * posix/unistd.h: Likewise.
85181         * posix/wordexp.h: Likewise.
85182         * pwd/pwd.h: Likewise.
85183         * resolv/netdb.h: Likewise.
85184         * resource/sys/resource.h: Likewise.
85185         * rt/aio.h: Likewise.
85186         * rt/bits/mqueue2.h: Likewise.
85187         * rt/mqueue.h: Likewise.
85188         * shadow/shadow.h: Likewise.
85189         * signal/signal.h: Likewise.
85190         * socket/send.c: Likewise.
85191         * socket/sendto.c: Likewise.
85192         * socket/sys/socket.h: Likewise.
85193         * stdio-common/printf.h: Likewise.
85194         * stdlib/bits/stdlib.h: Likewise.
85195         * stdlib/fmtmsg.h: Likewise.
85196         * stdlib/monetary.h: Likewise.
85197         * stdlib/stdlib.h: Likewise.
85198         * stdlib/ucontext.h: Likewise.
85199         * streams/stropts.h: Likewise.
85200         * string/argz.h: Likewise.
85201         * string/bits/string2.h: Likewise.
85202         * string/string.h: Likewise.
85203         * string/strings.h: Likewise.
85204         * sunrpc/rpc/auth.h: Likewise.
85205         * sunrpc/rpc/auth_des.h: Likewise.
85206         * sunrpc/rpc/clnt.h: Likewise.
85207         * sunrpc/rpc/netdb.h: Likewise.
85208         * sunrpc/rpc/pmap_clnt.h: Likewise.
85209         * sunrpc/rpc/xdr.h: Likewise.
85210         * sysdeps/generic/inttypes.h: Likewise.
85211         * sysdeps/generic/net/if.h: Likewise.
85212         * sysdeps/generic/sys/swap.h: Likewise.
85213         * sysdeps/gnu/net/if.h: Likewise.
85214         * sysdeps/gnu/utmpx.h: Likewise.
85215         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
85216         * sysdeps/i386/i486/bits/string.h: Likewise.
85217         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
85218         * sysdeps/s390/bits/string.h: Likewise.
85219         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
85220         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
85221         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
85222         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
85223         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
85224         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
85225         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
85226         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
85227         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
85228         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
85229         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
85230         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
85231         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
85232         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
85233         * sysdeps/unix/sysv/linux/readv.c: Likewise.
85234         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
85235         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
85236         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85237         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
85238         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
85239         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85240         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
85241         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
85242         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
85243         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
85244         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
85245         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
85246         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85247         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
85248         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
85249         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
85250         * sysvipc/sys/ipc.h: Likewise.
85251         * sysvipc/sys/msg.h: Likewise.
85252         * sysvipc/sys/sem.h: Likewise.
85253         * sysvipc/sys/shm.h: Likewise.
85254         * termios/termios.h: Likewise.
85255         * time/sys/time.h: Likewise.
85256         * time/time.h: Likewise.
85257         * wcsmbs/bits/wchar2.h: Likewise.
85258         * wcsmbs/uchar.h: Likewise.
85259         * wcsmbs/wchar.h: Likewise.
85260         * wctype/wctype.h: Likewise.
85262         [BZ #13551]
85263         * Makeconfig: Remove all but ELF support including AIX support.
85264         * Makerules: Likewise.
85265         * config.h.in: Likewise.
85266         * config.make.in: Likewise.
85267         * configure: Likewise.
85268         * configure.in: Likewise.
85269         * csu/Makefile: Likewise.
85270         * csu/version.c: Likewise.
85271         * debug/Makefile: Likewise.
85272         * dlfcn/Makefile: Likewise.
85273         * elf/Makefile: Likewise.
85274         * extra-lib.mk: Likewise.
85275         * iconv/Makefile: Likewise.
85276         * include/libc-symbols.h: Likewise.
85277         * include/shlib-compat.h: Likewise.
85278         * resolv/Makefile: Likewise.
85279         * resolv/res_libc.c: Likewise.
85280         * rt/Makefile: Likewise.
85281         * sysdeps/i386/asm-syntax.h: Likewise.
85282         * sysdeps/i386/sysdep.h: Likewise.
85283         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85284         * sysdeps/mach/sysdep.h: Likewise.
85285         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
85286         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
85287         * sysdeps/s390/asm-syntax.h: Likewise.
85288         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85289         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85290         * sysdeps/sh/sysdep.h: Likewise.
85291         * sysdeps/unix/sparc/sysdep.h: Likewise.
85292         * sysdeps/wordsize-32/divdi3.c: Likewise.
85293         * sysdeps/x86_64/sysdep.h: Likewise.
85295         * argp/Versions: Remove _argp_unlock_xxx.
85297         [BZ #13559]
85298         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
85299         * abilist/libBrokenLocale.abilist: Likewise.
85300         * abilist/libanl.abilist: Likewise.
85301         * abilist/libc.abilist: Likewise.
85302         * abilist/libcrypt.abilist: Likewise.
85303         * abilist/libdl.abilist: Likewise.
85304         * abilist/libm.abilist: Likewise.
85305         * abilist/libnsl.abilist: Likewise.
85306         * abilist/libpthread.abilist: Likewise.
85307         * abilist/libresolv.abilist: Likewise.
85308         * abilist/librt.abilist: Likewise.
85309         * abilist/libthread_db.abilist: Likewise.
85310         * abilist/libutil.abilist: Likewise.
85311         * abilist/libnss_db.abilist: New file.
85313         * scripts/abilist.awk: Add support for indirect functions.
85315         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
85317         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
85319         * shlib-versions: Remove entries for ports architectures.
85321         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
85322         files in ports.
85323         * elf/stackguard-macros.h: Remove support for IA-64.
85324         * elf/tst-auditmod1.c: Likewise.
85325         * sysdeps/generic/ldsodefs.h: Likewise.
85327         * sysdeps/unix/sysv/linux/configure.in: Ports should define
85328         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
85329         configure files.
85331         [BZ #13552]
85332         * configure.in: Remove --enable-omitfp support.
85333         * FAQ.in: Adjust.
85334         * config.make.in: Likewise.
85335         * Makeconfig: Likewise.
85336         * manual/install.texi: Likewise.
85338         In case anyone cares, the IA-64 architecture could move to ports.
85339         * sysdeps/ia64/*: Removed.
85340         * sysdeps/unix/sysv/linux/ia64/*: Removed.
85341         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
85343         [BZ #13555]
85344         * configure.in: Remove entries for unsupported architectures.
85346         [BZ #13533]
85347         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
85348         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
85349         routines.
85350         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
85351         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
85352         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
85353         fall back to using wcrtomb.
85354         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
85355         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
85356         renaming.
85357         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
85358         * wcsmbs/tst-c16c32-1.c: New file.
85360         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
85361         local variable.
85363         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
85365         * elf/tst-unique3.cc: Add explicit declaration of gets.
85366         * elf/tst-unique3lib.cc: Likewise.
85367         * elf/tst-unique3lib2.cc: Likewise.
85368         * elf/tst-unique4.cc: Likewise.
85370         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
85372 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
85374         [BZ #13566]
85375         * assert/assert.h (static_assert): Don't define for C++.
85376         * libio/stdio.h (gets): Do declare for C++ <= C++11.
85377         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
85379 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
85381         * iconv/loop.c (single loop): Fix assertion in storing of
85382         remaining bytes.
85384         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
85386 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
85388         * posix/getconf.c: Update copyright year.
85389         * nss/getent.c: Likewise.
85390         * nss/makedb.c: Likewise.
85391         * iconv/iconvconfig.c: Likewise.
85392         * iconv/iconv_prog.c: Likewise.
85393         * elf/ldconfig.c: Likewise.
85394         * elf/pldd.c: Likewise.
85395         * elf/sotruss.ksh: Likewise.
85396         * catgets/gencat.c: Likewise.
85397         * csu/version.c: Likewise.
85398         * elf/ldd.bash.in: Likewise.
85399         * elf/sprof.c (print_version): Likewise.
85400         * locale/programs/locale.c: Likewise.
85401         * locale/programs/localedef.c: Likewise.
85402         * login/programs/pt_chown.c: Likewise.
85403         * nscd/nscd.c (print_version): Likewise.
85404         * debug/xtrace.sh: Likewise.
85405         * malloc/memusage.sh: Likewise.
85406         * malloc/mtrace.pl: Likewise.
85407         * debug/catchsegv.sh: Likewise.
85409 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
85411         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
85412         pure attribute.
85414 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
85416         [BZ #13533]
85417         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
85418         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
85419         transformations.
85420         * iconv/gconv_int.h: Likewise.
85421         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
85422         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
85423         from libc for GLIBC_2.16.
85424         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
85425         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
85426         * wcsmbs/uchar.h: Really define mbstate_t.
85427         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
85428         * wcsmbs/c16rtomb.c: New file.
85429         * wcsmbs/mbrtoc16.c: New file.
85430         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
85431         for C/POSIX locale.
85432         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
85433         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
85435         * wcsmbs/wchar.h: Add missing __restrict.
85437 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85439         [BZ #13532]
85440         * time/Makefile (routines): Add timespec_get.
85441         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
85442         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
85443         timespec for ISO C11.
85444         * time/timespec_get.c: New file.
85445         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
85446         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
85448         [BZ #13531]
85449         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
85450         * stdlib/stdlib.h: Declare aligned_alloc.
85451         * Versions.def: Add GLIBC_2.16 for libc.
85452         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
85454         [BZ 13527]
85455         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
85456         ISO C11.
85458         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
85459         code.
85461         [BZ #13528]
85462         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
85464         [BZ #13529]
85465         * assert/assert.h (static_assert): Define.
85467         * version.h: Update for 2.16 development version.
85469         [BZ #13526]
85470         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
85471         _ISOC11_SOURCE.
85473         * version.h (RELEASE): Bump for 2.15 release.
85474         * include/features.h (__GLIBC_MINOR__): Bump to 15.
85476         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
85477         Patch by Marek Polacek <mpolacek@redhat.com>.
85479         * bits/byteswap.h: Protect long long constants with __extension__.
85480         * sysdeps/i386/bits/byteswap.h: Likewise.
85481         * sysdeps/ia64/bits/byteswap.h: Likewise.
85482         * sysdeps/s390/bits/byteswap.h: Likewise.
85483         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85485 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85487         [BZ #13540]
85488         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
85489         destination buffer.
85490         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
85492 2011-12-23  Marek Polacek  <polacek@redhat.com>
85494         * elf/dl-addr.c (determine_info): Add inline keyword.
85495         * elf/tst-auditmod4b.c (check_avx): Likewise.
85496         * elf/tst-auditmod6b.c (check_avx): Likewise.
85497         * elf/tst-auditmod6c.c (check_avx): Likewise.
85498         * elf/tst-auditmod7b.c (check_avx): Likewise.
85500 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85502         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
85503         !__SSE_MATH__.
85505 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85507         [BZ #13540]
85508         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
85509         processing for last bytes.
85511 2011-08-06  Bruno Haible  <bruno@clisp.org>
85513         [BZ #13061]
85514         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
85515         U+0385, not to U+1FEE.
85517         [BZ #13062]
85518         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
85519         entry for U+00A5 U+0301.
85521 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85523         [BZ #13166]
85524         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
85525         buffer for the output is too small.
85527         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
85528         optimization.
85530         [BZ #13185]
85531         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
85532         SSE flags if possible.
85534 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85536         [BZ #13540]
85537         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
85538         processing for last bytes.
85540 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
85542         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
85543         (syscall-list-default-options, syscall-list-default-condition)
85544         (syscall-list-includes): Define.
85545         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
85546         list of ABIs and options and #if conditions for each ABI.  Do not
85547         handle common syscalls between ABIs specially.
85548         * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
85554         (syscall-list-variants, syscall-list-32bit-options)
85555         (syscall-list-32bit-condition, syscall-list-64bit-options)
85556         (syscall-list-64bit-condition): Define.
85557         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
85558         Remove.
85559         (syscall-list-variants, syscall-list-32bit-options)
85560         (syscall-list-32bit-condition, syscall-list-64bit-options)
85561         (syscall-list-64bit-condition): Define.
85562         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
85563         Remove.
85564         (syscall-list-variants, syscall-list-32bit-options)
85565         (syscall-list-32bit-condition, syscall-list-64bit-options)
85566         (syscall-list-64bit-condition): Define.
85568 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85570         * locale/iso-639.def: Add brx entry.
85572         [BZ #13328]
85573         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
85574         Proposed by Mariusz_Cukr <marcukr@op.pl>.
85576         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
85577         __feraiseexcept_renamed.
85579 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85581         [BZ #13538]
85582         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
85583         EPOLLET with unsigned values.
85584         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85585         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85587         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
85588         to large cancellation.
85589         * math/s_cacoshf.c: Likewise.
85590         * math/s_cacoshl.c: Likewise.
85592 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
85594         [BZ #13305]
85595         [BZ #12786]
85596         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
85597         * math/s_cacoshf.c: Likewise.
85598         * math/s_cacoshl.c: Likewise.
85600 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85602         [BZ #13439]
85603         * iconv/gconv.h: Define __GCONV_SWAP.
85604         * iconvdata/unicode.c: The swap bit must be stored in __flags.
85605         * iconvdata/utf-16.c: Likewise.
85606         * iconvdata/utf-32.c: Likewise.
85608 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
85610         [BZ #13524]
85611         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
85612         numerator after shifting it by one limb.
85614 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
85616         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
85617         under [__USE_EXTERN_INLINES].
85619 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85621         [BZ #13446]
85622         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
85624 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85626         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
85627         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
85628         optimized code.
85629         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
85630         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
85631         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
85632         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
85633         for strncasecmp/strncasecmp_l compilation.
85634         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
85635         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
85637 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
85639         [BZ #13484]
85640         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
85641         of __asm__.
85643 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85645         [BZ #13506]
85646         * time/tzfile.c (__tzfile_read): Check values from file header.
85648 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
85650         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
85651         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
85652         * powerpc/powerpc32/dl-start.S: Likewise.
85653         * powerpc/powerpc32/elf/start.S: Likewise.
85654         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
85655         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
85656         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
85657         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
85658         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
85659         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
85660         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
85661         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
85662         * powerpc/powerpc32/fpu/s_round.S: Likewise.
85663         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
85664         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
85665         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
85666         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
85667         * powerpc/powerpc32/memset.S: Likewise.
85668         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
85669         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
85670         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
85671         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
85672         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
85673         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
85674         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
85675         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
85676         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
85677         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
85678         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
85679         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85680         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85682 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85684         * math/libm-test.inc: Added more nearbyint tests.
85685         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
85686         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
85687         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
85688         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
85690 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
85692         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
85693         FD_CLOEXEC.
85695 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85697         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
85698         Add wcscpy-ssse3 wcscpy-c.
85699         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
85700         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
85701         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
85702         * sysdeps/x86_64/wcschr.S: New file.
85703         * sysdeps/x86_64/wcsrchr.S: New file.
85704         * string/test-strcmp.c: Remove checking of wcscmp function for
85705         wrong alignments.
85706         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
85707         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
85708         wcsrchr-sse2 wcsrchr-c.
85709         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
85710         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
85711         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
85712         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
85713         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
85714         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
85715         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
85716         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
85717         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
85718         * wcsmbc/wcschr.c (WCSCHR): New macro.
85720 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85722         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
85723         * wcsmbs/test-wcsrchr.c: New file.
85724         * string/test-strrchr.c: Add wcsrchr support.
85725         (WIDE): New macro.
85726         * wcsmbs/test-wcscpy.c: New file.
85727         * string/test-strcpy.c: Add wcscpy support.
85728         (WIDE): New macro.
85730 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
85732         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
85733         the inner loop.
85735 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
85737         [BZ #13472]
85738         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
85740 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
85742         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
85743         Minor optimizations.
85745         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
85746         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
85747         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
85749 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
85751         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
85752         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
85753         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
85754         for gcc to avoid warnings.
85755         * inet/Makefile (tests): Add tst-checks.
85756         * inet/tst-checks.c: New file.
85758         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
85759         warning.
85761         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
85762         __wmemcmp_sse2.
85764         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
85765         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
85767         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
85769 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
85771         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
85772         problem.
85774         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
85776 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
85778         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
85779         conditional on GCC version.
85780         (__arch_compare_and_exchange_val_8_acq)
85781         (__arch_compare_and_exchange_val_16_acq)
85782         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
85783         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
85784         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
85786 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
85788         * sysdeps/sh/backtrace.c: New file.
85790 2011-12-02  Andreas Schwab  <schwab@redhat.com>
85792         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
85793         parenthesis.
85795 2011-12-01  Andreas Schwab  <schwab@redhat.com>
85797         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
85798         falling back to utime.
85800 2011-11-30  Andreas Schwab  <schwab@redhat.com>
85802         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
85803         expectations for float.
85805 2011-11-29  Andreas Schwab  <schwab@redhat.com>
85807         * locale/weight.h (findidx): Add parameter len.
85808         * locale/weightwc.h (findidx): Likewise.
85809         * posix/fnmatch_loop.c (FCT): Adjust caller.
85810         * posix/regcomp.c (build_equiv_class): Likewise.
85811         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
85812         * posix/regexec.c (check_node_accept_bytes): Likewise.
85813         * string/strcoll_l.c (STRCOLL): Likewise.
85814         * string/strxfrm_l.c (STRXFRM): Likewise.
85816 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
85818         * Makefile.in: Remove CVSOPT handling.
85819         * configure.in: Remove use of AC_REVISION.
85820         * iconvdata/Makefile (distribute): No need to filter out CVS.
85821         * scripts/list-sources.sh: Remove CVS, subversion and monotone
85822         handling.
85824 2011-11-16  Andreas Schwab  <schwab@redhat.com>
85826         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
85827         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
85828         [USE_AS_STRNCASECMP_L]: Likewise.
85829         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
85830         NO_TLS_DIRECT_SEG_REFS.
85831         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
85832         Fix argument offsets for non-PIC.
85833         [USE_AS_STRNCASECMP_L]: Likewise.
85834         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
85835         NO_TLS_DIRECT_SEG_REFS.
85837 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85839         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
85840         O_CLOEXEC.
85841         * locale/loadlocale.c (_nl_load_locale): Likewise.
85843 2011-11-15  Andreas Schwab  <schwab@redhat.com>
85845         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
85846         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
85847         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
85848         (SYSCALL_GETTIME): Set errno on error.
85850         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
85851         count references to noai6ai_cached.
85853 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85855         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
85857         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
85858         FD_CLOEXEC for /proc/self/maps.
85860         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
85861         FD_CLOEXEC for /proc/meminfo.
85863         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
85864         gai.conf.
85866         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
85867         FD_CLOEXEC for given file.
85869         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
85871         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
85872         FD_CLOEXEC for /etc/hosts.
85873         (_gethtent): Likewise.
85875         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
85877         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
85878         cancellation and set FD_CLOEXEC for /etc/netgroup.
85880         * nss/nss_files/files-key.c (search): Don't allow cancellation when
85881         reading /etc/publickey.
85883         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
85884         allow cancellation when reading /etc/group.
85886         * nss/nss_files/files-alias.c (internal_setent): Don't allow
85887         cancellation.
85888         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
85890         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
85891         when using data file.
85893         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
85895         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
85896         (write_nis_obj): Use "c" and "e" in fopen.
85898         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
85900         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
85902         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
85904         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
85906         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
85907         locale.alias.
85909         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
85911         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
85913         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
85915         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
85916         file parsing and set FD_CLOEXEC.
85918 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85920         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
85922 2011-11-14  Andreas Schwab  <schwab@redhat.com>
85924         * malloc/arena.c (arena_get2): Don't call reused_arena when
85925         _int_new_arena failed.
85927 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85929         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
85930         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
85931         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
85932         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85933         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85934         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
85935         to compile strcasecmp and strncasecmp.
85936         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
85937         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
85939         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
85941 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
85943         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
85944         locale-defines.sym to gen-as-const-headers.
85945         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
85946         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
85947         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
85948         to compile strcasecmp and strncasecmp.
85949         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
85950         strcasecmp_l and strncasecmp_l.
85951         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
85952         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
85953         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
85954         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
85955         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
85956         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
85957         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
85958         * sysdeps/i386/i686/multiarch/strncase.S: New file.
85959         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
85960         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
85961         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
85963 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
85965         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
85966         result of SYSDEP_GETTIME_CPU to retval.
85967         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
85968         parameter list to macro.  Remove trailing semicolon.  Adjust users.
85970         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
85971         variable.
85973         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
85974         mantissa words.
85975         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
85977         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
85978         from unused variable.
85980         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
85981         DWARF definitions.
85982         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
85983         for assembling.
85985         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
85986         over namespaces.
85988         * sunrpc/rpc_prot.c (rejected): Fix case value.
85990         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
85991         unsigned long long int to avoid warnings in shift.
85993         * posix/regex_internal.c (re_string_reconstruct): Actually use result
85994         of use of trans.
85995         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
85996         variable tmp.
85998         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
85999         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
86000         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
86002         * nis/nis_table.c (nis_list): Use variable of correct type for
86003         result of __follow_path call.
86005 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86007         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
86008         of math functions ceil, trunc, floor, round, and sqrt, when
86009         avaliable on the platform.
86010         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86011         name clash.
86012         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86013         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86014         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86016 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
86018         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86019         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86021 2011-11-11  Roland McGrath  <roland@hack.frob.com>
86023         * include/unistd.h: Fix __readlink return type.
86024         Reported by Chris Metcalf <cmetcalf@tilera.com>.
86026 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
86028         * stdlib/ucontext.h: Undo last change for makecontext.
86030 2011-11-11  Andreas Schwab  <schwab@redhat.com>
86032         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86034         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86035         * setjmp/setjmp.h: Mark functions as non-leaf.
86036         * setjmp/bits/setjmp2.h: Likewise.
86037         * stdlib/ucontext.h: Likewise.
86039 2011-11-10  Andreas Schwab  <schwab@redhat.com>
86041         * malloc/arena.c (_int_new_arena): Don't increment narenas.
86042         (reused_arena): Don't check arena limit.
86043         (arena_get2): Atomically check arena limit.
86045 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
86047         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86048         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
86050         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
86051         instructions.
86053 2011-11-07  Andreas Schwab  <schwab@redhat.com>
86055         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
86056         handler when locking.
86058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86059         Fix size of allocated buffer.
86061 2011-11-04  Andreas Schwab  <schwab@redhat.com>
86063         [BZ #10103]
86064         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
86065         declarations for long double functions.
86066         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
86068         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
86070 2011-11-03  Andreas Schwab  <schwab@redhat.com>
86072         * nscd/nscd.c (main): Don't start AVC thread until credentials are
86073         installed.
86075         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
86076         is disabled.
86078 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86080         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
86082 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
86084         * include/alloca.h (stackinfo_alloca_round): Define.
86085         (extend_alloca): Use it.
86086         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
86087         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
86088         here.
86090         * scripts/check-local-headers.sh: Ignore libaudit.h.
86092         * nscd/Makefile (extra-objs): Make recursively expanded.
86094 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
86096         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
86097         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
86099         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
86100         * posix/tst-rfc3484-2.c: Likewise.
86101         * posix/tst-rfc3484-3.c: Likewise.
86103         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86104         process_vm_writev.
86105         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
86106         process_vm_writev.
86107         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
86108         process_vm_writev from libc using GLIBC_2.15 version.
86110         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
86112 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
86114         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
86115         stack usage.
86117 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
86119         [BZ #13367]
86120         * nss/getent.c (initgroups_keys): Show error message in case no group
86121         names are given.
86123         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
86124         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
86125         __bump_nl_timestamp.
86126         * nscd/connections (nscd_init): When host database is served open
86127         netlink socket and request notification about configuration changes.
86128         (main_loop_poll): Track netlink file descriptor and bump timestamp
86129         in case data becomes available.
86130         (main_loop_epoll): Likewise.
86131         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
86132         (database_pers_head): Add extra_data fileds.
86133         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
86134         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
86135         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
86136         Adjust caller.
86137         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
86138         in6ai data, call __free_in6ai.
86139         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
86140         Add -DHAVE_NETLINK.
86141         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
86142         interface information.  Reuse previous data if netlink timestamp
86143         is not changed.
86144         (__bump_nl_timestamp): New function.
86145         (__free_in6ai): New function.
86147 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
86149         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
86150         close_not_cancel_no_status here.
86151         (__check_pf): Reorganize code a bit to not call close twice if OOM.
86153 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86155         [BZ #13276]
86156         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
86157         return value.
86159         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
86160         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
86161         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
86163 2011-07-03  Andreas Jaeger  <aj@suse.de>
86165         [BZ #10709]
86166         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
86167         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
86168         * math/libm-test.inc (sin_test): Add test case.
86170 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86172         [BZ #13337]
86173         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
86174         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86176         * elf/chroot_canon.c (chroot_canon): Cleanups.
86178         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
86180         [BZ #13335]
86181         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
86182         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86184         * string/test-strchr.c: Make usable for strchrnul testing.
86185         * string/test-strchrnul.c: New file.
86186         * string/Makefile (strop-tests): Add strchrnul.
86188         * po/it.po: Update from translation team.
86189         * po/es.po: Likewise.
86191 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
86193         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
86194         the three constants needed as parameters.  Drop the others.
86195         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
86196         __m128i_strloadu_tolower.
86197         Create and initialize variable zero and use it in all the places
86198         where _mm_setzero_si128 was used.
86200         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
86201         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
86202         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
86203         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
86204         anymore.
86205         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
86206         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
86207         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
86208         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
86209         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
86210         __mpranred, __mptan.
86211         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
86212         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
86213         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
86214         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
86215         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
86216         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
86217         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
86218         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
86219         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
86221 2011-10-28  Andreas Schwab  <schwab@redhat.com>
86223         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
86224         redefine if SHARED.
86225         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
86227         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
86228         wide char related routines to wcsmbs subdir.
86230 2011-10-27  Andreas Schwab  <schwab@redhat.com>
86232         [BZ #13344]
86233         * misc/sys/cdefs.h (__THROWNL): Define.
86234         * posix/unistd.h: Use __THREADNL instead of __THREAD
86235         for memory synchronization functions.
86237 2011-10-26  Roland McGrath  <roland@hack.frob.com>
86239         [BZ #13349]
86240         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
86241         doesn't exist.
86242         * manual/stdio.texi (Obstack Streams): Node removed.
86244 2011-10-26  Andreas Schwab  <schwab@redhat.com>
86246         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
86247         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86248         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86250         * math/math_private.h (math_force_eval): Allow non-addressable
86251         arguments.
86252         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
86254 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86256         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
86257         file is not needed.
86259         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
86260         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
86261         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86262         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86263         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86264         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86265         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86266         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
86267         Add AVX variants.
86268         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
86269         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
86270         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
86271         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
86272         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
86273         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
86274         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
86275         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
86276         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
86277         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
86278         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
86279         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
86280         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
86281         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
86282         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
86283         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
86284         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
86285         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
86286         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
86288         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
86289         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
86291         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
86292         place.  Use VEX encoding when compiling for AVX.
86294 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86296         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
86297         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
86299         * string/test-strchr.c (do_test): Don't generate NUL bytes.
86301 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86303         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
86304         useless if() expression.
86305         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86306         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86307         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86308         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86309         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86310         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86311         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86312         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86313         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86314         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86315         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86316         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86317         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86318         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86319         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86320         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86321         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86322         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86323         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86325         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
86327 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86329         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
86330         condition.
86331         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86333 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86335         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
86336         .text section.  Avoid duplicate constants.
86337         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86338         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86339         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86340         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86341         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86342         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86343         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86344         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86345         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
86346         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
86347         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
86348         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
86349         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
86350         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
86351         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
86352         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
86353         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
86354         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
86355         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86356         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86357         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86358         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86359         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86360         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
86361         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
86362         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
86363         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
86364         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
86365         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
86366         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
86367         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
86368         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
86369         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
86370         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
86371         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
86372         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
86373         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
86374         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
86375         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
86376         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
86377         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
86378         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
86379         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
86380         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
86381         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
86383 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
86385         * sysdeps/x86_64/dla.h: Move to ...
86386         * sysdeps/x86_64/fpu/dla.h: ...here.
86387         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
86388         situations.  Use __builtin_fma only for gcc 4.6 and up.
86390         * config.make.in: Add have-mfma4 entry.
86391         * configure.in: Substitute libc_cv_cc_fma4.
86392         * math/Makefile (dbl-only-routines): Add sincostab.
86393         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
86394         Use __sincostab not sincos.
86395         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
86396         name is a macro.
86397         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86398         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86399         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86400         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
86401         using __copysign.
86402         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
86403         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
86404         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
86405         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
86406         and __inv.
86407         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
86408         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
86409         __copysign.
86410         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
86411         define aliases when function name is a macro.
86412         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
86413         sysdeps/ieee754/dbl-64/sincos.tbl.
86414         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
86415         fma4-enabled routines.
86416         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
86417         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
86418         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
86419         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
86420         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
86421         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
86422         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
86423         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
86424         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
86425         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
86426         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
86427         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
86428         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
86429         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
86430         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
86431         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
86432         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
86433         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
86434         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
86435         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
86436         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
86437         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
86438         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
86439         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
86440         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
86441         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
86442         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
86443         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
86444         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
86445         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
86447         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
86448         rename.
86449         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86450         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86451         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86452         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86453         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86454         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86455         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86456         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86458 2011-10-24  Andreas Schwab  <schwab@redhat.com>
86460         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
86462 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86464         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
86466         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
86467         prediction.
86468         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
86470         * string/strnlen.c: Don't define STRNLEN, reverse logic.
86471         Remove unused variable magic_bits.
86472         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
86474         * string/strnlen.c: Define and use STRNLEN macro.
86475         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
86476         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
86477         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
86478         * wcsmbs/wcslen.c: Define and use WCSLEN.
86479         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
86480         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
86481         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
86482         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
86483         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
86484         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
86485         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86487 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86490         strnlen-sse2-no-bsf.
86491         Rename strlen-no-bsf to strlen-sse2-no-bsf.
86492         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
86493         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
86494         Add strnlen support.
86495         (USE_AS_STRNLEN): New macro.
86496         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
86497         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
86498         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
86499         * sysdeps/x86_64/wcslen.S: New file.
86501 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
86503         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
86504         XMM-moves are used for copying on small sizes.
86506 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86508         * wcsmbs/Makefile (strop-tests): Add wcschr.
86509         * wcsmbs/test-wcschr.c: New file.
86510         * string/test-strchr.c: Update.
86511         Add wcschr support.
86512         (WIDE): New macro.
86514 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86516         * wcsmbs/Makefile (strop-tests): Add wcslen.
86517         * wcsmbs/test-wcslen.c: New file.
86518         * string/test-strlen.c: Update.
86519         Add wcslen support.
86520         (WIDE): New macro.
86522 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86524         * po/it.po: Update from translation team.
86526 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86528         * sysdeps/x86_64/wcscmp.S: Update.
86529         Fix wrong comparison semantics.
86530         wcscmp shall use signed comparison not unsigned.
86531         Don't use substraction to avoid overflow bug.
86532         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
86533         * wcsmbc/wcscmp.c: Likewise.
86534         * string/test-strcmp.c: Likewise.
86535         Add new tests to check cases with negative values.
86537 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86539         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
86540         * sysdeps/x86_64/dla.h: ...here.  New file.
86541         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
86542         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86543         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86544         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86545         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86546         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86547         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86548         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86549         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86551 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
86553         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
86554         __ynl_finite aliases.
86556 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
86560         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
86561         define DLA_FMA.
86562         [DLA_FMA] (EMULV): Use DLA_FMA.
86563         [DLA_FMA] (MUL12): Use EMULV.
86564         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
86565         that are not needed.
86566         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86567         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86568         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86569         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86570         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86571         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86572         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86574 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
86576         * math/s_nan.c: Undef __nan.
86577         * math/s_nanf.c: Undef __nanf.
86578         * math/s_nanl.c: Undef __nanl.
86579         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
86580         "math_private.h".
86582 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86584         * math/s_catan.c: Add branch predictions.
86585         * math/s_catanf.c: Likewise.
86586         * math/s_catanh.c: Likewise.
86587         * math/s_catanhf.c: Likewise.
86588         * math/s_catanhl.c: Likewise.
86589         * math/s_catanl.c: Likewise.
86590         * math/s_cexp.c: Likewise.
86591         * math/s_cexpf.c: Likewise.
86592         * math/s_cexpl.c: Likewise.
86593         * math/s_clog.c: Likewise.
86594         * math/s_clog10.c: Likewise.
86595         * math/s_clog10f.c: Likewise.
86596         * math/s_clog10l.c: Likewise.
86597         * math/s_clogf.c: Likewise.
86598         * math/s_clogl.c: Likewise.
86599         * math/s_csqrt.c: Likewise.
86600         * math/s_csqrtf.c: Likewise.
86601         * math/s_csqrtl.c: Likewise.
86602         * math/s_ctanf.c: Likewise.
86603         * math/s_ctanh.c: Likewise.
86604         * math/s_ctanhf.c: Likewise.
86605         * math/s_ctanhl.c: Likewise.
86606         * math/s_ctanl.c: Likewise.
86608         * math/math_private.h: Define __nan, __nanf, __nanl.
86609         * math/s_cacosh.c: Include <math_private.h>.
86610         * math/s_cacoshl.c: Likewise.
86611         * math/s_casinh.c: Likewise.
86612         * math/s_casinhf.c: Likewise.
86613         * math/s_casinhl.c: Likewise.
86614         * math/s_ccos.c: Rely entire on ccosh.
86615         * math/s_ccosf.c: Rely entire on ccoshf.
86616         * math/s_ccosl.c: Rely entirely on ccoshl.
86617         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
86618         Remove tests for FE_INVALID.
86619         * math/s_ccoshf.c: Likewise.
86620         * math/s_ccoshl.c: Likewise.
86621         * math/s_csin.c: Likewise.
86622         * math/s_csinf.c: Likewise.
86623         * math/s_csinh.c Likewise.
86624         * math/s_csinhf.c: Likewise.
86625         * math/s_csinhl.c: Likewise.
86626         * math/s_csinl.c: Likewise.
86627         * math/s_ctan.c: Likewise.
86628         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
86629         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
86630         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
86632 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
86634         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
86635         compilation problems.
86637         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
86638         __builtin_expect.
86640 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
86642         * sysdeps/i386/configure.in: Test for -mfma4 option.
86643         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
86644         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
86645         COMMON_CPUID_INDEX_80000001.
86646         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
86647         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
86648         use it if FMA3 is not supported.
86649         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
86651         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
86652         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86654 2011-10-20  Andreas Schwab  <schwab@redhat.com>
86656         [BZ #12892]
86657         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
86658         it would create a cycle with a link time dependency.
86660 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
86662         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
86663         instruction.
86664         * string/Makefile (strop-tests): Add rawmemchr.
86665         * string/test-rawmemchr.c: New file.
86667         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
86668         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
86669         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
86670         when compiling str{,n}casecmp and when AVX is available.  Hook up
86671         new optimized code in initializers.
86673 2011-10-19  Andreas Schwab  <schwab@redhat.com>
86675         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
86676         __feraiseexcept instead of feraiseexcept.
86678 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
86680         * math/math_private.h: Define defaults for libc_fetestexcept and
86681         libc_feupdateenv.
86682         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
86683         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
86684         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
86685         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86686         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86687         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86688         libc_fetestexcept and libc_feupdateenv.
86690         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
86691         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
86692         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
86693         * sysdeps/x86_64/fpu/math_private.h: Define special version of
86694         libc_feholdexcept_setround.
86696         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
86697         Add s_nearbyint-c and s_nearbyintf-c.
86698         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
86699         nearbyintf inlines.
86700         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
86701         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
86702         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
86703         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
86705         * math/math_private.h: Define defaults for libc_fegetround,
86706         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
86707         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
86708         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
86709         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
86710         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
86711         standard functions.
86712         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
86713         Remove comments and hacks for old compiler versions.
86714         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86715         libc_fegetround, libc_fesetround, libc_feholdexcept, and
86716         libc_feholdexceptl.
86718 2011-10-18  Andreas Schwab  <schwab@redhat.com>
86720         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
86721         (__feraiseexcept_renamed): Add __NTH.
86722         (feraiseexcept): Add __NTH.  Rename local variables to fix
86723         namespace violations.
86725 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
86727         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
86729         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
86731         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
86732         recently added interfaces.
86733         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
86735         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
86736         about macro parameter expansion.
86738         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
86739         __NO_MATH_INLINES is defined.  Cleanups.
86741         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
86742         and __floorf is target has SSE4.1.
86743         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
86744         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
86745         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
86746         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
86748         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
86749         name.
86750         (floorf): Likewise.
86752         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
86754 2011-10-17  Andreas Schwab  <schwab@redhat.com>
86756         * misc/sys/cdefs.h: Fix last change.
86758         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
86759         database lookup.
86761 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
86763         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
86765         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
86766         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86767         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86768         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86769         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86770         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86771         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86772         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86773         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86774         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
86775         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
86776         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
86777         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
86778         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
86779         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
86780         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
86781         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
86782         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
86783         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
86784         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
86785         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
86786         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
86788         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
86789         ceil, ceilf, floor, floorf.
86791         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
86792         Perform IRELATIVE relocations last.
86794         * elf/do-rel.h: Add another parameter nrelative, replacing the
86795         local variable with the same name.  Change name of the function
86796         to end in Rel or Rela (uppercase).
86797         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
86798         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
86799         elf_dynamic_do_##reloc function.
86801 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86803         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
86804         is sufficient, at least on modern CPUs.
86806         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
86808         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
86809         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
86811         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
86812         __expl_finite.
86813         * math/bits/math-finite.h: Add entries for exp.
86814         * math/e_expl.c: Add __*_finite alias.
86815         * sysdeps/i386/fpu/e_exp.S: Likewise.
86816         * sysdeps/i386/fpu/e_expf.S: Likewise.
86817         * sysdeps/i386/fpu/e_expl.c: Likewise.
86818         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86819         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86820         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
86821         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
86822         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
86823         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86824         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86826         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
86827         is sufficient, at least on modern CPUs.
86829         * ctype/ctype-info.c (__ctype_init): Define.
86830         * include/ctype.h (__ctype_init): Declare.
86831         (__ctype_b_loc): The variable is always initialized.
86832         (__ctype_toupper_loc): Likewise.
86833         (__ctype_tolower_loc): Likewise.
86834         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
86835         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
86837 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
86839         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
86841         * configure.in: Also look in $cxxmachine/include for C++ system
86842         headers.
86844 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86846         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
86847         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
86848         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
86849         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
86850         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
86851         (USE_AS_WMEMCMP): New macro.
86852         Fixing indents.
86853         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
86854         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
86855         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
86856         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
86857         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86858         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
86859         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
86860         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
86861         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
86862         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
86863         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
86864         (USE_AS_WMEMCMP): New macro.
86865         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
86866         * sysdeps/string/test-memcmp.c: Update.
86867         Fix simple_wmemcmp.
86868         Add new tests.
86869         * wcsmbs/wmemcmp.c: Update.
86870         (WMEMCMP): New macro.
86871         Fix overflow bug.
86873 2011-10-12  Andreas Jaeger  <aj@suse.de>
86875         [BZ #13268]
86876         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
86878 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86880         * libio/iofwide.c (do_length): Avoid warning.
86882         * ctype/ctype.h (__isctype_f): Add missing __THROW.
86884 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
86886         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
86888         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
86889         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
86890         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
86891         * sysdeps/i386/i686/fpu/e_log.S: New file.
86892         * sysdeps/i386/i686/fpu/e_logf.S: New file.
86893         * sysdeps/i386/i686/fpu/e_logl.S: New file.
86895         * ctype/ctype.h: Add support for inlined isXXX functions when
86896         compiling C++ code.
86898 2011-10-14  Andreas Schwab  <schwab@redhat.com>
86900         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86902         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
86904 2011-10-13  Roland McGrath  <roland@hack.frob.com>
86906         [BZ #13291]
86907         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
86909 2011-10-13  Andreas Schwab  <schwab@redhat.com>
86911         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
86912         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
86913         feraiseexcept.
86915         * sysdeps/x86_64/memrchr.S: Check for zero size.
86917         * string/stratcliff.c: Add memrchr tests.
86919 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86921         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86922         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
86923         rawmemchr-sse2 rawmemchr-sse2-bsf.
86924         * sysdeps/i386/i686/multiarch/memchr.S: New file.
86925         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
86926         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
86927         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
86928         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
86929         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
86930         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
86931         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
86932         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
86933         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
86934         * string/memrchr.c (MEMRCHR): New macro.
86936 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
86938         Add integration with gcc's -ffinite-math-only and optimize wrapper
86939         functions in libm.
86940         * Versions.def: Define GLIBC_2.15 version for libm.
86941         * math/Makefile (headers): Add bits/math-finite.h.
86942         * math/bits/math-finite.h: New file.
86943         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
86944         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
86945         * math/e_acoshl.c: Add __*_finite alias.
86946         * math/e_acosl.c: Likewise.
86947         * math/e_asinl.c: Likewise.
86948         * math/e_atan2l.c: Likewise.
86949         * math/e_atanhl.c: Likewise.
86950         * math/e_coshl.c: Likewise.
86951         * math/e_exp10.c: Likewise.
86952         * math/e_exp10f.c: Likewise.
86953         * math/e_exp10l.c: Likewise.
86954         * math/e_exp2l.c: Likewise.
86955         * math/e_fmodl.c: Likewise.
86956         * math/e_gammal_r.c: Likewise.
86957         * math/e_hypotl.c: Likewise.
86958         * math/e_j0l.c: Likewise.
86959         * math/e_j1l.c: Likewise.
86960         * math/e_jnl.c: Likewise.
86961         * math/e_lgammal_r.c: Likewise.
86962         * math/e_log10l.c: Likewise.
86963         * math/e_log2l.c: Likewise.
86964         * math/e_logl.c: Likewise.
86965         * math/e_powl.c: Likewise.
86966         * math/e_sinhl.c: Likewise.
86967         * math/e_sqrtl.c: Likewise.
86968         * math/e_scalb.c: Completely rewritten and optimized.
86969         * math/e_scalbf.c: Likewise.
86970         * math/e_scalbl.c: Likewise.
86971         * math/w_acos.c: Likewise.
86972         * math/w_acosf.c: Likewise.
86973         * math/w_acosl.c: Likewise.
86974         * math/w_acosh.c: Likewise.
86975         * math/w_acoshf.c: Likewise.
86976         * math/w_acoshl.c: Likewise.
86977         * math/w_asin.c: Likewise.
86978         * math/w_asinf.c: Likewise.
86979         * math/w_asinl.c: Likewise.
86980         * math/w_atan2.c: Likewise.
86981         * math/w_atan2f.c: Likewise.
86982         * math/w_atan2l.c: Likewise.
86983         * math/w_atanh.c: Likewise.
86984         * math/w_atanhf.c: Likewise.
86985         * math/w_atanhl.c: Likewise.
86986         * math/w_exp10.c: Likewise.
86987         * math/w_exp10f.c: Likewise.
86988         * math/w_exp10l.c: Likewise.
86989         * math/w_fmod.c: Likewise.
86990         * math/w_fmodf.c: Likewise.
86991         * math/w_fmodl.c: Likewise.
86992         * math/w_j0.c: Likewise.
86993         * math/w_j0f.c: Likewise.
86994         * math/w_j0l.c: Likewise.
86995         * math/w_j1.c: Likewise.
86996         * math/w_j1f.c: Likewise.
86997         * math/w_j1l.c: Likewise.
86998         * math/w_jn.c: Likewise.
86999         * math/w_jnf.c: Likewise.
87000         * math/w_log.c: Likewise.
87001         * math/w_logf.c: Likewise.
87002         * math/w_logl.c: Likewise.
87003         * math/w_log10.c: Likewise.
87004         * math/w_log10f.c: Likewise.
87005         * math/w_log10l.c: Likewise.
87006         * math/w_log2.c: Likewise.
87007         * math/w_log2f.c: Likewise.
87008         * math/w_log2l.c: Likewise.
87009         * math/w_pow.c: Likewise.
87010         * math/w_powf.c: Likewise.
87011         * math/w_powl.c: Likewise.
87012         * math/w_remainder.c: Likewise.
87013         * math/w_remainderf.c: Likewise.
87014         * math/w_remainderl.c: Likewise.
87015         * math/w_scalb.c: Likewise.
87016         * math/w_scalbf.c: Likewise.
87017         * math/w_scalbl.c: Likewise.
87018         * math/w_sqrt.c: Likewise.
87019         * math/w_sqrtf.c: Likewise.
87020         * math/w_sqrtl.c: Likewise.
87021         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87022         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
87023         used.
87024         * math/math_private.h: Declare __kernel_standard_f.
87025         * math/w_cosh.c: Remove cruft and optimize a bit.
87026         * math/w_coshf.c: Likewise.
87027         * math/w_coshl.c: Likewise.
87028         * math/w_exp2.c: Likewise.
87029         * math/w_exp2f.c: Likewise.
87030         * math/w_exp2l.c: Likewise.
87031         * math/w_hypot.c: Likewise.
87032         * math/w_hypotf.c: Likewise.
87033         * math/w_hypotl.c: Likewise.
87034         * math/w_lgamma.c: Likewise.
87035         * math/w_lgamma_r.c: Likewise.
87036         * math/w_lgammaf.c: Likewise.
87037         * math/w_lgammaf_r.c: Likewise.
87038         * math/w_lgammal.c: Likewise.
87039         * math/w_lgammal_r.c: Likewise.
87040         * math/w_sinh.c: Likewise.
87041         * math/w_sinhf.c: Likewise.
87042         * math/w_sinhl.c: Likewise.
87043         * math/w_tgamma.c: Likewise.
87044         * math/w_tgammaf.c: Likewise.
87045         * math/w_tgammal.c: Likewise.
87046         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87047         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87048         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
87049         Minor optimizations.  Pretty printing.  Remove cruft.
87050         * sysdeps/i386/fpu/e_acosf.S: Likewise.
87051         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87052         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87053         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87054         * sysdeps/i386/fpu/e_acosl.c: Likewise.
87055         * sysdeps/i386/fpu/e_asin.S: Likewise.
87056         * sysdeps/i386/fpu/e_asinf.S: Likewise.
87057         * sysdeps/i386/fpu/e_atan2.S: Likewise.
87058         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
87059         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
87060         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87061         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87062         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87063         * sysdeps/i386/fpu/e_exp10.S: Likewise.
87064         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
87065         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
87066         * sysdeps/i386/fpu/e_exp2.S: Likewise.
87067         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
87068         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
87069         * sysdeps/i386/fpu/e_fmod.S: Likewise.
87070         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
87071         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
87072         * sysdeps/i386/fpu/e_hypot.S: Likewise.
87073         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
87074         * sysdeps/i386/fpu/e_log.S: Likewise.
87075         * sysdeps/i386/fpu/e_log10.S: Likewise.
87076         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87077         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87078         * sysdeps/i386/fpu/e_log2.S: Likewise.
87079         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87080         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87081         * sysdeps/i386/fpu/e_logf.S: Likewise.
87082         * sysdeps/i386/fpu/e_logl.S: Likewise.
87083         * sysdeps/i386/fpu/e_pow.S: Likewise.
87084         * sysdeps/i386/fpu/e_powf.S: Likewise.
87085         * sysdeps/i386/fpu/e_powl.S: Likewise.
87086         * sysdeps/i386/fpu/e_remainder.S: Likewise.
87087         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
87088         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
87089         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87090         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87091         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87092         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
87093         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
87094         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
87095         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87096         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87097         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87098         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87099         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87100         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87101         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
87102         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87103         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87104         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87105         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87106         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87107         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87108         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87109         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87110         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87111         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87112         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87113         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87114         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87115         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87116         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87117         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87118         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87119         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87120         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87121         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87122         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87123         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
87124         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87125         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87126         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87127         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87128         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87129         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87130         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87131         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87132         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87133         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87134         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87135         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87136         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87137         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87138         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87139         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87140         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87141         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87142         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87143         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87144         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
87145         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87146         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87147         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87148         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87149         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87150         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87151         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87152         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87153         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87154         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87155         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87156         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87157         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87158         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87159         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87160         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87161         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87162         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87163         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
87164         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87165         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87166         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87167         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87168         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87169         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87170         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87171         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
87172         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87173         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87174         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87175         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87176         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87177         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
87178         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87179         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87180         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87181         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87182         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87183         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87184         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87185         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87186         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87187         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87188         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
87189         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87190         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87191         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87192         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
87193         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
87194         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
87195         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
87196         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
87197         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
87198         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
87199         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87200         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87201         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87202         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87203         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
87204         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87205         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
87206         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
87207         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
87208         (__isnanf): Likewise.
87209         (__isinf_ns): Likewise.
87210         (__isinf_nsf): Likewise.
87211         (__finite): Likewise.
87212         (__finitef): Likewise.
87213         (__ieee754_sqrt): Define as macro.
87214         (__ieee754_sqrtf): Define as macro.
87215         (__ieee754_sqrtl): Define as macro.
87216         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
87217         inlined copy.
87218         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
87219         __FINITE_MATH_ONLY__ consistent.
87220         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
87222 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
87224         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
87225         of rawmemchr.
87227         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
87229 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
87231         * po/ja.po: Update from translation team.
87233 2011-10-08  Roland McGrath  <roland@hack.frob.com>
87235         * locale/programs/locarchive.c (prepare_address_space): New function.
87236         (create_archive, enlarge_archive, open_archive): Use it.
87238         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
87239         inside [SHARED], where it is used.
87241         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
87243         * nss/getent.c (netgroup_keys): Remove unused variable.
87244         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87246 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
87248         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
87249         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
87250         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
87251         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
87252         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
87253         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
87254         * math/Makefile (libm-calls): Add s_isinf_ns.
87255         * math/divtc3.c: Use __isinf_nsl instead of isinf.
87256         * math/multc3.c: Likewise.
87257         * math/s_casin.c: Likewise.
87258         * math/s_casinf.c: Likewise.
87259         * math/s_casinl.c: Likewise.
87260         * math/s_ccos.c: Likewise.
87261         * math/s_ccosf.c: Likewise.
87262         * math/s_ccosl.c: Likewise.
87263         * math/s_ctan.c: Likewise.
87264         * math/s_ctanf.c: Likewise.
87265         * math/s_ctanh.c: Likewise.
87266         * math/s_ctanhf.c: Likewise.
87267         * math/s_ctanhl.c: Likewise.
87268         * math/s_ctanl.c: Likewise.
87269         * math/w_fmod.c: Likewise.
87270         * math/w_fmodf.c: Likewise.
87271         * math/w_fmodl.c: Likewise.
87272         * math/w_remainder.c: Likewise.
87273         * math/w_remainderf.c: Likewise.
87274         * math/w_remainderl.c: Likewise.
87275         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
87276         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
87277         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
87278         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
87279         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
87280         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
87281         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
87282         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
87284         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
87285         of the number.
87286         * stdio-common/printf_fphex.c: Likewise.
87287         * stdio-common/printf_size.c: Likewise.
87289         * math/e_exp10.c: Include math_private.h using <...> not "...".
87290         * math/e_exp10f.c: Likewise.
87291         * math/e_exp10l.c: Likewise.
87292         * math/e_exp2l.c: Likewise.
87293         * math/e_j0l.c: Likewise.
87294         * math/e_j1l.c: Likewise.
87295         * math/e_jnl.c: Likewise.
87296         * math/e_lgammal_r.c: Likewise.
87297         * math/e_rem_pio2l.c: Likewise.
87298         * math/e_scalb.c: Likewise.
87299         * math/e_scalbf.c: Likewise.
87300         * math/e_scalbl.c: Likewise.
87301         * math/k_cosl.c: Likewise.
87302         * math/k_sinl.c: Likewise.
87303         * math/k_tanl.c: Likewise.
87304         * math/s_cacoshf.c: Likewise.
87305         * math/s_catan.c: Likewise.
87306         * math/s_catanf.c: Likewise.
87307         * math/s_catanh.c: Likewise.
87308         * math/s_catanhf.c: Likewise.
87309         * math/s_catanhl.c: Likewise.
87310         * math/s_catanl.c: Likewise.
87311         * math/s_ccosh.c: Likewise.
87312         * math/s_ccoshf.c: Likewise.
87313         * math/s_ccoshl.c: Likewise.
87314         * math/s_cexp.c: Likewise.
87315         * math/s_cexpf.c: Likewise.
87316         * math/s_cexpl.c: Likewise.
87317         * math/s_clog.c: Likewise.
87318         * math/s_clog10.c: Likewise.
87319         * math/s_clog10f.c: Likewise.
87320         * math/s_clog10l.c: Likewise.
87321         * math/s_clogf.c: Likewise.
87322         * math/s_clogl.c: Likewise.
87323         * math/s_csin.c: Likewise.
87324         * math/s_csinf.c: Likewise.
87325         * math/s_csinh.c: Likewise.
87326         * math/s_csinhf.c: Likewise.
87327         * math/s_csinhl.c: Likewise.
87328         * math/s_csinl.c: Likewise.
87329         * math/s_csqrt.c: Likewise.
87330         * math/s_csqrtf.c: Likewise.
87331         * math/s_csqrtl.c: Likewise.
87332         * math/s_ctan.c: Likewise.
87333         * math/s_ctanf.c: Likewise.
87334         * math/s_ctanh.c: Likewise.
87335         * math/s_ctanhf.c: Likewise.
87336         * math/s_ctanhl.c: Likewise.
87337         * math/s_ctanl.c: Likewise.
87338         * math/s_ldexp.c: Likewise.
87339         * math/s_ldexpf.c: Likewise.
87340         * math/s_ldexpl.c: Likewise.
87341         * math/s_significand.c: Likewise.
87342         * math/s_significandf.c: Likewise.
87343         * math/s_significandl.c: Likewise.
87344         * math/w_acos.c: Likewise.
87345         * math/w_acosf.c: Likewise.
87346         * math/w_acosh.c: Likewise.
87347         * math/w_acoshf.c: Likewise.
87348         * math/w_acoshl.c: Likewise.
87349         * math/w_acosl.c: Likewise.
87350         * math/w_asin.c: Likewise.
87351         * math/w_asinf.c: Likewise.
87352         * math/w_asinl.c: Likewise.
87353         * math/w_atan2.c: Likewise.
87354         * math/w_atan2f.c: Likewise.
87355         * math/w_atan2l.c: Likewise.
87356         * math/w_atanh.c: Likewise.
87357         * math/w_atanhf.c: Likewise.
87358         * math/w_atanhl.c: Likewise.
87359         * math/w_cosh.c: Likewise.
87360         * math/w_coshf.c: Likewise.
87361         * math/w_coshl.c: Likewise.
87362         * math/w_dremf.c: Likewise.
87363         * math/w_exp10.c: Likewise.
87364         * math/w_exp10f.c: Likewise.
87365         * math/w_exp10l.c: Likewise.
87366         * math/w_exp2.c: Likewise.
87367         * math/w_exp2f.c: Likewise.
87368         * math/w_fmod.c: Likewise.
87369         * math/w_fmodf.c: Likewise.
87370         * math/w_fmodl.c: Likewise.
87371         * math/w_hypot.c: Likewise.
87372         * math/w_hypotf.c: Likewise.
87373         * math/w_hypotl.c: Likewise.
87374         * math/w_j0.c: Likewise.
87375         * math/w_j0f.c: Likewise.
87376         * math/w_j0l.c: Likewise.
87377         * math/w_j1.c: Likewise.
87378         * math/w_j1f.c: Likewise.
87379         * math/w_j1l.c: Likewise.
87380         * math/w_jn.c: Likewise.
87381         * math/w_jnf.c: Likewise.
87382         * math/w_jnl.c: Likewise.
87383         * math/w_lgamma.c: Likewise.
87384         * math/w_lgamma_r.c: Likewise.
87385         * math/w_lgammaf.c: Likewise.
87386         * math/w_lgammaf_r.c: Likewise.
87387         * math/w_lgammal.c: Likewise.
87388         * math/w_lgammal_r.c: Likewise.
87389         * math/w_log.c: Likewise.
87390         * math/w_log10.c: Likewise.
87391         * math/w_log10f.c: Likewise.
87392         * math/w_log10l.c: Likewise.
87393         * math/w_log2.c: Likewise.
87394         * math/w_log2f.c: Likewise.
87395         * math/w_log2l.c: Likewise.
87396         * math/w_logf.c: Likewise.
87397         * math/w_logl.c: Likewise.
87398         * math/w_pow.c: Likewise.
87399         * math/w_powf.c: Likewise.
87400         * math/w_powl.c: Likewise.
87401         * math/w_remainder.c: Likewise.
87402         * math/w_remainderf.c: Likewise.
87403         * math/w_remainderl.c: Likewise.
87404         * math/w_scalb.c: Likewise.
87405         * math/w_scalbf.c: Likewise.
87406         * math/w_scalbl.c: Likewise.
87407         * math/w_sinh.c: Likewise.
87408         * math/w_sinhf.c: Likewise.
87409         * math/w_sinhl.c: Likewise.
87410         * math/w_sqrt.c: Likewise.
87411         * math/w_sqrtf.c: Likewise.
87412         * math/w_sqrtl.c: Likewise.
87413         * math/w_tgamma.c: Likewise.
87414         * math/w_tgammaf.c: Likewise.
87415         * math/w_tgammal.c: Likewise.
87417         * po/ja.po: Update from translation team.
87419 2011-09-29  Andreas Jaeger  <aj@suse.de>
87421         [BZ #13179]
87422         * sunrpc/netname.c (netname2host): Fix logic.
87424         [BZ #6779]
87425         [BZ #6783]
87426         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
87427         correctly.
87428         * math/w_remainder.c (__remainder): Likewise.
87429         * math/w_remainderf.c (__remainderf): Likewise.
87430         * math/libm-test.inc (remainder_test): Add test cases.
87432 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87434         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
87435         sdiv_qrnnd.
87437 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
87439         * string/test-memcmp.c: Avoid unncessary #defines.
87440         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87442 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87444         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
87445         Use new sse2 version for core i3 - i7 as it's faster
87446         than sse42 version.
87447         (bit_Prefer_PMINUB_for_stringop): New.
87448         * sysdeps/x86_64/rawmemchr.S: Update.
87449         Replace with faster SSE2 version.
87450         * sysdeps/x86_64/memrchr.S: New file.
87451         * sysdeps/x86_64/memchr.S: Update.
87452         Replace with faster SSE2 version.
87454 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
87456         * elf/dl-load.c (lose): Add cast to avoid warning.
87458 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
87460         * po/ca.po: Update from translation team.
87462         * inet/getnetgrent_r.c: Hook up nscd.
87463         * nscd/Makefile (routines): Add nscd_netgroup.
87464         (nscd-modules): Add netgroupcache.
87465         (CFLAGS-netgroupcache.c): Define.
87466         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
87467         (cache_search): Add const to second parameter.
87468         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
87469         INNETGR.
87470         (dbs): Add netgrdb entry.
87471         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
87472         (verify_persistent_db): Handle netgrdb.
87473         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
87474         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
87475         GETFDNETGR.
87476         (netgroup_response_header): Define.
87477         (innetgroup_response_header): Define.
87478         (datahead): Add netgroup_response_header and innetgroup_response_header
87479         elements.
87480         * nscd/nscd.conf: Add entries for netgroup cache.
87481         * nscd/nscd.h (dbtype): Add netgrdb.
87482         (_PATH_NSCD_NETGROUP_DB): Define.
87483         (netgroup_iov_disabled): Declare.
87484         (xmalloc, xcalloc, xrealloc): Move declarations here.
87485         (cache_search): Adjust prototype.
87486         Add netgroup-related prototypes.
87487         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
87488         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
87489         (__nscd_innetgr): Declare.
87490         * nscd/selinux.c (perms): Use access_vector_t as element type and
87491         add netgroup-related initializers.
87492         * nscd/netgroupcache.c: New file.
87493         * nscd/nscd_netgroup.c: New file.
87494         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
87495         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
87496         For four parameters use innetgr.
87497         * nss/nss_files/files-init.c: Add definition and callback for netgr.
87498         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
87499         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
87500         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
87502         * nscd/connections.c (register_traced_file): Don't register file
87503         for disabled databases.
87505 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
87507         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
87509         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
87510         from tree and freeing node.
87512 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
87514         * nss/nsswitch.c (__nss_database_lookup): Handle
87515         nss_parse_service_list out of memory case.
87517 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
87519         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
87520         out of memory case.
87522 2011-10-04  Andreas Schwab  <schwab@redhat.com>
87524         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
87525         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
87526         pass it down.
87527         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
87528         elf_machine_rela, elf_machine_lazy_rel.
87529         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
87530         (ELF_DYNAMIC_DO_REL): Likewise.
87531         (ELF_DYNAMIC_DO_RELA): Likewise.
87532         (ELF_DYNAMIC_RELOCATE): Likewise.
87533         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
87534         to ELF_DYNAMIC_DO_REL.
87535         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
87536         (dl_main): In trace mode always set __RTLD_NOIFUNC.
87537         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
87538         elf_machine_rela.
87539         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
87540         skip_ifunc, don't call ifunc function if non-zero.
87541         (elf_machine_rela): Likewise.
87542         (elf_machine_lazy_rel): Likewise.
87543         (elf_machine_lazy_rela): Likewise.
87544         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
87545         (elf_machine_lazy_rel): Likewise.
87546         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
87547         Likewise.
87548         (elf_machine_lazy_rel): Likewise.
87549         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87550         Likewise.
87551         (elf_machine_lazy_rel): Likewise.
87552         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
87553         (elf_machine_lazy_rel): Likewise.
87554         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
87555         (elf_machine_lazy_rel): Likewise.
87556         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
87557         (elf_machine_lazy_rel): Likewise.
87558         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
87559         (elf_machine_lazy_rel): Likewise.
87560         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
87561         (elf_machine_lazy_rel): Likewise.
87562         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
87563         (elf_machine_lazy_rel): Likewise.
87565 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
87567         * nss/nss_files/files-init.c (_nss_files_init): Use static
87568         initialization for all the *_traced_file variables.
87570 2011-09-28  Andreas Schwab  <schwab@redhat.com>
87572         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87574 2011-09-27  Roland McGrath  <roland@hack.frob.com>
87576         [BZ #13226]
87577         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
87579 2011-09-27  Andreas Schwab  <schwab@redhat.com>
87581         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87582         Reread the line before reparsing it.
87584 2011-09-26  Andreas Schwab  <schwab@redhat.com>
87586         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
87588 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
87589             Maxim Kuvyrkov  <maxim@codesourcery.com>
87590             Joseph Myers  <joseph@codesourcery.com>
87592         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
87593         if needed for __stack_chk_guard.
87595 2011-09-19  Roland McGrath  <roland@hack.frob.com>
87597         * sysdeps/posix/spawni.c (script_execute): Always define it.
87598         It will be optimized away if unused.
87599         (maybe_script_execute): New function.
87600         (__spawni): Call it.
87602         * Makerules: Don't include tls.make.
87603         (config-tls): Always set to thread.
87604         * tls.make.c: File removed.
87606 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
87608         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
87609         * config.make.in (CPPFLAGS-config): New substituted variable.
87611 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87613         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
87615         [BZ #13192]
87616         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
87617         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
87619 2011-09-15  Roland McGrath  <roland@hack.frob.com>
87621         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
87622         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
87623         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87624         (CALL_FAIL): Likewise.
87625         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
87626         (CALL_FAIL): Macro removed.
87627         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
87629 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87631         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
87632         for __FINITE_MATH_ONLY__ == 1.
87634 2011-09-15  Andreas Schwab  <schwab@redhat.com>
87636         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
87637         __ieee754_sqrt instead of sqrt.
87638         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
87639         __ieee754_sqrtf instead of sqrtf.
87640         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
87641         __floorf instead of floorf.
87642         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
87643         __floorf, __truncf instead of floorf, truncf.
87645 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
87647         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
87649         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
87650         __extern_always_inline.
87651         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
87652         32-bit.
87654 2011-09-14  Andreas Schwab  <schwab@redhat.com>
87656         * elf/rtld.c (dl_main): Also relocate in dependency order when
87657         doing symbol dependency testing.
87659 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
87661         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87662         Always define `refsym'.
87664 2011-09-13  Andreas Schwab  <schwab@redhat.com>
87666         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
87667         (__FD_ELT): Renamed from __FDELT.
87668         * misc/bits/select2.h (__FD_ELT): Likewise.
87669         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
87670         __FD_MASK instead of __FDELT, __FDMASK.
87671         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87672         Likewise.
87673         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87674         Likewise.
87676         * elf/Makefile (gen-ldd): Fix pattern.
87678         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
87679         (init_tls): Likewise.
87681 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
87683         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
87685 2011-09-12  Andreas Schwab  <schwab@redhat.com>
87687         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
87688         `struct cmsghdr *' instead of `void *'.
87689         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
87690         Likewise.
87692 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
87694         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
87695         if non-absolute.
87696         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
87697         ldd_rewrite_script.
87699 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
87701         * configure.in: Remove --with-tls option.
87702         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
87703         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
87704         out in case it is missing.
87705         * sysdeps/ia64/elf/configure.in: Likewise.
87706         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
87707         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
87708         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
87709         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
87710         * sysdeps/sh/elf/configure.in: Likewise.
87711         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
87712         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87713         * sysdeps/x86_64/elf/configure.in: Likewise.
87714         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
87715         * sysdeps/mach/hurd/tls.h: Likewise.
87717         [BZ #13067]
87718         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
87720         [BZ #13090]
87721         * configure.in: Fix use of AC_INIT.
87723         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
87725 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
87727         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
87728         __set_errno.
87729         * malloc/hooks.c: Likewise.
87731         [BZ #11929]
87732         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
87733         variables statically.
87734         (narenas): Initialize.
87735         (list_lock): Initialize.
87736         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
87737         initializtion of main_arena and list_lock.  Small cleanups.
87738         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
87739         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
87740         Add initializers to main_arena and mp_.
87741         (malloc_state): Remove pagesize member.  Change all users to use
87742         GLRO(dl_pagesize).
87744         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
87745         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
87746         is always initialized.
87748         * malloc/malloc.c: Removed unused configurations and dead code.
87749         * malloc/arena.c: Likewise.
87750         * malloc/hooks.c: Likewise.
87751         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
87753         * include/tls.h: Removed.  USE___THREAD must always be defined.
87754         * bits/libc-tsd.h: Don't handle !USE___THREAD.
87755         * elf/dl-libc.c: Likewise.
87756         * elf/dl-tsd.c: Likewise.
87757         * include/errno.h: Likewise.
87758         * include/netdb.h: Likewise.
87759         * include/resolv.h: Likewise.
87760         * inet/herrno-loc.c: Likewise.
87761         * inet/herrno.c: Likewise.
87762         * malloc/arena.c: Likewise.
87763         * malloc/hooks.c: Likewise.
87764         * malloc/malloc.c: Likewise.
87765         * resolv/res-state.c: Likewise.
87766         * resolv/res_libc.c: Likewise.
87767         * sysdeps/i386/dl-machine.h: Likewise.
87768         * sysdeps/ia64/dl-machine.h: Likewise.
87769         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
87770         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
87771         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
87772         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
87773         * sysdeps/sh/dl-machine.h: Likewise.
87774         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87775         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87776         * sysdeps/unix/i386/sysdep.S: Likewise.
87777         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
87778         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
87779         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
87780         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
87781         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
87782         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
87783         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
87784         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87785         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87786         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
87787         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87788         * sysdeps/x86_64/dl-machine.h: Likewise.
87789         * tls.make.c: Likewise.
87791         * configure.in: Remove --with-__thread option.  Make tests for
87792         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
87793         tls_model attribute fail if no support is available.  Remove
87794         USE_IN_LIBIO.
87795         * Makeconfig: Adjust for dropped configure option.  All features are
87796         now mandatory.
87797         * Makerules: Likewise.
87798         * Versions.def: Likewise.
87799         * argp/argp-fmtstream.c: Likewise.
87800         * argp/argp-fmtstream.h: Likewise.
87801         * argp/argp-help.c: Likewise.
87802         * assert/assert.c: Likewise.
87803         * config.h.in: Likewise.
87804         * config.make.in: Likewise.
87805         * configure: Likewise.
87806         * configure.in: Likewise.
87807         * csu/Versions: Likewise.
87808         * csu/init.c: Likewise.
87809         * elf/tst-audit2.c: Likewise.
87810         * elf/tst-tls10.c: Likewise.
87811         * elf/tst-tls10.h: Likewise.
87812         * elf/tst-tls11.c: Likewise.
87813         * elf/tst-tls12.c: Likewise.
87814         * elf/tst-tls14.c: Likewise.
87815         * elf/tst-tlsmod11.c: Likewise.
87816         * elf/tst-tlsmod12.c: Likewise.
87817         * elf/tst-tlsmod13.c: Likewise.
87818         * elf/tst-tlsmod13a.c: Likewise.
87819         * elf/tst-tlsmod14a.c: Likewise.
87820         * elf/tst-tlsmod15b.c: Likewise.
87821         * elf/tst-tlsmod16a.c: Likewise.
87822         * elf/tst-tlsmod16b.c: Likewise.
87823         * elf/tst-tlsmod7.c: Likewise.
87824         * elf/tst-tlsmod8.c: Likewise.
87825         * elf/tst-tlsmod9.c: Likewise.
87826         * gmon/gmon.c: Likewise.
87827         * grp/fgetgrent_r.c: Likewise.
87828         * grp/putgrent.c: Likewise.
87829         * hurd/fopenport.c: Likewise.
87830         * include/libc-symbols.h: Likewise.
87831         * include/tls.h: Likewise.
87832         * intl/gettextP.h: Likewise.
87833         * intl/loadinfo.h: Likewise.
87834         * locale/global-locale.c: Likewise.
87835         * locale/localeinfo.h: Likewise.
87836         * mach/devstream.c: Likewise.
87837         * malloc/arena.c: Likewise.
87838         * malloc/set-freeres.c: Likewise.
87839         * misc/err.c: Likewise.
87840         * misc/getttyent.c: Likewise.
87841         * misc/mntent_r.c: Likewise.
87842         * posix/getopt.c: Likewise.
87843         * posix/wordexp.c: Likewise.
87844         * pwd/fgetpwent_r.c: Likewise.
87845         * resolv/Versions: Likewise.
87846         * resolv/res_hconf.c: Likewise.
87847         * shadow/fgetspent_r.c: Likewise.
87848         * shadow/putspent.c: Likewise.
87849         * stdio-common/printf_fphex.c: Likewise.
87850         * stdio-common/tmpfile.c: Likewise.
87851         * stdlib/abort.c: Likewise.
87852         * stdlib/fmtmsg.c: Likewise.
87853         * sunrpc/auth_unix.c: Likewise.
87854         * sunrpc/clnt_perr.c: Likewise.
87855         * sunrpc/clnt_tcp.c: Likewise.
87856         * sunrpc/clnt_udp.c: Likewise.
87857         * sunrpc/clnt_unix.c: Likewise.
87858         * sunrpc/openchild.c: Likewise.
87859         * sunrpc/svc_simple.c: Likewise.
87860         * sunrpc/svc_tcp.c: Likewise.
87861         * sunrpc/svc_udp.c: Likewise.
87862         * sunrpc/svc_unix.c: Likewise.
87863         * sunrpc/xdr.c: Likewise.
87864         * sunrpc/xdr_array.c: Likewise.
87865         * sunrpc/xdr_rec.c: Likewise.
87866         * sunrpc/xdr_ref.c: Likewise.
87867         * sunrpc/xdr_stdio.c: Likewise.
87869 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87871         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87873 2011-07-03  Andreas Jaeger  <aj@suse.de>
87875         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
87876         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
87877         regenerate with gen-libm-tests.pl.
87879 2010-05-12  Petr Baudis  <pasky@suse.cz>
87881         [BZ #11589]
87882         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
87883         around j0() zero points by switching to j1().
87884         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87885         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87886         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87887         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87889 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87891         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
87892         instead of 0.
87893         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
87894         instead of 0.
87895         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87896         Patch in part by Pavel Roskin <proski@gnu.org>.
87898         [BZ #13138]
87899         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
87900         realloc.
87901         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
87902         Free memory block if necessary.
87904         [BZ #12847]
87905         * libio/genops.c (INTDEF): For string streams the _lock pointer can
87906         be NULL.  Don't lock in this case.
87908 2011-09-09  Roland McGrath  <roland@hack.frob.com>
87910         * elf/elf.h (ELFOSABI_GNU): New macro.
87911         (ELFOSABI_LINUX): Define to that.
87913 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
87915         * string/strncat.c (strncat): Undef the symbol in case it has been
87916         defined in bits/string.h.
87918 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87920         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
87922         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
87923         link map.
87925 2011-08-17  Andreas Jaeger  <aj@suse.de>
87927         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
87929 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
87930             Ian Lance Taylor  <iant@google.com>
87932         * math/libm-test.inc (lround_test): New testcase.
87933         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
87935 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
87937         * Makefile: Remove support for automatic cvs check-ins.
87938         * Makerules: Likewise.
87939         * config.make.in: Likewise.
87940         * configure.in: Likewise.
87941         * intl/Makefile: Likewise.
87942         * locale/Makefile: Likewise.
87943         * po/Makefile: Likewise.
87944         * posix/Makefile: Likewise.
87945         * sysdeps/gnu/Makefile: Likewise.
87946         * sysdeps/mach/hurd/Makefile: Likewise.
87947         * sysdeps/sparc/sparc32/Makefile: Likewise.
87949         [BZ #13118]
87950         * posix/Makefile (bug-regex32-ENV): Define.
87951         Patch by John Stanley <jpsinthemix@verizon.net>.
87953         * misc/Makefile (headers): Add bits/select2.h.
87954         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
87955         * misc/bits/select2.h: New file.
87956         * include/bits/select2.h: New file.
87957         * debug/Makefile (routines): Add fdelt_chk.
87958         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
87959         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
87960         FD_ISSET.
87961         * debug/fdelt_chk.c: New file.
87963         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
87964         * wcsmbs/test-wmemcmp.c: Likewise.
87965         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
87966         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
87968 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87970         * string/Makefile (strop-tests): Add memcmp.
87971         * string/test-wmemcmp.c: New file.
87972         * string/test-memcmp.c: Add wmemcmp support.
87974 2011-09-08  Roland McGrath  <roland@hack.frob.com>
87976         [BZ #13153]
87977         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
87978         2011-07-19 change.
87980         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
87981         garbage value in a __mach_port_mod_refs call in the cases of the
87982         task-self and thread-self ports.
87984 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87986         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
87988 2011-09-08  Andreas Schwab  <schwab@redhat.com>
87990         * elf/dl-load.c (lose): Check for non-null L.
87992 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
87994         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
87996         * elf/dl-libc.c (dlerror_run): Pass back error code from
87997         dl_catch_error.
87999         [BZ #13123]
88000         * elf/dl-load.c (lose): Free l_origin if it is valid.
88002         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
88003         names.
88004         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
88005         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88006         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88007         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88008         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88009         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88011 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88013         * sysdeps/powerpc/fpu/e_hypot.c: New file.
88014         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88015         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88016         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88017         * sysdeps/powerpc/fpu/k_cosf.c: New file.
88018         * sysdeps/powerpc/fpu/k_sinf.c: New file.
88019         * sysdeps/powerpc/fpu/s_cosf.c: New file.
88020         * sysdeps/powerpc/fpu/s_sinf.c: New file.
88021         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88022         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88024 2011-08-15  Alan Modra  <amodra@gmail.com>
88026         [BZ #13092]
88027         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88028         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88029         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
88030         ppc_mcount to static-only-routines.
88031         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88032         __mcount_internal.
88033         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88034         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
88036 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
88038         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88039         for finite and infinity parameters.
88041 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88043         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88044         and add nop instructions for throughput optimization.
88045         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88047 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
88049         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
88050         aligned copy for power7 with vector-scalar instructions.
88051         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
88053 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
88055         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
88056         AVX check.
88058 2011-09-07  Andreas Schwab  <schwab@redhat.com>
88060         [BZ #13144]
88061         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
88062         last change.
88064 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88066         * sysdeps/unix/sysv/linux/x86_64/init-first.c
88067         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
88068         syscall wrapper around clock_gettime in __vdso_clock_gettime.
88069         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
88070         clock_gettime.
88072 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88074         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
88075         Forgot to demangle the pointer.
88077         * sysdeps/i386/sysdep.h: Define atom_text_section.
88078         * sysdeps/x86_64/sysdep.h: Likewise.
88079         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
88080         section with atom_text_section.
88081         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88082         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88083         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
88084         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88085         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
88087         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
88088         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
88089         already be defined.  Change to take two parameters and don't assign
88090         result to variable.  Adjust all users.
88091         Define INTERNAL_GETTIME if not already defined.
88092         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
88093         call.
88094         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
88095         HAVE_CLOCK_GETTIME_VSYSCALL.
88096         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
88098         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
88099         gettimeofday vsyscall, just use time.
88101 2011-09-06  Andreas Schwab  <schwab@redhat.com>
88103         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
88104         <errno.h>.
88106 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88108         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
88109         syscall on x86-64.
88110         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
88111         syscall.
88112         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
88113         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
88114         syscall if possible.
88116 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88118         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
88119         e_ident.  Don't pass to find_mapsXX.
88120         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
88122 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88125         strchr-sse2-no-bsf strrchr-sse2-no-bsf
88126         * sysdeps/x86_64/multiarch/strchr.S: Update.
88127         Check bit_slow_BSF bit.
88128         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
88129         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
88130         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
88132 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88134         [BZ #13134]
88135         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
88136         before glibc 2.15.
88137         (tryshell): Define.
88138         (__spawni): Change last parameter to be flag.  Test
88139         SPAWN_XFLAGS_USE_PATH flag to use path or not.
88140         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
88141         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
88142         * posix/spawni.c: Likewise.
88143         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
88144         * posix/spawnp.c: Likewise.  Change normal version to use
88145         SPAWN_XFLAGS_USE_PATH.
88146         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
88147         SPAWN_XFLAGS_TRY_SHELL.
88149         [BZ #13150]
88150         * posix/glob.h: Remove gcc 1.x support.
88152         [BZ #13068]
88153         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
88155 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88157         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88158         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
88159         strrchr-sse2-bsf
88160         * sysdeps/i386/i686/multiarch/strchr.S: New file.
88161         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
88162         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
88163         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
88164         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
88165         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
88167 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88169         * sysdeps/x86_64/wcscmp.S: New file.
88171         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
88172         wcscmp-c wcscmp-sse2
88173         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
88174         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
88175         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
88176         * wcsmbs/wcscmp.c: Allow renaming.
88178 2011-09-05  David S. Miller  <davem@davemloft.net>
88180         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
88181         stack slot, rather than the struct return pointer slot.
88182         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
88183         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
88184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
88185         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
88187 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88189         * po/ja.po: Update from translation team.
88191         [BZ #13144]
88192         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
88193         kernel in 64-bit binaries.
88195 2011-09-01  David S. Miller  <davem@davemloft.net>
88197         * elf/elf.h (HWCAP_SPARC_*): Move to..
88198         * sysdeps/sparc/sysdep.h: this new file and add new values.
88199         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
88200         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
88201         _DL_HWCAP_COUNT to 24.
88202         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
88203         entries.
88204         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
88205         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
88206         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
88207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
88208         instead of magic constants.
88209         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88211 2011-08-31  David S. Miller  <davem@davemloft.net>
88213         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
88214         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
88215         Reimplement to do errno handling inline.
88216         (SYSCALL_ERROR_HANDLER): New macro.
88217         (__SYSCALL_STRING): Do not do errno handling in asm.
88218         (__CLONE_SYSCALL_STRING): Delete.
88219         (__INTERNAL_SYSCALL_STRING): Delete.
88220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
88221         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
88222         (PSEUDO): Reimplement to do errno handling inline.
88223         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
88224         (SYSCALL_ERROR_HANDLER): New macro.
88225         (__SYSCALL_STRING): Do not do errno handling in asm.
88226         (__CLONE_SYSCALL_STRING): Delete.
88227         (__INTERNAL_SYSCALL_STRING): Delete.
88228         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
88229         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
88230         i386.
88231         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
88232         (inline_syscall*): Add 'err' argument.
88233         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
88234         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
88235         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
88236         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
88238         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
88239         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
88241 2011-08-30  Andreas Schwab  <schwab@redhat.com>
88243         * elf/rtld.c (dl_main): Relocate objects in dependency order.
88245 2011-08-29  Jiri Olsa <jolsa@redhat.com>
88247         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
88248         directive.
88250 2011-08-24  David S. Miller  <davem@davemloft.net>
88252         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
88254 2011-08-24  Andreas Schwab  <schwab@redhat.com>
88256         * elf/Makefile: Add rules to build and run unload8 test.
88257         * elf/unload8.c: New file.
88258         * elf/unload8mod1.c: New file.
88259         * elf/unload8mod1x.c: New file.
88260         * elf/unload8mod2.c: New file.
88261         * elf/unload8mod3.c: New file.
88263         * elf/dl-close.c (_dl_close_worker): Reset private search list if
88264         it wasn't used.
88266 2011-08-23  David S. Miller  <davem@davemloft.net>
88268         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
88269         subtract stack bias.
88270         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
88271         %sp not %fp in calculations.
88272         (_JMPBUF_UNWINDS_ADJ): Likewise.
88274         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
88275         (aio_suspend): Call it to force an exception region around the
88276         AIO_MISC_WAIT() invocation.
88278 2011-08-23  Andreas Schwab  <schwab@redhat.com>
88280         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
88281         backslash.
88283 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
88285         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
88286         protection macro.
88287         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
88288         and <dl-machine.h>.
88289         (Elf64_FuncDesc): Remove.
88291 2011-08-22  David S. Miller  <davem@davemloft.net>
88293         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
88294         sigaltstack check, add missing cfi directives.
88295         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
88296         missing cfi directives, and sigaltstack handling.
88298 2011-08-16  Andreas Schwab  <schwab@redhat.com>
88300         [BZ #11724]
88301         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
88302         object is seen twice.
88303         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88305         * elf/Makefile (distribute): Add tst-initorder2.c.
88306         (tests): Add tst-initorder2.
88307         (modules-names): Add tst-initorder2a tst-initorder2b
88308         tst-initorder2c tst-initorder2d.  Add rules to build them.
88309         ($(objpfx)tst-initorder2.out): New rule.
88310         * elf/tst-initorder2.c: New file.
88311         * elf/tst-initorder2.exp: New file.
88313 2011-08-22  Andreas Schwab  <schwab@redhat.com>
88315         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
88317         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
88318         dependencies back to end of function.
88320         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88321         $(elfobjdir)/ld.so.
88323 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
88325         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
88326         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
88327         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
88328         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
88329         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
88330         of __vdso_gettimeofday.
88331         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
88332         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
88333         attribute_hidden.
88334         (_libc_vdso_platform_setup): Remove initialization of
88335         __vdso_gettimeofday and __vdso_time.
88337 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88339         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
88340         and fgetc_unlocked.
88341         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
88342         getc_unlocked.
88344         * elf/dl-open.c (add_to_global): Report additions to the global scope
88345         for LD_DEBUG=scopes.
88346         (dl_open_worker): Also print scope of newly loaded dependencies.
88347         (_dl_show_scope): Indicate if there is no scope.
88349         [BZ #13114]
88350         * stdio-common/Makefile (tests): Add bug24.
88351         * stdio-common/bug24.c: New file.
88353 2011-08-19  Andreas Jaeger  <aj@suse.de>
88355         [BZ #13114]
88356         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
88357         non-existant file when using close-on-exec mode.
88359 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88361         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
88362         the very first instruction.
88364         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
88365         the CFI state in the end.
88366         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
88367         inclusion of dl-trampoline.h.
88368         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
88370 2011-08-19  Andreas Schwab  <schwab@redhat.com>
88372         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
88373         expectations for long double.
88375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
88376         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
88378 2011-08-14  David S. Miller  <davem@davemloft.net>
88380         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
88381         artificual limit depends upon the system page size.
88383 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88385         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
88386         * resolv/Makefile: Define CFLAGS-libresolv.
88388 2011-08-17  Andreas Schwab  <schwab@redhat.com>
88390         * nss/makedb.c (compute_tables): Make variables used in nested
88391         function static.
88393 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88395         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
88396         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
88397         if buffer was too small.
88399         * elf/pldd.c (main): Attach to all threads in the process.
88400         Rewrite /proc handling to use *at functions.
88402 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
88404         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
88405         specifies first scope to show.
88406         (dl_open_worker): Update callers.  Move printing scope of new
88407         object to before the relocation.
88408         * elf/rtld.c (dl_main): Update _dl_show_scope call.
88409         * sysdeps/generic/ldsodefs.h: Update declaration.
88411         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
88412         string for the scope number.
88414 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
88416         * nscd/servicescache.c (cache_addserv): Make sure written is always
88417         initialized.
88419 2011-08-14  Roland McGrath  <roland@hack.frob.com>
88421         * sysdeps/i386/i486/bits/atomic.h
88422         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
88423         statement expression, so as to suppress "set but not used" warning.
88424         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
88426         * string/strncat.c (STRNCAT): Use prototype definition.
88428         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
88429         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
88430         -Iprograms here.
88431         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
88432         (localedef-modules): Add localedef.
88433         (locale-modules): Add locale.
88435         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
88436         * elf/rtld.c (dl_main): Invert order of assignment in last change,
88437         to avoid a warning.
88439 2011-08-14  David S. Miller  <davem@davemloft.net>
88441         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
88442         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
88444 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
88446         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
88447         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
88448         * elf/rtld.c (dl_main): Set l_name of vDSO.
88449         Call _dl_show_scope when DL_DEBUG_SCOPES.
88450         (process_dl_debug): Recognize scopes flag and also set it for all.
88451         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
88452         Declare _dl_show_scope.
88454         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
88455         (do_dlopen): Pass caller_dlopen to dl_open.
88456         (__libc_dlopen_mode): Initialize caller_dlopen.
88458         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
88459         of libc.  Make tolower call locale-independent.  Optimize a bit by
88460         using isdigit instead of isalnum.
88461         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
88463 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
88465         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
88466         was a dependency or dynamically loaded.
88468 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
88470         * intl/l10nflist.c: Allow architecture-specific pop function.
88471         * sysdeps/x86_64/l10nflist.c: New file.
88473         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
88474         classification.
88476 2011-08-10  Andreas Schwab  <schwab@redhat.com>
88478         * include/dirent.h: Add libc_hidden_proto for scandirat and
88479         scandirat64.  Don't declare __scandirat64.
88480         * dirent/scandirat.c: Add libc_hidden_def.
88481         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
88482         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
88484 2011-08-10  David S. Miller  <davem@davemloft.net>
88486         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
88487         enum.
88488         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88489         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88490         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88492 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
88494         * Versions.def [libc]: Add GLIBC_2.15.
88495         * dirent/Makefile (routines): Add scandirat and scandirat64.
88496         * dirent/Versions [libc]: Export scandirat and scandirat64 for
88497         GLIBC_2.15.
88498         * dirent/dirent.h: Declare scandirat and scandirat64.
88499         * dirent/scandirat.c: New file.
88500         * dirent/scandirat64.c: New file.
88501         * sysdeps/wordsize-64/scandirat.c: New file.
88502         * sysdeps/wordsize-64/scandirat64.c: New file.
88503         * dirent/opendir.c: Define opendirat.
88504         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
88505         using scandirat.
88506         * dirent/scandir64.c: Adjust for scandir.c change.
88507         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
88508         __scandirat64, and __scandir_cancel_handler.
88509         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
88510         additional parameter and use openat instead of open (outside of ld.so).
88511         Add new __opendir as wrapper around __opendirat.
88512         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
88513         here without requiring old scandirat implementation.
88515 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
88517         * dirent/scandir.c (cancel_handler): Renamed to
88518         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
88519         defined.  Adjust users.
88520         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
88521         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
88523 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
88525         * string/test-string.h (IMPL): Use __STRING to expand name and then
88526         stringify it.
88528         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
88529         of cleanups.
88531 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88533         * string/Makefile: Update.
88534         (strop-tests): Append strncat.
88535         * string/test-wcscmp.c: New file.
88536         New comprehensive test for wcscmp.
88537         * string/test-strcmp.c: Update.
88538         (WIDE): New define.
88540 2011-07-22  Andreas Schwab  <schwab@redhat.com>
88542         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
88543         line.
88545 2011-07-26  Andreas Schwab  <schwab@redhat.com>
88547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88548         encoding to ACE if AI_IDN.
88550 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
88552         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
88553         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
88555 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88557         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
88558         Fix overflow bug in strncat.
88559         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
88561         * string/test-strncat.c: Update.
88562         Add new tests for checking overflow bugs.
88564 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88566         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88567         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
88568         * sysdeps/i386/i686/multiarch/strcat.S: New file.
88569         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
88570         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
88571         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
88572         * sysdeps/i386/i686/multiarch/strncat.S: New file.
88573         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
88574         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
88576         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
88577         (USE_AS_STRCAT): Define.
88578         Add strcat and strncat support.
88579         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88581 2011-07-25  Andreas Schwab  <schwab@redhat.com>
88583         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
88584         __n bigger than INT_MAX+1.
88585         (__strncmp_g): Likewise.
88587 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
88589         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
88590         * libio/stido.h: Likewise.
88592         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
88593         (AF_NFC): Define.
88594         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
88595         (AF_NFC): Define.
88597         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
88598         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88599         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88600         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
88601         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88603         [BZ #13021]
88604         * scripts/test-installation.pl: Don't expect libnss_test1 to be
88605         installed.
88607         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
88608         typo.
88609         (_dl_x86_64_save_sse): Likewise.
88611 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
88613         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
88614         OSXSAVE.
88615         (_dl_x86_64_save_sse): Likewise.
88617         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
88619         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
88621 2011-07-21  Andreas Schwab  <schwab@redhat.com>
88623         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
88624         change.
88625         (_dl_x86_64_save_sse): Use correct AVX check.
88627 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88629         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
88630         bug in strncpy/strncat.
88631         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
88633 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
88635         * string/tester.c (test_strcat): Add tests for different alignments
88636         of source and destination.
88637         (test_strncat): Likewise.
88639 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88641         [BZ #12852]
88642         * posix/glob.c (glob): Check passed in values before using them in
88643         expressions to avoid some overflows.
88644         (glob_in_dir): Likewise.
88646         [BZ #13007]
88647         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
88648         check for AVX enablement so that we don't crash with old kernels and
88649         new hardware.
88650         * elf/tst-audit4.c: Add same checks here.
88651         * elf/tst-audit6.c: Likewise.
88653         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
88655 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
88657         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
88659 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88661         * po/cs.po: Update from translation team.
88662         * po/bg.po: Likewise.
88664 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
88666         * misc/sys/cdefs.h: Add support for const attribute.
88667         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
88668         to gnu_dev_{major,minor,makedev} functions.
88670 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
88672         * intl/dcigettext.c (get_output_charset): Add missing bracket.
88674 2011-07-20  Andreas Schwab  <schwab@redhat.com>
88676         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
88677         strlen results.
88679 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88681         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
88682         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
88683         register in order to avoid conflicts with the soft frame pointer
88684         being held in r11 when necessary.
88685         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
88686         (INTERNAL_VSYSCALL_NCS): Likewise.
88688 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
88690         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
88691         * elf/dl-fini.c (_dl_fini): Adjust caller.
88692         * elf/dl-close.c (_dl_close_worker): Likewise.
88693         * sysdeps/generic/ldsodefs.h: Adjust declaration.
88695 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88697         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
88698         "aux_cache->nlibs < 0".
88700         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
88701         in the reload-count case.
88703 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88706         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
88707         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
88708         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
88709         * sysdeps/x86_64/multiarch/strcat.S: New file.
88710         * sysdeps/x86_64/multiarch/strncat.S: New file.
88711         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
88712         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
88713         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
88714         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
88715         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
88716         (USE_AS_STRCAT): Define.
88717         Add strcat and strncat support.
88718         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88719         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
88720         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
88721         * string/strncat.c: Update.
88722         (USE_AS_STRNCAT): Define.
88723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88724         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
88725         and i7.
88726         * sysdeps/x86_64/multiarch/init-arch.h
88727         (bit_Prefer_PMINUB_for_stringop): New.
88728         (index_Prefer_PMINUB_for_stringop): Likewise.
88729         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
88730         bit_Prefer_PMINUB_for_stringop.
88732 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88734         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
88735         buffer64.
88736         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
88737         of casting of buffer.
88738         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
88739         buffer32 and buffer64.
88740         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
88741         writes instead of casting of buffer.
88742         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
88743         buffer32.
88744         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
88745         casting of buffer.
88747 2011-07-19  Andreas Schwab  <schwab@redhat.com>
88749         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
88751 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88753         * nscd/nscd.c (termination_handler): Don't do anything for a database
88754         if it has not yet been initialized.
88756 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88758         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88760 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88762         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88764 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88766         * po/nl.po: Update from translation team.
88767         * po/sv.po: Likewise.
88769 2011-07-16  Roland McGrath  <roland@hack.frob.com>
88771         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
88772         now disallowed by GCC.
88774         * configure.in (use-default-link): Default to yes if a test -shared
88775         link meets our qualifications.
88776         * configure: Regenerated.
88778         * config.make.in (output-format): New variable.
88779         * configure.in: Check for ld --print-output-format support.
88780         * configure: Regenerated.
88781         * Makerules ($(common-objpfx)format.lds)
88782         [$(output-format) != unknown]: Just use $(output-format),
88783         instead of the linker-script munging.
88785 2011-07-14  Roland McGrath  <roland@hack.frob.com>
88787         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
88788         of $(common-objpfx)shlib.lds.
88789         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
88791         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
88792         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
88794         * configure.in (-z relro check): Adjust test code to add a large
88795         writable data section after it.
88796         * configure: Regenerated.
88798 2011-07-11  Roland McGrath  <roland@hack.frob.com>
88800         * configure.in (-z relro check): Fix test code to make the variable
88801         truly const.
88802         * configure: Regenerated.
88804 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
88806         * nscd/nscd.h (struct traced_file): Define.
88807         (struct database_dyn): Remove inotify_descr, reset_res, and filename
88808         elements.  Add traced_files.
88809         (inotify_fd): Declare.
88810         (register_traced_file): Declare.
88811         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
88812         (inotify_fd): Export.
88813         (resolv_conf_descr): Remove.
88814         (nscd_init): Move inotify descriptor creation to main.
88815         Don't register files for notification here.
88816         (register_traced_file): New function.
88817         (invalidate_cache): Don't use reset_res to determine whether to call
88818         res_init, go through the list of registered files.
88819         (main_loop_poll): The inotify descriptors are now stored in the
88820         structures for the traced files.
88821         (main_loop_epoll): Likewise.
88822         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
88823         to __nss_disable_nscd.
88824         * nscd/cache.c (prune_cache): There is no single inotify descriptor
88825         for a database anymore.  Check the records for all the registered
88826         files instead.
88827         * nss/Makefile (libnss_files-routines): Add files-init.
88828         (libnss_db-routines): Add db-init.
88829         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
88830         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
88831         * nss/nss_db/db-init.c: New file.
88832         * nss/nss_files/files-init.c: New file.
88833         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
88834         __nss_lookup_function.
88835         (__nss_lookup_function): Call nss_load_library.
88836         (nss_load_all_libraries): New function.
88837         (__nss_disable_nscd): Take parameter with callback function for files
88838         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
88839         used for the cached services.
88840         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
88841         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
88842         options for features to all the files in nscd.
88844         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
88846 2011-07-10  Roland McGrath  <roland@hack.frob.com>
88848         * csu/elf-init.c (__libc_csu_init): Comment typo.
88850 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
88852         * po/pl.po: Update from translation team.
88853         * po/ja.po: Likewise.
88854         * po/ru.po: Likewise.
88855         * po/ko.po: Likewise.
88856         * po/fr.po: Likewise.
88858 2011-07-09  Roland McGrath  <roland@hack.frob.com>
88860         * configure.in (.ctors/.dtors header and trailer check):
88861         Use an empirical test on a built program.
88862         * configure: Regenerated.
88864         * configure.in (-z relro check): Use an empirical test on a built DSO.
88865         Detect, but do not require, on ia64.
88866         * configure: Regenerated.
88868         * configure.in (READELF): Find it with AC_CHECK_TOOL.
88869         Update tests that use readelf to use $READELF instead.
88870         * configure: Regenerated.
88872 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
88874         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
88875         if the result is not used.
88877 2011-07-05  Andreas Jaeger  <aj@suse.de>
88879         [BZ #9696]
88880         * stdlib/tst-strtod.c: Add testcase.
88882 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
88884         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
88885         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
88886         The latter has a higher limit.  Take additional parameter to pass to
88887         the new function.
88888         (__pathconf): Pass file to __statfs_link_max.
88889         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
88890         __statfs_link_max.
88891         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
88892         __statfs_link_max.
88894         [BZ #12868]
88895         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
88896         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88897         Handle Lustre.
88898         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
88899         (__statfs_filesize_max): Likewise.
88900         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
88902 2011-07-05  Andreas Jaeger  <aj@suse.de>
88904         * resolv/res_comp.c (dn_skipname): Remove unused variable.
88906 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
88908         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
88909         `status' variable.
88910         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
88911         Likewise.
88913 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
88915         * Makefile (strop-tests): Add strncat.
88916         * string/test-strncat.c: New file.
88918 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
88920         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
88922 2011-06-21  Andreas Jaeger  <aj@suse.de>
88924         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
88925         Copy rule from iconvdata/Makefile.
88927 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88929         [BZ #12922]
88930         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
88931         but no long options are defined, just return 'W'.
88933 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
88935         [BZ #9696]
88936         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
88938 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88940         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
88941         netgroups to read.
88942         (innetgr): Likewise.
88944 2011-07-05  Roland McGrath  <roland@hack.frob.com>
88946         * config.make.in (install_root): Default to $(DESTDIR).
88948 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
88950         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
88952 2011-07-02  Roland McGrath  <roland@hack.frob.com>
88954         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
88956         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
88957         containing directory rather than embedding absolute directory names.
88959         * scripts/check-local-headers.sh: Rewritten using awk.
88960         Match by word, not by line.  Print error messages for matches.
88961         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
88963         * Makerules [shlib-lds-flags empty]:
88964         ($(common-objpfx)libc_pic.opts): New target.
88965         ($(common-objpfx)libc_pic.os.clean): New target.
88966         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
88968         * config.make.in (OBJCOPY): New variable.
88969         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
88970         * configure: Regenerated.
88972         * config.make.in (use-default-link): New variable.
88973         * configure.in (use_default_link): Grok --with-default-link to set it.
88974         * configure: Regenerated.
88975         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
88976         (shlib-lds, shlib-lds-flags): Define to empty.
88978         * Makerules (shlib-lds): New variable.
88979         (shlib-lds-flags): New variable.
88980         (build-shlib, build-moduile, build-module-asneeded): Use it.
88981         ($(common-objpfx)libc.so): Use $(shlib-lds).
88982         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
88983         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
88985         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
88986         DT_FLAGS/DT_FLAGS_1 with zero flags.
88988         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
88989         linker script munging.
88991 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
88993         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
88994         as 128-bit value.
88995         * crypt/sha512.c (sha512_process_block): Perform total addition using
88996         128-bit if possible.
88997         (__sha512_finish_ctx): Likewise.
88998         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
88999         as 64-bit value.
89000         * crypt/sha256.c (SWAP64): Define.
89001         (sha256_process_block): Perform total addition using 64-bit if
89002         possible.
89003         (__sha256_finish_ctx): Likewise.
89005 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
89007         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
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.
89012         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89014 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
89016         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89017         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89018         * nscd/hstcache.c (cache_addhst): Likewise.
89019         * nscd/grpcache.c (cache_addgr): Likewise.
89020         * nscd/aicache.c (addhstaiX): Likewise.
89022 2011-07-01  Andreas Schwab  <schwab@redhat.com>
89024         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89025         domain only when needed.
89027 2011-06-30  Andreas Schwab  <schwab@redhat.com>
89029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89030         is always restored.
89032 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
89034         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89035         are re-adding the entry.
89036         * nscd/servicescache.c (cache_addserv): Likewise.
89038 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
89040         * sysdeps/generic/dl-irel.h: fix protection against multiple
89041         inclusions.
89042         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89044 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
89046         [BZ #12935]
89047         * malloc/memusage.sh: Fix quoting in message.
89048         * debug/xtrace.sh: Likewise.
89050         * configure.in: Remove support for --experimental-malloc option, make
89051         it the default.
89052         * config.make.in: Likewise.
89053         * malloc/Makefile: Likewise.
89055 2011-06-27  Andreas Schwab  <schwab@redhat.com>
89057         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
89058         two-byte characters.
89060 2011-06-27  Roland McGrath  <roland@hack.frob.com>
89062         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
89063         AC_CACHE_CHECK invocation.
89064         * configure: Regenerated.
89066         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
89068 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
89070         [BZ #12350]
89071         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
89072         bit from old_res_options.
89074         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
89076         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
89077         value type for setfct.
89079 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
89081         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89082         __gettimeofday instead of gettimeofday.
89084 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
89086         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
89088 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
89090         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
89092         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
89093         info.
89095 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89098         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89099         strcpy-sse2-unaligned strncpy-sse2-unaligned
89100         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
89101         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
89102         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
89103         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
89104         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
89105         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
89106         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
89107         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
89108         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
89109         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
89110         (STRCPY): Support SSE2 and SSSE3 versions.
89112 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
89114         [BZ #12874]
89115         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
89116         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
89117         kernels which artificially limit size of requests.
89119 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89121         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89122         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89123         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
89124         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
89125         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
89126         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
89127         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
89128         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
89129         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
89130         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
89131         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
89132         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
89133         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
89134         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
89135         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
89136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89137         Enable unaligned load optimization for Intel Core i3, i5 and i7
89138         processors.
89139         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
89140         Define.
89141         (index_Fast_Unaligned_Load): Define.
89142         (HAS_FAST_UNALIGNED_LOAD): Define.
89144 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
89146         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
89148 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89150         [BZ #12907]
89151         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
89152         until it is clear that the information is realy needed.
89153         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
89155 2011-06-22  Andreas Schwab  <schwab@redhat.com>
89157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
89159 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89161         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89162         /sys/devices/system/cpu/online if it is usable.
89164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
89165         reading the information from the /proc filesystem to once a second.
89167 2011-06-21  Andreas Jaeger  <aj@suse.de>
89169         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
89170         NULL after inclusion of kernel headers.
89172 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
89174         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
89175         calls to internal_setent.
89177         [BZ #12885]
89178         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
89179         addresses using gethostbyname4_r ignore IPv4 addresses.
89181         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
89182         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
89184         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
89186 2011-06-20  David S. Miller  <davem@davemloft.net>
89188         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
89189         inclusions.
89190         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
89192         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
89193         (elf_irel): Use it.
89194         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
89195         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
89196         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
89197         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
89198         * sysdeps/x86_64/dl-irel.h: Likewise.
89200         * elf/dl-runtime.c: Use elf_ifunc_invoke.
89201         * elf/dl-sym.c: Likewise.
89203 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89205         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
89206         need to dereference resplen2.
89208 2011-06-14  Andreas Schwab  <schwab@redhat.com>
89210         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
89212 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89214         * Makeconfig: Define vardbdir and inst_vardbdir.
89215         * nss/Makefile: Add rules to install db-Makefile.
89217         * nss/nss_db/db-XXX.c: Cleanup.
89219         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
89220         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
89221         GLIBC_PRIVATE.
89222         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
89223         * nss/makedb.c: Implement -g option to specify that value strings
89224         are generated and should not be added to table iterated over for
89225         get*ent calls.
89226         * nss/nss_db/db-initgroups.c: New file.
89228         * nss/getent.c: Add support for initgroups lookups through getgrouplist
89229         interface.
89231         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
89232         (internal_getgrouplist): Adjust to name change.
89233         Update use_initgroups_entry if this is not the first call.
89234         * nss/databases.def: Add initgroups entry.
89236         * nss/makedb.c (compute_tables): Check result of multiple hash table
89237         sizes to minimize maximum chain length.
89239 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
89241         * Versions.def: Add entry for libnss_db.
89242         * shlib-versions: Likewise.
89243         * nss/Makefile: Add rules to build libnss_db.
89244         * nss/Versions: Add libnss_db information.  Organize libnss_files
89245         entries better.
89246         * nss/db-Makefile: Add gshadow support.  Change rules for the new
89247         makedb progra.  Some minor improvements to generate smaller files.
89248         * nss/nss_db/nss_db.h: Move NSS database header data structures to
89249         here from...
89250         * nss/makedb.c: ...here.
89251         Improve database format to be smaller and require less memory at
89252         runtime.
89253         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
89254         db anymore.
89255         * nss/nss_db/db-netgrp.c: Likewise.
89256         * nss/nss_db/db-open.c: Likewise.
89257         * nss/nss_files/flies-XXX.x: Adjust comments.
89258         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
89259         * nss/nss_files/files-grp.c: Likewise.
89260         * nss/nss_files/files-hosts.c: Likewise.
89261         * nss/nss_files/files-network.c: Likewise.
89262         * nss/nss_files/files-proto.c: Likewise.
89263         * nss/nss_files/files-pwd.c: Likewise.
89264         * nss/nss_files/files-rpc.c: Likewise.
89265         * nss/nss_files/files-service.c: Likewise.
89266         * nss/nss_files/files-sgrp.c: Likewise.
89267         * nss/nss_files/files-spwd.c: Likewise.
89268         * nss/nss_db/db-alias.c: Removed.
89269         * nss/nss_db/dummy-db.h: Removed.
89271 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
89273         * nss/makedb.c: Rewritten to not use database library.
89274         * nss/Makefile: Update to build new makedb program.
89276 2011-06-14  Andreas Jaeger  <aj@suse.de>
89278         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
89279         memset declaration.
89281 2011-06-10  Andreas Schwab  <schwab@redhat.com>
89283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
89284         tmpbuf.
89286 2011-06-10  Roland McGrath  <roland@hack.frob.com>
89288         * Makerules (shlib.lds): Fail if the linker script comes out empty.
89289         * elf/Makefile ($(objpfx)ld.so): Likewise.
89291         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
89292         Don't list ld.so twice in dependencies.
89294         * posix/bug-regex31.c: Include <stdlib.h>.
89296         * nscd/hstcache.c (cache_addhst): Remove unused variable.
89298         * nis/nss_compat/compat-spwd.c
89299         (getspent_next_nss_netgr): Remove unused variable.
89300         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
89302         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
89303         nonmembers" output to use the right array.
89305         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
89307         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
89309         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
89310         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
89311         * catgets/gencat.c (read_input_file): Likewise.
89312         * locale/programs/locarchive.c (enlarge_archive): Likewise.
89314         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
89315         variable definition inside #if's controlling its use.
89317         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
89319         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
89321         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
89323         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
89324         unreachable code.
89326         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
89328         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
89329         * configure: Regenerated.
89331         * Makerules: Revert last change.
89332         * elf/Makefile: Likewise.
89334 2011-06-09  Roland McGrath  <roland@hack.frob.com>
89336         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
89337         * elf/Makefile ($(objpfx)librtld.os): Likewise.
89338         (reloc-link): Likewise.
89340 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
89342         * elf/Makefile: Add rules to build pldd.
89343         * elf/pldd.c: New file.
89344         * elf/pldd-xx.c: New file.
89346 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
89348         * version.h: Update for 2.15 development version.
89350 2011-06-07  David S. Miller  <davem@davemloft.net>
89352         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
89353         ifuncs.
89354         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
89355         elf_machine_lazy_rel): Likewise.
89356         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
89357         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
89358         elf_machine_lazy_rel): Likewise.
89359         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
89360         dl_hwcap via passed in argument.
89361         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
89362         Likewise.
89364 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89366         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
89368 2011-06-06  Roland McGrath  <roland@hack.frob.com>
89370         [BZ #12849]
89371         * manual/fdl-1.1.texi: New file, verbatim from:
89372         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
89373         * manual/lgpl-2.1.texi: New file, verbatim from:
89374         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
89375         * manual/Makefile (licenses): New variable, list those new file names.
89376         (texis): Use it.
89377         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
89379         * manual/fdl.texi: File removed.
89380         * manual/lesser.texi: File removed.
89381         * manual/libc.texinfo (Copying, Documentation License):
89382         Use new @include file names, put @appendix directive before @include.
89384 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
89386         [BZ #12841]
89387         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
89388         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
89389         (mq_open): Add __NTH.
89391 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
89393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89394         Assume Intel Core i3/i5/i7 processor if AVX is available.
89396 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89398         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
89399         typo.
89401 2011-05-31  Andreas Schwab  <schwab@redhat.com>
89403         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
89404         memory.  Use alloca_account.  Fix memory leak when retrying.
89406 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89408         * version.h (RELEASE): Bump for 2.14 release.
89409         * include/features.h (__GLIBC_MINOR__): Bump to 14.
89411         * config.make.in (RANLIB): Remove entry.
89413 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
89415         * po/Makefile (po-sed-cmd): Add ksh to extensions.
89416         (libc.pot): Work around missing support for .ksh extension in xgettext.
89418         [BZ #12684]
89419         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
89420         if both request failed.
89421         (send_dg): In case of server errors clear resplen or *resplen2.
89423         [BZ #12454]
89424         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
89425         when there are multiple maps.
89426         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
89427         (_dl_fini): Remove test here.
89429         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
89431 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
89433         [BZ #12350]
89434         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
89435         bit from old_res_options.
89436         (gaih_inet): Likewise.
89438         [BZ #11099]
89439         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
89440         as signed.
89442         * resolv/res_init.c (res_setoptions): Make the code more compact.
89444         [BZ #11558]
89445         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
89446         set RES_USEVC.
89448         [BZ #11634]
89449         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
89451         * malloc/malloc.h: Mark malloc hook variables as deprecated.
89453         [BZ #11781]
89454         * malloc/malloc.h: Declare malloc hook variables as volatile.
89456         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
89457         in last patch.
89459         [BZ #11799]
89460         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
89461         raise in the comment.
89462         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
89463         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
89464         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
89466 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
89468         [BZ #12811]
89469         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
89470         grow the buffers more if it already has to be sufficient.
89471         (build_wcs_upper_buffer): Likewise.
89472         * posix/regexec.c (check_matching): Likewise.
89473         (clean_state_log_if_needed): Likewise.
89474         (extend_buffers): Don't enlarge buffers beyond size of the input
89475         buffer.
89476         Patches mostly by Emil Wojak <emil@wojak.eu>.
89477         * posix/bug-regex32.c: New file.
89478         * posix/Makefile (tests): Add bug-regex32.
89480         * locale/findlocale.c (_nl_find_locale): Return right away if
89481         _nl_explode_name failed.
89482         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
89484         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
89486         * debug/xtrace.sh: Unify messages.
89487         * malloc/memusage.sh: Likewise.
89489         [BZ #12813]
89490         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
89491         time symbol from vDSO.  Substitute with vsyscall if not available.
89492         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
89493         __vdso_time.
89495         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
89496         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
89497         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
89498         Add sendmmsg and internal_sendmmsg.
89499         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
89500         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
89501         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
89503         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
89504         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
89505         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
89507 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
89509         [BZ #12813]
89510         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
89511         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
89512         available.
89513         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
89514         __vdso_getcpu.
89516         [BZ #12814]
89517         * iconvdata/Makefile (tests): Add bug-iconv9.
89518         * iconvdata/bug-iconv9.c: New file.
89520 2011-05-27  Andreas Schwab  <schwab@redhat.com>
89522         [BZ #12814]
89523         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
89525 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
89527         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89528         (struct user_regs_struct): Change intcs field back to cs.
89530 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
89532         * po/ja.po: Update from translation team.
89534 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
89536         [BZ #12795]
89537         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
89538         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
89540 2011-05-20  Andreas Schwab  <schwab@redhat.com>
89542         * stdlib/longlong.h: Update from GCC.
89544 2011-05-23  Andreas Schwab  <schwab@redhat.com>
89546         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
89547         parameter name.
89548         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
89549         Add parameter name.
89550         (__sysconf): Pass it down.
89552 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
89554         [BZ #12671]
89555         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
89556         some situations.
89557         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
89558         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
89559         add in in __libc_use_alloca calls.  Adjust callers.
89560         (glob): Use malloc in some situations.
89562         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
89563         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
89564         pltexit.
89566 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
89568         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
89569         and CLOCK_BOOTTIME_ALARM.
89571         [BZ #12782]
89572         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
89573         is returned.
89575         * string/_strerror.c (__strerror_r): Print negative errors as signed
89576         numbers.
89578         [BZ #12777]
89579         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
89580         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
89581         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
89583         * configure.in: Fix typo in redirection and correct removal of test
89584         files in two cases.
89586         [BZ #12788]
89587         * locale/setlocale.c (new_composite_name): Fix test to check for
89588         identical name of all categories.
89590         [BZ #12792]
89591         * libio/filedoalloc.c (local_isatty): New function.
89592         (_IO_file_doallocate): Use local_isatty.
89593         * stdio-common/perror.c (perror): In case a new stream is used
89594         forward the stream error.
89595         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
89596         error flag.
89598 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
89600         [BZ #11884]
89601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
89602         alloca.
89603         * include/alloca.h (extend_alloca_account): Define.
89605         [BZ #11857]
89606         * posix/regex.h: Fix comments with documentation of user-accessible
89607         fields after compilation and describe correct free'ing of pattern
89608         after re_compile_pattern.
89609         Patch by Reuben Thomas <rrt@sc3d.org>.
89611 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
89613         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
89614         and -mno-altivec to prevent the compiler from using Altivec and/or
89615         VSX instructions when the corresponding registers are not available.
89617 2011-05-19  Andreas Schwab  <schwab@redhat.com>
89619         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
89621 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
89623         * libio/freopen.c (freopen): Use __dup2, not dup2.
89624         * libio/freopen64.c (freopen64): Likewise.
89626 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
89628         [BZ #12775]
89629         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
89630         * math/Makefile (tests): Add test-powl.
89631         (CFLAGS-test-powl.c): Define.
89632         * math/test-powl.c: New file.
89634 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
89636         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
89638 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
89640         [BZ #11837]
89641         * iconvdata/gb18030.c: Update to GB18020-2005.
89643 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
89645         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
89646         RE_SYNTAX_POSIX_AWK): Update to match recent development.
89647         Patch by Aharon Robbins <arnold@skeeve.com>.
89649         [BZ #11892]
89650         * stdlib/putenv.c (putenv): Don't always create copy of the variable
89651         on the stack.
89653         [BZ #11895]
89654         * misc/pselect.c (__pselect): Handle timeout value errors hidden
89655         through underflows.
89657         [BZ #12766]
89658         * misc/error.c (error_at_line): Ensure file_name and old_file_name
89659         point to strings before performing equality test for error_one_per_line
89660         mode.
89662         [BZ #11697]
89663         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
89665         [BZ #11820]
89666         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89667         (struct user_fpregs_struct): Avoid __uint*_t types.
89669         [BZ #6420]
89670         * malloc/mtrace.c (tr_where): Add additional parameter to point to
89671         symbol info.  Use it instead of calling _dl_addr locally.
89672         (lock_and_info): New function.
89673         (tr_freehook): Call lock_and_info and pass symbol info as additional
89674         parameter to tr_where.
89675         (tr_mallochook): Likewise.
89676         (tr_reallochook): Likewise.
89677         (tr_memalignhook): Likewise.
89679         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
89680         used and couldn't be at all thread-safe.
89682 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
89684         * libio/freopen.c (freopen): Don't close old file descriptor
89685         before the new one is opened.  Instead dup the new file descriptor
89686         to the old one after the new stream is created.
89687         * libio/freopen64.c (freopen64): Likewise.
89688         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
89689         * libio/fileops.c (_IO_new_file_close_it): Handle new
89690         _IO_FLAGS2_NOCLOSE flag.
89691         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
89692         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
89693         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
89694         _IO_FLAGS2_NOCLOSE flag.
89695         * include/unistd.h: Add hidden_proto for dup3.
89696         Define __have_dup3.
89697         * io/dup3.c: Define hidden symbol.
89698         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
89700         [BZ #7101]
89701         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
89702         when an incomplete long option is used.
89703         * posix/tst-getopt_long1.c: New file.
89704         * posix/Makefile (tests): Add tst-getopt_long1.
89706         [BZ #10138]
89707         * scripts/config.guess: Update from autoconf-2.68.
89708         * scripts/config.sub: Likewise.
89710         [BZ #10157]
89711         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
89712         tests into ...
89713         (has_cpuclock): ...this.  New function.
89714         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
89715         macro here based on has_cpuclock code.
89717         [BZ #10149]
89718         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89719         First byte (not low byte) is now always NUL.
89720         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
89722         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89723         Use non-cancelable interfaces.
89725         [BZ #9809]
89726         * locale/iso-639.def: Add entry for Sorani.
89728         [BZ #11901]
89729         * include/stdlib.h: Move include protection to the right place.
89730         Define abort_msg_s.  Declare __abort_msg with it.
89731         * stdlib/abort.c (__abort_msg): Adjust type.
89732         * assert/assert.c (__assert_fail_base): New function.  Majority
89733         of code from __assert_fail.  Allocate memory for __abort_msg with
89734         mmap.
89735         (__assert_fail): Now call __assert_fail_base.
89736         * assert/assert-perr.c: Remove bulk of implementation.  Use
89737         __assert_fail_base.
89738         * include/assert.hL Declare __assert_fail_base.
89739         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
89740         mmap.
89741         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
89743 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
89745         [BZ #11952]
89746         [BZ #12453]
89747         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
89748         until all modules are registered in the DTV.
89749         * elf/Makefile: Add rules to build and run tst-tls19.
89750         * elf/tst-tls19.c: New file.
89751         * elf/tst-tls19mod1.c: New file.
89752         * elf/tst-tls19mod2.c: New file.
89753         * elf/tst-tls19mod3.c: New file.
89754         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
89756         [BZ #12083]
89757         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
89758         correctly.
89760         [BZ #12601]
89761         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
89762         two-byte sequence errors.
89763         * iconvdata/Makefile (tests): Add bug-iconv8.
89764         * iconvdata/bug-iconv8.c: New file.
89766         [BZ #12626]
89767         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
89768         buf2 definition.
89770         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
89772         [BZ #12432]
89773         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
89774         (dummy_getcfa): New function.
89775         (init): Get _Unwind_GetCFA address, use dummy if not found.
89776         (backtrace_helper): In recursion check, also check whether CFA changes.
89777         (__backtrace): Completely initialize arg.
89779         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
89780         storing incomplete byte sequence in state object.  Avoid testing for
89781         guaranteed too small input if we know there is enough data available.
89783 2011-05-11  Andreas Schwab  <schwab@redhat.com>
89785         * Makeconfig (+link-pie): Indent.
89786         * Rules (binaries-pie): Define if $(have-fpie) and
89787         $(build-shared).
89788         (binaries-shared): Also filter out $(binaries-pie).
89789         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
89790         * nscd/Makefile (others-pie): Add nscd.
89791         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
89792         ($(objpfx)nscd): Remove command override.
89793         * login/Makefile (others-pie): Add pt_chown.
89794         ($(objpfx)pt_chown): Remove command override.
89795         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
89796         remove command overrides.
89798 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
89800         * libio/tst_putwc.c: Fix error messages.
89802         [BZ #12724]
89803         * libio/fileops.c (_IO_new_file_close_it): Always flush when
89804         currently writing and seek to current position when not.
89805         * libio/Makefile (tests): Add bug-fclose1.
89806         * libio/bug-fclose1.c: New file.
89808 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
89810         [BZ #12511]
89811         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
89812         don't set DF_1_NODELETE here.
89813         (do_lookup_x): When entering new entry test for copy relocation
89814         and if necessary set DF_1_NODELETE flag.
89815         * elf/tst-unique4.cc: New file.
89816         * elf/tst-unique4.h: New file.
89817         * elf/tst-unique4lib.cc: New file.
89818         * elf/Makefile: Add rules to build and run tst-unique4.
89819         Patch by Piotr Bury <pbury@goahead.com>.
89821 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
89823         [BZ #12052]
89824         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
89826         [BZ #12625]
89827         * misc/mntent_r.c (addmntent): Flush the stream after the output
89829         [BZ #12393]
89830         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
89831         (is_trusted_path_normalize): Skip initial colon.  Append slash
89832         to empty buffer.  Duplicate is_trusted_path code but allow
89833         constructed patch to be prefix.
89834         (is_dst): Allow $ORIGIN followed by /.
89835         (_dl_dst_substitute): Correct clearing of check_for_trusted.
89836         Correct testing of result of is_trusted_path_normalize
89837         (decompose_rpath): Fix warning.
89839 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
89841         [BZ #11257]
89842         * grp/initgroups.c (internal_getgrouplist): When we found the service
89843         list through the initgroups entry in nsswitch.conf do not always
89844         continue on a successful lookup.  Don't always use the
89845         __nss_group_database value if it is set.
89846         * nss/nsswitch.conf (initgroups): Change action for successful db
89847         lookup to continue for compatibility.
89849 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
89851         [BZ #11532]
89852         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
89853         and CP774 modules.
89854         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
89855         and CP774 modules.
89856         * iconvdata/tst-tables.sh: Likewise.
89857         * iconvdata/cp770.c: New file.
89858         * iconvdata/cp771.c: New file.
89859         * iconvdata/cp772.c: New file.
89860         * iconvdata/cp773.c: New file.
89861         * iconvdata/cp774.c: New file.
89862         * iconvdata/testdata/CP770: New file.
89863         * iconvdata/testdata/CP770..UTF8: New file.
89864         * iconvdata/testdata/CP771: New file.
89865         * iconvdata/testdata/CP771..UTF8: New file.
89866         * iconvdata/testdata/CP772: New file.
89867         * iconvdata/testdata/CP772..UTF8: New file.
89868         * iconvdata/testdata/CP773: New file.
89869         * iconvdata/testdata/CP773..UTF8: New file.
89870         * iconvdata/testdata/CP774: New file.
89871         * iconvdata/testdata/CP774..UTF8: New file.
89873         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
89874         END CHARMAP line.
89875         * iconvdata/gen-8bit-gap.sh: Likewise.
89876         * iconvdata/gen-8bit.sh: Likewise.
89878         * locale/iso-639.def: Add ary entry.
89880         [BZ #11258]
89881         * locale/C-translit.h.in: Add U20A1 transliteration.
89883         [BZ #12178]
89884         * locale/iso-639.def: Add wae entry.
89885         Patch by Kevin Bortis <bortis@translate-wae.ch>.
89887         [BZ #12545]
89888         * locale/programs/localedef.c (construct_output_path): Use ssize_t
89889         for n.
89891         [BZ #12711]
89892         * locale/C-translit.h.in: Add entry for U20B9.
89893         Patch by pravin.d.s@gmail.com.
89895 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
89897         [BZ #12713]
89898         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
89899         ENAMETOOLONG use generic getcwd.
89900         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
89901         in rtld.  Use *stat64.
89902         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
89903         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
89904         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
89905         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
89906         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
89907         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
89908         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
89909         __fstatat64 macros.
89910         * include/dirent.h: Add libc_hidden_proto for rewinddir.
89911         * dirent/rewinddir.c: Add libc_hidden_def.
89912         * sysdeps/mach/hurd/rewinddir.c: Likewise.
89913         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
89915         * include/dirent.h (__alloc_dir): Add flags parameter.
89916         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
89917         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
89918         __alloc_dir.
89919         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
89920         from fdopendir if O_CLOEXEC is already set.
89922 2011-03-15  Alan Modra  <amodra@gmail.com>
89924         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
89925         l_tls_firstbyte_offset non-zero.  Save padding offset in
89926         l_tls_firstbyte_offset for later use.
89927         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
89928         freeing static tls block.
89930 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
89932         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
89933         where #ifdef was intended.  The intent is to prevent ARG_MAX from
89934         being defined by the kernel headers.
89936 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
89938         [BZ #12734]
89939         * resolv/resolv.h: Define RES_NOTLDQUERY.
89940         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
89941         no-tld-query and set RES_NOTLDQUERY.
89942         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
89943         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
89944         modern BIND to search name as TLD unless forbidden.
89946 2011-05-07  Petr Baudis  <pasky@suse.cz>
89947             Ulrich Drepper  <drepper@gmail.com>
89949         [BZ #12393]
89950         * elf/dl-load.c (fillin_rpath): Move trusted path check...
89951         (is_trusted_path): ...to here.
89952         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
89953         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
89954         using is_trusted_path_normalize() in setuid scripts.
89956 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
89958         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
89959         __BEGIN/__END_DECLS.
89961 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
89963         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
89964         NSS_STATUS_NOTFOUND if no record was found.
89966 2011-05-05  Andreas Schwab  <schwab@redhat.com>
89968         * sunrpc/Makefile (headers): Add rpc/netdb.h.
89969         (headers-not-in-tirpc): Remove rpc/netdb.h
89970         * resolv/netdb.h: Revert last change.
89972 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89974         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
89975         circular dependency between libgcc.a and libc.a.
89977 2011-05-05  Andreas Schwab  <schwab@redhat.com>
89979         * resolv/netdb.h: Don't include <rpc/netdb.h>.
89980         * nis/Makefile: Don't install rpcsvc/*.
89981         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
89982         instead of <rpc/types.h>.
89983         (MAXHOSTNAMELEN): Define.
89985 2011-05-03  Andreas Schwab  <schwab@redhat.com>
89987         * elf/ldconfig.c (add_dir): Don't crash on empty path.
89989 2011-04-28  Maciej Babinski  <mbabinski@google.com>
89991         [BZ #12714]
89992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
89993         gethostbyname4_r when IPv6 results are possible.
89995 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
89997         [BZ #12723]
89998         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
89999         _PC_PIPE_BUF handling.
90001 2011-04-30  Bruno Haible  <bruno@clisp.org>
90003         [BZ #12717]
90004         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
90005         * resolv/netdb.h (getnameinfo): Change type of flags parameter
90006         to 'int'.
90007         * inet/getnameinfo.c (getnameinfo): Likewise.
90009 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
90011         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90012         to groups setting in database lookup.
90013         * nss/nsswitch.conf: Add initgroups entry.
90015 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
90017         [BZ #12685]
90018         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90019         mode string.
90020         Patch by Eric Blake <eblake@redhat.com>.
90022 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
90024         * sunrpc/Makefile (need-export-routines): Add svc_run.
90025         (routines): Remove svc_run.
90026         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90027         * sunrpc/clnt_perr.c (clnt_perrno): Export.
90028         * sunrpc/svc_run.c (svc_run): Likewise.
90029         * sunrpc/svc_udp.c (svcudp_create): Likewise.
90031 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
90033         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90034         problem in reallocation in last patch.
90036 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
90038         * sunrpc/Makefile: Move inclusion of Rules.
90040 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90042         * nss/nss_files/files-initgroups.c: New file.
90043         * nss/Makefile (libnss_files-routines): Add files-initgroups.
90044         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90045         _nss_files_initgroups_dyn.
90047 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
90049         * elf/elf.h (R_ARM_IRELATIVE): Define.
90051 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90053         * po/ru.po: Update from translation team.
90055 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90057         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
90058         dependencies.
90060 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
90062         [BZ #12653]
90063         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
90064         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
90065         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
90066         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
90067         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
90069 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
90071         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
90072         differing bytes.
90073         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
90074         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
90075         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90077 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90079         [BZ #12420]
90080         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
90081         storing it.
90082         * stdlib/bug-getcontext.c: New file.
90083         * stdlib/Makefile: Add rules to build and run bug-getcontext.
90085 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90087         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
90088         instructions into .machine "z9-109".
90089         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
90090         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
90092 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90094         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
90095         between environment variables and auxiliary vector.
90097 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
90099         * Makefile: Add rules to build linkobj/libc.so.
90100         * include/libc-symbols.h: Define libc_hidden_nolink.
90101         * include/rpc/auth.h: Mark functions which are to be hidden.
90102         * include/rpc/auth_des.h: Likewise.
90103         * include/rpc/auth_unix.h: Likewise.
90104         * include/rpc/clnt.h: Likewise.
90105         * include/rpc/des_crypt.h: Likewise.
90106         * include/rpc/key_prot.h: Likewise.
90107         * include/rpc/pmap_clnt.h: Likewise.
90108         * include/rpc/pmap_prot.h: Likewise.
90109         * include/rpc/pmap_rmt.h: Likewise.
90110         * include/rpc/rpc_msg.h: Likewise.
90111         * include/rpc/svc.h: Likewise.
90112         * include/rpc/svc_auth.h: Likewise.
90113         * include/rpc/xdr.h: Likewise.
90114         * nis/Makefile: Link all DSOs against linkobj/libc.so.
90115         * nss/Makefile: Likewise.
90116         * sunrpc/Makefile: Don't install headers.  Build library with normal
90117         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
90118         * sunrpc/auth_des.c: Hide exported symbols by default, export some
90119         for the compat linking library.  Remove use of INTDEF/INTUSE.
90120         * sunrpc/auth_none.c: Likewise.
90121         * sunrpc/auth_unix.c: Likewise.
90122         * sunrpc/authdes_prot.c: Likewise.
90123         * sunrpc/authuxprot.c: Likewise.
90124         * sunrpc/clnt_gen.c: Likewise.
90125         * sunrpc/clnt_perr.c: Likewise.
90126         * sunrpc/clnt_raw.c: Likewise.
90127         * sunrpc/clnt_simp.c: Likewise.
90128         * sunrpc/clnt_tcp.c: Likewise.
90129         * sunrpc/clnt_udp.c: Likewise.
90130         * sunrpc/clnt_unix.c: Likewise.
90131         * sunrpc/des_crypt.c: Likewise.
90132         * sunrpc/des_soft.c: Likewise.
90133         * sunrpc/get_myaddr.c: Likewise.
90134         * sunrpc/key_call.c: Likewise.
90135         * sunrpc/key_prot.c: Likewise.
90136         * sunrpc/netname.c: Likewise.
90137         * sunrpc/pm_getmaps.c: Likewise.
90138         * sunrpc/pm_getport.c: Likewise.
90139         * sunrpc/pmap_clnt.c: Likewise.
90140         * sunrpc/pmap_prot.c: Likewise.
90141         * sunrpc/pmap_prot2.c: Likewise.
90142         * sunrpc/pmap_rmt.c: Likewise.
90143         * sunrpc/publickey.c: Likewise.
90144         * sunrpc/rpc_cmsg.c: Likewise.
90145         * sunrpc/rpc_common.c: Likewise.
90146         * sunrpc/rpc_dtable.c: Likewise.
90147         * sunrpc/rpc_prot.c: Likewise.
90148         * sunrpc/rpc_thread.c: Likewise.
90149         * sunrpc/rtime.c: Likewise.
90150         * sunrpc/svc.c: Likewise.
90151         * sunrpc/svc_auth.c: Likewise.
90152         * sunrpc/svc_authux.c: Likewise.
90153         * sunrpc/svc_raw.c: Likewise.
90154         * sunrpc/svc_run.c: Likewise.
90155         * sunrpc/svc_simple.c: Likewise.
90156         * sunrpc/svc_tcp.c: Likewise.
90157         * sunrpc/svc_udp.c: Likewise.
90158         * sunrpc/svc_unix.c: Likewise.
90159         * sunrpc/svcauth_des.c: Likewise.
90160         * sunrpc/xcrypt.c: Likewise.
90161         * sunrpc/xdr.c: Likewise.
90162         * sunrpc/xdr_array.c: Likewise.
90163         * sunrpc/xdr_float.c: Likewise.
90164         * sunrpc/xdr_intXX_t.c: Likewise.
90165         * sunrpc/xdr_mem.c: Likewise.
90166         * sunrpc/xdr_rec.c: Likewise.
90167         * sunrpc/xdr_ref.c: Likewise.
90168         * sunrpc/xdr_sizeof.c: Likewise.
90169         * sunrpc/xdr_stdio.c: Likewise.
90171 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
90173         [BZ #12650]
90174         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
90175         * sysdeps/ia64/dl-tls.h: Likewise.
90176         * sysdeps/powerpc/dl-tls.h: Likewise.
90177         * sysdeps/s390/dl-tls.h: Likewise.
90178         * sysdeps/sh/dl-tls.h: Likewise.
90179         * sysdeps/sparc/dl-tls.h: Likewise.
90180         * sysdeps/x86_64/dl-tls.h: Likewise.
90181         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
90183 2011-03-14  Andreas Schwab  <schwab@redhat.com>
90185         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
90186         rpath element also skip the following colon.
90187         (expand_dynamic_string_token): Add is_path parameter and pass
90188         down to DL_DST_REQUIRED and _dl_dst_substitute.
90189         (decompose_rpath): Call expand_dynamic_string_token with
90190         non-zero is_path.  Ignore empty rpaths.
90191         (_dl_map_object_from_fd): Call expand_dynamic_string_token
90192         with zero is_path.
90194 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
90196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
90197         Make cancelable.
90199 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
90201         [BZ #12655]
90202         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
90203         Patch by Filipe David Manana <fdmanana@apache.org>.
90205 2011-04-07  Andreas Schwab  <schwab@redhat.com>
90207         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
90208         Maintain aligned stack.
90209         (CHECK_RSP): Remove unused macro.
90211 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
90213         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
90214         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
90216 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
90218         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
90220         * include/features.h: Mention __USE_XOPEN2K8 in comment.
90222 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
90224         [BZ #12518]
90225         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
90226         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
90227         * sysdeps/x86_64/memmove.c: New file.
90228         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
90229         (memcpy): Renamed to ...
90230         (__new_memcpy): This.
90231         (memcpy): Provide GLIBC_2_14 memcpy.
90232         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
90233         (memcpy): Provide GLIBC_2_2_5 memcpy.
90235 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90237         [BZ #12631]
90238         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
90240 2011-03-30  Andreas Schwab  <schwab@redhat.com>
90242         * misc/syncfs.c: New file.
90243         * misc/Makefile (routines): Add syncfs.
90244         * posix/unistd.h: Declare syncfs.
90245         * sysdeps/unix/syscalls.list: Add syncfs.
90247 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90249         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
90250         open_by_handle_at.
90251         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90252         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90253         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90254         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90255         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90256         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
90257         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90259 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90261         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
90262         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90263         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
90264         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90265         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90266         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90267         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90269         * io/Makefile: Compile fallocate.c, fallocate64.c, and
90270         sync_file_range.c with -fexceptions.
90271         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
90272         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
90273         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
90274         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
90275         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
90276         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
90277         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
90278         sync_file_range as cancellation point
90279         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
90280         now a wrapper around __call_sync_file_range with cancellation handling.
90281         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
90282         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
90283         function name to __call_sync_file_range.
90284         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
90285         Add call_sync_file_range.
90287 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
90290         bits/timex.h.
90292 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90294         * iconv/iconv.h: Fix typo in comment.
90295         * io/fcntl.h: Likewise.
90296         * libio/stdio.h: Likewise.
90297         * posix/spawn.h: Likewise.
90298         * posix/unistd.h: Likewise.
90299         * stdlib/stdlib.h: Likewise.
90300         * time/time.h: Likewise.
90301         * wcsmbs/wchar.h: Likewise.
90303         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
90304         open_by_handle): Add.
90305         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
90306         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
90307         Augment a few comments.
90308         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90309         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90310         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90311         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90312         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90313         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
90314         open_by_handle.
90316         * io/fcntl.h (AT_EMPTY_PATH): Define.
90318 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
90320         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
90321         * sysdeps/unix/sysv/linux/bits/time.h: New file.
90322         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
90323         to...
90324         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
90325         * Versions.def: Add GLIBC_2.14.
90326         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
90327         Export.
90329 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
90331         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
90332         round counter.
90333         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90335 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
90337         [BZ #12597]
90338         * string/test-strncmp.c (do_page_test): New function.
90339         (check2): Likewise.
90340         (test_main): Call check2.
90341         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
90343 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
90345         [BZ #12587]
90346         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
90347         Handle cache information in CPU leaf 4.
90348         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90350 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
90352         [BZ #12583]
90353         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
90354         character representation.
90355         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
90357 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
90359         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
90360         END(__isnan) to END(__isnanf) to match function entry point/label
90361         EALIGN(__isnanf,...).
90363 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
90365         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
90367 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
90369         [BZ #12510]
90370         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
90371         copy from the symbol referenced in the relocation to initialize the
90372         used variable.
90373         Patch by Piotr Bury <pbury@goahead.com>.
90374         * elf/Makefile: Add rules to build and tst-unique3.
90375         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
90376         * elf/tst-unique3.cc: New file.
90377         * elf/tst-unique3.h: New file.
90378         * elf/tst-unique3lib.cc: New file.
90379         * elf/tst-unique3lib2.cc: New file.
90381         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
90383 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
90385         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
90386         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
90387         to _start.
90389 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
90391         * elf/dl-load.c (_dl_map_object): If we are looking for the first
90392         to-be-loaded object along a path to loader is ld.so.
90394 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90395             Ulrich Drepper  <drepper@gmail.com>
90397         * sysdeps/x86_64/memset.S: After aligning destination, code
90398         branches to different locations depending on the value of
90399         misalignment, when multiarch is enabled. Fix this.
90401 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90403         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
90404         Set _x86_64_preferred_memory_instruction for AMD processsors.
90405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90406         Set bit_Prefer_SSE_for_memop for AMD processors.
90408 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
90410         * libio/fmemopen.c (fmemopen): Optimize a bit.
90412 2011-03-03  Andreas Schwab  <schwab@redhat.com>
90414         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
90416 2011-03-03  Roland McGrath  <roland@redhat.com>
90418         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
90420 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
90422         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
90423         __bzero_ultra1 instead of __memset_ultra1.
90425 2011-02-23  Andreas Schwab  <schwab@redhat.com>
90426             Ulrich Drepper  <drepper@gmail.com>
90428         [BZ #12509]
90429         * include/link.h (struct link_map): Add l_orig_initfini.
90430         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
90431         returning unsuccessfully.
90432         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
90433         close of a file loaded at startup, restore the original l_initfini
90434         list.
90435         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
90436         list, store the pointer.
90437         * elf/Makefile ($(objpfx)noload-mem): New rule.
90438         (noload-ENV): Define.
90439         (tests): Add $(objpfx)noload-mem.
90440         * elf/noload.c: Include <memcheck.h>.
90441         (main): Call mtrace.  Close all opened handles.
90443 2011-02-17  Andreas Schwab  <schwab@redhat.com>
90445         [BZ #12454]
90446         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
90447         dependencies are missing.
90449 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90451         Fix __if_freereq crash: Unlike the generic version which uses free,
90452         Hurd needs munmap.
90453         * sysdeps/mach/hurd/ifreq.h: New file.
90455 2011-01-27  Petr Baudis  <pasky@suse.cz>
90456             Ulrich Drepper  <drepper@gmail.com>
90458         [BZ 12445]#
90459         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
90460         to extend_alloca().
90461         * stdio-common/bug23.c: New file.
90462         * stdio-common/Makefile (tests): Add bug23.
90464 2010-09-28  Andreas Schwab  <schwab@redhat.com>
90465             Ulrich Drepper  <drepper@gmail.com>
90467         [BZ #12489]
90468         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
90469         before performing relro protection.  At old place add assertion
90470         to make sure nothing changed.
90472 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
90473             Glauber de Oliveira Costa  <glommer@gmail.com>
90475         * elf/elf.h: Add new ARM TLS relocs.
90477 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
90479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
90480         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
90481         cast from r3.
90482         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
90483         'tests' variable.
90484         * sysdeps/wordsize-64/tst-writev.c: New file.
90486 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
90488         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
90489         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
90490         insns in _dl_start to prevent a TOC reference before relocs are
90491         resolved.
90493 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
90495         [BZ #12469]
90496         * Makeconfig: Remove RANLIB definition.
90497         * Makerules: Don't use RANLIB.
90498         * aclocal.m4: Remove ranlib test.
90499         * configure.in: No need to check for ranlib.
90500         * elf/rtld-Rules: Don't use RANLIB.
90502 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90504         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
90505         protection macro.
90506         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
90507         inclusion protection macro.
90509         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
90510         SIGRTMIN and SIGRTMAX and print information in that case only when
90511         SIGRTMIN is defined.
90513 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
90515         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
90516         arginfo fn returning -1.
90518         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
90519         and thousands string is zero terminated.
90521 2011-02-03  Andreas Schwab  <schwab@redhat.com>
90523         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
90524         sysdeps/unix/sysv/linux/bits/socket.h.
90526 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90528         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
90529         (__CPU_COUNT): Remove old macros.
90530         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
90531         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
90532         (__CPU_ALLOC, __CPU_FREE): Add macros.
90533         (__sched_cpualloc, __sched_cpufree): Add declarations.
90535 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
90537         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
90538         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
90539         * nscd/aicache.c (addhstaiX): Return timeout of added value.
90540         (readdhstai): Return value of addhstaiX call.
90541         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
90542         (addgrbyX): Return value returned by cache_addgr.
90543         (readdgrbyname): Return value returned by addgrbyX.
90544         (readdgrbygid): Likewise.
90545         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
90546         (addpwbyX): Return value returned by cache_addpw.
90547         (readdpwbyname): Return value returned by addhstbyX.
90548         (readdpwbyuid): Likewise.
90549         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
90550         (addservbyX): Return value returned by cache_addserv.
90551         (readdservbyname): Return value returned by addservbyX:
90552         (readdservbyport): Likewise.
90553         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
90554         (addhstbyX): Return value returned by cache_addhst.
90555         (readdhstbyname): Return value returned by addhstbyX.
90556         (readdhstbyaddr): Likewise.
90557         (readdhstbynamev6): Likewise.
90558         (readdhstbyaddrv6): Likewise.
90559         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
90560         (readdinitgroups): Return value returned by addinitgroupsX.
90561         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
90562         (prune_cache): Keep track of timeout value of re-added entries.
90563         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
90564         * nscd/nscd.h: Adjust prototypes of readd* functions.
90566 2011-02-04  Roland McGrath  <roland@redhat.com>
90568         * nis/nis_server.c (nis_servstate): Use the right name for 0.
90569         (nis_stats): Likewise.
90570         * nis/nis_modify.c (nis_modify): Likewise.
90571         * nis/nis_remove.c (nis_remove): Likewise.
90572         * nis/nis_add.c (nis_add): Likewise.
90574         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
90576         * posix/fnmatch_loop.c: Add some consts.
90578         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
90580 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
90582         [BZ #12460]
90583         * config.make.in (config-cflags-novzeroupper): Define.
90584         * configure.in: Substitute libc_cv_cc_novzeroupper.
90585         * elf/Makefile (AVX-CFLAGS): Define.
90586         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
90587         (CFLAGS-tst-auditmod4a.c): Likewise.
90588         (CFLAGS-tst-auditmod4b.c): Likewise.
90589         (CFLAGS-tst-auditmod6b.c): Likewise.
90590         (CFLAGS-tst-auditmod6c.c): Likewise.
90591         (CFLAGS-tst-auditmod7b.c): Likewise.
90592         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
90594 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
90596         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
90597         function to the callback.
90598         Patch partly by Jiri Olsa <jolsa@redhat.com>.
90600 2011-02-02  Andreas Schwab  <schwab@redhat.com>
90602         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
90603         of errno.
90605 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
90607         [BZ #11724]
90608         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
90609         of constructors.
90610         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
90611         of destructors.
90612         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
90614         [BZ #11724]
90615         * elf/Makefile: Add rules to build and run new test.
90616         * elf/tst-initorder.c: New file.
90617         * elf/tst-initorder.exp: New file.
90618         * elf/tst-initordera1.c: New file.
90619         * elf/tst-initordera2.c: New file.
90620         * elf/tst-initordera3.c: New file.
90621         * elf/tst-initordera4.c: New file.
90622         * elf/tst-initorderb1.c: New file.
90623         * elf/tst-initorderb2.c: New file.
90624         * elf/tst-order-a1.c: New file.
90625         * elf/tst-order-a2.c: New file.
90626         * elf/tst-order-a3.c: New file.
90627         * elf/tst-order-a4.c: New file.
90628         * elf/tst-order-b1.c: New file.
90629         * elf/tst-order-b2.c: New file.
90630         * elf/tst-order-main.c: New file.
90631         New test case by George Gensure <werkt0@gmail.com>.
90633 2010-10-01  Andreas Schwab  <schwab@redhat.com>
90635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90636         decoding ACE if AI_CANONIDN.
90638 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
90640         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
90642 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
90644         * version.h (RELEASE): Bump for 2.13 release.
90645         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
90647         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
90649         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
90650         MADV_NOHUGEPAGE.
90651         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
90652         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
90653         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
90654         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
90655         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
90656         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90658         * posix/getconf.c: Update copyright year.
90659         * catgets/gencat.c: Likewise.
90660         * csu/version.c: Likewise.
90661         * debug/catchsegv.sh: Likewise.
90662         * debug/xtrace.sh: Likewise.
90663         * elf/ldconfig.c: Likewise.
90664         * elf/ldd.bash.in: Likewise.
90665         * elf/sprof.c (print_version): Likewise.
90666         * iconv/iconv_prog.c: Likewise.
90667         * iconv/iconvconfig.c: Likewise.
90668         * locale/programs/locale.c: Likewise.
90669         * locale/programs/localedef.c: Likewise.
90670         * malloc/memusage.sh: Likewise.
90671         * malloc/mtrace.pl: Likewise.
90672         * nscd/nscd.c (print_version): Likewise.
90673         * nss/getent.c: Likewise.
90675         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
90676         PF_CAIF, and PF_ALG.
90677         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90679 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
90681         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
90682         (modules-names): Use them.
90683         (ifunc-test-modules, ifunc-pie-tests): Define.
90684         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
90685         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
90686         (test-extras): Likewise.
90687         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
90688         $(compile-command.c).
90689         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
90690         (all-built-dso): Define.
90691         (check-textrel.out, check-execstack.out): Depend on it.
90693         * configure.in: Don't override --enable-multi-arch.
90695 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
90697         [BZ #6812]
90698         * nscd/hstcache.c (tryagain): Define.
90699         (cache_addhst): Return tryagain not notfound for temporary errors.
90700         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
90701         failed.
90703 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
90705         [BZ #10563]
90706         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
90707         to make the syscall.
90708         * sysdeps/unix/sysv/linux/setgroups.c: New file.
90710         [BZ #12378]
90711         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
90712         and fall back to matching as normal character if the string ends before
90713         the matching ']' is found.  This is what POSIX requires.
90714         * posix/testfnm.c: Adjust test result.
90715         * posix/globtest.sh: Adjust test result.  Add new test.
90716         * posix/tst-fnmatch.input: Likewise.
90717         * posix/tst-fnmatch2.c: Add new test.
90719 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
90721         * elf/Makefile (check-execstack): Revert last change.  Depend on
90722         check-execstack.h.
90723         (check-execstack.h): New target.
90724         (generated): Add check-execstack.h.
90725         * elf/check-execstack.c: Include "check-execstack.h".
90726         (main): Revert last change.
90727         (handle_file): Return zero if GNU_STACK is absent and
90728         DEFAULT_STACK_PERMS doesn't include PF_X.
90730 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
90732         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
90733         in child fails because the descriptor is already closed.
90734         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
90735         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
90736         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
90738         [BZ #12397]
90739         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
90740         syscall.
90742         [BZ #10484]
90743         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
90744         temporary buffer used to handle multi lookups locally.
90745         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
90747 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90749         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
90750         loader is ld.so.
90752 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
90754         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
90755         alignment for SSE2.
90757 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90759         [BZ #12394]
90760         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
90761         characters.  When rounding increased number of integer digits recompute
90762         number of groups.
90763         * stdio-common/tst-grouping.c: New file.
90764         * stdio-common/Makefile: Add rules to build and run tst-grouping.
90766 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
90768         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
90769         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
90771         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
90772         void.
90773         * bits/select.h: Likewise.
90775 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
90777         * po/ja.po: Update from translation team.
90779 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
90781         [BZ #11155]
90782         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
90783         implementation just like for lxstat, fxstatat, et al.
90785 2010-12-27  Jim Meyering  <meyering@redhat.com>
90787         [BZ #12348]
90788         * posix/regexec.c (build_trtable): Return failure indication upon
90789         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
90791 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
90793         [BZ #12201]
90794         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
90795         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
90796         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
90797         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
90799         [BZ #12207]
90800         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
90802         [BZ #12204]
90803         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
90804         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
90806 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
90808         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
90809         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
90810         script has SORT_BY_INIT_PRIORITY.
90811         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
90812         NO_CTORS_DTORS_SECTIONS is defined.
90813         * elf/soinit.c: Likewise.
90814         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
90815         NO_CTORS_DTORS_SECTIONS is defined.
90816         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
90817         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
90818         * sysdeps/sh/init-first.c: Likewise.
90819         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
90821 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
90823         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
90824         always use the slow path.
90826 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
90828         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
90829         similar rule which adds the sysdep directories to the header search in
90830         order to pick up the correct platform stackinfo.h.
90831         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
90832         perform test if it is, otherwise return successfully without testing.
90833         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
90834         DEFAULT_STACK_PERMS define in stackinfo.h.
90835         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
90836         defined in stackinfo.h.
90837         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
90838         DEFAULT_STACK_PERMS defined in stackinfo.h.
90839         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
90840         * sysdeps/ia64/stackinfo.h: Likewise.
90841         * sysdeps/s390/stackinfo.h: Likewise.
90842         * sysdeps/sh/stackinfo.h: Likewise.
90843         * sysdeps/sparc/stackinfo.h: Likewise.
90844         * sysdeps/x86_64/stackinfo.h: Likewise.
90845         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
90846         PF_X for powerpc64.  Retain PF_X for powerpc32.
90848 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
90850         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
90851         accurately.
90852         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
90853         GETDENTS_64BIT_ALIGNED.
90855 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
90857         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
90859 2010-12-10  Andreas Schwab  <schwab@redhat.com>
90861         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
90862         _GNU_SOURCE.
90864         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
90865         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
90866         Remove __restrict.
90867         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
90868         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
90870 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
90872         [BZ #11655]
90873         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
90874         are initialized.
90876 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
90878         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
90880 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
90882         * po/it.po: Update from translation team.
90884 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
90886         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
90887         unused codes.
90889 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
90891         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
90893 2010-11-24  Andreas Schwab  <schwab@redhat.com>
90895         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
90896         specially.
90897         (gaih_getanswer_slice): Likewise.
90899 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
90901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
90903 2010-05-31  Petr Baudis  <pasky@suse.cz>
90905         [BZ #11149]
90906         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
90907         silently even in the chroot mode.
90909 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
90911         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
90912         last patch a bit.  Pretty printing
90914 2010-05-31  Petr Baudis <pasky@suse.cz>
90916         [BZ #10085]
90917         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
90918         initialization of skip_initgroups_dyn.
90920 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
90922         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
90923         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90925 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
90927         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
90929 2010-11-11  Andreas Schwab  <schwab@redhat.com>
90931         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
90932         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
90933         (tst-fnmatch-ENV): Set MALLOC_TRACE.
90934         ($(objpfx)tst-fnmatch-mem): New rule.
90935         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
90936         * posix/tst-fnmatch.c (main): Call mtrace.
90938 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
90940         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90941         Support Intel processor model 6 and model 0x2c.
90943 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
90945         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
90946           signed comparison.
90948 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
90950         [BZ #12205]
90951         * string/test-strncasecmp.c (check_result): New function.
90952         (do_one_test): Use it.
90953         (check1): New function.
90954         (test_main): Use it.
90955         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
90956         Support strcasecmp and strncasecmp.
90958 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
90960         [BZ #12194]
90961         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
90962         * sysdeps/x86_64/bits/byteswap.h: Likewise.
90964 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
90966         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
90967         IFUNC support.
90968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90969         memset-x86-64.
90970         * sysdeps/x86_64/multiarch/bzero.S: New file.
90971         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
90972         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
90973         * sysdeps/x86_64/multiarch/memset.S: New file.
90974         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
90975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90976         Set bit_Prefer_SSE_for_memop for Intel processors.
90977         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
90978         Define.
90979         (index_Prefer_SSE_for_memop): Define.
90980         (HAS_PREFER_SSE_FOR_MEMOP): Define.
90982 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
90984         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
90985         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
90987 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
90989         [BZ #12191]
90990         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
90991         (__x86_64_raw_data_cache_size_half): Likewise.
90992         (__x86_64_raw_shared_cache_size): Likewise.
90993         (__x86_64_raw_shared_cache_size_half): Likewise.
90995         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
90996         (__x86_64_raw_data_cache_size_half): Likewise.
90997         (__x86_64_raw_shared_cache_size): Likewise.
90998         (__x86_64_raw_shared_cache_size_half): Likewise.
90999         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
91000         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
91001         and __x86_64_raw_shared_cache_size_half.  Round
91002         __x86_64_data_cache_size_half, __x86_64_data_cache_size
91003         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
91004         to multiple of 256 bytes.
91006 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
91008         [BZ #12167]
91009         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91010         of inacessible symlinks.  Verify result of symlink before returning it.
91011         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91012         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91014 2010-10-28  Erich Ritz  <erichritz@gmail.com>
91016         * math/math.h (isinf): Fix typo in comment.
91018 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
91020         * po/da.po: Update from translation team.
91022 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
91024         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91025         is added to the list.
91027 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91028             Ulrich Drepper  <drepper@gmail.com>
91030         * elf/dl-object.c (_dl_new_object): Don't append the new object to
91031         the global list here.  Move code to...
91032         (_dl_add_to_namespace_list): ...here.  New function.
91033         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91034         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91035         * elf/dl-load.c (lose): Don't remove the element from the list.
91036         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91037         (_dl_map_object): Likewise.
91039 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
91041         [BZ #12159]
91042         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91043         into all bytes of SSE register.
91044         Patch by Richard Li <richardpku@gmail.com>.
91046 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
91048         [BZ #12140]
91049         * malloc/malloc.c (_int_free): Fill correct number of bytes when
91050         perturbing.
91052 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
91054         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
91055         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
91056         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
91057         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
91058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
91059         submachine.
91060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
91062 2010-10-22  Andreas Schwab  <schwab@redhat.com>
91064         * include/dlfcn.h (__RTLD_SECURE): Define.
91065         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
91066         mode & __RTLD_SECURE instead.
91067         (open_path): Rename preloaded parameter to secure.
91068         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
91069         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
91070         * elf/dl-deps.c (openaux): Likewise.
91071         * elf/rtld.c (struct map_args): Remove is_preloaded.
91072         (map_doit): Don't use it.
91073         (dl_main): Likewise.
91074         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
91075         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
91077 2010-09-09  Andreas Schwab  <schwab@redhat.com>
91079         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
91080         (sysd-rules-targets): Remove duplicates.
91081         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
91082         rtld-%.$o dependency.
91084 2010-10-18  Andreas Schwab  <schwab@redhat.com>
91086         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
91087         _dl_map_object do it.
91089 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
91091         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
91092         fast fma builtins, define the macros in the C99 standard.
91093         (FP_FAST_FMAF): Likewise.
91094         (FP_FAST_FMAL): Likewise.
91095         * sysdeps/x86_64/bits/mathdef.h: Likewise.
91097         * bits/mathdef.h: Update copyright year.
91098         * sysdeps/powerpc/bits/mathdef.h: Likewise.
91100 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
91102         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
91103         builtins, define the macros in the C99 standard.
91104         (FP_FAST_FMAF): Likewise.
91105         (FP_FAST_FMAL): Likewise.
91106         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
91107         multiply/add.
91108         (FP_FAST_FMAF): Likewise.
91110 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
91112         [BZ #3268]
91113         * math/libm-test.inc (fma_test): Some new testcases.
91114         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
91115         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
91116         y and infinite z.  Do multiplication by C already in long double.
91117         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
91118         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
91119         y and infinite z.  Do bitwise or of inexact bit into u.d.
91120         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
91121         * sysdeps/i386/fpu/s_fmaf.S: Removed.
91122         * sysdeps/i386/fpu/s_fma.S: Removed.
91123         * sysdeps/i386/fpu/s_fmal.S: Removed.
91125 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
91127         [BZ #3268]
91128         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
91129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
91130         computation is not scheduled after fetestexcept.  Fix value
91131         of minimum denormal long double.
91133 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
91135         [BZ #3268]
91136         * math/libm-test.inc (fma_test): Add some more tests.
91137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
91138         correctly.
91140 2010-10-15  Andreas Schwab  <schwab@redhat.com>
91142         * scripts/data/localplt-s390-linux-gnu.data: New file.
91143         * scripts/data/localplt-s390x-linux-gnu.data: New file.
91145 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
91147         [BZ #3268]
91148         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
91149         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
91150         instead of dbl-64.
91151         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
91152         inlines.
91153         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
91154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
91155         if one of x and y is very large and the other is subnormal.
91156         * sysdeps/s390/fpu/s_fmaf.c: New file.
91157         * sysdeps/s390/fpu/s_fma.c: New file.
91158         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
91159         * sysdeps/powerpc/fpu/s_fma.S: New file.
91160         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
91161         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
91162         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
91164 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
91166         [BZ #3268]
91167         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
91168         fma tests.
91169         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
91170         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
91171         * sysdeps/i386/i686/multiarch/s_fma.c: Include
91172         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
91173         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
91174         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
91175         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
91177 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
91179         [BZ #12078]
91180         * posix/regcomp.c (parse_branch): One more memory leak plugged.
91181         * posix/bug-regex31.input: Add test case.
91183 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91185         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
91186         * posix/bug-regex31.input: New file.
91188         [BZ #12078]
91189         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
91190         (parse_sub_exp): Fix last change, use postorder.
91192         * posix/bug-regex31.c: New file.
91193         * posix/Makefile: Add rules to build and run bug-regex31.
91195         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
91197         [BZ #12078]
91198         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
91200         [BZ #12108]
91201         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
91202         to have entries in sys_siglist.
91204         [BZ #12093]
91205         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
91206         be NULL.
91208 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
91210         [BZ #3268]
91211         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
91212         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
91213         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
91214         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
91215         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91216         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
91217         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
91218         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
91219         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
91220         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
91221         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
91222         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
91223         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
91224         * math/ftestexcept.c (fetestexcept): Likewise.
91225         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
91226         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
91227         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
91228         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
91229         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
91230         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
91231         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
91233 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91235         [BZ #12107]
91236         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
91237         newline.
91239 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
91241         * string/bug-strstr1.c: New file.
91242         * string/Makefile: Add rules to build and run bug-strstr1.
91244 2010-10-05  Eric Blake  <eblake@redhat.com>
91246         [BZ #12092]
91247         * string/str-two-way.h (two_way_long_needle): Always clear memory
91248         when skipping input due to the shift table.
91250 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
91252         [BZ #12005]
91253         * malloc/mcheck.c: Handle large requests.
91255         [BZ #12077]
91256         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
91257         for strncmp and strncasecmp.
91258         * string/stratcliff.c: Add tests for strcmp and strncmp.
91259         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
91261 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
91263         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
91264         __set_fpscr.
91266 2010-09-30  Andreas Jaeger  <aj@suse.de>
91268         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
91269         (CGROUP_SUPER_MAGIC): Define.
91270         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91271         Handle btrfs and cgroup file systems.
91272         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
91273         Likewise.
91275 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
91277         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
91278         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
91280 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91282         [BZ #12067]
91283         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
91284         trying to locate the ELF header.
91286 2010-09-27  Andreas Schwab  <schwab@redhat.com>
91288         [BZ #11611]
91289         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
91290         Mask out sign-bit copies when constructing f_fsid.
91292 2010-09-24  Petr Baudis <pasky@suse.cz>
91294         * debug/stack_chk_fail_local.c: Add missing licence exception.
91295         * debug/warning-nop.c: Likewise.
91297 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
91299         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
91300         implementing getdents64 using getdents syscall, set d_type if
91301         __ASSUME_GETDENTS32_D_TYPE.
91303 2010-09-16  Andreas Schwab  <schwab@redhat.com>
91305         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
91306         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
91308 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
91310         [BZ #12037]
91311         * posix/unistd.h: Undo change of feature selection for ftruncate from
91312         2010-01-11.
91314 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
91316         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
91317         detection.
91319 2010-09-20  Andreas Schwab  <schwab@redhat.com>
91321         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
91322         fanotify_mark.
91323         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91325 2010-09-14  Andreas Schwab  <schwab@redhat.com>
91327         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
91328         variables after CHECK_SP call.
91329         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
91331 2010-09-13  Andreas Schwab  <schwab@redhat.com>
91332             Ulrich Drepper  <drepper@redhat.com>
91334         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
91335         re-relocationg ld.so.
91336         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
91337         _dl_init_paths call.
91338         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
91339         here anymore.
91341 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
91343         * resolv/res_init.c (__res_vinit): Count the default server we added.
91345 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
91346             Ulrich Drepper  <drepper@redhat.com>
91348         [BZ #11968]
91349         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91350         (____longjmp_chk): Use %ebx for saving value across system call.
91351         Add unwind info.
91353 2010-09-06  Andreas Schwab  <schwab@redhat.com>
91355         * manual/Makefile: Don't mix pattern rules with normal rules.
91357 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
91359         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
91360         operation.
91361         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
91362         * libio/iofopncook.c (_IO_cookie_init): Likewise.
91363         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
91364         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
91365         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91366         Likewise.
91368 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
91370         [BZ #11979]
91371         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
91372         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
91374 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
91376         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
91377         * sysdeps/x86_64/addmul_1.S: Likewise.
91378         * sysdeps/x86_64/lshift.S: Likewise.
91379         * sysdeps/x86_64/mul_1.S: Likewise.
91380         * sysdeps/x86_64/rshift.S: Likewise.
91381         * sysdeps/x86_64/sub_n.S: Likewise.
91382         * sysdeps/x86_64/submul_1.S: Likewise.
91384 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91386         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
91387         Define __sched_param instead of SCHED_* and sched_param when
91388         <bits/sched.h> is included with __need_schedparam defined.
91389         * bits/sched.h [__need_schedparam]
91390         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
91391         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
91392         (__defined_schedparam): Define to 1.
91393         (__sched_param): New structure, identical to sched_param.
91394         (__need_schedparam): Undefine.
91396 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
91398         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
91399         (epoll_create1): Declare.
91401         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
91403 2010-08-31  Andreas Schwab  <schwab@redhat.com>
91405         [BZ #7066]
91406         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
91407         shifting retval into place.
91409 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
91411         * nis/rpcsvc/nis.h: Update copyright notice.
91412         * nis/rpcsvc/nis.x: Likewise.
91413         * nis/rpcsvc/nis_callback.h: Likewise.
91414         * nis/rpcsvc/nis_callback.x: Likewise.
91415         * nis/rpcsvc/nis_object.x: Likewise.
91416         * nis/rpcsvc/nis_tags.h: Likewise.
91417         * nis/rpcsvc/yp.h: Likewise.
91418         * nis/rpcsvc/yp.x: Likewise.
91419         * nis/rpcsvc/ypupd.h: Likewise.
91420         * nis/yp_xdr.c: Likewise.
91421         * nis/ypupdate_xdr.c: Likewise.
91423         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
91424         mainly the body of pmap_getport.  Add parameters to specify timeouts.
91425         (pmap_getport): Use __libc_rpc_getport.
91426         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
91427         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
91428         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
91430 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
91432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
91433         fanotify_mark.
91435 2010-08-27  Roland McGrath  <roland@redhat.com>
91437         * sysdeps/i386/i686/multiarch/Makefile
91438         (CFLAGS-varshift.c): New variable.
91440 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
91442         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
91443         * sysdeps/i386/i686/multiarch/varshift.c: New file.
91445         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
91447         * sysdeps/x86_64/strlen.S: Minimal code improvement.
91449 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
91451         * sysdeps/x86_64/strlen.S: Unroll the loop.
91452         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91453         strlen-sse2 strlen-sse2-bsf.
91454         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
91455         __strlen_no_bsf if bit_Slow_BSF is set.
91456         (__strlen_sse42): Removed.
91457         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
91458         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
91460 2010-08-25  Roland McGrath  <roland@redhat.com>
91462         * sysdeps/x86_64/multiarch/varshift.S: File removed.
91463         * sysdeps/x86_64/multiarch/varshift.c: New file.
91464         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
91465         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
91466         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
91467         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
91469 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
91471         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91472         strlen-sse2 strlen-sse2-bsf.
91473         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
91474         __strlen_sse2_bsf if bit_Slow_BSF is unset.
91475         (__strlen_sse2): Removed.
91476         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
91477         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
91478         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
91479         bit_Slow_BSF for Atom.
91480         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
91481         (index_Slow_BSF): Define.
91482         (HAS_SLOW_BSF): Define.
91484 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
91486         [BZ #10851]
91487         * resolv/res_init.c (__res_vinit): When no server address at all
91488         is given default to loopback.
91490 2010-08-24  Roland McGrath  <roland@redhat.com>
91492         * configure.in: Remove config-name.h generation.
91493         * configure: Regenerated.
91494         * config-name.in: File removed.
91495         * scripts/config-uname.sh: New file.
91496         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
91497         ($(objdir)config-name.h): New target.
91499         * sunrpc/rpc_parse.h: Avoid nested comment.
91501 2010-08-24  Richard Henderson  <rth@redhat.com>
91502             Ulrich Drepper  <drepper@redhat.com>
91503             H.J. Lu  <hongjiu.lu@intel.com>
91505         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
91506         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
91507         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
91508         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
91509         _mm_alignr_epi8 with _mm_loadu_si128.
91510         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
91511         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
91512         (__m128i_shift_right): Removed.
91513         * sysdeps/i386/i686/multiarch/varshift.h: New file.
91514         * sysdeps/i386/i686/multiarch/varshift.S: New file.
91515         * sysdeps/x86_64/multiarch/varshift.h: New file.
91516         * sysdeps/x86_64/multiarch/varshift.S: New file.
91518 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
91520         * configure.in: Move assembler checks to before sysdep dir checking.
91522 2010-08-20  Petr Baudis  <pasky@suse.cz>
91524         * LICENSES: Sync the sunrpc license.
91526 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
91528         * sunrpc/auth_des.c: Update copyright notice once again.
91529         * sunrpc/auth_none.c: Likewise.
91530         * sunrpc/auth_unix.c: Likewise.
91531         * sunrpc/authdes_prot.c: Likewise.
91532         * sunrpc/authuxprot.c: Likewise.
91533         * sunrpc/bindrsvprt.c: Likewise.
91534         * sunrpc/clnt_gen.c: Likewise.
91535         * sunrpc/clnt_perr.c: Likewise.
91536         * sunrpc/clnt_raw.c: Likewise.
91537         * sunrpc/clnt_simp.c: Likewise.
91538         * sunrpc/clnt_tcp.c: Likewise.
91539         * sunrpc/clnt_udp.c: Likewise.
91540         * sunrpc/clnt_unix.c: Likewise.
91541         * sunrpc/des_crypt.c: Likewise.
91542         * sunrpc/des_soft.c: Likewise.
91543         * sunrpc/get_myaddr.c: Likewise.
91544         * sunrpc/getrpcport.c: Likewise.
91545         * sunrpc/key_call.c: Likewise.
91546         * sunrpc/key_prot.c: Likewise.
91547         * sunrpc/openchild.c: Likewise.
91548         * sunrpc/pm_getmaps.c: Likewise.
91549         * sunrpc/pm_getport.c: Likewise.
91550         * sunrpc/pmap_clnt.c: Likewise.
91551         * sunrpc/pmap_prot.c: Likewise.
91552         * sunrpc/pmap_prot2.c: Likewise.
91553         * sunrpc/pmap_rmt.c: Likewise.
91554         * sunrpc/rpc/auth.h: Likewise.
91555         * sunrpc/rpc/auth_unix.h: Likewise.
91556         * sunrpc/rpc/clnt.h: Likewise.
91557         * sunrpc/rpc/des_crypt.h: Likewise.
91558         * sunrpc/rpc/key_prot.h: Likewise.
91559         * sunrpc/rpc/netdb.h: Likewise.
91560         * sunrpc/rpc/pmap_clnt.h: Likewise.
91561         * sunrpc/rpc/pmap_prot.h: Likewise.
91562         * sunrpc/rpc/pmap_rmt.h: Likewise.
91563         * sunrpc/rpc/rpc.h: Likewise.
91564         * sunrpc/rpc/rpc_des.h: Likewise.
91565         * sunrpc/rpc/rpc_msg.h: Likewise.
91566         * sunrpc/rpc/svc.h: Likewise.
91567         * sunrpc/rpc/svc_auth.h: Likewise.
91568         * sunrpc/rpc/types.h: Likewise.
91569         * sunrpc/rpc/xdr.h: Likewise.
91570         * sunrpc/rpc_clntout.c: Likewise.
91571         * sunrpc/rpc_cmsg.c: Likewise.
91572         * sunrpc/rpc_common.c: Likewise.
91573         * sunrpc/rpc_cout.c: Likewise.
91574         * sunrpc/rpc_dtable.c: Likewise.
91575         * sunrpc/rpc_hout.c: Likewise.
91576         * sunrpc/rpc_main.c: Likewise.
91577         * sunrpc/rpc_parse.c: Likewise.
91578         * sunrpc/rpc_parse.h: Likewise.
91579         * sunrpc/rpc_prot.c: Likewise.
91580         * sunrpc/rpc_sample.c: Likewise.
91581         * sunrpc/rpc_scan.c: Likewise.
91582         * sunrpc/rpc_scan.h: Likewise.
91583         * sunrpc/rpc_svcout.c: Likewise.
91584         * sunrpc/rpc_tblout.c: Likewise.
91585         * sunrpc/rpc_util.c: Likewise.
91586         * sunrpc/rpc_util.h: Likewise.
91587         * sunrpc/rpcinfo.c: Likewise.
91588         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
91589         * sunrpc/rpcsvc/key_prot.x: Likewise.
91590         * sunrpc/rpcsvc/klm_prot.x: Likewise.
91591         * sunrpc/rpcsvc/mount.x: Likewise.
91592         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
91593         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
91594         * sunrpc/rpcsvc/rex.x: Likewise.
91595         * sunrpc/rpcsvc/rstat.x: Likewise.
91596         * sunrpc/rpcsvc/rusers.x: Likewise.
91597         * sunrpc/rpcsvc/sm_inter.x: Likewise.
91598         * sunrpc/rpcsvc/spray.x: Likewise.
91599         * sunrpc/rpcsvc/yppasswd.x: Likewise.
91600         * sunrpc/rtime.c: Likewise.
91601         * sunrpc/svc.c: Likewise.
91602         * sunrpc/svc_auth.c: Likewise.
91603         * sunrpc/svc_authux.c: Likewise.
91604         * sunrpc/svc_raw.c: Likewise.
91605         * sunrpc/svc_run.c: Likewise.
91606         * sunrpc/svc_simple.c: Likewise.
91607         * sunrpc/svc_tcp.c: Likewise.
91608         * sunrpc/svc_udp.c: Likewise.
91609         * sunrpc/svc_unix.c: Likewise.
91610         * sunrpc/svcauth_des.c: Likewise.
91611         * sunrpc/xcrypt.c: Likewise.
91612         * sunrpc/xdr.c: Likewise.
91613         * sunrpc/xdr_array.c: Likewise.
91614         * sunrpc/xdr_float.c: Likewise.
91615         * sunrpc/xdr_mem.c: Likewise.
91616         * sunrpc/xdr_rec.c: Likewise.
91617         * sunrpc/xdr_ref.c: Likewise.
91618         * sunrpc/xdr_sizeof.c: Likewise.
91619         * sunrpc/xdr_stdio.c: Likewise.
91621         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
91622         handling.
91624 2010-08-19  Andreas Schwab  <schwab@redhat.com>
91626         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
91628 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
91630         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
91631         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
91632         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
91633         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
91634         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
91635         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
91636         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
91637         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
91638         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
91639         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
91640         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
91641         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
91642         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
91643         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
91645 2010-07-26  Anton Blanchard  <anton@samba.org>
91647         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
91648         * malloc/arena.c (heap_trim): Likewise.
91650 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
91652         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
91653         here.  Not...
91654         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
91655         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
91657 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
91659         * sysdeps/i386/elf/Makefile: New file.
91661 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91663         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
91664         from fanotify_init.
91665         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
91666         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91668 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
91670         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
91671         of strncasecmp_l.
91672         * sysdeps/multiarch/strcmp.S: Likewise.
91674 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
91676         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91677         strncase_l-nonascii.
91678         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91679         Add strncase_l-ssse3.
91680         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
91681         * sysdeps/x86_64/strcmp.S: Likewise.
91682         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
91683         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
91684         * sysdeps/x86_64/strncase.S: New file.
91685         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
91686         * sysdeps/x86_64/strncase_l.S: New file.
91687         * string/Makefile (strop-tests): Add strncasecmp.
91688         * string/test-strncasecmp.c: New file.
91690         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
91691         warning.
91693         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
91694         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
91696 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91698         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
91700 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
91702         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
91703         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
91704         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
91706 2010-05-01  Alan Modra  <amodra@gmail.com>
91708         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
91709         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
91710         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
91711         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
91712         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
91713         tidying.  Don't tail-call __sigjmp_save for static lib.
91714         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
91715         save location.
91716         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
91717         (CALL_MCOUNT): Add eh info, and nop after bl.
91718         (TAIL_CALL_SYSCALL_ERROR): New macro.
91719         (PSEUDO_RET): Use it.
91720         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
91721         Correct save location of integer regs and cr.
91722         (_dl_profile_resolve): Correct cr save location.  Delete nops
91723         after bl when SHARED.  Reduce cfi size a little by better
91724         placement of cfi directives.
91725         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
91726         make a stack frame.  Instead use parm save area as a temp.
91727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
91728         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
91729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
91730         Don't make a stack frame for parent, use parm save area.
91731         Increase child stack frame to 112 bytes.  Don't save unused reg,
91732         and adjust reg usage.  Set up cfi on error recovery and
91733         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
91734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
91735         (__makecontext): Add dummy nop after jump to exit.
91736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
91737         Use correct parm save area and cr save, reduce stack frame.
91738         Correct cfi for possible PSEUDO_RET frame setup.
91739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
91740         Branch to local label emitted by PSEUDO_RET rather than
91741         __syscall_error.
91743 2010-08-12  Andreas Schwab  <schwab@redhat.com>
91745         [BZ #11904]
91746         * locale/programs/locale.c (print_assignment): New function.
91747         (show_locale_vars): Use it.
91749 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
91751         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
91752         field.
91753         (struct statfs64): Likewise.
91754         (_STATFS_F_FLAGS): Define.
91755         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
91756         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91757         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
91758         (ST_VALID): Define locally.
91759         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
91760         __statvfs_getflags, use the provided value.
91761         * sysdeps/unix/sysv/linux/kernel-features.h: Define
91762         __ASSUME_STATFS_F_FLAGS.
91764         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
91766         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
91767         Add sys/fanotify.h.
91768         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
91769         fanotify_mask for GLIBC_2.13.
91770         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
91771         fanotify_init and fanotify_mark.
91772         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91773         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
91775         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
91776         Add prlimit.
91777         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
91778         prlimit64 for GLIBC_2.13.
91779         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
91780         prlimit64.
91781         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
91782         syscall.
91783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
91784         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91785         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
91786         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
91787         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
91788         add prlimit alias.
91789         * sysdeps/unix/sysv/linux/prlimit.c: New file.
91791         [BZ #11903]
91792         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
91793         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
91795         * nss/Makefile: Add rules to build and run tst-nss-test1.
91796         * shlib-versions: Add entry for libnss_test1.
91797         * nss/nss_test1.c: New file.
91798         * nss/tst-nss-test1.c: New file.
91800         * nss/nsswitch.c (__nss_database_custom): Define new variable.
91801         (__nss_configure_lookup): Set appropriate entry in
91802         __nss_configure_lookup to true.
91803         * nss/nsswitch.h: Define enum with indeces of databases in
91804         databases and __nss_database_custom arrays.  Declare
91805         __nss_database_custom.
91806         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
91807         to avoid using nscd when custom rules are installed.
91808         * nss/getXXbyYY_r.c: Likewise.
91809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
91811         * nss/nss_files/files-parse.c: Whitespace fixes.
91813 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
91815         [BZ #11883]
91816         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
91817         * posix/fnmatch_loop.c: Likewise.
91819 2010-07-17  Andi Kleen  <ak@linux.intel.com>
91821         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
91822         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
91823         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
91824         * Versions.def [GLIBC_2.13]: Add.
91826 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
91828         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
91829         Also fail if tpwd after pwuid call is NULL.
91831 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91833         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
91834         when converting to ms.
91836 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91838         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
91839         EOPNOTSUPP errors with ENOTTY.
91840         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
91841         EOPNOTSUPP errors with ENOTTY.
91843 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
91845         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91846         Add strcasecmp_l-ssse3.
91847         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
91848         strcasecmp.
91849         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
91850         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
91851         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
91853 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
91855         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
91857         * string/Makefile (strop-tests): Add strcasecmp.
91858         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91859         strcasecmp_l-nonascii.
91860         (gen-as-const-headers): Add locale-defines.sym.
91861         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
91862         * sysdeps/x86_64/strcasecmp.S: New file.
91863         * sysdeps/x86_64/strcasecmp_l.S: New file.
91864         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
91865         * sysdeps/x86_64/locale-defines.sym: New file.
91866         * string/test-strcasecmp.c: New file.
91868         * string/test-strcasestr.c: Test both ends of the range of characters.
91869         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
91871 2010-07-29  Roland McGrath  <roland@redhat.com>
91873         [BZ #11856]
91874         * manual/locale.texi (Yes-or-No Questions): Fix example code.
91876 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
91878         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
91879         for ld.so.
91881 2010-07-27  Andreas Schwab  <schwab@redhat.com>
91883         * manual/memory.texi (Malloc Tunable Parameters): Document
91884         M_PERTURB.
91886 2010-07-26  Roland McGrath  <roland@redhat.com>
91888         [BZ #11840]
91889         * configure.in (-fgnu89-inline check): Set and substitute
91890         gnu89_inline, not libc_cv_gnu89_inline.
91891         * configure: Regenerated.
91892         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
91894 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
91896         * string/test-strnlen.c: New file.
91897         * string/Makefile (strop-tests): Add strnlen.
91898         * string/tester.c (test_strnlen): Add a few more test cases.
91899         * string/tst-strlen.c: Better error reporting.
91901         * sysdeps/x86_64/strnlen.S: New file.
91903 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
91905         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
91906         lower-latency instructions.
91908 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
91910         * string/test-strcasestr.c: New file.
91911         * string/test-strstr.c: New file.
91912         * string/Makefile (strop-tests): Add strstr and strcasestr.
91913         * string/str-two-way.h: Don't undefine MAX.
91914         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
91916 2010-07-21  Andreas Schwab  <schwab@redhat.com>
91918         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91919         strcasestr-nonascii.
91920         (CFLAGS-strcasestr-nonascii.c): Define.
91921         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
91922         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
91923         Remove unused attribute.
91925 2010-07-20  Roland McGrath  <roland@redhat.com>
91927         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
91928         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
91929         ld.so.cache was broken.  With it, there is no way to disable dsocaps
91930         like LD_HWCAP_MASK can disable hwcaps.
91932 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
91934         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
91936 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
91938         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
91939         call in strcasestr.
91940         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
91941         __strcasestr_sse42_nonascii.
91942         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
91943         strcasestr-nonascii.c.
91944         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
91946 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
91948         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
91949         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
91950         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
91951         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
91953 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
91955         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
91956         fcntl.
91958 2010-07-06  Andreas Schwab  <schwab@redhat.com>
91960         [BZ #11577]
91961         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
91962         dl_signal_cerror.
91964 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
91966         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
91967         _PC_PIPE_BUF using F_GETPIPE_SZ.
91969 2010-07-05  Roland McGrath  <roland@redhat.com>
91971         * manual/arith.texi (Rounding Functions): Fix rint description
91972         implicit in round description.
91974 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
91976         * elf/Makefile: Fix linking for a few tests to make recent linker
91977         happy.
91979 2010-06-30  Andreas Schwab  <schwab@redhat.com>
91981         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91982         $(common-objpfx)libc_nonshared.a.
91984 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
91986         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
91987         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
91988         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
91989         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
91990         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
91991         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
91992         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
91993         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
91994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
91995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
91996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
91997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
91998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
91999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
92001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
92002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
92003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
92004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
92006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
92008         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92009         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92010         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92011         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92012         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92013         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92014         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92015         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92016         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92017         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92018         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92019         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92035 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
92037         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92038         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
92039         * string/memmove.c (memmove): Renamed to ...
92040         (MEMMOVE): ...this.  Default to memmove.
92041         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92042         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92043         (END_CHK): Define.
92044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92045         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92046         mempcpy-ssse3-back memmove-ssse3-back.
92047         * sysdeps/x86_64/multiarch/bcopy.S: New file .
92048         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
92049         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
92050         * sysdeps/x86_64/multiarch/memcpy.S: New file.
92051         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
92052         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
92053         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
92054         * sysdeps/x86_64/multiarch/memmove.c: New file.
92055         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
92056         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
92057         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
92058         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
92059         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
92060         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
92061         Define.
92062         (index_Fast_Copy_Backward): Define.
92063         (HAS_ARCH_FEATURE): Define.
92064         (HAS_FAST_REP_STRING): Define.
92065         (HAS_FAST_COPY_BACKWARD): Define.
92067 2010-06-21  Andreas Schwab  <schwab@redhat.com>
92069         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92070         Restore proper fallback handling.
92072 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
92074         [BZ #11701]
92075         * posix/group_member.c (__group_member): Correct checking loop.
92077         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
92078         OOM in getpwuid_r correctly.  Return error number when the caller
92079         should return, otherwise -1.
92080         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
92081         call returning > 0 value.
92082         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
92084 2010-06-07  Andreas Schwab  <schwab@redhat.com>
92086         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
92087         libc_nonshared.a from targets in modules-names.
92089 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
92091         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
92092         requires it.
92094 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
92096         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
92097         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
92098         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
92099         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
92101 2010-06-02  Andreas Schwab  <schwab@redhat.com>
92103         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
92105 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
92107         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
92108         and F_GETPIPE_SZ.
92109         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92110         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92111         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92112         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92113         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92114         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92116 2010-06-14  Roland McGrath  <roland@redhat.com>
92118         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
92120 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
92122         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
92123         __REDIRECT followed by __THROW.
92124         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
92125         * posix/getopt.h (getopt): Likewise.
92127 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92129         * hurd/lookup-at.c (__file_name_lookup_at): Accept
92130         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
92131         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
92132         in AT_FLAGS.
92133         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
92134         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
92136 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
92138         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
92140 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
92142         [BZ #11640]
92143         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92144         Properly check family and model.
92146 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
92148         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
92150 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
92152         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
92154 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
92156         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
92157         symbol reference.
92159 2010-05-19  Andreas Schwab  <schwab@redhat.com>
92161         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
92162         symbol reference.
92164 2010-05-21  Andreas Schwab  <schwab@redhat.com>
92166         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
92167         and internal_recvmmsg.
92168         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
92169         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
92170         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
92171         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
92173         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
92174         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
92175         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92177 2010-05-20  Andreas Schwab  <schwab@redhat.com>
92179         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
92181 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
92183         POWER7 optimizations.
92184         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
92185         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
92187 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
92189         * version.h: Update for 2.13 development version.
92191 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
92193         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
92194         exceptions.  Return 0.
92196 2010-05-07  Roland McGrath  <roland@redhat.com>
92198         * elf/ldconfig.c (main): Add a const.
92200 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
92202         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
92203         (args_options): Add no-idn option.
92204         (ahosts_keys_int): Add idn_flags to ai_flags.
92205         (parse_option): Handle 'i' option to clear idn_flags.
92207         * malloc/malloc.c (_int_free): Possible race in the most recently
92208         added check.  Only act on the data if no current modification
92209         happened.
92211 See ChangeLog.17 for earlier changes.